/* ============================================================
   Landing page styles. Mobile first: base rules target phones,
   media queries scale UP. Dark theme lifted from the app tokens
   (web/index.html) so the page and the product look like one thing.

   BRAND SWAP: --brand / --brand-2 below are the only colour tokens
   that change on a rename. The product NAME lives in one JS const
   (BRAND in landing.js). See landing/README.md.
   ============================================================ */
:root{
  /* Palette ported from the design Patrik picked (Desktop draft, 2026-07-20).
     Darker base, brighter lime, softer hairlines. Lime is the ACTION colour only. */
  --brand:#8B5CF6;          /* violet: atmosphere + secondary accents */
  --brand-2:#a98bff;
  --accent:#D9FF4B;         /* lime: the button, and nothing else at size */
  --accent-dim:rgba(217,255,75,.14);
  --bg:#070609;
  --srf:#0f0d14;
  --srf2:#13111a;
  --tx:#F5F4F8;
  --muted:#9d9caa;
  --dim:#63626f;
  --line:rgba(255,255,255,.08);
  --grad:linear-gradient(96deg,var(--brand),var(--brand-2));
  --r:18px;
  --font-disp:'Space Grotesk',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--tx);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
/* film grain: the single cheapest thing that makes a dark page feel expensive */
body:before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:100;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,video{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;line-height:1.04;letter-spacing:-.032em;font-family:var(--font-disp)}
h1{font-size:36px;font-weight:700}
h2{font-size:30px;font-weight:700}
h3{font-size:19px;font-weight:700;letter-spacing:-.01em}
p{margin:0;line-height:1.62;color:var(--muted)}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
.grad{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.accent{color:var(--accent)}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--accent);
  background:var(--accent-dim);border:1px solid rgba(217,255,75,.25);
  padding:7px 14px;border-radius:100px;
}
.dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-weight:700;font-size:15px;padding:15px 24px;
  border-radius:13px;border:0;cursor:pointer;white-space:nowrap;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
/* Lime appears ONCE at size: the thing you click. An accent reads as expensive
   because it is scarce, so nothing else gets to be lime and large.
   Dimensional treatment: a top-lit gradient body, a 1px inner highlight along the
   top edge, a tight contact shadow and a soft bloom underneath. That combination
   is what makes a flat rectangle read as a physical, pressable object. */
