  :root {
    --bg: #08161F;
    --surface: rgba(255,255,255,0.04);
    --surface-2: rgba(255,255,255,0.07);
    --border: rgba(110,170,205,0.15);
    --border-strong: rgba(110,170,205,0.30);
    --text: #EAF2F7;
    --muted: #9BB1C4;
    --muted-2: #6B8195;
    --mint: #2DD4BF;
    --cyan: #56C8D8;
    --blue: #4FB0E8;
    --violet: #9B8CF0;
    --green: #5AD08C;
    --grad: linear-gradient(100deg, #2DD4BF, #4FB0E8 48%, #9B8CF0 92%);

    --display: "Inter Tight", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --r: 16px;
    --maxw: min(1880px, 94vw);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background-color: var(--bg);
    background-image: radial-gradient(80% 50% at 50% -8%, rgba(45,212,191,0.13), transparent 60%);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: var(--mint); color: #04211C; }
  a { color: inherit; text-decoration: none; }
  a, button { touch-action: manipulation; }
  img { max-width: 100%; display: block; }
  h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }

  .topbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); }
  .page-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("images/banner.webp") no-repeat center 30% / cover; opacity: 0.08; }
  .page-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 60% at 50% 40%, transparent 40%, rgba(8,22,31,0.75)); }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
  .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ---------- Nav ---------- */
  header.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(8,22,31,0.62); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
  header.nav.scrolled { border-bottom-color: var(--border); background: rgba(8,22,31,0.88); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .brand { display: flex; align-items: center; gap: 11px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 8px; flex: none; background: url("images/logo.webp") no-repeat; background-size: 232%; background-position: 50% 30%; box-shadow: inset 0 0 0 1px var(--border); }
  .brand .name { font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 450; transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-actions { display: flex; align-items: center; gap: 14px; }
  .lang { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; transition: color .2s, border-color .2s; }
  .lang:hover { color: var(--text); border-color: var(--border-strong); }
  .ft-bottom a { color: var(--muted); transition: color .2s; }
  .ft-bottom a:hover { color: var(--text); }
  .login { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
  .login:hover { color: var(--text); }
  .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 14.5px; padding: 10px 18px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, filter .2s, background .2s, border-color .2s; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--mint); color: #04211C; }
  .btn-primary:hover { filter: brightness(1.07); }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
  .btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
  .btn-lg { padding: 14px 26px; font-size: 16px; }
  .btn .gicon { width: 17px; height: 17px; }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding: clamp(60px, 10vw, 118px) 0 clamp(40px, 7vw, 80px); text-align: center; overflow: hidden; }
  .aurora { position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: min(1100px, 130vw); height: 600px; pointer-events: none; z-index: 0;
    background: radial-gradient(44% 60% at 30% 42%, rgba(45,212,191,0.22), transparent 70%),
                radial-gradient(48% 60% at 66% 38%, rgba(79,176,232,0.20), transparent 72%),
                radial-gradient(60% 70% at 50% 55%, rgba(155,140,240,0.16), transparent 75%);
    filter: blur(46px); opacity: .9; }
  .hero-banner { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: min(1280px, 142vw); aspect-ratio: 16 / 9; z-index: 0; pointer-events: none;
    background: url("images/banner.webp") no-repeat center top / contain; opacity: .32;
    -webkit-mask-image: radial-gradient(72% 68% at 50% 38%, #000 28%, transparent 74%); mask-image: radial-gradient(72% 68% at 50% 38%, #000 28%, transparent 74%); }
  .hero > .wrap { position: relative; z-index: 1; }
  .pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 26px; text-transform: uppercase; }
  .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
  h1.head { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.0; font-weight: 700; letter-spacing: -0.03em; max-width: 14ch; margin: 0 auto; }
  h1.head .grad-text { display: inline-block; }
  .hero p.sub { margin: clamp(20px,3vw,28px) auto 0; max-width: 54ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
  .hero .ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 36px); }
  .hero .note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }
  .spec { margin-top: 22px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

  /* ---------- Product mockup ---------- */
  .mock-frame { margin: clamp(46px, 7vw, 76px) auto 0; max-width: 1280px; position: relative; z-index: 1; }
  .window { border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, #0f2433, #081722); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02); }
  .win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .win-dots { display: flex; gap: 7px; }
  .win-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); display: block; }
  .win-url { flex: 1; text-align: center; font-size: 12.5px; color: var(--muted-2); }
  .win-url b { color: var(--muted); font-weight: 500; }
  .win-bar .credits { font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
  .win-bar .credits b { color: var(--mint); font-weight: 600; }
  .win-bar .np { font-size: 11.5px; font-weight: 600; color: #04211C; background: var(--mint); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
  .win-body { display: grid; grid-template-columns: 210px 1fr; min-height: 360px; }
  .win-side { border-right: 1px solid var(--border); padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; }
  .side-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 4px 6px 8px; }
  .stage { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
  .stage.done { color: var(--text); }
  .stage.active { background: var(--surface-2); color: var(--text); }
  .stage .ck { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); flex: none; }
  .stage.done .ck { background: var(--mint); border-color: var(--mint); }
  .stage.done .ck svg { width: 10px; height: 10px; }
  .stage.active .ck { border-color: var(--mint); }
  .stage.active .ck .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
  .win-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
  .main-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .main-top .lbl { font-family: var(--display); font-weight: 600; font-size: 15px; }
  .main-top .badge { font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
  .frame239 { aspect-ratio: 2.39 / 1; border-radius: 12px; border: 1px solid var(--border); position: relative; overflow: hidden;
    background: linear-gradient(120deg, #143040, #0b1f2d 65%, #1b2c33); }
  .frame239 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  /* cinematic grade on photographic images */
  .frame239 > img, .gcell img, .film .pic img { filter: saturate(0.74) contrast(1.07) brightness(0.9); }
  .frame239 .grade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,24,0.46), rgba(6,16,24,0) 30%, rgba(6,16,24,0.08) 62%, rgba(6,16,24,0.58)), radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(6,16,24,0.4)), linear-gradient(125deg, rgba(45,212,191,0.16), transparent 60%, rgba(79,176,232,0.13)); }
  .frame239 .cap, .frame239 .tc, .frame239 .res { z-index: 2; }
  .frame239 .cap, .frame239 .tc { text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
  .frame239 .cap { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: rgba(234,242,247,0.85); letter-spacing: .04em; }
  .frame239 .tc { position: absolute; left: 12px; top: 10px; font-size: 10.5px; color: rgba(234,242,247,0.6); letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
  .frame239 .tc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e0584a; }
  .frame239 .res { position: absolute; right: 12px; top: 10px; font-size: 11px; color: rgba(234,242,247,0.7); border: 1px solid rgba(255,255,255,0.16); border-radius: 6px; padding: 2px 7px; }
  .main-top .badge.ok { color: #04211C; background: var(--mint); border-color: var(--mint); font-weight: 600; }
  /* big shot on top + attached contact-sheet grid */
  .shotset { display: flex; flex-direction: column; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .shotset .frame239 { border: 0; border-radius: 0; }
  .shotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); }
  .gcell { position: relative; aspect-ratio: 16/10; background: #0c1f2d; overflow: hidden; }
  .gcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .gcell .gn { position: absolute; left: 6px; top: 5px; font-size: 9.5px; color: #EAF2F7; background: rgba(0,0,0,0.5); border-radius: 4px; padding: 1px 5px; z-index: 2; }
  .gcell.empty { display: grid; place-items: center; }
  .gcell.empty .gn { position: static; background: none; color: var(--muted-2); }
  /* gradient overlay layer applied over placed images */
  .gcell::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6,16,24,0.32), rgba(6,16,24,0.04) 45%, rgba(6,16,24,0.52)), linear-gradient(125deg, rgba(45,212,191,0.18), transparent 58%, rgba(155,140,240,0.16)); }
  .gcell.empty::after { display: none; }
  .gcell.ref { box-shadow: inset 0 0 0 1.5px var(--mint); }
  .gcell.ref .gn { color: #04211C; background: var(--mint); font-weight: 600; }
  .frame239::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8,22,31,0) 58%, rgba(8,22,31,0.5)); }
  /* mockup slogan (replaces the stage menu) */
  .win-slogan { border-right: 1px solid var(--border); padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; gap: 11px; }
  .win-slogan .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
  .win-slogan h4 { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.08; letter-spacing: -0.015em; }
  .win-slogan p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chipx { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
  .chipx .ok { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

  /* ---------- Trust row ---------- */
  .trust { padding: clamp(36px, 5vw, 56px) 0; }
  .trust p.trust-label { text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--muted-2); margin: 0 0 26px; text-transform: uppercase; }

  /* ---------- Section heading ---------- */
  section { position: relative; z-index: 1; }
  .sec { padding: clamp(56px, 9vw, 110px) 0; }
  .sec-head { max-width: 660px; margin: 0 0 clamp(34px, 5vw, 54px); }
  .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .sec-head .ey { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
  .sec-head h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.05; font-weight: 700; }
  .sec-head p { margin: 16px 0 0; color: var(--muted); font-size: clamp(16px,1.6vw,18px); }

  /* ---------- Bento ---------- */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .card { border: 1px solid var(--border); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); padding: clamp(22px, 2.6vw, 30px); position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
  .card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 16px; }
  .card .ico svg { width: 20px; height: 20px; stroke: var(--mint); }
  .card h3 { font-size: 20px; font-weight: 600; margin-bottom: 9px; }
  .card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
  .card.lg { grid-column: span 3; }
  .card.sm { grid-column: span 3; }

  .faces { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
  .face { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; background: var(--surface); font-size: 13.5px; }
  .face .av { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); flex: none; opacity: .85; }
  .face .ok { width: 15px; height: 15px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin-left: 2px; }
  .face .ok svg { width: 9px; height: 9px; }

  .prov { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .prov .p { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; font-weight: 500; }
  .prov .p small { color: var(--muted-2); font-size: 11px; font-weight: 500; }

  /* ---------- How-it-works flow ---------- */
  .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .fstep { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 22px 20px; transition: border-color .25s, transform .25s; }
  .fstep:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .fstep .n { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #04211C; font-family: var(--display); font-weight: 700; font-size: 15px; display: grid; place-items: center; margin-bottom: 14px; }
  .fstep h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
  .fstep p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

  /* ---------- Pricing ---------- */
  .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 14px; align-items: stretch; }
  .plan { border: 1px solid var(--border); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
  .plan.pop { background: linear-gradient(180deg, rgba(45,212,191,0.10), rgba(79,176,232,0.04)); box-shadow: 0 0 0 1px rgba(45,212,191,0.5); border-color: transparent; }
  .plan .pop-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #04211C; font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
  .tier { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
  .tier.lite { color: var(--mint); background: color-mix(in srgb, var(--mint) 14%, transparent); }
  .tier.master { color: var(--violet); background: color-mix(in srgb, var(--violet) 16%, transparent); }
  .plan .pname { font-family: var(--display); font-weight: 600; font-size: 19px; }
  .plan .pprice { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; line-height: 1; }
  .plan .pprice small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
  .plan ul { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  .plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
  .plan li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--mint); }
  .plan .btn { justify-content: center; width: 100%; margin-top: auto; }
  .price-note { text-align: center; margin: 26px 0 0; font-size: 13px; color: var(--muted-2); }

  /* ---------- Portfolio ---------- */
  .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .film { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); position: relative; display: block; transition: border-color .25s, transform .25s; }
  .film:hover { border-color: var(--border-strong); transform: translateY(-3px); }
  .film .pic { aspect-ratio: 2.39 / 1; position: relative; background: linear-gradient(120deg, #143040, #0b1f2d 55%, #1b2c33); }
  .film .pic .grade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,16,24,0.5), rgba(6,16,24,0.03) 32%, rgba(6,16,24,0.1) 60%, rgba(6,16,24,0.62)), radial-gradient(120% 100% at 50% 45%, transparent 52%, rgba(6,16,24,0.45)), linear-gradient(125deg, rgba(45,212,191,0.16), transparent 58%, rgba(79,176,232,0.14)); }
  .film .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .5s ease; }
  .film:hover .pic img { transform: scale(1.05); filter: saturate(1.12) contrast(1.01) brightness(1.05); }
  .film .pic .grade { transition: opacity .5s ease; }
  .film:hover .pic .grade { opacity: 0; }
  .film .info { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .film .info .t { font-family: var(--display); font-weight: 600; font-size: 16px; }
  .film .info .m { font-size: 12.5px; color: var(--muted-2); }

  /* ---------- CTA band ---------- */
  .cta-band { position: relative; border-radius: 22px; padding: clamp(40px, 6vw, 72px) clamp(24px,4vw,40px); text-align: center; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
  .cta-band .glow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(45,212,191,0.20), transparent 60%), radial-gradient(50% 120% at 80% 100%, rgba(155,140,240,0.16), transparent 60%); pointer-events: none; }
  .cta-band > * { position: relative; }
  .cta-band h2 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.04; font-weight: 700; max-width: 18ch; margin: 0 auto; }
  .cta-band p { color: var(--muted); margin: 16px auto 0; max-width: 50ch; }
  .cta-band .ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

  /* ---------- Footer ---------- */
  footer.ft { border-top: 1px solid var(--border); margin-top: clamp(60px,9vw,110px); padding: clamp(48px,7vw,72px) 0 40px; }
  .ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; gap: 32px; }
  .socials { display: flex; gap: 10px; margin-top: 22px; }
  .socials a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, background .2s, transform .2s; }
  .socials a:hover { color: var(--text); border-color: var(--mint); background: var(--surface-2); transform: translateY(-1px); }
  .socials svg { width: 18px; height: 18px; display: block; }
  .ft-brand .name { font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 10px; }
  .ft-brand p { color: var(--muted-2); font-size: 14px; max-width: 32ch; margin: 14px 0 0; }
  .founder { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
  .founder .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #04211C; flex: none; }
  .founder .who small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
  .founder .who b { font-size: 14px; font-weight: 600; }
  .ft-col h5 { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; font-family: var(--body); font-weight: 600; margin: 0 0 14px; }
  .ft-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
  .ft-col a:hover { color: var(--text); }
  .ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px,6vw,64px); padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-2); }

  /* ---------- Reveal ---------- */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
  a:focus-visible, .btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 999px; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .win-bar .credits { display: none; }
    .win-body { grid-template-columns: 1fr; }
    .win-slogan { border-right: 0; border-bottom: 1px solid var(--border); }
    .flow { grid-template-columns: repeat(2, 1fr); }
    .card.lg, .card.sm { grid-column: span 6; }
    .work-grid { grid-template-columns: 1fr; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .ft-brand { grid-column: span 2; }
  }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .flow { grid-template-columns: 1fr; }
    .nav-actions .login { display: none; }
  }


