/*
Theme Name: OurDream AI Dev
Theme URI: https://ourdream-ai.dev
Author: OurDream AI Partner
Description: Multilingual DreamCoin cost calculator and partner landing for OurDream AI. Ten locales served from rewrite rules with a complete reciprocal hreflang graph, generated sitemap and noindex affiliate redirect. This site is a partner resource, not the OurDream AI platform.
Version: 7.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: ourdream-ai-dev
*/

/* ============================================================
   PALETTE — brand-aligned dark.

   Deliberately close to the official platform's colour language:
   near-black ground, violet-to-pink accent. Someone arriving from a brand
   search should recognise where they are before reading a word, and that
   recognition is worth more in conversion than visual novelty is worth in
   "looking like a separate operator".

   What still separates this site is what it DOES — the burn strip, the
   monospace figures, the coin-priced gallery. None of that exists on the
   sister site, and content is what duplicate filtering actually measures.
   ============================================================ */
:root{
  --bg:        #0a0a0f;
  --bg-2:      #0e0e18;
  --card:      rgba(255,255,255,.045);
  --card-h:    rgba(255,255,255,.075);
  --purple:    #a855f7;
  --pink:      #ec4899;
  --accent:    #c084fc;
  --white:     #f9fafb;
  --t2:        rgba(249,250,251,.68);
  --t3:        rgba(249,250,251,.42);
  --border:    rgba(255,255,255,.09);
  --grad:      linear-gradient(135deg,#a855f7,#ec4899);
  --glow:      0 0 40px rgba(168,85,247,.28);

  /* Gauge semantics stay functional rather than decorative: amber reads as
     depletion the way a fuel gauge does, teal as headroom. Brightened for
     the dark ground. */
  --burn:      #fb923c;
  --burn-dim:  rgba(251,146,60,.22);
  --safe:      #34d399;

  --gap:  clamp(20px,4vw,40px);
  --r:    14px;
  --r-lg: 22px;
  --ease: .3s cubic-bezier(.4,0,.2,1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--white);
  font:400 16.5px/1.68 "Inter Tight",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
.wrap{max-width:1160px;margin:0 auto;padding:0 var(--gap);position:relative;z-index:1}
h1,h2,h3{margin:0;font-weight:400;letter-spacing:-.015em}
.serif{font-family:"Instrument Serif",Georgia,serif}
.mono{font-family:"JetBrains Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums}
a{color:var(--white)}
img,video{max-width:100%;height:auto}

/* ---- aurora ground ------------------------------------------- */
.aurora{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.aurora i{position:absolute;border-radius:50%;filter:blur(90px);opacity:.11;display:block}
.aurora i:nth-child(1){width:620px;height:620px;background:var(--purple);top:-160px;left:-110px}
.aurora i:nth-child(2){width:520px;height:520px;background:var(--pink);top:34%;right:-140px}
.aurora i:nth-child(3){width:460px;height:460px;background:#6366f1;bottom:-140px;left:22%}
.grid-overlay{
  position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:64px 64px;
}

/* ---- navbar --------------------------------------------------- */
/* A logo lockup and a CTA, the way an official product site looks. A
   visitor arriving on a brand search should recognise the destination
   immediately — that recognition is what stops them backing out to a
   hijack domain that looks more "official" than a bare utility strip. */
.navbar{
  position:sticky;top:0;z-index:50;
  background:rgba(10,10,15,.78);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.navbar > .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:11px;padding-bottom:11px}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:17.5px;font-weight:600;letter-spacing:-.02em}
.brand img{border-radius:7px}
.brand b{font-weight:600;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav-right{display:flex;align-items:center;gap:10px}
.nav-cta{
  display:inline-block;padding:9px 16px;border-radius:100px;text-decoration:none;
  background:var(--grad);color:#fff;font-size:13.5px;font-weight:600;white-space:nowrap;
  transition:box-shadow var(--ease);
}
.nav-cta:hover{box-shadow:0 0 26px rgba(168,85,247,.45)}
@media(max-width:560px){.nav-cta{display:none}}

/* ---- collapsed language picker -------------------------------- */
.langpick{position:relative}
.langpick summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px;
  padding:7px 13px;border:1px solid var(--border);border-radius:100px;
  background:var(--card);color:var(--t2);font-size:12.5px;font-weight:500;
  transition:border-color var(--ease),background var(--ease),color var(--ease);
}
.langpick summary::-webkit-details-marker{display:none}
.langpick summary:hover{background:var(--card-h);border-color:rgba(168,85,247,.45);color:var(--white)}
.langpick summary svg:last-child{opacity:.6;transition:transform var(--ease)}
.langpick[open] summary svg:last-child{transform:rotate(180deg)}
.langpick-menu{
  position:absolute;right:0;top:calc(100% + 9px);min-width:206px;z-index:60;
  background:#14141f;border:1px solid var(--border);border-radius:var(--r);
  padding:6px;box-shadow:0 18px 46px rgba(0,0,0,.6);
  display:grid;gap:1px;max-height:62vh;overflow:auto;
}
.langpick-menu a,.langpick-menu span{
  display:block;padding:8px 12px;border-radius:9px;font-size:13.5px;
  text-decoration:none;color:var(--t2);
}
.langpick-menu a:hover{background:var(--card-h);color:var(--white)}
.langpick-menu [aria-current]{color:var(--white);font-weight:600;background:var(--card)}

/* Compact disclosure under the hero. Muted, but readable — it has to be
   legible to count as conspicuous under FTC 16 CFR Part 255. */
.disclose-line{
  display:flex;align-items:flex-start;gap:9px;
  margin:20px 0 0;max-width:70ch;
  font-size:14px;line-height:1.55;color:var(--t3);
}
.disclose-line svg{flex-shrink:0;margin-top:3px;opacity:.7}
.disclose-line a{color:var(--t2);text-decoration:underline;text-underline-offset:2px}
.brandref{color:var(--t2);font-weight:500}
.disclose-line a:hover{color:var(--white)}

/* ---- masthead ------------------------------------------------ */
.masthead{padding:44px 0 10px}
.eyebrow{
  font-family:"JetBrains Mono",monospace;font-size:12.5px;font-weight:500;
  letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0;
}
h1{margin:14px 0 14px;max-width:none}
.h1-brand{
  display:block;font-family:"Inter Tight",sans-serif;
  font-size:clamp(32px,5.4vw,55px);font-weight:600;letter-spacing:-.03em;line-height:1.05;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.h1-hook{display:block;font-size:clamp(29px,5.6vw,55px);line-height:1.06;margin-top:4px;color:var(--white)}
h1 em{font-style:italic;color:var(--accent)}
.dek{font-size:clamp(16.5px,2vw,19px);color:var(--t2);max-width:58ch;margin:0}
.badge{
  display:inline-block;margin:22px 0 0;padding:8px 15px;border-radius:100px;
  border:1px solid rgba(168,85,247,.34);background:rgba(168,85,247,.11);
  font:500 13px/1 "JetBrains Mono",monospace;letter-spacing:.06em;color:var(--accent);
}
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:32px 0 0;
  background:var(--border);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;
}
.stats div{background:rgba(10,10,15,.6);padding:18px 20px}
.stats strong{display:block;font-size:29px;font-weight:700;line-height:1.1;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.stats span{display:block;margin-top:5px;font-size:13.5px;color:var(--t3)}
@media(max-width:720px){.stats{grid-template-columns:repeat(2,1fr)}}

/* ---- hero grid ------------------------------------------------ */
/* Copy left, media right — the arrangement the sister site and the
   platform itself both use. On narrow screens the media drops below the
   CTAs rather than pushing the headline off the first screen. */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,56px);align-items:center}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}}
.hero-copy{min-width:0}
.hero-media{position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border);box-shadow:0 26px 70px rgba(0,0,0,.5);aspect-ratio:4/5}
.hero-media video,.hero-media img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:900px){.hero-media{max-width:380px;margin:8px auto 0}}

