/* AI Automation Society · premium landing
   Base: near-black + white. Blue (#37bdf8) is an accent only. */

:root {
  --bg: #050506;
  --bg-2: #0b0c0e;
  --bg-3: #121316;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --fg: #f4f5f7;
  --fg-2: rgba(244,245,247,.64);
  --fg-3: rgba(244,245,247,.40);
  --fg-4: rgba(244,245,247,.24);
  --accent: #37bdf8;
  --accent-deep: #1f6f9f;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
  --container: 1080px;
  --wide: 1265px;
  --nav-h: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- reveal (Framer-style appear) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* the parallax writes an inline transform on the laptop every frame; a transform transition here would lag it a full second behind the scroll */
.hero__device.reveal { transform: none; transition: opacity 1s var(--ease); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero__title.is-in .line > span { transform: none; }
.hero__title.is-in .line:nth-child(2) > span { transition-delay: .08s; }

/* ---------- type ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: var(--fg-2); letter-spacing: .01em;
}
.chip--solid { background: rgba(255,255,255,.1); color: var(--fg); border-color: transparent; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(55,189,248,.7); flex: none; }
.h2 { font-size: 40px; line-height: 54px; letter-spacing: -.04em; font-weight: 500; color: var(--fg); margin-top: 18px; }
.h2__a, .h2__b { display: block; }
.h2__b { color: var(--fg-3); }
.h2--single { color: var(--fg); }
.section-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head__p { font-size: 16px; line-height: 24px; color: var(--fg-2); padding-bottom: 4px; }
.section-head__link { justify-self: end; font-size: 15px; color: var(--fg-2); padding-bottom: 8px; }
.section-head__link:hover { color: var(--fg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; transition: transform .3s var(--ease), background .3s, box-shadow .3s; white-space: nowrap; }
.btn--light { background: rgba(255,255,255,.88); color: #0a0a0b; }
.btn--light:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -10px rgba(55,189,248,.55); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--fg); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 6vw, 180px);
  background: linear-gradient(180deg, rgba(5,5,6,.75), rgba(5,5,6,0));
  transition: background .4s;
}
.nav.is-scrolled { background: rgba(5,5,6,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: .06em; }
.nav__brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(55,189,248,.55)); }
.nav__links { display: flex; gap: 8px; justify-self: center; }
.nav__links a { font-size: 14px; color: var(--fg-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav__right { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nav__login { font-size: 14px; color: var(--fg-2); }
.nav__login:hover { color: var(--fg); }
.nav__cta { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 500; transition: background .25s; }
.nav__cta:hover { background: rgba(255,255,255,.2); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; justify-self: end; }
.nav__sheet { display: none; position: fixed; top: var(--nav-h); left: 12px; right: 12px; z-index: 49; padding: 12px; border-radius: 20px; background: rgba(12,13,15,.96); border: 1px solid var(--line-2); flex-direction: column; }
.nav__sheet.is-open { display: flex; }
.nav__sheet a { padding: 12px 14px; font-size: 16px; color: var(--fg-2); border-radius: 12px; }
.nav__sheet a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav__sheet-cta { margin-top: 6px; text-align: center; background: rgba(255,255,255,.9); color: #0a0a0b !important; font-weight: 500; }

/* ---------- hero ---------- */
.hero { contain: paint; position: relative; height: 1270px; overflow: clip; background: var(--bg); }
.hero__sky {
  position: absolute; inset: 0;
  background: radial-gradient(200% 83% at 50% 0px, #0c0e11 0%, #171b1f 42%, #2f78a8 100%);
}
.hero__sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(55,189,248,.22), rgba(55,189,248,0) 70%); }
.layer { position: absolute; left: 50%; bottom: 0; width: max(1440px, 100%); transform: translateX(-50%); will-change: transform; pointer-events: none; max-width: none; }
.layer--far { z-index: 1; opacity: 1; bottom: 150px; width: max(1680px, 117%); }
.layer--mid { z-index: 2; bottom: 40px; }
.layer--front { z-index: 4; bottom: -110px; }
/* the layers drift past the section edge as they parallax; fade them into the page ground so the clip line never shows */
.hero::after { content: ''; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 280px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding-top: 160px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: 56px; line-height: 1.3; letter-spacing: -.04em; font-weight: 400; color: #fff3f0; color: #f7f8fa; margin-top: 22px; max-width: 900px; }
.hero__sub { margin-top: 16px; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.8); max-width: 460px; }
.hero__cta { margin-top: 46px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero__device { position: absolute; z-index: 3; left: 50%; top: 594px; width: 960px; margin-left: -480px; will-change: transform; }
.device { padding: 6px 6px 0; border-radius: 24px 24px 0 0; background: rgba(23,23,23,.85); box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset, 0 40px 120px -20px rgba(0,0,0,.8); }
.hero__floor { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(5,5,6,0), var(--bg) 70%); }

/* ---------- product screen (shared) ---------- */
.screen { display: grid; grid-template-columns: 230px 1fr; height: 670px; border-radius: 18px 18px 0 0; overflow: clip; background: #121214; color: #e9e9ec; font-size: 14px; }
.screen__side { background: #161618; border-right: 1px solid rgba(255,255,255,.06); padding: 22px 18px; }
.screen__search { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.35); }
.screen__search span { display: block; width: 60px; height: 14px; border-radius: 999px; background: rgba(255,255,255,.12); }
.screen__nav { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.screen__nav li { display: flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px; border-radius: 8px; color: rgba(255,255,255,.72); }
.screen__nav li.is-active { background: rgba(255,255,255,.07); color: #fff; }
.screen__nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.screen__main { position: relative; overflow: clip; }
.screen__cover { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(26px) saturate(1.05); transform: scale(1.12); }
.screen__hero { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 200px 60px 40px; background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,.35) 100%); }
.screen--cta .screen__hero { padding-top: 150px; }
.screen__avatar { width: 48px; height: 48px; border-radius: 50%; background: #070809; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 0 26px rgba(55,189,248,.55), 0 8px 24px rgba(0,0,0,.45); }
.screen__avatar img { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(55,189,248,.9)); }
.screen__name { margin-top: 12px; font-size: 16px; font-weight: 600; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.screen__members { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.faces { display: inline-flex; }
.faces img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); margin-left: -8px; object-fit: cover; }
.faces img:first-child { margin-left: 0; }
.screen__join { margin-top: 16px; width: min(420px, 100%); height: 52px; border-radius: 12px; background: #fff; color: #0a0a0b; font-weight: 600; font-size: 15px; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.screen__desc { margin-top: 18px; font-size: 12.5px; line-height: 18px; color: rgba(255,255,255,.88); text-align: left; max-width: 420px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- intro ---------- */
.intro { padding: 230px 0 210px; background: var(--bg); }
.intro__inner { max-width: 640px; margin: 0 auto; transform: translateX(-120px); }
.intro__p { font-size: 32px; line-height: 38px; letter-spacing: -.03em; font-weight: 400; color: var(--fg); opacity: .22; margin-top: 36px; transition: opacity .4s; }
.intro__p:first-of-type { margin-top: 40px; }

/* ---------- sections ---------- */
.features, .get, .plans, .faq, .videos { padding: 110px 0; background: var(--bg); }

/* tabs */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 999px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.tab { height: 46px; border-radius: 999px; font-size: 17px; color: var(--fg-2); transition: background .3s, color .3s; }
.tab.is-active { background: #1a1b1e; color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.tab:hover { color: var(--fg); }

/* stage */
.stage { position: relative; margin-top: 12px; height: 600px; border-radius: 28px; overflow: clip; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 60px 120px -60px rgba(0,0,0,.9); }
.stage__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: 1; filter: brightness(1.25); will-change: transform; }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.15), rgba(5,5,6,0) 30%, rgba(5,5,6,.45) 100%); pointer-events: none; }
.stage__slide { padding: 64px 120px; }
.stage__slides { position: absolute; inset: 0; }
.stage__slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 56px 100px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stage__slide.is-active { opacity: 1; transform: none; }
.stage__slide img { max-height: 100%; max-width: 100%; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.stage__slide--grid { padding: 40px 100px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 660px; }
.qgrid img { width: 100%; height: auto; }
.stage-bar { margin-top: 14px; height: 60px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 0 6px; border-radius: 999px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.stage-bar__btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg-2); transition: background .2s, color .2s; }
.stage-bar__btn:hover { background: rgba(255,255,255,.1); color: var(--fg); }
.stage-bar__caption { text-align: center; font-size: 17px; color: var(--fg); }