/* ---------- Sub-page (doc / legal / about) layout ---------- */
.doc { max-width: 800px; margin: 0 auto; padding: clamp(56px,9vw,110px) clamp(20px,5vw,40px) clamp(48px,7vw,90px); position: relative; z-index: 10; }
.doc .back { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; transition: color .2s; }
.doc .back:hover { color: var(--text); }
.doc .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.doc h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px,5vw,50px); letter-spacing: -0.02em; line-height: 1.05; margin: 14px 0 0; }
.doc .updated { font-size: 13px; color: var(--muted-2); margin: 16px 0 0; }
.doc .lead { font-size: clamp(16px,1.7vw,19px); color: #cdd9e6; margin: 26px 0 0; line-height: 1.6; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin: 42px 0 0; }
.doc p { color: var(--muted); line-height: 1.75; margin: 13px 0 0; }
.doc ul { margin: 13px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.doc li { margin: 7px 0; }
.doc a.inline { color: var(--mint); text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.doc a.inline:hover { border-color: var(--mint); }
.doc .note { margin-top: 40px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 13px; color: var(--muted-2); line-height: 1.6; }
.doc .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 0; }
.doc .vcard { border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); padding: 22px; }
.doc .vcard h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.doc .vcard p { margin: 0; font-size: 14.5px; }
@media (max-width: 600px){ .doc .cards { grid-template-columns: 1fr; } }

.work-cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.work-cta .btn svg { flex: none; }

.fstep .fi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: color-mix(in srgb, currentColor 14%, transparent); border: 1px solid color-mix(in srgb, currentColor 32%, transparent); }
.fstep .fi svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Early-access form (CTA band) ---------- */
.ea-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.ea-input { flex: 1 1 300px; max-width: 360px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong); color: var(--text); border-radius: 999px; padding: 14px 20px; font-family: var(--body); font-size: 15px; outline: none; transition: border-color .2s, background .2s; }
.ea-input::placeholder { color: var(--muted-2); }
.ea-input:focus { border-color: var(--mint); background: rgba(255,255,255,0.07); }
.ea-btn { white-space: nowrap; }
.ea-btn[disabled] { opacity: .6; cursor: default; }
.ea-msg { min-height: 20px; margin: 16px 0 0; font-size: 14px; font-weight: 500; }
.ea-msg.ok { color: var(--mint); }
.ea-msg.err { color: #ff8f8f; }
.ea-consent { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-2); }
.ea-consent a { color: var(--muted); border-bottom: 1px solid var(--border); }
.ea-consent a:hover { color: var(--text); }
@media (max-width: 520px){ .ea-input { flex-basis: 100%; max-width: 100%; } .ea-btn { width: 100%; justify-content: center; } }