.btn-primary{
  background:linear-gradient(180deg,#E8FF7A 0%,#D9FF4B 46%,#C2EE28 100%);
  color:#0a0a0a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(0,0,0,.10),
    0 1px 2px rgba(0,0,0,.35),
    0 6px 18px rgba(217,255,75,.22),
    0 0 46px rgba(217,255,75,.16);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(0,0,0,.10),
    0 2px 4px rgba(0,0,0,.35),
    0 12px 30px rgba(217,255,75,.34),
    0 0 62px rgba(217,255,75,.26);
}
.btn-primary:active{transform:translateY(0);box-shadow:inset 0 2px 5px rgba(0,0,0,.22),0 1px 2px rgba(0,0,0,.3)}

/* nested pill: lets one button carry the label AND kill the price objection */
.btn-duo{padding-right:8px;gap:12px}
.btn-pill{
  display:inline-flex;align-items:center;padding:7px 13px;border-radius:9px;
  background:rgba(10,10,10,.14);color:rgba(10,10,10,.72);
  font-size:13px;font-weight:700;white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-sm{padding:10px 16px;font-size:13.5px;border-radius:11px}
.btn-lg{padding:17px 30px;font-size:16px;border-radius:14px}

/* CTA lockup: the primary button with its one-line promise directly beneath.
   Replaces the old email form; centred so it sits under the centred hero. */
.cta-lockup{margin-top:36px;display:flex;flex-direction:column;align-items:center}
.cta-lockup .microcopy{margin-top:14px;text-align:center}

/* ---------- nav ---------- */
nav{position:sticky;top:0;z-index:60;background:rgba(10,9,14,.8);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:60px;gap:20px}
/* Section links: hidden on phones, where the sticky CTA is the only nav that matters */
.nav-links{display:none;gap:26px;margin-left:auto;margin-right:6px}
.nav-links a{font-size:14px;font-weight:500;color:var(--muted);transition:color .15s ease}
.nav-links a:hover{color:var(--tx)}
@media(min-width:820px){.nav-links{display:flex}}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;letter-spacing:-.02em;font-family:var(--font-disp)}
/* Mark = a caption block with ONE line highlighted: the keyword-highlight feature,
   which is the thing competitors do not do. ONE colour throughout — the faded
   lines were hard to read on lime, and weight alone carries the emphasis, so the
   idea also survives being flattened for an app icon or print. */
.logo{cursor:pointer}
.logo-mark{
  width:28px;height:28px;border-radius:8px;background:var(--accent);
  display:grid;place-items:center;box-shadow:0 4px 18px rgba(217,255,75,.35);
}
.mark-svg{width:18px;height:18px;fill:#0a0a0a;display:block}
.mark-svg .ln{opacity:1}
.mark-svg rect{transform-box:fill-box;transform-origin:left center;animation:markIn .45s cubic-bezier(.2,.9,.25,1) both}
.mark-svg .key{animation:markKey .5s cubic-bezier(.2,1.5,.3,1) both;animation-delay:.12s}
.mark-svg rect:nth-child(3){animation-delay:.06s}
@keyframes markIn{from{opacity:0;transform:scaleX(.15)}to{opacity:1;transform:scaleX(1)}}
@keyframes markKey{from{opacity:0;transform:scaleX(.15)}60%{opacity:1;transform:scaleX(1.06)}to{opacity:1;transform:scaleX(1)}}
.logo:hover .mark-svg rect{animation:markIn .45s cubic-bezier(.2,.9,.25,1) both}
.logo:hover .mark-svg .key{animation:markKey .5s cubic-bezier(.2,1.5,.3,1) both;animation-delay:.12s}
.logo:hover .mark-svg rect:nth-child(3){animation-delay:.06s}
@media(prefers-reduced-motion:reduce){.mark-svg rect{animation:none}.mark-svg .ln{opacity:1}.mark-svg .key{opacity:1}}

/* ---------- hero (centered, Key Plugs formula: big headline + italic payoff
   line + blurred colour bars behind, one CTA with the green price/deal accent) ---------- */
.hero{position:relative;padding:76px 0 0;overflow:hidden;text-align:center}
.glow{position:absolute;border-radius:50%;filter:blur(110px);pointer-events:none;z-index:0}
.glow-a{width:560px;height:560px;background:rgba(139,92,246,.16);top:-240px;left:-140px}
.glow-b{width:480px;height:480px;background:rgba(217,255,75,.05);top:80px;right:-200px}

/* Masked grid = the Desktop draft's backdrop: structure, not confetti. Fades out
   before it reaches the copy so the headline always sits on quiet ground. */
.hero:before{
  content:'';position:absolute;inset:0;z-index:0;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%,#000 20%,transparent 70%);
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%,#000 20%,transparent 70%);
  opacity:.5;
}

.hero-in{position:relative;z-index:2;display:grid;gap:0;justify-items:center;padding-bottom:56px}
.hero h1{margin:0 0 16px;max-width:15ch}
.hero h1 em{font-style:italic;font-weight:700;color:var(--accent)}
.hero .sub{font-size:18px;max-width:40ch;color:var(--tx);font-weight:500}
.hero .sub-2{font-size:15px;color:var(--dim);max-width:52ch;margin-top:14px;line-height:1.6}
.hero .sub b{color:var(--brand-2);font-weight:800}
.hero .tagline{margin-top:26px;font-size:15px;font-weight:700;color:#8a8a97;letter-spacing:-.01em}
.cta-row{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:28px}
.price-note{font-size:19px;font-weight:800;color:var(--accent)}
.price-note s{color:var(--dim);font-weight:700;margin-right:8px}

/* microcopy: the one-line promise under a CTA */
.microcopy{margin-top:13px;font-size:13px;color:var(--dim)}
.microcopy b{color:var(--accent);font-weight:800}

/* ---------- before / after, side by side ----------
   Submagic-style two-up: same clip both sides, left desaturated, right carrying
   the real captions. One video file covers both panels (CSS does the "before"),
   so there is nothing to produce twice. */
.ba{
  position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;
  width:100%;max-width:430px;margin:40px auto 0;
}
.ba-panel{margin:0;position:relative}
.ba-media{
  position:relative;aspect-ratio:9/16;border-radius:16px;overflow:hidden;
  background:linear-gradient(165deg,#1b1626,#0d0b14);
  border:1px solid rgba(255,255,255,.10);
}
.ba-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* the whole "before" treatment is one filter: no second edit, no second file */
.ba-before .ba-media video,.ba-before .ba-placeholder{filter:grayscale(1) brightness(.72)}
.ba-placeholder{
  position:absolute;inset:0;display:grid;place-items:start center;text-align:center;
  padding:26px 14px;color:#5a5a66;font-size:12px;line-height:1.5;
  background:
    radial-gradient(120% 80% at 30% 20%,rgba(139,92,246,.22),transparent 60%),
    linear-gradient(165deg,#241c37,#0c0a12);
}
.ba-placeholder small{color:#43424d;font-size:11px}
.ba-panel figcaption{
  margin-top:10px;text-align:center;font-size:11px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
}
.ba-after figcaption{color:var(--accent)}
.cr-host{position:absolute;inset:0;z-index:3}
/* label sits over the seam, exactly like the reference */
.ba-chip{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:6;
  display:flex;align-items:center;gap:9px;white-space:nowrap;
  background:var(--accent);color:#0a0a0a;font-size:13.5px;font-weight:700;
  padding:11px 18px;border-radius:12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 20px rgba(0,0,0,.45),0 0 40px rgba(217,255,75,.24);
}
.ba-chip-ico{
  width:14px;height:14px;border-radius:3px;flex:0 0 auto;
  background:
    linear-gradient(#0a0a0a,#0a0a0a) 0 2px/100% 2.5px no-repeat,
    linear-gradient(#0a0a0a,#0a0a0a) 0 6.5px/62% 3.5px no-repeat,
    linear-gradient(#0a0a0a,#0a0a0a) 0 12px/82% 2.5px no-repeat;
}
.phone-hint{
  display:block;width:max-content;max-width:min(340px,88vw);margin:20px auto 0;
  text-align:center;line-height:1.45;font-size:11.5px;color:var(--dim);
  background:rgba(20,18,25,.9);border:1px solid var(--line);
  border-radius:14px;padding:7px 14px;
}
.phone-hint b{color:var(--accent);font-weight:700}
@media(min-width:700px){
  .ba{max-width:470px;gap:12px}
  .ba-chip{font-size:14.5px;padding:12px 20px}
}

/* ---------- proof bar ---------- */
.proof{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:44px;padding:22px 0;background:rgba(255,255,255,.015)}
.proof-in{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 30px}
.proof-item{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted)}
.proof-item b{color:var(--tx);font-weight:800}

/* ---------- sections ---------- */
section{padding:64px 0;position:relative}
.head{text-align:center;max-width:640px;margin:0 auto 40px}
.head h2{margin:16px 0 14px}
.head p{font-size:16px}

/* style showcase */
.stylegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:760px;margin:0 auto}
.scard{
  border-radius:15px;overflow:hidden;position:relative;background:linear-gradient(165deg,#1b1626,#0e0c14);
  border:1px solid var(--line);transition:border-color .18s ease,transform .18s ease;
}
.scard:hover{border-color:rgba(139,92,246,.42);transform:translateY(-3px)}
.scard-stage{position:relative;aspect-ratio:9/16;overflow:hidden}
.scard-name{
  position:absolute;left:0;right:0;bottom:0;z-index:6;padding:22px 12px 10px;
  background:linear-gradient(transparent,rgba(10,9,14,.9));
  font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:center;
}

/* grammar brain: one clean specimen, no versus panel */
.linebox{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:520px;margin:0 auto}
.linebox .cline{margin:0}

/* grammar brain / sound off */
.compare{display:grid;gap:16px}
.cbox{background:var(--srf);border:1px solid var(--line);border-radius:var(--r);padding:22px 20px}
.cbox.bad{border-color:rgba(255,138,138,.22)}
.cbox.good{border-color:rgba(216,255,90,.26)}
.clabel{font-size:11.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.cbox.bad .clabel{color:#FF8A8A}
.cbox.good .clabel{color:var(--accent)}
.cline{
  font-weight:800;font-size:17px;letter-spacing:-.01em;padding:9px 13px;margin-bottom:8px;
  background:rgba(255,255,255,.045);border-radius:9px;display:inline-block;
}
.cbox p{font-size:14.5px;margin-top:8px}

/* problem cards */
.cards{display:grid;gap:16px}
.card{
  background:var(--srf);border:1px solid var(--line);border-radius:var(--r);
  padding:26px 22px;transition:transform .18s ease,border-color .18s ease;
}
.card:hover{transform:translateY(-3px);border-color:rgba(139,92,246,.34)}
.card h3{margin-bottom:9px}
.card p{font-size:14.5px}

/* steps */
.steps{display:grid;gap:18px;counter-reset:s}
.step{position:relative;padding:30px 22px 24px;background:var(--srf);border:1px solid var(--line);border-radius:var(--r)}
.step:before{
  counter-increment:s;content:counter(s);position:absolute;top:-16px;left:22px;
  width:34px;height:34px;border-radius:11px;background:var(--grad);color:#fff;
  display:grid;place-items:center;font-weight:900;font-size:15px;box-shadow:0 8px 22px rgba(139,92,246,.42);
}
.step h3{margin:4px 0 9px}
.step p{font-size:14.5px}

/* social proof */
.quotes{display:grid;gap:14px}
.quote{background:var(--srf);border:1px solid var(--line);border-radius:var(--r);padding:22px 20px}
.stars{color:var(--accent);font-size:13px;letter-spacing:2px;margin-bottom:11px}
.quote p{font-size:15px;color:var(--tx);font-weight:500}
.who{display:flex;align-items:center;gap:10px;margin-top:15px}
.who i{width:30px;height:30px;border-radius:50%;background:var(--grad);flex:0 0 auto}
.who span{font-size:13px;color:var(--dim);font-style:normal}

/* cta band */
.cta-band{
  background:linear-gradient(150deg,rgba(139,92,246,.15),rgba(216,255,90,.05));
  border:1px solid rgba(139,92,246,.26);border-radius:24px;padding:40px 22px;text-align:center;
}

/* ---------- style studio (the moat) ---------- */
.split{display:grid;gap:34px;align-items:center}
.feature-list{list-style:none;padding:0;margin:24px 0 0}
.feature-list li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:15px;color:var(--muted)}
.check{
  flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:rgba(216,255,90,.14);
  border:1px solid rgba(216,255,90,.34);color:var(--accent);
  display:grid;place-items:center;font-size:11px;font-weight:900;margin-top:2px;
}
.mock-panel{background:var(--srf);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:0 30px 70px rgba(0,0,0,.5)}
.mock-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:13.5px}
.mock-row:last-child{border-bottom:0}
.mock-row span.k{color:var(--muted)}
.pill{background:rgba(139,92,246,.16);border:1px solid rgba(139,92,246,.3);color:var(--brand-2);padding:4px 10px;border-radius:100px;font-size:11.5px;font-weight:700;white-space:nowrap}
.pill-lime{background:rgba(216,255,90,.13);border-color:rgba(216,255,90,.3);color:var(--accent)}
.slider{height:5px;border-radius:100px;background:#25252e;position:relative;width:110px;flex:0 0 auto}
.slider:after{content:'';position:absolute;left:0;top:0;height:100%;width:62%;border-radius:100px;background:var(--grad)}

/* ---------- pricing ----------
   Three tiers, the middle one carried. Founding rate shown under each headline
   price so the 50% is a number rather than a claim. */
.tiers{display:grid;gap:18px;align-items:start}
.tier{
  position:relative;background:var(--srf);border:1px solid var(--line);
  border-radius:var(--r);padding:28px 24px;
}
.tier-best{
  border-color:rgba(217,255,75,.34);
  background:linear-gradient(180deg,rgba(217,255,75,.05),transparent 46%),var(--srf);
  box-shadow:0 24px 60px rgba(0,0,0,.45),0 0 60px rgba(217,255,75,.06);
}
.tier-badge{
  position:absolute;top:-11px;left:24px;background:var(--accent);color:#0a0a0a;
  font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  padding:5px 11px;border-radius:100px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}
.tier-name{
  font-family:var(--font-disp);font-weight:700;font-size:17px;color:var(--tx);
  letter-spacing:-.01em;margin-bottom:12px;
}
.tier-price{display:flex;align-items:baseline;gap:5px}
.tier-price .amt{font-family:var(--font-disp);font-weight:700;font-size:40px;color:var(--tx);letter-spacing:-.03em}
.tier-price .per{font-size:14px;color:var(--dim)}
.tier-founder{margin-top:7px;font-size:13px;color:var(--dim)}
.tier-founder b{color:var(--accent);font-weight:800}
.tier-list{list-style:none;padding:0;margin:22px 0 24px}
.tier-list li{display:flex;gap:11px;align-items:flex-start;padding:8px 0;font-size:14.5px;color:var(--muted)}
.tier .btn{width:100%}
.btn-ghost{
  background:rgba(255,255,255,.05);color:var(--tx);
  border:1px solid rgba(255,255,255,.14);box-shadow:none;
}
.btn-ghost:hover{background:rgba(255,255,255,.09);transform:translateY(-2px);box-shadow:none}
.tier-note{text-align:center;font-size:13px;color:var(--dim);margin-top:26px}

/* ---------- faq ---------- */
.faq{max-width:720px;margin:0 auto}
.q{border-bottom:1px solid var(--line);padding:20px 0}
.q h3{font-size:16.5px;margin-bottom:8px}
.q p{font-size:14.5px}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:80;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(10,9,14,.93);backdrop-filter:blur(16px);border-top:1px solid var(--line);
  transform:translateY(110%);transition:transform .28s ease;
}
.sticky-cta.on{transform:translateY(0)}
.sticky-cta .btn{width:100%}
/* room so the bar never covers the footer */
@media(max-width:699px){footer{padding-bottom:86px}}
@media(min-width:700px){.sticky-cta{display:none}}

/* ---------- scroll reveal ---------- */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.rv{opacity:1;transform:none}}

/* footer */
footer{border-top:1px solid var(--line);padding:30px 0}
.foot-in{display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;font-size:13px;color:var(--dim)}
.foot-links{display:flex;gap:20px}
.foot-links a:hover{color:var(--tx)}

/* ============ scale up ============ */
@media(min-width:700px){
  h1{font-size:52px} h2{font-size:40px}
  .hero{padding-top:64px}
  .hero .sub{font-size:18px}
  .stylegrid{grid-template-columns:repeat(4,1fr);gap:16px}
  .compare{grid-template-columns:1fr 1fr;gap:20px}
  .steps{grid-template-columns:repeat(3,1fr);gap:20px}
  .cards{grid-template-columns:repeat(3,1fr);gap:20px}
  .quotes{grid-template-columns:repeat(3,1fr)}
  .tiers{grid-template-columns:repeat(3,1fr);gap:20px}
  .split{grid-template-columns:1fr 1fr;gap:48px}
  .foot-in{flex-direction:row;justify-content:space-between;text-align:left}
  section{padding:84px 0}
  .cta-band{padding:58px 40px}
}
@media(min-width:980px){
  h1{font-size:72px}
  .hero{padding:86px 0 24px}
  .phone{width:300px}
  .badge-1{left:-34px} .badge-2{right:-36px}
  .bars i{height:104px}
}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