.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-cta .cta,.hero-cta .cta-ghost{flex:0 0 auto}
.cta-ghost{
  display:inline-block;padding:14px 24px;border-radius:12px;text-decoration:none;
  border:1px solid var(--border);background:var(--card);color:var(--white);
  font-weight:600;font-size:16px;transition:background var(--ease),border-color var(--ease);
}
.cta-ghost:hover{background:var(--card-h);border-color:rgba(168,85,247,.4)}

/* ---- intro ----------------------------------------------------- */
.intro{padding:64px 0 8px;border-top:1px solid var(--border);margin-top:56px}
.intro h2{font-size:clamp(29px,4.4vw,44px);margin:12px 0 20px}
.intro-body{columns:2;column-gap:44px;max-width:none}
.intro-body p{color:var(--t2);font-size:16.5px;margin:0 0 16px;break-inside:avoid}
@media(max-width:820px){.intro-body{columns:1}}

/* ---- art styles ------------------------------------------------ */
.styles{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.styles h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 10px}
.styles .dek{margin-bottom:26px}
.style-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:720px){.style-grid{grid-template-columns:1fr}}
.style-grid figure{margin:0;position:relative;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);aspect-ratio:4/3}
.style-grid img{width:100%;height:100%;object-fit:cover;display:block}
.style-grid figcaption{position:absolute;left:12px;bottom:12px}