/* ---------- AI stack ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stack-card { border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); padding: 20px 22px; transition: border-color .25s, transform .25s; }
.stack-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stack-card-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.stack-model { font-family: var(--display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.stack-stage { font-size: 10.5px; font-weight: 600; color: var(--mint); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.stack-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .stack-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stack-grid { grid-template-columns: 1fr; } }

/* ---------- Early access: hero quick form (compact, email-only) ---------- */
.hero-quickform { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; max-width: 480px; }
.hero-quickform .ea-input { flex: 1 1 220px; max-width: none; }
.hero-quickform .ea-btn { white-space: nowrap; }
.signin-note { margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.signin-note a { color: var(--muted); border-bottom: 1px solid var(--border); }
.signin-note a:hover { color: var(--text); }

/* ---------- Early access: full application form ---------- */
.ea-full { text-align: left; }
.ea-full .ea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 28px; text-align: left; }
.ea-full .ea-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .ea-full .ea-grid { grid-template-columns: 1fr; } }

.ea-field { display: flex; flex-direction: column; gap: 7px; }
.ea-field label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ea-field label .opt { font-weight: 500; color: var(--muted-2); text-transform: none; }
.ea-field .req { color: var(--mint); }
.ea-field input[type="text"],
.ea-field input[type="email"],
.ea-field input[type="url"],
.ea-field select,
.ea-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.ea-field textarea { resize: vertical; min-height: 78px; }
.ea-field input:focus, .ea-field select:focus, .ea-field textarea:focus { border-color: var(--mint); background: rgba(255,255,255,0.07); }
.ea-field input::placeholder, .ea-field textarea::placeholder { color: var(--muted-2); }
.ea-field-err { min-height: 16px; font-size: 12px; color: #ff8f8f; }
.ea-field[data-invalid="true"] input,
.ea-field[data-invalid="true"] select,
.ea-field[data-invalid="true"] textarea { border-color: #ff8f8f; }

.ea-checks { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ea-check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ea-check-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--mint); }
.ea-check-row a { color: var(--text); border-bottom: 1px solid var(--border); }
.ea-check-row a:hover { border-color: var(--text); }

.ea-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-tag { display: inline-flex; align-items: center; }
.ea-tag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ea-tag span {
  display: inline-block; padding: 7px 13px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--border-strong); color: var(--muted); cursor: pointer; transition: all .15s;
}
.ea-tag input:checked + span { background: var(--mint); border-color: var(--mint); color: #04211C; font-weight: 600; }
.ea-tag input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }

.ea-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ea-full .ea-btn { margin-top: 8px; width: 100%; justify-content: center; }
.ea-full .ea-msg { text-align: center; }

/* Success state — swaps in for the form on submit success, same container. */
.ea-success { display: none; text-align: center; padding: 10px 0; }
.ea-success.show { display: block; }
.ea-success h3 { font-size: 22px; margin-bottom: 10px; }
.ea-success p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.ea-success .ea-success-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.ea-full.submitted .ea-form-body { display: none; }

/* ---------- Demo section ---------- */
.demo-frame {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16 / 9; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.demo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.demo-play {
  position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--mint);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(45,212,191,0.35);
  transition: transform .2s;
}
.demo-frame:hover .demo-play { transform: scale(1.06); }
.demo-play svg { width: 26px; height: 26px; margin-left: 4px; }
.demo-frame[data-ready="false"] .demo-play { background: var(--surface-2); box-shadow: none; }
.demo-note { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.demo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px; margin-top: 34px; }
.demo-steps li { list-style: none; font-size: 13px; color: var(--muted); line-height: 1.5; padding-left: 26px; position: relative; }
.demo-steps li b { display: block; color: var(--text); font-family: var(--display); font-size: 13px; margin-bottom: 2px; }
.demo-steps li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 5px;
  background: var(--surface-2); color: var(--mint); font-size: 10px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
