/* ==========================================================================
   Camote — site-v2.css
   Design system: tokens, base, typography, layout, components.
   Light theme only. No JS required by any rule in this file.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Fondos */
  --cream-50:  #fffdf8;  /* fondo de página */
  --cream-100: #fff6ea;  /* secciones alternas */
  --peach-200: #ffe3c6;  /* brillos y fondos de iconos. NO uses --orange-700 encima (4.47:1) */

  /* Naranja camote */
  --orange-400: #f79a45; /* acentos sobre fondo oscuro (8.1:1 sobre --brown-950) */
  --orange-500: #f2811d; /* acento de marca: puntos, brillos, detalles. NUNCA como color de texto sobre claro (2.6:1) */
  --orange-700: #a8500c; /* texto naranja (eyebrows) SOLO sobre cream-50/100 o blanco (5.1–5.5:1) */

  /* Cafés */
  --brown-700: #7b4a2b;  /* texto secundario (≥5.9:1 en todos los fondos claros) */
  --brown-900: #5a2408;  /* titulares, texto principal, botón primario (12.2:1) */
  --brown-950: #2a1307;  /* fondo de la sección oscura, hover del botón */
  --tan-300:   #d9bfa6;  /* texto de párrafo sobre --brown-950 (10:1) */

  /* Popup */
  --ink-950: #0a0e17;    /* color de la captura; úsalo para su borde y sombra */

  /* Líneas y superficies */
  --line:         rgba(90, 36, 8, 0.12);
  --line-strong:  rgba(90, 36, 8, 0.22);
  --line-on-dark: rgba(255, 246, 234, 0.14);
  --surface:      rgba(255, 255, 255, 0.72);

  /* Degradado de marca (el mismo de las imágenes de la tienda) */
  --brand-gradient: radial-gradient(circle at 76% 50%, #ffe6cc 0%, #fff7ec 42%, #fffdf8 100%);

  /* Tipografía */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.5rem, 9cqi, 4.75rem); /* solo dentro de la columna de texto del hero, que lleva container-type: inline-size */
  --fs-h2:      clamp(2rem, 1.55rem + 2.2vw, 3.25rem);
  --fs-h3:      1.1875rem;
  --fs-lead:    clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-xs:      0.8125rem;

  /* Espacio (rejilla de 4 px) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(80px, 9vw, 128px);
  --gutter:    clamp(20px, 4vw, 40px);
  --container: 1160px;

  /* Forma */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Sombras cálidas (nunca negro puro) */
  --sh-sm:  0 1px 2px rgba(90,36,8,.06), 0 1px 1px rgba(90,36,8,.04);
  --sh-md:  0 1px 2px rgba(90,36,8,.05), 0 12px 32px -12px rgba(90,36,8,.18);
  --sh-lg:  0 2px 4px rgba(42,19,7,.08), 0 24px 48px -16px rgba(42,19,7,.28), 0 64px 120px -48px rgba(90,36,8,.45);
  --sh-cta: 0 10px 28px -10px rgba(242,129,29,.65);

  /* Movimiento */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur:  220ms;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--brown-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

main {
  display: block; /* Sanity for older engines. */
}

/* Keyboard users see where they are. Everything interactive is ≥ 24×24 px. */
:focus-visible {
  outline: 2px solid var(--brown-900);
  outline-offset: 3px;
}

::selection {
  background: var(--peach-200);
  color: var(--brown-950);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: 88px;
}

.section--alt {
  background: var(--cream-100);
}

.section__head {
  max-width: 44rem;
  margin-bottom: var(--s-7);
}

.grid > * {
  min-width: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  max-width: 65ch;
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--brown-700);
  max-width: 34em;
  text-wrap: pretty;
}

.eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-700);
  margin-bottom: var(--s-4);
}

.eyebrow--ondark {
  color: var(--orange-400);
}

.section__head .lead {
  margin-top: var(--s-4);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Links inside running text stand out by more than color. */
.prose a,
.faq a,
.caption a,
.footer__note a {
  color: var(--brown-900);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Skip link
   ========================================================================== */

.skip-link {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--brown-900);
  color: var(--cream-50);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(calc(-100px - var(--s-3)));
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--brown-900);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header {
    background: var(--cream-50);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 32px;
  text-decoration: none;
  color: var(--brown-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-inline-end: auto;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.header__nav {
  display: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
  font-size: var(--fs-small);
}

.lang a,
.lang span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding-inline: var(--s-1);
  border-radius: var(--r-sm);
}

.lang a {
  color: var(--brown-700);
  text-decoration: none;
}

.lang a:hover {
  color: var(--brown-900);
}

.lang span {
  font-weight: 700;
  color: var(--brown-900);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  /* Long labels (the ES privacy link) wrap instead of feeding scrollWidth. */
  white-space: normal;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--brown-900);
  color: var(--cream-50);
}

.btn--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--brown-900);
}