/* ---- panels -------------------------------------------------- */
.deck{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:var(--gap);align-items:start;padding:40px 0 12px}
@media(max-width:920px){.deck{grid-template-columns:1fr}}
.panel{background:var(--card);border:1px solid var(--border);border-radius:var(--r-lg);padding:clamp(18px,3vw,28px);backdrop-filter:blur(10px)}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.panel-title{
  font-family:"JetBrains Mono",monospace;font-size:11.5px;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;color:var(--t3);margin:0 0 18px;
}
.panel-head .panel-title{margin-bottom:0}
.fx select{
  font:500 12.5px/1 "JetBrains Mono",monospace;padding:7px 9px;
  border:1px solid var(--border);border-radius:8px;background:#14141f;color:var(--white);cursor:pointer;
}
.fx select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- controls ------------------------------------------------ */
.ctrl{padding:16px 0;border-top:1px solid var(--border)}
.ctrl:first-of-type{border-top:0;padding-top:0}
.ctrl-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ctrl-label{font-size:16px;font-weight:500}
.ctrl-note{font-size:13.5px;color:var(--t3);margin-top:2px}
.ctrl-val{font-family:"JetBrains Mono",monospace;font-size:21px;font-weight:700;color:var(--accent)}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:3px;margin:16px 0 2px;background:rgba(255,255,255,.14);border-radius:2px;outline:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:19px;height:19px;border-radius:50%;background:#c084fc;cursor:grab;box-shadow:0 0 0 4px rgba(168,85,247,.18)}
input[type=range]::-moz-range-thumb{width:19px;height:19px;border:0;border-radius:50%;background:#c084fc;cursor:grab;box-shadow:0 0 0 4px rgba(168,85,247,.18)}
input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.seg{display:flex;margin-top:11px;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.seg button{flex:1;padding:9px 6px;border:0;background:transparent;cursor:pointer;font:500 13px/1.2 "Inter Tight",sans-serif;color:var(--t2);border-left:1px solid var(--border)}
.seg button:first-child{border-left:0}
.seg button[aria-pressed=true]{background:var(--grad);color:#fff}
.seg button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

/* ---- signature: 30-day burn strip ---------------------------- */
.gauge{margin-bottom:6px}
.gauge-caption{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;
  font-family:"JetBrains Mono",monospace;font-size:11.5px;font-weight:700;
  letter-spacing:.13em;text-transform:uppercase;color:var(--t3)}
.strip{display:grid;grid-template-columns:repeat(30,1fr);gap:2px;height:62px}
.strip i{display:block;border-radius:2px;background:rgba(255,255,255,.09);transition:background .28s var(--ease)}
.strip i.on{background:var(--safe)}
.strip i.over{background:var(--burn-dim)}
.strip-axis{display:flex;justify-content:space-between;margin-top:8px;
  font-family:"JetBrains Mono",monospace;font-size:11px;color:var(--t3)}
.verdict{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(24px,3.6vw,33px);line-height:1.22;margin:22px 0 0}
.verdict b{font-weight:400;font-style:italic;color:var(--burn)}
.verdict.ok b{color:var(--safe)}

/* ---- plan table ---------------------------------------------- */
.plans{width:100%;border-collapse:collapse;margin-top:10px;font-size:15px}
.plans th{text-align:left;padding:0 0 10px;border-bottom:1px solid var(--border);
  font:700 11px/1 "JetBrains Mono",monospace;letter-spacing:.13em;text-transform:uppercase;color:var(--t3)}
.plans td{padding:14px 0;border-bottom:1px solid var(--border);vertical-align:top}
.plans td:last-child,.plans th:last-child{text-align:right}
.plans tr[data-best=true] td{background:rgba(52,211,153,.07)}
.plans tr[data-best=true] td:first-child{box-shadow:inset 3px 0 0 var(--safe);padding-left:11px}
.plan-name{font-weight:600}
.plan-sub{font-size:13.5px;color:var(--t3);margin-top:3px}
.plan-cost{font-family:"JetBrains Mono",monospace;font-weight:700;font-size:18.5px;white-space:nowrap}
.tag{display:inline-block;margin-left:8px;padding:4px 7px;border-radius:5px;vertical-align:2px;
  font:700 10px/1 "JetBrains Mono",monospace;letter-spacing:.09em;text-transform:uppercase;
  background:var(--safe);color:#04231a}
.tag.no{background:var(--burn);color:#241105}

/* ---- coin-priced gallery ------------------------------------- */
.buy{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.buy h2{font-size:clamp(29px,4.4vw,42px);margin-bottom:10px}
.buy .dek{margin-bottom:26px}
.buy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.buy-grid figure{margin:0;position:relative;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);background:var(--card)}
/* Every cell holds a 3:2 frame and crops to fill, so a source that is
   slightly off-ratio cannot stretch the row. The clip used to span the full
   width at 16:9, which swallowed the viewport. */
.buy-grid figure{aspect-ratio:3/2}
.buy-grid img,.buy-grid video{display:block;width:100%;height:100%;object-fit:cover}
.buy-grid figcaption{position:absolute;left:11px;bottom:11px}
.pricetag{display:inline-block;padding:5px 10px;border-radius:7px;
  background:rgba(10,10,15,.82);border:1px solid var(--border);color:#fff;
  font-size:11.5px;font-weight:700;letter-spacing:.04em;backdrop-filter:blur(6px)}
.pricetag.burn{background:var(--burn);border-color:transparent;color:#241105}
@media(max-width:900px){.buy-grid{grid-template-columns:repeat(2,1fr)}}

/* ---- plan cards ---------------------------------------------- */
.plansec{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.plansec h2{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(29px,4.4vw,42px);margin-bottom:26px}
.plan-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:left}
@media(max-width:820px){.plan-cards{grid-template-columns:1fr}}
.plan-card{
  position:relative;background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:26px 24px;display:flex;flex-direction:column;gap:8px;
  transition:border-color var(--ease),background var(--ease);
}
.plan-card:hover{background:var(--card-h);border-color:rgba(168,85,247,.34)}
.plan-card.featured{border-color:rgba(168,85,247,.5);box-shadow:var(--glow)}
.plan-flag{
  position:absolute;top:-11px;left:24px;padding:4px 10px;border-radius:100px;
  font:700 10px/1 "JetBrains Mono",monospace;letter-spacing:.09em;text-transform:uppercase;
  background:var(--grad);color:#fff;
}
.plan-card h3{font-size:18px;font-weight:600}
.plan-price{font-size:20px;font-weight:700;color:var(--accent);margin:0}
.plan-note{margin:0;font-size:14.5px;color:var(--t3);flex:1}
.plan-card a{
  margin-top:12px;display:inline-block;text-align:center;padding:11px 18px;border-radius:10px;
  border:1px solid var(--border);background:var(--card-h);color:var(--white);
  text-decoration:none;font-size:14px;font-weight:600;transition:background var(--ease);
}
.plan-card.featured a{background:var(--grad);border-color:transparent}
.plan-card a:hover{background:var(--card)}
.plan-card.featured a:hover{box-shadow:0 0 26px rgba(168,85,247,.45)}

/* ---- calculator section --------------------------------------- */
.calc{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.calc h2{font-size:clamp(29px,4.4vw,42px);margin-bottom:10px}
.calc .dek{margin-bottom:8px}
.calc .deck{padding-top:22px}
.ctrl-note.spaced{margin-top:16px}

/* ---- why ----------------------------------------------------- */
.why{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.why h2{font-size:clamp(29px,4.4vw,42px);margin-bottom:26px}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;text-align:left}
@media(max-width:720px){.why-grid{grid-template-columns:1fr}}
.why-grid div{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:22px 24px;transition:border-color var(--ease),background var(--ease)}
.why-grid div:hover{background:var(--card-h);border-color:rgba(168,85,247,.34)}
.why-grid h3{font-size:17px;font-weight:600;margin:0 0 7px}
.why-grid p{margin:0;color:var(--t2);font-size:15.5px}

/* ============================================================
   CENTRED LAYOUT

   Sections were a mix: some centred their heading, some ran flush left,
   and the reading column drifted from one block to the next. On a page
   this long that inconsistency is what makes it feel unfinished — the eye
   keeps re-finding the left edge.

   Every section header is now centred, and every prose column is capped
   and auto-margined so the measure stays constant top to bottom. Content
   that is genuinely tabular or list-shaped keeps its own alignment; only
   the container is centred.
   ============================================================ */
.intro > .eyebrow,.styles > .eyebrow,.steps > .eyebrow,.usecases > .eyebrow,
.custom > .eyebrow,.compare > .eyebrow,.trust > .eyebrow,
.intro > h2,.styles > h2,.steps > h2,.why > h2,.buy > h2,.usecases > h2,
.custom > h2,.plansec > h2,.compare > h2,.proscons > h2,.calc > h2,
.trust > h2,.prose > h2,.closer > h2{text-align:center}

.intro > .dek,.styles > .dek,.steps > .dek,.buy > .dek,.usecases > .dek,
.custom > .dek,.compare > .dek,.calc > .dek{
  margin-left:auto;margin-right:auto;text-align:center;
}

/* Reading columns share one measure. */
.intro-body{max-width:900px;margin-left:auto;margin-right:auto}
.cust-list{max-width:820px;margin-left:auto;margin-right:auto}
.prose p{margin-left:auto;margin-right:auto}
.prose.tight{max-width:860px;margin-left:auto;margin-right:auto}
.prose.tight details{text-align:left}
.prose > .cta{display:block;width:fit-content;margin-left:auto;margin-right:auto}
.compare .ctrl-note,.plansec .ctrl-note{max-width:76ch;margin-left:auto;margin-right:auto;text-align:center}

.closer{text-align:center}
.closer p{margin-left:auto;margin-right:auto}

/* ============================================================
   RESPONSIVE PASS

   The layout was built desktop-first and each new section added its own
   breakpoint, so the set had drifted to ten different widths. These rules
   consolidate the mobile behaviour and close the overflow risks: two
   tables shipped without a scroll wrapper, and several cells carried
   white-space:nowrap, which is what actually pushes a page sideways.
   ============================================================ */

/* A bare wrapper: scrolls if it must, no border of its own. */
.table-scroll.bare{border:0;border-radius:0}
.compare .table-scroll,.calc .deck{text-align:left}

@media(max-width:820px){
  /* Sections were each ~60px top padding; on a phone that is a screen and a
     half of empty space across fifteen of them. */
  .intro,.styles,.steps,.why,.buy,.usecases,.custom,
  .plansec,.compare,.proscons,.calc,.trust{padding-top:44px;margin-top:38px}
  .prose{padding:44px 0}
  .masthead{padding:30px 0 6px}
  .closer{padding:38px 24px;margin-bottom:44px}
}

@media(max-width:640px){
  /* nowrap on a price cell is the single most common cause of a sideways
     scroll on a phone. Long locales — "US$ 9,99/mês · 1.000/mês" — overflow
     a 320px column immediately. */
  .rates td:last-child,.rates th:last-child,
  .plan-cost{white-space:normal}
  .rates,.plans{font-size:14px}
  .rates td,.rates th,.plans td,.plans th{padding-left:0;padding-right:0}

  /* Numerals were sized for a three-column row that no longer exists here. */
  .step-num{font-size:36px}
  .cust-num{font-size:26px;min-width:42px}
  .cust-list li{gap:14px}

  .hero-cta{gap:10px}
  .hero-cta .cta,.hero-cta .cta-ghost{flex:1 1 100%;text-align:center}

  .uc-card,.trust-card,.pc-col,.plan-card{padding:20px}
  .panel{padding:18px}

  /* The gallery drops to two columns at 900px; at phone width the four 3:2
     frames get too small to read, so one column reads better than a grid of
     thumbnails. */
  .buy-grid{grid-template-columns:1fr}
  .style-grid{gap:12px}

  .disclose-line{font-size:13px}
  footer{padding-bottom:48px}
}

@media(max-width:420px){
  /* Keep the brand line from wrapping mid-word on the smallest screens. */
  h1{hyphens:none}
  .h1-brand{font-size:clamp(28px,8.4vw,34px)}
  .h1-hook{font-size:clamp(25px,7.6vw,31px)}
  .stats{grid-template-columns:1fr 1fr}
  .stats div{padding:14px 15px}
  .stats strong{font-size:24px}
  .navbar > .wrap{padding-top:9px;padding-bottom:9px}
  .brand{font-size:16px}
  .brand img{width:26px;height:26px}
}

/* Touch targets: the WCAG guidance is 44px, and the picker and segmented
   control were both under it. */
@media(hover:none){
  .langpick summary{padding:10px 14px}
  .langpick-menu a,.langpick-menu span{padding:11px 13px}
  .seg button{padding:12px 6px}
  input[type=range]{height:5px}
  input[type=range]::-webkit-slider-thumb{width:24px;height:24px}
  input[type=range]::-moz-range-thumb{width:24px;height:24px}
}

/* ---- getting started ------------------------------------------- */
.steps{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px;text-align:center}
.steps h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 10px}
.steps .dek{margin:0 auto 30px}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:0;list-style:none}
@media(max-width:820px){.step-grid{grid-template-columns:1fr;gap:28px}}
.step-grid li{padding:0 26px;border-left:1px solid var(--border);text-align:center}
.step-grid li:first-child{border-left:0}
@media(max-width:820px){.step-grid li{border-left:0;padding:0}}
.step-num{
  display:block;font-size:44px;font-weight:700;line-height:1;margin-bottom:12px;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.step-grid h3{font-size:17px;font-weight:600;margin:0 0 8px}
.step-grid p{margin:0;color:var(--t2);font-size:15px}

/* ---- who it is for --------------------------------------------- */
.usecases{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px;text-align:center}
.usecases h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 10px}
.usecases .dek{margin:0 auto 28px}
.uc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:left}
@media(max-width:940px){.uc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.uc-grid{grid-template-columns:1fr}}
.uc-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:24px 26px;transition:border-color var(--ease),background var(--ease);
}
.uc-card:hover{background:var(--card-h);border-color:rgba(168,85,247,.34)}
/* The "not a fit" cards are visually distinct so they read as caveats
   rather than as more selling points. */
.uc-card.negative{background:rgba(251,146,60,.05);border-color:rgba(251,146,60,.22)}
.uc-icon{display:block;font-size:24px;line-height:1;margin-bottom:14px}
.uc-card h3{font-size:16.5px;font-weight:600;margin:0 0 8px}
.uc-card p{margin:0;color:var(--t2);font-size:15px}

/* ---- customization --------------------------------------------- */
.custom{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.custom h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 10px}
.custom .dek{margin-bottom:26px}
.cust-list{margin:0;padding:0;list-style:none;display:grid;gap:0}
.cust-list li{display:flex;gap:22px;align-items:flex-start;padding:22px 0;border-top:1px solid var(--border);text-align:left}
.cust-list li:first-child{border-top:0;padding-top:0}
.cust-num{
  font-size:32px;font-weight:700;line-height:1;flex-shrink:0;min-width:52px;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.cust-list h3{font-size:17px;font-weight:600;margin:0 0 7px}
.cust-list p{margin:0;color:var(--t2);font-size:15.5px;max-width:74ch}

/* ---- safety, privacy, billing ---------------------------------- */
.trust{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.trust h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 26px}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;text-align:left}
@media(max-width:820px){.trust-grid{grid-template-columns:1fr}}
.trust-card{background:var(--card);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px 26px}
.trust-icon{display:block;font-size:22px;line-height:1;margin-bottom:12px}
.trust-card h3{font-size:16.5px;font-weight:600;margin:0 0 8px;color:var(--accent)}
.trust-card p{margin:0;color:var(--t2);font-size:15px}

/* ---- footer navigation ----------------------------------------- */
.foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:26px 0 22px}
@media(max-width:720px){.foot-cols{grid-template-columns:1fr;gap:20px}}
.foot-cols div{display:grid;gap:9px;align-content:start}
.foot-h{
  font:700 10.5px/1 "JetBrains Mono",monospace;letter-spacing:.14em;
  text-transform:uppercase;color:var(--t3);margin-bottom:3px;
}
.foot-cols a{color:var(--t2);text-decoration:none;font-size:14px}
.foot-cols a:hover{color:var(--white);text-decoration:underline}

/* ---- comparison table ------------------------------------------ */
.compare{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.compare h2{font-size:clamp(29px,4.4vw,42px);margin:12px 0 10px}
.compare .dek{margin-bottom:24px}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:var(--r)}
.cmp-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:660px}
.cmp-table th,.cmp-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--border)}
.cmp-table thead th{
  font:700 11px/1.3 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase;
  color:var(--t3);background:rgba(255,255,255,.03);white-space:nowrap;
}
.cmp-table tbody th{font-weight:500;color:var(--t2);white-space:nowrap}
.cmp-table tbody tr:last-child th,.cmp-table tbody tr:last-child td{border-bottom:0}
/* The partnered column is highlighted, not hidden — a reader should be able
   to see at a glance which one we have a stake in. */