@media (max-width: 860px) { .demo-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .demo-steps { grid-template-columns: 1fr; } }

/* ================= Landing V2.1 ================= */

/* ---------- Problem -> Solution ---------- */
.ps-section { padding: 120px 0; }
.ps-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.ps-card {
  border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: clamp(26px, 3vw, 38px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ps-card:hover { transform: translateY(-6px); }
.ps-card.problem:hover { border-color: rgba(224,88,74,0.45); box-shadow: 0 16px 40px -20px rgba(224,88,74,0.30); }
.ps-card.solution:hover { border-color: rgba(45,212,191,0.5); box-shadow: 0 16px 40px -20px rgba(45,212,191,0.32); }
.ps-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.ps-card.problem .ps-label { color: #e0584a; }
.ps-card.solution .ps-label { color: var(--mint); }
.ps-card h3 { font-family: var(--display); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.18; font-weight: 700; margin: 0 0 14px; }
.ps-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; border-radius: 999px; padding: 6px 12px; border: 1px solid; transition: transform .2s ease; }
.ps-chip:hover { transform: translateY(-2px) scale(1.03); }
.ps-chip.bad { color: #f0a08f; border-color: rgba(224,88,74,0.3); background: rgba(224,88,74,0.08); }
.ps-chip.good { color: var(--mint); border-color: rgba(45,212,191,0.3); background: rgba(45,212,191,0.08); }
.ps-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 4px 6px; }
.ps-arrow span { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.ps-arrow .arrow-glyph { color: var(--mint); font-size: 15px; line-height: 1; animation: ps-arrow-bounce 2.4s ease-in-out infinite; }
@keyframes ps-arrow-bounce { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(3px); opacity: 1; } }
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; }
  .ps-arrow { flex-direction: row; padding: 8px 0; }
  .ps-section { padding: 72px 0; }
}