.btn--ondark {
  background: var(--cream-50);
  color: var(--brown-950);
}

.header .btn {
  min-height: 44px;
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--brown-950);
    box-shadow: var(--sh-cta);
  }

  .btn--primary:hover svg {
    transform: translateX(2px);
  }

  .btn--secondary:hover {
    background: rgba(90, 36, 8, 0.05);
  }

  .btn--ondark:hover {
    background: var(--peach-200);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .btn svg {
    transition: background-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                transform var(--dur) var(--ease);
  }
}

.btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: var(--s-8) var(--section-y);
  scroll-margin-top: 88px;
  /* The decorative glow can pass the right edge by up to 2 px at 960-999 px wide.
     clip (not hidden) keeps it out of scrollWidth and makes no scroll container. */
  overflow-x: clip;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brown-900);
  margin-bottom: var(--s-5);
}

.hero__pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
}

/* Fallback first: an invalid cqi value must not unset the size. */
.hero h1 {
  font-size: 3rem;
}

@supports (font-size: 1cqi) {
  .hero h1 {
    font-size: var(--fs-display);
  }
}

.hero h1 {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-5);
}

/* Each sentence starts a new line and is balanced on its own, so a narrow
   screen shows "Tú decides / las cookies." and never one word alone. */
.hero h1 > span {
  display: block;
  text-wrap: balance;
}

.hero__lead {
  margin-bottom: var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-small);
  color: var(--brown-700);
  font-variant-numeric: tabular-nums;
}

.hero__facts span + span::before {
  content: "·";
  margin-right: var(--s-3);
  color: var(--line-strong);
}

/* Narrow screens: one fact per line, so a separator never starts a line. */
@media (max-width: 639px) {
  .hero__facts {
    flex-direction: column;
    gap: var(--s-1);
  }

  .hero__facts span + span::before {
    content: none;
  }
}

/* Popup capture */

.hero__figure {
  position: relative;
  margin: var(--s-7) auto 0;
  width: 300px;
  max-width: 100%;
}

.hero__figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  /* The box itself must stay inside the viewport, or it feeds scrollWidth. */
  width: min(520px, calc(100vw - 2 * var(--gutter)));
  height: 520px;
  max-width: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 129, 29, 0.35), transparent);
  z-index: -1;
}

.hero__figure img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--sh-lg);
  outline: 1px solid rgba(255, 255, 255, 0.06);
  outline-offset: -1px;
}

.hero__figure figcaption {
  font-size: var(--fs-xs);
  color: var(--brown-700);
  text-align: center;
  margin-top: var(--s-4);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust__list {
  list-style: none;
  display: grid;
  gap: var(--s-5);
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
}

.trust__iconbox {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--peach-200);
}

.trust__iconbox svg {
  width: 22px;
  height: 22px;
  color: var(--brown-900);
  stroke-width: 1.75;
}

.trust__item strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.trust__item p {
  font-size: var(--fs-small);
  color: var(--brown-700);
  margin-top: 2px;
}

/* ==========================================================================
   Features
   ========================================================================== */

.section__head--features {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.features__flower {
  display: block;
  width: 112px;
  height: 100px;
  margin-bottom: var(--s-4);
}

.cards {
  display: grid;
  gap: var(--s-4);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
}

.card__iconbox {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--peach-200);
  margin-bottom: 20px;
}

.card__iconbox svg {
  width: 22px;
  height: 22px;
  color: var(--brown-900);
  stroke-width: 1.75;
}

.card p {
  font-size: var(--fs-small);
  color: var(--brown-700);
  margin-top: var(--s-2);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
    border-color: var(--line-strong);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
  }
}

/* ==========================================================================
   How it works (numbered steps)
   ========================================================================== */

.steps {
  display: grid;
  gap: var(--s-6);
}

.step {
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
}

.step__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
}

.step p {
  font-size: var(--fs-small);
  color: var(--brown-700);
  margin-top: var(--s-2);
}

/* ==========================================================================
   Privacy (dark band)
   ========================================================================== */

.privacy {
  position: relative;
  background: var(--brown-950);
  color: var(--tan-300);
  overflow: hidden;
}

.privacy::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -220px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 129, 29, 0.16), transparent);
  pointer-events: none;
}

.privacy h2 {
  color: var(--cream-50);
}

.privacy .lead {
  color: var(--tan-300);
  margin-top: var(--s-4);
}

.privacy :focus-visible {
  outline-color: var(--orange-400);
}

.privacy__list {
  list-style: none;
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-4);
}

.privacy__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  max-width: 56ch;
}

.privacy__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--orange-400);
}

.privacy__cta {
  margin-top: var(--s-7);
}

.privacy__logo {
  position: relative;
  display: none;
  width: 160px;
  height: 160px;
  margin-inline: auto;
}

.privacy__logo::before {
  content: "";
  position: absolute;
  inset: -80px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 129, 29, 0.28), transparent);
}