/* stacked decks */
.stack { position: relative; margin-top: 8px; }
.deck { position: sticky; top: 120px; display: grid; grid-template-columns: 1fr 1fr; height: 628px; margin-bottom: 48px; border-radius: 28px; overflow: clip; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 50px 100px -50px rgba(0,0,0,.9); transform-origin: 50% 0; }
.stack.is-near .deck { will-change: transform, filter; }
.deck--flip .deck__copy { order: 2; }
.deck__copy { padding: 56px 48px; display: flex; flex-direction: column; }
.deck__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-3); }
.deck__title { margin-top: 64px; font-size: 32px; line-height: 40px; letter-spacing: -.03em; font-weight: 500; max-width: 12ch; }
.deck__p { margin-top: 30px; font-size: 15px; line-height: 22px; color: var(--fg-2); max-width: 40ch; }
.deck__foot { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }
.cross { position: relative; width: 14px; height: 14px; flex: none; opacity: .7; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--fg-2); }
.cross::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.cross::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.deck__media { position: relative; margin: 8px; border-radius: 22px; overflow: clip; background: #0f1012; }
.deck__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; opacity: .95; }
.deck__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.1), rgba(5,5,6,.45)); }
.deck__shot { position: absolute; left: 50%; top: 50%; width: 82%; transform: translate(-50%, -50%); border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); object-fit: cover; }
.deck__shot--tall { width: 58%; aspect-ratio: 4 / 5; object-position: 50% 15%; }

/* plans */
.plans__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 28px; background: #0a0b0d; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); padding: 0; }
.plan { padding: 44px 36px 20px; display: flex; flex-direction: column; }
.plan--raised { margin: -16px -1px; padding-top: 60px; background: #121316; border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(55,189,248,.35); position: relative; z-index: 1; }
.plan__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 32px; }
.plan__price b { font-size: 40px; font-weight: 400; letter-spacing: -.04em; color: var(--fg); line-height: 1; }
.plan__price span { font-size: 18px; color: var(--fg-2); }
.plan__blurb { margin-top: 22px; font-size: 15px; line-height: 21px; color: var(--fg-2); max-width: 22ch; min-height: 42px; }
.plan .btn { align-self: flex-start; margin-top: 26px; height: 40px; padding: 0 22px; font-size: 14px; }
.plan__rows { list-style: none; margin: 46px 0 0; padding: 0; }
.plan__rows li { display: flex; align-items: center; gap: 12px; height: 61px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg); }
.plan__rows li:last-child { border-bottom: 0; }
.plan__rows i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.1); flex: none; position: relative; }
.plan__rows i::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--fg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .85; }
.plan--raised .plan__rows i { background: rgba(55,189,248,.18); }
.plan--raised .plan__rows i::after { border-color: var(--accent); }