/* ---------- Why Blueprint comparison ---------- */
.wb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.wb-card {
  border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: 18px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wb-card:hover { transform: translateY(-6px); border-color: rgba(45,212,191,0.45); box-shadow: 0 16px 40px -20px rgba(45,212,191,0.28); }
.wb-other, .wb-blueprint { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.wb-other { color: var(--muted-2); }
.wb-other .wb-ico { color: rgba(224,88,74,0.65); flex: none; transition: transform .2s ease; }
.wb-blueprint { color: var(--text); font-weight: 600; }
.wb-blueprint .wb-ico { color: var(--mint); flex: none; transition: transform .2s ease; }
.wb-card:hover .wb-ico { transform: scale(1.2); }
.wb-cta { text-align: center; margin-top: 38px; }
@media (max-width: 700px) {
  .wb-grid { grid-template-columns: 1fr; }
  .wb-card { grid-template-columns: 1fr; }
}

/* ---------- Simplified early-access form: 2-step ---------- */
.ea-steps-progress { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 24px; }
.ea-steps-progress .step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: background .25s, box-shadow .25s; }
.ea-steps-progress .step-dot.active { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.ea-steps-progress .step-bar { width: 44px; height: 2px; border-radius: 2px; background: var(--border-strong); overflow: hidden; }
.ea-steps-progress .step-bar span { display: block; height: 100%; width: 0%; background: var(--mint); transition: width .35s ease; }
.ea-steps-progress .step-bar.filled span { width: 100%; }

.ea-step { display: none; }
.ea-step.active { display: block; }

.ea-more-toggle {
  display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  padding: 11px; border: 1px dashed var(--border-strong); border-radius: 12px;
  color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; background: transparent;
  margin-top: 6px; transition: border-color .2s, color .2s;
}
.ea-more-toggle:hover { border-color: var(--mint); color: var(--text); }
.ea-more-toggle .chev { transition: transform .25s ease; }
.ea-more-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.ea-more-fields { overflow: hidden; max-height: 0; transition: max-height .45s ease; }
.ea-more-fields.open { max-height: 1000px; }
.ea-step-actions { display: flex; gap: 10px; margin-top: 18px; }
.ea-step-actions .btn-back { background: transparent; color: var(--muted); border: 1px solid var(--border-strong); }
.ea-step-actions .btn-back:hover { color: var(--text); border-color: var(--muted); }

/* ---------- Micro-interactions ---------- */
.btn-pulse { position: relative; isolation: isolate; }
.btn-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(12px); animation: btn-pulse-glow 3.2s ease-in-out infinite;
}
@keyframes btn-pulse-glow { 0%, 100% { opacity: .14; } 50% { opacity: .34; } }

@media (prefers-reduced-motion: reduce) {
  .ps-arrow .arrow-glyph { animation: none !important; }
  .btn-pulse::after { animation: none !important; opacity: .18; }
  .ps-card, .wb-card, .ps-chip { transition: none !important; }
  .ea-more-fields { transition: none !important; }
}