.privacy__logo img {
  position: relative;
  width: 160px;
  height: 160px;
  display: block;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__list {
  max-width: 46rem;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 64px;
  padding-block: 20px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brown-900);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--orange-700);
}

.faq__item p {
  color: var(--brown-700);
  max-width: 68ch;
  padding-bottom: var(--s-5);
}

@media (prefers-reduced-motion: no-preference) {
  .faq__item summary svg {
    transition: transform var(--dur) var(--ease);
  }
}

.faq__item[open] summary svg {
  transform: rotate(45deg);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-card {
  text-align: center;
  background: var(--brand-gradient);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px var(--s-5);
}

.cta-card img {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto var(--s-5);
}

.cta-card h2 {
  margin-inline: auto;
}

.cta-card p {
  margin: var(--s-3) auto var(--s-6);
  color: var(--brown-700);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--cream-100);
  border-top: 1px solid var(--line);
  padding-block: var(--s-7) var(--s-6);
  font-size: var(--fs-small);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 800;
  color: var(--brown-900);
  letter-spacing: -0.02em;
}

.footer__brand img {
  width: 24px;
  height: 24px;
  display: block;
}

.footer__brand span {
  font-weight: 400;
  color: var(--brown-700);
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-4);
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--brown-900);
  text-decoration: none;
}

.footer__nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer__note {
  color: var(--brown-700);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  max-width: 72ch;
}

.footer__tm {
  color: var(--brown-700);
  margin-top: var(--s-3);
}

.footer__copy {
  color: var(--brown-700);
  margin-top: var(--s-3);
}

/* ==========================================================================
   Privacy policy page (reading column)
   ========================================================================== */

.article {
  max-width: 68ch;
}

.article h1 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: var(--s-4) 0 var(--s-5);
  text-wrap: balance;
}

.article h2 {
  font-size: 1.3125rem;
  margin: var(--s-7) 0 var(--s-3);
}

.article p,
.article li {
  color: var(--brown-900);
}

.article ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: var(--s-3) 0;
  display: grid;
  gap: var(--s-2);
}

.article li {
  max-width: 65ch;
  margin: 0;
}

.article p {
  margin: var(--s-3) 0;
}

.article .meta {
  color: var(--brown-700);
  margin: 0 0 var(--s-4);
}

.article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-6) 0;
}

.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
}

.article strong {
  font-weight: 700;
}

.article__langnote {
  font-size: var(--fs-small);
  color: var(--brown-700);
}

/* ==========================================================================
   404 (no vh units: the page centers inside the initial containing block)
   ========================================================================== */

html.page-404 {
  height: 100%;
}

html.page-404 body {
  min-height: 100%;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  padding: var(--s-6) 0;
}

.error-card {
  text-align: center;
  max-width: 34rem;
  padding: 0 var(--gutter);
}

.error-card img {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto var(--s-5);
}

.error-card h1 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-3);
}

.error-card__es {
  font-size: var(--fs-lead);
  color: var(--brown-700);
  margin-bottom: var(--s-3);
}

.error-card p {
  margin-inline: auto;
  color: var(--brown-700);
}

.error-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ==========================================================================
   Motion (scroll reveal, hover transitions, smooth scroll)
   Everything lives behind prefers-reduced-motion: no-preference.
   The H1 and the hero image are never animated (LCP).
   ========================================================================== */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card,
    .step,
    .faq__item,
    .trust__item {
      animation: rise both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ==========================================================================
   Breakpoints (min-width): 480, 640, 960, 1200
   ========================================================================== */

@media (min-width: 640px) {
  .trust__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-6);
  }

  .trust__item {
    flex-direction: column;
    gap: var(--s-4);
  }

  .section__head--features {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
    max-width: none;
  }

  .section__head--features > div {
    max-width: 44rem;
  }

  .features__flower {
    width: 156px;
    height: 140px;
    flex: none;
    margin-bottom: 0;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-card {
    padding: 64px var(--s-8);
  }
}

@media (min-width: 960px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--s-2);
  }

  .header__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-inline: var(--s-2);
    border-radius: var(--r-sm);
    color: var(--brown-900);
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 500;
  }

  .header__nav a:hover {
    background: rgba(90, 36, 8, 0.05);
  }

  .header__inner {
    gap: var(--s-5);
  }

  .hero {
    padding-block: var(--section-y);
  }

  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: var(--s-8);
    align-items: center;
  }

  .hero__text {
    container-type: inline-size;
  }

  .hero__figure {
    width: 360px;
    margin: 0;
  }

  .hero__figure img {
    width: 360px;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-8);
  }

  .privacy__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--s-8);
    align-items: center;
  }

  .privacy__logo {
    display: block;
  }
}

@media (max-width: 479px) {
  .brand__name {
    /* The logo link keeps its aria-label; only the word goes away. */
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  .header .btn {
    padding: 0 14px;
    font-size: var(--fs-small);
  }
}
