:root {
    color-scheme: light;
    --paper:        #F1F3EC;
    --paper-raised: #FBFCF8;
    --paper-sunken: #E6E9DD;
    --story-bg:     #F3ECDC;
    --ink:          #16231D;
    --ink-soft:     #4C5F55;
    --ink-faint:    #7E9086;
    --line:         #DCE2D3;
    --line-strong:  #C2CBB6;
    --balance:      #2F7A5E;
    --balance-deep: #1C4D3B;
    --balance-tint: #E3EFE5;
    --amber:        #A66A18;
    --amber-tint:   #F3E6C9;
    --banner-from:  #1C4D3B;
    --banner-to:    #2F7A5E;
    --shadow: 0 1px 2px rgba(20,35,29,0.06), 0 12px 30px -14px rgba(20,35,29,0.22);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --paper:        #0E1712;
      --paper-raised: #142019;
      --paper-sunken: #0A110D;
      --story-bg:     #1B1A10;
      --ink:          #E9F0E9;
      --ink-soft:     #9FB3A6;
      --ink-faint:    #6C8076;
      --line:         #223129;
      --line-strong:  #33473A;
      --balance:      #4FAE85;
      --balance-deep: #85D3AC;
      --balance-tint: #142720;
      --amber:        #D9A63E;
      --amber-tint:   #2A210F;
      --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 16px 34px -16px rgba(0,0,0,0.65);
    }
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper:        #0E1712;
    --paper-raised: #142019;
    --paper-sunken: #0A110D;
    --story-bg:     #1B1A10;
    --ink:          #E9F0E9;
    --ink-soft:     #9FB3A6;
    --ink-faint:    #6C8076;
    --line:         #223129;
    --line-strong:  #33473A;
    --balance:      #4FAE85;
    --balance-deep: #85D3AC;
    --balance-tint: #142720;
    --amber:        #D9A63E;
    --amber-tint:   #2A210F;
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 16px 34px -16px rgba(0,0,0,0.65);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: var(--balance); color: #F4FBF7; }
  a { color: var(--balance-deep); }
  :focus-visible { outline: 2px solid var(--balance); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { *, .eq-wave path { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
  img, svg { max-width: 100%; }

  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); position: relative; }
  .icon { width: 1em; height: 1em; }

  .eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--amber); display: inline-block; }
  .centered .eyebrow { justify-content: center; }
  .centered .eyebrow::before { display: none; }

  h1, h2, h3 { font-family: "Newsreader", Georgia, serif; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }

  /* ---------- Nav ---------- */
  nav.topnav {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  nav.topnav .inner {
    max-width: 1100px; margin: 0 auto; padding: 15px clamp(18px, 4vw, 48px);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; cursor: pointer; background: none; border: none; padding: 0; }
  .brand-logo { width: 34px; height: 34px; object-fit: contain; flex: none; display: block; }
  .footer-logo { width: 26px; height: 26px; object-fit: contain; flex: none; display: block; opacity: 0.92; }
  .brand .name { font-family: "Newsreader", serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
  .navlinks { display: flex; gap: 6px; flex-wrap: wrap; }
  .navlinks a {
    font-family: "Work Sans", sans-serif; font-size: 13.5px; font-weight: 600;
    background: none; border: 1px solid transparent; color: var(--ink-soft);
    padding: 7px 13px; border-radius: 999px; cursor: pointer;
  }
  .navlinks a:hover { color: var(--ink); border-color: var(--line-strong); }
  .navlinks a.active { color: var(--balance-deep); background: var(--balance-tint); }
  .navlinks a .tag {
    font-family: "IBM Plex Mono", monospace; font-size: 9.5px; background: var(--amber-tint); color: var(--amber);
    padding: 1px 5px; border-radius: 4px; margin-left: 6px; vertical-align: 1px;
  }

  main { display: block; }

  .band { padding: 62px 0; position: relative; }
  .band.tight { padding: 40px 0; }
  .band.raised { background: var(--paper-raised); }
  .band.tint { background: var(--balance-tint); }
  .band.story { background: var(--story-bg); }

  .section-head { max-width: 60ch; margin-bottom: 28px; }
  .section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 { font-size: 1.7rem; font-weight: 600; margin: 8px 0 10px; }
  .section-head p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

  /* ---------- Wave dividers ---------- */
  .wave-divider { position: relative; height: 64px; margin-top: -1px; }
  .wave-divider svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }

  /* ---------- Ambient canvas ---------- */
  .ambient-wrap { position: relative; }
  canvas.ambient { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55; }
  .ambient-wrap > * { position: relative; z-index: 1; }

  /* ---------- Home hero ---------- */
  .hero { padding: 56px 0 10px; }
  .hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.3rem);
    font-weight: 600;
    line-height: 1.08;
    margin: 16px 0 20px;
    max-width: 18ch;
  }
  .hero h2.sub {
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 54ch;
    margin: 0 0 28px;
    line-height: 1.5;
  }

  /* ---------- WhatsApp CTA ---------- */
  .wa-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
  .wa-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--balance); color: #F4FBF7;
    font-family: "Work Sans", sans-serif; font-weight: 700; font-size: 16px;
    padding: 15px 26px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .wa-btn:hover { background: var(--balance-deep); transform: translateY(-1px); }
  .wa-btn .icon { width: 20px; height: 20px; }
  .wa-note { font-size: 13.5px; color: var(--ink-faint); max-width: 46ch; }
  .wa-note b { color: var(--ink-soft); font-weight: 600; }

  .wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--balance); color: #F4FBF7; text-decoration: none;
    padding: 13px 18px; border-radius: 999px; box-shadow: var(--shadow);
    font-family: "Work Sans", sans-serif; font-weight: 700; font-size: 13.5px;
  }
  .wa-float:hover { background: var(--balance-deep); }
  .wa-float .icon { width: 18px; height: 18px; }

  /* ---------- Benefit grid ---------- */
  .benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
  @media (max-width: 980px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
  .benefit-card {
    background: var(--paper-raised); border: 1px solid var(--line); border-radius: 20px;
    padding: 22px 18px; box-shadow: var(--shadow); text-align: left;
  }
  .benefit-card .ic {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    background: var(--balance-tint); color: var(--balance-deep);
    border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
    margin-bottom: 14px; font-size: 20px;
  }
  .benefit-card h4 { font-family: "Newsreader", serif; font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; }
  .benefit-card p { font-size: 13.3px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

  .guarantee {
    margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--banner-from), var(--banner-to));
    border-radius: 20px; padding: 24px 28px; color: #F5FBF8;
  }
  .guarantee .ic {
    width: 52px; height: 52px; flex: none; border-radius: 50%;
    background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 24px;
  }
  .guarantee h4 { color: #FFFFFF; font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; font-family: "Newsreader", serif; }
  .guarantee p { color: #DCEFE6; font-size: 13.8px; margin: 0; max-width: 62ch; }

  /* ---------- Equilibrium (scroll-linked) ---------- */
  .eq-section .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .eq-visual { max-width: 780px; margin: 30px auto 0; }
  .eq-track { position: relative; height: 4px; background: var(--line-strong); border-radius: 4px; margin: 0 10px 18px; }
  .eq-track .dot {
    position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
    background: var(--amber); border: 3px solid var(--paper);
    transform: translate(-50%, -50%); left: 0%; box-shadow: 0 0 0 1px var(--line-strong);
  }
  .eq-labels { display: flex; justify-content: space-between; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--ink-faint); margin: 0 10px 16px; letter-spacing: 0.02em; }
  .eq-wave { width: 100%; height: auto; display: block; }
  .eq-wave path { fill: none; stroke-width: 2.6; transition: opacity 0.25s linear; }
  .eq-wave .p-stress { stroke: var(--amber); }
  .eq-wave .p-balance { stroke: var(--balance); }
  .eq-caption { font-size: 14px; color: var(--ink-soft); margin: 18px auto 0; max-width: 52ch; transition: opacity 0.25s ease; text-align: center; }
  .eq-caption b { color: var(--ink); }

  /* ---------- Selector cards ---------- */
  .selector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 6px; }
  @media (max-width: 760px) { .selector-grid { grid-template-columns: 1fr; } }
  .selector-card {
    position: relative; overflow: hidden;
    border: 1px solid var(--line); background: var(--paper-raised); border-radius: 24px;
    padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
    cursor: pointer; text-align: left; width: 100%; font-family: inherit; color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease;
  }
  .selector-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .selector-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .selector-card h3 { font-size: 1.4rem; font-weight: 600; }
  .badge {
    font-family: "IBM Plex Mono", monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
    padding: 4px 10px; border-radius: 999px; white-space: nowrap; text-transform: uppercase;
  }
  .badge.soon { background: var(--amber-tint); color: var(--amber); }
  .badge.cupos { background: var(--amber-tint); color: var(--amber); }
  .selector-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex: 1; }
  .selector-card .cta-line { font-weight: 700; font-size: 14px; color: var(--balance-deep); display: flex; align-items: center; gap: 6px; }
  .selector-card .cta-line .arrow { transition: transform 0.15s; }
  .selector-card:hover .cta-line .arrow { transform: translateX(3px); }

  /* ---------- Story / history section ---------- */
  .story-inner { max-width: 68ch; margin: 0 auto; }
  .story-inner .eyebrow { justify-content: center; margin-bottom: 6px; }
  .story-inner .eyebrow::before { display: none; }
  .story-inner h2 { text-align: center; font-size: 1.75rem; font-weight: 600; margin: 6px 0 30px; }
  .story-text { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
  .story-text::first-letter {
    font-family: "Newsreader", serif; font-weight: 600; font-size: 3.6em; float: left;
    line-height: 0.85; padding: 0.05em 0.09em 0 0; color: var(--balance-deep);
  }
  .story-text em { font-style: italic; color: var(--ink); }
  .story-facts {
    margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  }
  @media (max-width: 760px) { .story-facts { grid-template-columns: 1fr; } }
  .story-facts .cell { background: var(--paper-raised); padding: 18px 20px; }
  .story-facts .cell .k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); display: block; margin-bottom: 6px; }
  .story-facts .cell .v { font-size: 13.8px; color: var(--ink); line-height: 1.5; }

  /* ---------- Landing hero (flores / aceites) ---------- */
  .landing-hero h1 { font-size: clamp(2rem, 4.2vw, 2.85rem); font-weight: 600; line-height: 1.1; margin: 16px 0 16px; max-width: 20ch; }
  .landing-hero .sub { font-size: 1.06rem; color: var(--ink-soft); max-width: 58ch; margin: 0 0 26px; }
  .back-link { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--ink-faint); background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 24px; display: inline-flex; align-items: center; gap: 6px; }
  .back-link:hover { color: var(--balance-deep); }

  /* ---------- Scarcity module ---------- */
  .scarcity {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    background: var(--amber-tint); border: 1px solid var(--line-strong); border-radius: 20px;
    padding: 22px 26px; margin: 4px 0 30px;
  }
  .scarcity .num-wrap { text-align: center; flex: none; }
  .scarcity .num { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 2.4rem; color: var(--amber); line-height: 1; }
  .scarcity .num-lbl { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
  .scarcity p { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 44ch; }
  .scarcity p b { color: var(--ink); }

  /* ---------- Process steps ---------- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  @media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
  .step { border-top: 2px solid var(--balance); padding-top: 14px; }
  .step .n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--amber); font-weight: 700; }
  .step h4 { font-family: "Newsreader", serif; font-size: 1.05rem; font-weight: 600; margin: 6px 0 8px; }
  .step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

  /* ---------- Panels ---------- */
  .panel {
    border: 1px solid var(--line); background: var(--paper-raised); border-radius: 20px;
    padding: 26px 28px; box-shadow: var(--shadow);
  }
  .two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
  @media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

  /* ---------- FAQ ---------- */
  .faq-list { display: grid; gap: 10px; }
  details.faq { border: 1px solid var(--line); background: var(--paper-raised); border-radius: 14px; padding: 4px 18px; }
  details.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary .chevron { color: var(--ink-faint); transition: transform 0.18s; flex: none; }
  details.faq[open] summary .chevron { transform: rotate(180deg); }
  details.faq .a { padding: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

  /* ---------- CTA banner ---------- */
  .cta-banner {
    background: linear-gradient(135deg, var(--banner-from), var(--banner-to));
    border-radius: 24px; padding: 38px clamp(22px, 4vw, 44px); color: #F5FBF8;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  }
  .cta-banner h3 { color: #FFFFFF; font-size: 1.5rem; font-weight: 600; max-width: 26ch; }
  .cta-banner p { color: #DCEFE6; font-size: 14.5px; max-width: 42ch; margin: 8px 0 0; }
  .cta-banner .mail-alt { color: #CFE8DC; font-size: 12.5px; margin-top: 10px; display: block; }
  .cta-banner .mail-alt a { color: #F5FBF8; text-decoration: underline; }
  .btn {
    font-family: "Work Sans", sans-serif; font-weight: 700; font-size: 14.5px;
    padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  }
  .btn.primary { background: #F5FBF8; color: var(--balance-deep); }
  .btn.primary:hover { background: #FFFFFF; }

  /* ---------- Aceites (coming soon) ---------- */
  .soon-hero { text-align: left; padding: 62px 0 20px; }
  .soon-panel { max-width: 62ch; }
  .soon-panel p { color: var(--ink-soft); font-size: 1rem; }
  .waitlist-note { font-size: 13px; color: var(--ink-faint); margin-top: 12px; }

  footer.site-footer {
    border-top: 1px solid var(--line); margin-top: 10px; padding: 30px 0 90px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
    font-size: 12.8px; color: var(--ink-faint);
  }
  footer.site-footer a { color: var(--ink-soft); }
  footer.site-footer .cols { display: flex; gap: 26px; flex-wrap: wrap; }

  @media (max-width: 760px) {
    .steps { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- Hostinger export: anchor resets for nav/selector links ---------- */
  .brand, .navlinks a, .back-link, .selector-card { text-decoration: none; }
  .brand:visited, .navlinks a:visited, .back-link:visited, .selector-card:visited { color: inherit; }
  .navlinks a { display: inline-block; }