/* faq */
.faq__grid { display: grid; grid-template-columns: 345px 1fr; gap: 48px; align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__tabs { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 28px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.faq__tabs button { height: 44px; border-radius: 999px; font-size: 16px; color: var(--fg-2); transition: background .25s, color .25s; }
.faq__tabs button.is-active { background: #1a1b1e; color: var(--fg); }
.faq__card { margin-top: 24px; padding: 36px; border-radius: 22px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.faq__card h4 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.faq__card p { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.faq__card a { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--fg-2); }
.faq__card a:hover { color: var(--fg); }
.faq__set { display: none; flex-direction: column; gap: 10px; }
.faq__set.is-active { display: flex; }
.qa { border-radius: 22px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 34px 36px; font-size: 17px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__chev { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); position: relative; flex: none; transition: transform .3s var(--ease); }
.qa__chev::after { content: ''; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border: solid var(--fg-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.qa[open] .qa__chev { transform: rotate(180deg); }
.qa__a { padding: 0 36px 34px; font-size: 15px; line-height: 23px; color: var(--fg-2); max-width: 60ch; }

/* videos */
.videos__intro { margin-top: 16px; max-width: 50ch; font-size: 16px; line-height: 24px; color: var(--fg-2); }
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; border-radius: 28px; background: #0a0b0d; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.vcard { border-radius: 20px; background: #0f1012; overflow: clip; transition: transform .35s var(--ease), background .3s; }
.vcard:hover { transform: translateY(-3px); background: #131417; }
.vcard img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; }
.vcard h3 { padding: 26px 30px 0; font-size: 22px; line-height: 30px; letter-spacing: -.02em; font-weight: 500; }
.vcard__meta { padding: 20px 30px 34px; font-size: 14px; color: var(--fg-2); }

/* typed headlines */
[data-type] .w { display: inline-block; white-space: nowrap; }
[data-type] .ch { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(4px); transition: opacity .32s var(--ease), filter .5s var(--ease), transform .5s var(--ease); }
[data-type].is-typed .ch { opacity: 1; filter: blur(0); transform: none; }

/* cta */
.cta { position: relative; padding: 200px 0 260px; background: linear-gradient(180deg, var(--bg) 0%, #14181c 100%); overflow: clip; }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.cta__copy .h2 { margin-top: 0; }
.cta__copy p { margin-top: 26px; font-size: 16px; line-height: 24px; color: var(--fg-2); max-width: 36ch; }
.cta__copy .btn { margin-top: 42px; }
.cta__device { position: relative; }
.screen--cta { height: 560px; border-radius: 18px; grid-template-columns: 230px 1fr; width: 1180px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.cta__dunes { position: absolute; z-index: 1; left: 0; right: 0; bottom: -20px; width: 100%; height: 560px; object-fit: cover; object-position: 50% 30%; opacity: .95; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); will-change: transform; }
.cta__layer { position: absolute; left: 50%; width: max(1440px, 100%); transform: translateX(-50%); pointer-events: none; will-change: transform; max-width: none; }
.cta__layer--mid { z-index: 1; bottom: -30px; opacity: .9; }
.cta__layer--front { z-index: 3; bottom: -140px; }
.cta::after { content: ''; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }

/* scroll progress: a 2px lit line along the top edge with a small bright head */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress__bar { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(55,189,248,.8), #37bdf8 60%, #d8f3ff); box-shadow: 0 0 12px rgba(55,189,248,.7); will-change: transform; }
.progress__head { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(55,189,248,.85); transform: translateX(0); opacity: 0; transition: opacity .3s var(--ease); will-change: transform; }
.progress.is-on .progress__head { opacity: 1; }

/* footer */
.footer { position: relative; z-index: 2; background: var(--bg); padding: 70px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { filter: drop-shadow(0 0 10px rgba(55,189,248,.5)); }
.footer__brand p { margin-top: 20px; font-size: 14px; color: var(--fg-2); max-width: 30ch; }
.footer__fine { margin-top: 14px; font-size: 12px; color: var(--fg-4); max-width: 34ch; line-height: 1.5; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h5 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.footer__col a { font-size: 15px; color: var(--fg-2); }
.footer__col a:hover { color: var(--fg); }
.footer__terms { margin-top: 30px; font-size: 11px; line-height: 1.65; color: rgba(244,245,247,.42); }
.footer__terms p { max-width: 980px; }
.footer__terms p + p { margin-top: 8px; }
.footer__bottom { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--fg-2); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__title .line > span { transition: none; opacity: 1; transform: none; }
  .layer, .hero__device, .stage__bg, .cta__dunes { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { padding: 0 20px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__p { padding-bottom: 0; max-width: 46ch; }
  .section-head__link { justify-self: start; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links, .nav__login { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  /* hero keeps its layered stage on phones: fixed height, laptop parked behind the treeline, narrower ridge art */
  .hero { height: 960px; padding-bottom: 0; }
  .hero__content { padding: 108px 20px 0; }
  .hero__title { font-size: 38px; line-height: 1.12; }
  .hero__sub { font-size: 14px; line-height: 20px; padding: 0 8px; }
  .hero__cta { margin-top: 24px; flex-direction: column; align-items: center; gap: 8px; }
  .hero__cta .btn { height: 42px; padding: 0 22px; font-size: 13px; }
  .hero__title .line { display: inline; }
  .hero__title .line > span { display: inline; transform: none; }
  .hero__title .line:nth-child(2) > span::before { content: ' '; }
  .hero__device { position: absolute; top: 575px; left: 16px; right: 16px; width: auto; margin: 0; }
  .screen { grid-template-columns: 1fr; height: 460px; }
  .screen__side { display: none; }
  .screen__hero { padding: 64px 24px 24px; }
  .screen__cover { filter: none; transform: scale(1.06); }
  /* phone GPU budget: no backdrop blur behind the nav, no filter on the drifting stage image, no blur on typed characters */
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,5,6,.94); }
  .stage__bg { filter: none; }
  [data-type] .ch { filter: none; transition: opacity .32s var(--ease), transform .5s var(--ease); }
  [data-type].is-typed .ch { filter: none; }
  .progress { height: 2px; }
  .layer { width: 1100px; }
  .layer--far { width: 1320px; bottom: 200px; }
  .layer--mid { bottom: 80px; }
  .layer--front { bottom: -80px; }
  .hero::after { height: 220px; }
  .hero__floor { display: none; }
  .intro { padding: 120px 0; }
  .intro__inner { transform: none; padding: 0 24px; }
  .intro__p { font-size: 24px; line-height: 30px; }
  .features, .get, .plans, .faq, .videos { padding: 80px 0; }
  .tabs { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
  .tab { font-size: 15px; height: 42px; }
  .stage { height: 420px; }
  .stage__slide { padding: 28px; }
  .stage-bar__caption { font-size: 14px; }
  .deck { position: relative; top: auto; grid-template-columns: 1fr; height: auto; margin-bottom: 20px; transform: none !important; filter: none !important; }
  .deck--flip .deck__copy { order: 0; }
  .deck__copy { padding: 32px 28px; }
  .deck__title { margin-top: 28px; font-size: 26px; line-height: 32px; }
  .deck__p { margin-top: 18px; }
  .deck__foot { margin-top: 28px; }
  .deck__media { height: 340px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan--raised { margin: 0; border-radius: 22px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__card { margin-top: 20px; }
  .faq__side { position: static; top: auto; }
  .faq__tabs { flex-direction: row; }
  .faq__tabs button { flex: 1; font-size: 14px; }
  .qa summary { padding: 22px 22px; font-size: 15px; }
  .qa__a { padding: 0 22px 22px; }
  .videos__grid { grid-template-columns: 1fr; }
  .cta { padding: 120px 0 110px; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__device { margin-top: 8px; }
  .screen--cta { width: 100%; height: 420px; border-radius: 18px 18px 0 0; }
  .screen--cta .screen__hero { padding-top: 56px; }
  .cta__dunes { height: 300px; bottom: -10px; }
  .cta__layer { width: 1100px; }
  .cta__layer--mid { bottom: 40px; }
  .cta__layer--front { bottom: -40px; }
  .cta::after { height: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Couriers strip (LemonKit) */
.couriers { padding: 0 0 110px; background: var(--bg); }
.couriers__head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.couriers__head p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 24px; max-width: 640px; }
.couriers__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.couriers__grid li { display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 22px 18px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 30px 60px -40px rgba(0,0,0,.8); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.couriers__grid li:hover { transform: translateY(-4px); box-shadow: 0 0 0 6px rgba(255,255,255,.04), 0 40px 70px -40px rgba(0,0,0,.9); }
.couriers__grid img { display: block; width: 100%; height: 46px; object-fit: contain; margin: auto; }
.couriers__grid span { font-family: 'Roboto Mono', monospace; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #5b6168; text-align: center; }
@media (max-width: 900px) {
  .couriers { padding-bottom: 80px; }
  .couriers__head { grid-template-columns: 1fr; gap: 14px; }
  .couriers__grid { grid-template-columns: repeat(2, 1fr); }
  .couriers__grid li:last-child { grid-column: 1 / -1; }
}

/* ===== Top 10 bento (LemonKit) ===== */
.top { position: relative; padding: 40px 0 0; background: var(--bg); }
.top__wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.top__head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 36px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { min-width: 0; position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 330px; padding: 22px 22px 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid var(--line); overflow: clip; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.tile::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(55,189,248,.16), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); }
.tile:hover::before { opacity: 1; }
.tile--w2 { grid-column: span 2; }
.tile__top { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.tile__n { color: var(--accent); }
.tile__t { margin-top: auto; font-size: 18px; line-height: 24px; letter-spacing: -.02em; font-weight: 500; }
.tile__p { font-size: 13px; line-height: 20px; color: var(--fg-2); }
.tile > .lh, .tile > .rel, .tile > .gift, .tile > .chat, .tile > .ledger, .tile > .fb, .tile > .feed, .tile > .bund, .tile > .pay, .tile > .term--col { position: relative; z-index: 1; }

/* 01 lighthouse */
.lh { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 6px; }
.lh__ring { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.lh__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.lh__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; }
.lh__arc { fill: none; stroke: #4ade80; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 276.5; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(74,222,128,.45)); }
.lh__ring b { font-size: 26px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lh__ring span { position: absolute; bottom: -18px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.lh__ring.is-on .lh__arc { stroke-dashoffset: 0; }
.lh { padding-bottom: 20px; }

/* 02 release */
.rel { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; gap: 8px; margin-top: 10px; }
.rel__env { display: grid; grid-template-columns: 10px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 14px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .5s, background .5s; }
.rel__env i { grid-row: span 2; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--fg-4); transition: background .4s, box-shadow .4s; }
.rel__env b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.rel__env span { font-size: 12px; color: var(--fg-3); }
.rel__env--stg i { background: var(--accent); box-shadow: 0 0 10px rgba(55,189,248,.6); }
.rel__env--prod i { background: #4ade80; box-shadow: 0 0 10px rgba(74,222,128,.6); }
.rel__pipe svg { width: 100%; height: 24px; display: block; }
.rel__line { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; }
.rel__flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 14 10; opacity: 0; }
.rel.is-running .rel__flow { opacity: 1; animation: relflow .5s linear infinite; }
.rel.is-done .rel__env--prod { border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.06); }
@keyframes relflow { to { stroke-dashoffset: -24; } }
.term { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #0a0b0d; border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--fg); }
.term__ps { color: var(--accent); }
.term__run { margin-left: auto; height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.9); color: #0a0a0b; font-family: var(--sans); font-size: 12px; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.term__run:hover { background: #fff; transform: translateY(-1px); }
.term__run:disabled { opacity: .5; cursor: default; transform: none; }
.term--col { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 10px; min-height: 120px; }
.term__out { color: var(--fg-2); white-space: pre-line; font-size: 12px; line-height: 18px; }
.term__out .ok { color: #4ade80; }

/* 03 gift */
.gift { display: grid; gap: 10px; margin-top: 8px; }
.gift__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-2); }
.gift__row b { font-size: 16px; color: var(--fg); font-variant-numeric: tabular-nums; }
.gift__bar { position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: visible; }
.gift__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width .25s var(--ease), background .3s; }
.gift__bar em { position: absolute; top: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--fg-3); transform: translateY(-50%); transition: border-color .3s, background .3s; }
.gift__msg { font-size: 13px; color: var(--fg-2); min-height: 20px; }
.gift__msg b { color: var(--fg); }
.gift__range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.gift__range::-webkit-slider-runnable-track { height: 2px; background: rgba(255,255,255,.14); }
.gift__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(55,189,248,.25); }
.gift__range::-moz-range-track { height: 2px; background: rgba(255,255,255,.14); }
.gift__range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(55,189,248,.25); }
.gift__box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--fg-3); font-size: 13px; transition: all .4s var(--ease); }
.gift__box svg { width: 20px; height: 20px; }
.gift.is-unlocked .gift__box { border-style: solid; border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.08); color: #d7fbe4; transform: scale(1.02); }
.gift.is-unlocked .gift__bar i { background: linear-gradient(90deg, #22c55e, #4ade80); }
.gift.is-unlocked .gift__bar em { border-color: #4ade80; background: #4ade80; }

/* 04 chat */
.chat { display: grid; gap: 8px; margin-top: 8px; }
.chat__b { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 18px; }
.chat__b--u { justify-self: end; background: rgba(255,255,255,.1); border-bottom-right-radius: 4px; }
.chat__b--a { justify-self: start; background: rgba(55,189,248,.12); border: 1px solid rgba(55,189,248,.25); border-bottom-left-radius: 4px; min-height: 36px; white-space: pre-line; }
.chat__cur { display: inline-block; width: 6px; height: 13px; margin-left: 2px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 05 ledger */
.ledger { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; }
.ledger li { display: grid; grid-template-columns: 1fr auto 34px; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .4s; }
.ledger li em { font-style: normal; color: #4ade80; }
.ledger li em.neg { color: #f87171; }
.ledger li b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.ledger li.is-new { animation: ledin .6s var(--ease); background: rgba(55,189,248,.1); }
@keyframes ledin { from { opacity: 0; transform: translateY(-8px); } }

/* 06 facebook */
.fb { position: relative; margin-top: 8px; height: 132px; }
.fb__src { position: absolute; left: 0; top: 4px; bottom: 4px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.fb__lanes { position: absolute; left: 62px; right: 56px; top: 0; bottom: 0; }
.fb__lanes svg { width: 100%; height: 100%; }
.fb__l { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.fb__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); offset-path: path('M0 15 C80 15 120 30 200 30'); animation: fbmove 2.2s var(--ease) infinite; }
.fb__dot--b { offset-path: path('M0 45 C80 45 120 30 200 30'); animation-delay: .35s; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
@keyframes fbmove { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.fb__logo { position: absolute; right: 0; top: 50%; width: 48px; height: 48px; transform: translateY(-50%); }
.fb__logo svg { width: 100%; height: 100%; filter: drop-shadow(0 0 16px rgba(24,119,242,.5)); }
.fb__ev { position: absolute; right: 0; bottom: -4px; font-family: var(--mono); font-size: 10.5px; color: var(--fg-2); padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .fb__dot { animation: none; offset-distance: 60%; } }

/* 07 feed */
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.feed__card { display: grid; gap: 3px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 11px; transition: border-color .4s; }
.feed__card i { display: block; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, rgba(55,189,248,.35), rgba(255,255,255,.06)); }
.feed__card:nth-child(2) i { background: linear-gradient(135deg, rgba(242,217,78,.4), rgba(255,255,255,.06)); }
.feed__card:nth-child(3) i { background: linear-gradient(135deg, rgba(74,222,128,.35), rgba(255,255,255,.06)); }
.feed__card b { font-weight: 500; }
.feed__card em { font-style: normal; color: #4ade80; font-size: 10px; }
.feed__card.is-sync { border-color: rgba(55,189,248,.5); }
.feed__sync { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }

/* 08 bundle */
.bund { display: grid; gap: 10px; margin-top: 8px; }
.bund__items { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; }
.bund__items i { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(55,189,248,.35), rgba(255,255,255,.06)); border: 1px solid var(--line-2); transition: transform .6s var(--ease), margin .6s var(--ease); }
.bund__items i:nth-child(3) { background: linear-gradient(135deg, rgba(242,217,78,.4), rgba(255,255,255,.06)); }
.bund__items i:nth-child(5) { background: linear-gradient(135deg, rgba(74,222,128,.35), rgba(255,255,255,.06)); }
.bund__items b { color: var(--fg-3); font-weight: 400; transition: opacity .3s, width .5s; }
.bund.is-packed .bund__items b { opacity: 0; width: 0; }
.bund.is-packed .bund__items i:nth-child(1) { transform: rotate(-8deg) translateX(14px); }
.bund.is-packed .bund__items i:nth-child(5) { transform: rotate(8deg) translateX(-14px); }
.bund.is-packed .bund__items i:nth-child(3) { transform: translateY(-4px) scale(1.08); z-index: 1; }
.bund__price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; flex-wrap: wrap; }
.bund__price s { color: var(--fg-3); font-size: 13px; }
.bund__price b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.bund__price em { font-style: normal; font-size: 11px; color: #4ade80; opacity: 0; transition: opacity .4s; }
.bund.is-packed .bund__price em { opacity: 1; }
.bund__btn { height: 34px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; transition: background .3s; }
.bund__btn:hover { background: rgba(255,255,255,.14); }
.bund.is-packed .bund__btn { background: rgba(74,222,128,.15); border-color: rgba(74,222,128,.4); }

/* 09 payments */
.pay { display: grid; gap: 8px; margin-top: 8px; }
.pay__m { text-align: left; height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12.5px; transition: border-color .3s, background .3s; }
.pay__m.is-on { border-color: rgba(55,189,248,.6); background: rgba(55,189,248,.1); }
.pay__ok { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: #4ade80; opacity: 0; transition: opacity .4s; }
.pay__ok i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.pay.is-paid .pay__ok { opacity: 1; }

@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .top__head { grid-template-columns: 1fr; gap: 14px; }
  .lh__ring b { font-size: 22px; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile--w2 { grid-column: auto; } .tile { min-height: 0; } }
.tile--w4 { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 40px; }
.tile--w4 .tile__top { grid-column: 1 / -1; }
.tile--w4 .term--col { grid-row: 2 / 4; grid-column: 1; margin-top: 8px; }
.tile--w4 .tile__t { grid-column: 2; align-self: end; margin-top: 8px; font-size: 22px; line-height: 28px; }
.tile--w4 .tile__p { grid-column: 2; max-width: 460px; }
@media (max-width: 620px) { .tile--w4 { display: flex; } }

/* ===== AI agent (LemonKit) ===== */
.agent { position: relative; padding: 120px 0 40px; background: var(--bg); overflow: clip; }
.agent::before { content: ''; position: absolute; left: 50%; top: 120px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(55,189,248,.10), transparent 70%); pointer-events: none; }
.agent__wrap { position: relative; width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.agent__head { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: end; margin-bottom: 44px; }
.agent__head .section-head__p b { color: var(--fg); font-weight: 500; }
.agent__grid { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: center; }

/* phone */
.phone { position: relative; width: 100%; max-width: 380px; margin: 0 auto; border-radius: 42px; padding: 12px; background: #0e0f12; border: 1px solid var(--line-2); box-shadow: 0 0 0 1px #000, 0 60px 120px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06); font-size: 13px; }
.phone::before { content: ''; position: absolute; top: 12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%); border-radius: 0 0 16px 16px; background: #000; z-index: 2; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 16px; font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); }
.phone__sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.phone__sig i { width: 3px; background: var(--fg-2); border-radius: 1px; }
.phone__sig i:nth-child(1){height:4px}.phone__sig i:nth-child(2){height:6px}.phone__sig i:nth-child(3){height:8px}.phone__sig i:nth-child(4){height:10px}
.phone__head { display: grid; gap: 10px; padding: 14px 6px 12px; border-bottom: 1px solid var(--line); }
.phone__who { display: flex; align-items: center; gap: 10px; }
.phone__who b { display: block; font-size: 14px; font-weight: 500; }
.phone__who small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--fg-3); font-family: var(--mono); }
.phone__live { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.phone__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #d97757; color: #fff; transition: background .3s; }
.phone__av svg { width: 20px; height: 20px; }
.phone.is-openai .phone__av { background: #fff; color: #000; }
.phone__sw { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: #060708; border: 1px solid var(--line); justify-self: start; }
.phone__sw button { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; color: var(--fg-3); transition: background .25s, color .25s; }
.phone__sw button svg { width: 12px; height: 12px; }
.phone__sw button.is-active { background: #1a1b1e; color: var(--fg); }
.phone__thread { display: flex; flex-direction: column; gap: 8px; height: 400px; padding: 14px 6px; overflow-y: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 24px); mask-image: linear-gradient(180deg, transparent, #000 24px); }
.phone__thread > * { flex-shrink: 0; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 16px; line-height: 18px; animation: msgin .45s var(--ease) both; }
.msg--u { align-self: flex-end; background: var(--accent); color: #041018; border-bottom-right-radius: 4px; }
.msg--u .msg__att { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.18); font-family: var(--mono); font-size: 11px; }
.msg--a { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--a .msg__t { white-space: pre-line; }
.msg__dots { display: inline-flex; gap: 4px; height: 18px; align-items: center; }
.msg__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); animation: dotp 1s infinite; }
.msg__dots i:nth-child(2){animation-delay:.15s}.msg__dots i:nth-child(3){animation-delay:.3s}
@keyframes dotp { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgin { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.steps { align-self: flex-start; width: 88%; padding: 8px 10px; border-radius: 14px; border-bottom-left-radius: 4px; background: #0a0b0d; border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; line-height: 20px; animation: msgin .45s var(--ease) both; }
.steps__r { display: flex; align-items: center; gap: 8px; color: var(--fg-3); opacity: 0; transform: translateX(-4px); transition: opacity .35s, transform .35s, color .35s; }
.steps__r.is-in { opacity: 1; transform: none; }
.steps__r.is-done { color: var(--fg-2); }
.steps__r i { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--fg-4); position: relative; }
.steps__r.is-in i { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps__r.is-done i { border-color: #4ade80; background: #4ade80; animation: none; }
.steps__r.is-done i::after { content: ''; position: absolute; left: 3px; top: 1px; width: 3px; height: 6px; border: solid #041018; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.msg__files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg__files span { padding: 3px 8px; border-radius: 8px; background: rgba(55,189,248,.12); border: 1px solid rgba(55,189,248,.25); font-family: var(--mono); font-size: 11px; color: var(--accent); }
.msg__act { display: flex; gap: 6px; margin-top: 8px; }
.msg__act span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: #0a0a0b; font-size: 11.5px; font-weight: 500; }
.msg__act span + span { background: transparent; color: var(--fg-2); border: 1px solid var(--line-2); }
.phone__input { display: flex; align-items: center; gap: 8px; margin: 0 6px 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: #060708; border: 1px solid var(--line); color: var(--fg-3); font-size: 12.5px; }
.phone__input i { width: 1px; height: 14px; background: var(--accent); animation: blink 1s steps(2) infinite; }

/* tasks */
.tasks { display: grid; gap: 10px; }
.task { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; text-align: left; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border: 1px solid var(--line); color: var(--fg); overflow: clip; transition: transform .45s var(--ease), border-color .3s, background .3s; }
.task:hover { border-color: var(--line-2); transform: translateX(4px); }
.task.is-active { border-color: rgba(55,189,248,.45); background: linear-gradient(180deg, rgba(55,189,248,.10), rgba(55,189,248,.03)); }
.task__n { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.task__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--fg-2); transition: background .3s, color .3s; }
.task__ico svg { width: 20px; height: 20px; }
.task.is-active .task__ico { background: var(--accent); color: #041018; }
.task__body b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.task__body small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 18px; color: var(--fg-2); }
.task__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.05); }
.task__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.task.is-active .task__bar i { animation: taskbar var(--dur, 9s) linear forwards; }
@keyframes taskbar { to { width: 100%; } }
.tasks.is-manual .task__bar i { animation: none; width: 0; }

/* stack / logos */
.agent__stack { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; margin-top: 56px; padding: 26px 28px; border-radius: 24px; background: #0b0c0e; border: 1px solid var(--line); }
.agent__stack-l p { margin-top: 8px; max-width: 460px; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.agent__logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.alogo { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.alogo:hover { border-color: var(--line-2); transform: translateY(-3px); }
.alogo__i { width: 26px; height: 26px; color: #fff; }
.alogo--claude .alogo__i { color: #d97757; }
.alogo--tg .alogo__i { color: #26a5e4; }
.alogo b { display: block; font-size: 14px; font-weight: 500; }
.alogo small { display: block; font-size: 11px; color: var(--fg-3); font-family: var(--mono); letter-spacing: .02em; }

@media (max-width: 1100px) { .agent__grid { grid-template-columns: 360px 1fr; gap: 28px; } .agent__stack { grid-template-columns: 1fr; } .agent__logos { flex-wrap: wrap; } }
@media (max-width: 900px) { .agent { padding-top: 90px; } .agent__head { grid-template-columns: 1fr; gap: 16px; } .agent__grid { grid-template-columns: 1fr; } .phone { max-width: 360px; } .task:hover { transform: none; } }
@media (max-width: 620px) { .agent__stack { padding: 20px; } .alogo { flex: 1 1 45%; } .task { padding: 14px; gap: 12px; } .task__n { display: none; } }
@media (prefers-reduced-motion: reduce) { .msg, .steps { animation: none; } .steps__r { transition: none; } }

/* payment logos */
.pay__m { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.pay__l { display: grid; place-items: center; width: 34px; height: 22px; border-radius: 6px; background: #fff; color: #000; flex: none; }
.pay__i { width: 18px; height: 18px; }
.pay__i--stripe { color: #635bff; width: 15px; height: 15px; }
.pay__i--cash { color: var(--fg-2); }
.pay__m:nth-child(3) .pay__l { background: rgba(255,255,255,.08); }
.pay__r { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--fg-2); }
.pay__r .pay__i { width: 22px; height: 16px; }
.pay__i--mc { color: #eb001b; }
.pay__tag { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .02em; }

/* Telegram shares the existing conversation player. */
.phone__av { flex-shrink: 0; }
.phone__av img { display: none; object-fit: contain; }
.phone.is-telegram .phone__av, .hermes-badge { background: #eef3ff; }
.phone.is-telegram .phone__av svg, .phone.is-telegram .phone__live { display: none; }
.phone.is-telegram .phone__av img { display: block; }
.hermes-badge { display: grid; place-items: center; width: 36px; height: 40px; flex-shrink: 0; border-radius: 10px; }
.hermes-badge img { object-fit: contain; }
.phone.is-telegram .phone__thread { background: #0e1925; border-radius: 12px; }
.phone.is-telegram .msg--u { background: #2b5278; color: #fff; }
.phone.is-telegram .msg--a, .phone.is-telegram .steps { background: #182b3d; }
.phone.is-telegram .phone__sw button.is-active { background: #245477; color: #fff; }
.phone__sw { display: flex; justify-self: stretch; }
.phone__sw button { justify-content: center; flex: 1; padding: 0 6px; gap: 4px; }
.msg__act { flex-wrap: wrap; }
.msg__files span { overflow-wrap: anywhere; min-width: 0; }
.agent__telegram { margin-top: 40px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.agent__telegram .tile__k { font: 11px var(--mono); color: var(--accent); }
.agent__telegram h3 { margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.agent__telegram ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-left: 20px; margin: 20px 0; }
.agent__telegram li { padding-left: 4px; color: var(--fg-2); }
.agent__telegram li::marker { color: var(--accent); font-family: var(--mono); }
.agent__telegram b { font-weight: 500; color: var(--fg); }
.agent__telegram code { font: 12px var(--mono); color: var(--fg); white-space: nowrap; }
.agent__telegram p { margin-top: 10px; font-size: 13px; line-height: 21px; color: var(--fg-2); }
.agent__telegram + .agent__stack { margin-top: 20px; }
@media (max-width: 620px) {
  .agent__telegram { padding: 20px; }
  .agent__telegram ol { grid-template-columns: 1fr; gap: 12px; }
  .rel { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 4px; }
  .rel__env { grid-template-columns: 6px minmax(0, 1fr); column-gap: 6px; padding: 10px 6px; }
  .rel__env i { width: 6px; height: 6px; }
  .rel__env b { font-size: 10px; }
  .term--btn { flex-wrap: wrap; }
  .lh { gap: 6px; }
  .lh__ring span { font-size: 8px; letter-spacing: 0; }
}

/* ===== Концепция 2026-10 (D84): примерни магазини (sc-) и пакет на вноски ===== */
.sc { padding: 110px 0; }
.sc__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; border-radius: 28px; background: #0a0b0d; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.sc__card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.sc__shots { position: relative; display: block; padding: 28px 28px 0; background: radial-gradient(120% 90% at 25% 0%, rgba(55,189,248,.16), transparent 62%), #0f1012; overflow: hidden; }
.sc__browser { border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); transition: transform .6s var(--ease); }
.sc__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #17181b; border-bottom: 1px solid var(--line); }
.sc__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.sc__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.sc__browser img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.sc__phone { position: absolute; right: 22px; bottom: 0; width: 21%; aspect-ratio: 9 / 17; border-radius: 16px 16px 0 0; border: 3px solid #26272b; border-bottom: 0; overflow: hidden; background: #fff; box-shadow: -18px 24px 40px -16px rgba(0,0,0,.85); transition: transform .6s var(--ease); }
.sc__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sc__shots:hover .sc__browser { transform: translateY(-4px); }
.sc__shots:hover .sc__phone { transform: translateY(-8px); }
.sc__copy { padding: 26px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sc__kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.sc__name { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.sc__p { color: var(--fg-2); font-size: 15px; line-height: 1.55; max-width: 44ch; }
.sc__link { margin-top: 6px; color: var(--accent); font-size: 14px; font-weight: 500; }
.sc__link:hover { text-decoration: underline; }
.plans__grid--one .plan__blurb { max-width: 30ch; }
.plans__grid--one .plan__rows li { height: auto; min-height: 61px; padding: 12px 0; line-height: 1.4; }
.plan--need .plan__price b { font-size: 32px; }
.plans__note { margin-top: 28px; max-width: 780px; font-size: 13px; line-height: 1.6; color: var(--fg-3); }
@media (max-width: 900px) {
  .sc { padding: 80px 0; }
  .sc__grid { grid-template-columns: 1fr; }
  .plans__grid--one .plan--raised { order: -1; }
}
@media (max-width: 620px) {
  .sc__shots { padding: 18px 18px 0; }
  .sc__phone { right: 12px; width: 26%; border-radius: 12px 12px 0 0; border-width: 2px; }
  .sc__copy { padding: 20px 20px 24px; }
  .sc__name { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sc__browser, .sc__phone { transition: none; } }
@media (max-width: 370px) { .hero__title { font-size: 33px; } }
/* D84: поправки след проверката */
.nav__links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav { padding: 0 24px; } .nav__links { gap: 2px; } .nav__links a { padding: 8px 10px; } }
@media (max-width: 1040px) { .nav { grid-template-columns: auto 1fr auto; } .nav__links, .nav__login, .nav__cta { display: none; } .nav__burger { display: inline-flex; } }
@media (min-width: 621px) and (max-width: 1040px) { .nav__sheet { left: auto; width: 360px; } }
.plan__price { flex-wrap: wrap; row-gap: 6px; }
.plan__price b { white-space: nowrap; }
@media (max-width: 620px) { .faq__tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; } }
.plans__note { font-size: 14px; color: var(--fg-2); }
.sc__browser { margin-bottom: -10px; }
.sc__phone { bottom: -10px; }
.sc__copy { flex: 1; }
.sc__link { margin-top: auto; padding-top: 6px; }
.sc__shots:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.sc__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.term--col .term__ps { margin-right: 8px; }
.term__nw { display: inline-block; white-space: nowrap; }
.footer__col a { overflow-wrap: anywhere; }
@media (max-width: 380px) { .footer__grid { column-gap: 20px; } .plan { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 340px) { .hero__title { font-size: 30px; } }
/* Три примерни магазина: 3 колони на десктоп */
.sc__grid { grid-template-columns: repeat(3, 1fr); }
.sc__shots { padding: 20px 20px 0; }
.sc__phone { right: 14px; width: 24%; border-radius: 12px 12px 0 0; border-width: 2px; }
.sc__copy { padding: 22px 22px 26px; }
.sc__name { font-size: 24px; }
@media (max-width: 900px) {
  .sc__grid { grid-template-columns: 1fr; }
  .sc__shots { padding: 28px 28px 0; }
  .sc__phone { right: 22px; width: 21%; border-radius: 16px 16px 0 0; border-width: 3px; }
  .sc__copy { padding: 26px 28px 30px; }
  .sc__name { font-size: 28px; }
}
@media (max-width: 620px) {
  .sc__shots { padding: 18px 18px 0; }
  .sc__phone { right: 12px; width: 26%; border-radius: 12px 12px 0 0; border-width: 2px; }
  .sc__copy { padding: 20px 20px 24px; }
  .sc__name { font-size: 24px; }
}
/* Hero: четирите области, които вършат AI агентите */
.hero__tasks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__tasks li { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #f7f8fa; font-size: 15px; font-weight: 500; letter-spacing: -.01em; backdrop-filter: blur(6px); }
.hero__tasks svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero__sub { margin-top: 22px; max-width: 520px; }
/* по-високо съдържание в hero: макетът слиза надолу със същото разстояние до бутоните */
.hero { height: 1313px; }
.hero__content { padding-top: 140px; }
.hero__cta { margin-top: 36px; }
.hero__device { top: 637px; }
@media (max-width: 900px) {
  .hero { height: 1000px; }
  .hero__content { padding-top: 108px; }
  .hero__cta { margin-top: 24px; }
  .hero__device { top: 615px; }
}
@media (max-width: 620px) {
  .hero__tasks { margin-top: 18px; gap: 8px; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 340px; }
  .hero__tasks li { justify-content: center; height: 34px; padding: 0 10px; gap: 7px; font-size: 13px; }
  .hero__tasks svg { width: 16px; height: 16px; }
  .hero__sub { margin-top: 16px; }
  .hero { height: 1097px; }
  .hero__device { top: 712px; }
}
/* Два пакета (14.10.2026): Кит и Инсталация от нас */
.plans__grid--packages .plan__blurb { min-height: 63px; }
.plans__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cta__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta__copy .cta__actions .btn { margin-top: 0; }
@media (max-width: 900px) { .plans__grid--packages .plan--raised { order: 0; } .plans__grid--packages .plan__blurb { min-height: 0; } }