.cmp-table .own{background:rgba(168,85,247,.09);color:var(--white);font-weight:600}
.cmp-table thead .own{color:var(--accent);background:rgba(168,85,247,.14)}

/* ---- pros & cons ------------------------------------------------ */
.proscons{padding:60px 0 8px;border-top:1px solid var(--border);margin-top:52px}
.proscons h2{font-size:clamp(29px,4.4vw,42px);margin-bottom:26px}
.pc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;text-align:left}
@media(max-width:820px){.pc-grid{grid-template-columns:1fr}}
.pc-col{background:var(--card);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px 26px}
.pc-col h3{font-size:17px;font-weight:600;margin:0 0 14px}
.pc-col.pros{border-color:rgba(52,211,153,.28)}
.pc-col.cons{border-color:rgba(251,146,60,.28)}
.pc-col ul{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.pc-col li{position:relative;padding-left:26px;color:var(--t2);font-size:15.5px;line-height:1.55}
.pc-col li::before{position:absolute;left:0;top:0;font-weight:700}
.pc-col.pros li::before{content:"+";color:var(--safe)}
.pc-col.cons li::before{content:"−";color:var(--burn)}

/* ---- prose --------------------------------------------------- */
.prose{padding:60px 0;border-top:1px solid var(--border);margin-top:52px}
.prose.tight{padding-top:0;border-top:0;margin-top:0}
/* Centred variant, used for the arithmetic breakdown so the tables sit in
   the middle of the column rather than hugging the left rule. */
.prose.centered{text-align:center}
.prose.centered p{margin-left:auto;margin-right:auto}
.prose.centered .rates{margin-left:auto;margin-right:auto}
.prose.centered .rates th,.prose.centered .rates td{text-align:center}
.prose.centered .rates td:last-child,.prose.centered .rates th:last-child{text-align:center}
.prose h2{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(29px,4.4vw,42px);margin-bottom:16px}
.prose h3{font-size:18px;font-weight:600;margin:32px 0 8px}
.prose p{color:var(--t2);font-size:16.5px;max-width:66ch;margin:0 0 14px}
.prose a{color:var(--accent)}
.rates{width:100%;max-width:700px;border-collapse:collapse;margin:22px 0 8px;font-size:15px}
.rates th{text-align:left;padding:0 0 10px;border-bottom:1px solid var(--border);
  font:700 11px/1 "JetBrains Mono",monospace;letter-spacing:.13em;text-transform:uppercase;color:var(--t3)}
.rates td{padding:12px 0;border-bottom:1px solid var(--border)}
.rates td:last-child,.rates th:last-child{text-align:right;font-family:"JetBrains Mono",monospace;white-space:nowrap}

details{border-top:1px solid var(--border);padding:17px 0}
summary{cursor:pointer;font-weight:600;font-size:16.5px;list-style:none}
summary::-webkit-details-marker{display:none}
.prose details summary::after{content:"+";float:right;font-family:"JetBrains Mono",monospace;color:var(--accent)}
.prose details[open] summary::after{content:"–"}
details p{margin-top:12px}

/* ---- CTAs ---------------------------------------------------- */
.cta{
  display:inline-block;padding:14px 26px;border-radius:12px;text-decoration:none;
  background:var(--grad);color:#fff;font-weight:600;font-size:16px;
  box-shadow:var(--glow);transition:transform var(--ease),box-shadow var(--ease);
}
.cta:hover{transform:translateY(-2px);box-shadow:0 0 56px rgba(168,85,247,.42)}
/* Was display:block, which stretched the button across the full 1160px
   column. A call to action that wide reads as a banner rather than a
   button, and the label floats alone in the middle of it. */
.cta.wide{display:block;width:fit-content;margin:32px auto 0;text-align:center}

.closer{
  padding:52px clamp(22px,4vw,48px);margin:10px 0 60px;border-radius:var(--r-lg);
  background:linear-gradient(135deg,rgba(168,85,247,.16),rgba(236,72,153,.12));
  border:1px solid rgba(168,85,247,.28);
}
.closer h2{font-size:clamp(27px,4.1vw,41px);margin-bottom:12px}
.closer p{color:var(--t2);font-size:16.5px;max-width:62ch;margin:0 0 24px}

/* ---- footer -------------------------------------------------- */
footer{border-top:1px solid var(--border);padding:36px 0 64px;font-size:14.5px;color:var(--t3);position:relative;z-index:1}
footer p{max-width:72ch;margin:0 0 12px}
footer a{color:var(--t2)}
.langs.foot{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border);font-size:13px}
.langs.foot a{text-decoration:none}
.langs.foot a:hover{color:var(--white);text-decoration:underline}
.langs.foot [aria-current]{color:var(--white);font-weight:600}

@media(prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
  html{scroll-behavior:auto}
}
