:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-soft: #faf7f1;
  --white: #fffdf8;
  --ink: #201e2b;
  --muted: #6f6b78;
  --line: rgba(32, 30, 43, .14);
  --violet: #5b4ce5;
  --violet-deep: #372d9f;
  --coral: #ef6f5c;
  --mint: #4eaf91;
  --gold: #c78b28;
  --max: 1240px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: rgba(91,76,229,.2); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-150%); transition: transform .15s ease; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(244,240,232,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 76px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: inherit; font-size: 20px; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 13px 13px 13px 4px; background: var(--ink); box-shadow: 0 9px 25px rgba(32,30,43,.18); }
.brand-mark i { position: absolute; width: 20px; height: 3px; border-radius: 2px; background: white; }
.brand-mark i:nth-child(1) { transform: translateY(-6px) rotate(-8deg); }
.brand-mark i:nth-child(2) { width: 15px; transform: translateX(2px); }
.brand-mark i:nth-child(3) { transform: translateY(6px) rotate(8deg); }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; transition: color .15s ease; }
.desktop-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: 14px; }
.preview-label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.preview-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199,139,40,.14); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.58); font-size: 11px; font-weight: 720; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.nav-cta:hover { transform: translateY(-1px); background: var(--white); }
.menu-button, .mobile-nav { display: none; }

.section { position: relative; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(380px, .82fr) minmax(560px, 1.18fr); gap: 52px; align-items: center; min-height: 100svh; padding-top: 112px; padding-bottom: 70px; }
.overline { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 10px; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.overline span { width: 28px; height: 1px; background: var(--coral); }
.overline.inverse { color: rgba(255,255,255,.58); }
.hero h1 { margin: 24px 0 24px; font-family: var(--serif); font-size: clamp(65px, 6.7vw, 104px); font-weight: 500; line-height: .88; letter-spacing: -.067em; }
.hero h1 em, .cta-section h2 em { color: var(--violet); font-weight: 500; }
.hero-lead { max-width: 550px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; font-size: 12px; font-weight: 760; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: white; box-shadow: 0 14px 30px rgba(32,30,43,.16); }
.button.quiet { border-color: var(--line); background: rgba(255,253,248,.46); }
.product-facts { display: flex; gap: 0; margin: 50px 0 0; }
.product-facts div { min-width: 120px; padding-right: 26px; }
.product-facts div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.product-facts dt { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.product-facts dd { margin: 7px 0 0; font-size: 11px; font-weight: 720; }

.hero-visual { position: relative; min-width: 0; }
.browser-stage { position: relative; padding: 50px 12px 58px; }
.browser-frame { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(32,30,43,.15); border-radius: 20px; background: var(--white); box-shadow: 0 42px 90px rgba(47,35,84,.2), 0 5px 16px rgba(32,30,43,.08); transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); transform-origin: center; }
.browser-top { display: grid; grid-template-columns: 54px 136px 28px 77px minmax(160px, 1fr) 72px; align-items: center; height: 78px; padding: 8px 11px; border-bottom: 1px solid var(--line); background: #f8f5ef; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 8px; height: 8px; border-radius: 50%; background: #d2cdc5; }
.traffic-lights i:first-child { background: var(--coral); }
.traffic-lights i:nth-child(2) { background: #e5b35a; }
.traffic-lights i:nth-child(3) { background: var(--mint); }
.browser-tab { display: flex; align-items: center; gap: 7px; align-self: end; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-bottom-color: #fff; border-radius: 9px 9px 0 0; background: white; font-size: 9px; }
.browser-tab button, .new-tab { margin-left: auto; border: 0; background: transparent; color: var(--muted); }
.mini-mark { display: inline-block; width: 14px; height: 14px; border-radius: 5px 5px 5px 2px; background: var(--violet); }
.mini-mark.light { background: white; }
.browser-tools { display: flex; gap: 10px; color: var(--muted); font-size: 10px; }
.address-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border: 1px solid rgba(32,30,43,.10); border-radius: 9px; background: white; color: #77727f; font-size: 9px; }
.address-bar i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--mint); }
.frame-brand { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 750; }
.browser-canvas { display: grid; grid-template-columns: minmax(0, 1fr) 245px; min-height: 475px; }
.web-surface { position: relative; display: grid; place-items: center; align-content: center; overflow: hidden; background: #181722; color: white; }
.web-surface::before { position: absolute; inset: -25%; content: ""; background: radial-gradient(circle, rgba(91,76,229,.45), transparent 43%); animation: glow-drift 8s ease-in-out infinite alternate; }
.polly-wordmark { position: relative; font-size: 24px; font-weight: 800; letter-spacing: .22em; }
.polly-wordmark span { color: #9f92ff; }
.polly-pulse { position: relative; display: flex; align-items: end; gap: 4px; height: 22px; margin-top: 20px; }
.polly-pulse i { width: 3px; height: 8px; border-radius: 2px; background: #9588ff; animation: pulse-bar 1.1s ease-in-out infinite alternate; }
.polly-pulse i:nth-child(2) { height: 20px; animation-delay: -.6s; }
.polly-pulse i:nth-child(3) { height: 13px; animation-delay: -.25s; }
.web-surface > p { position: relative; margin: 18px 0 0; color: rgba(255,255,255,.52); font-size: 9px; }
.web-lines { position: absolute; right: 8%; bottom: 8%; left: 8%; display: grid; gap: 8px; opacity: .14; }
.web-lines span { height: 1px; background: white; }
.web-lines span:nth-child(2) { width: 72%; }
.web-lines span:nth-child(3) { width: 84%; }
.workspace-demo { display: grid; grid-template-rows: 45px 1fr; border-left: 1px solid var(--line); background: #f5f1ea; }
.demo-head { display: flex; align-items: center; gap: 7px; padding: 0 11px; border-bottom: 1px solid var(--line); background: var(--ink); color: white; font-size: 9px; }
.demo-head small { margin-left: auto; color: rgba(255,255,255,.5); font-size: 6px; letter-spacing: .1em; }
.demo-body { display: grid; grid-template-columns: 42px 1fr; min-height: 0; }
.demo-rail { display: flex; flex-direction: column; gap: 7px; padding: 10px 6px; border-right: 1px solid var(--line); }
.demo-rail button { position: relative; width: 29px; height: 31px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 8px; font-weight: 800; cursor: pointer; }
.demo-rail button.active { background: rgba(91,76,229,.13); color: var(--violet-deep); }
.demo-rail sup { position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); color: white; font-size: 6px; }
.demo-content { position: relative; padding: 18px 13px 66px; }
.demo-title { position: relative; }
.demo-title p { margin: 0; color: var(--muted); font-size: 6px; font-weight: 800; letter-spacing: .13em; }
.demo-title h2 { margin: 5px 0 0; font-size: 14px; }
.demo-title > span { position: absolute; top: -2px; right: 0; padding: 3px 5px; border-radius: 8px; background: rgba(199,139,40,.12); color: #8c651e; font-size: 6px; font-weight: 750; }
.demo-disclosure { margin: 10px 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.demo-items { display: grid; gap: 6px; }
.demo-item { display: grid; grid-template-columns: 24px 1fr; gap: 7px; align-items: center; min-height: 40px; padding: 6px; border: 1px solid rgba(32,30,43,.07); border-radius: 10px; background: rgba(255,255,255,.66); }
.demo-item b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--item-color, var(--violet)); color: white; font-size: 7px; }
.demo-item span { display: grid; gap: 2px; min-width: 0; }
.demo-item strong { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.demo-item small { color: var(--muted); font-size: 6px; }
.model-chip { position: absolute; right: 10px; bottom: 12px; left: 10px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; min-height: 42px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.model-chip b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--violet); color: white; font-size: 7px; }
.model-chip > span { display: grid; font-size: 7px; font-weight: 760; }
.model-chip small { color: var(--muted); font-size: 6px; font-weight: 500; }
.model-chip i { font-size: 8px; font-style: normal; }
.stage-note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(32,30,43,.12); border-radius: 12px; background: rgba(255,253,248,.9); box-shadow: 0 12px 25px rgba(47,35,84,.12); backdrop-filter: blur(12px); }
.stage-note span { color: var(--coral); font-family: var(--serif); font-size: 19px; }
.stage-note p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.3; }
.stage-note strong { display: block; color: var(--ink); font-size: 8px; }
.note-one { bottom: 20px; left: 0; }
.note-two { top: 12px; right: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { top: 1%; right: -8%; width: 190px; height: 190px; background: rgba(239,111,92,.18); }
.orb-two { bottom: 6%; left: 5%; width: 140px; height: 140px; background: rgba(91,76,229,.16); }

.manifesto { display: grid; grid-template-columns: 160px 1fr 280px; gap: 42px; align-items: start; padding: 130px 0; border-top: 1px solid var(--line); }
.manifesto-index { padding-top: 10px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.manifesto-copy { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 65px); line-height: 1.08; letter-spacing: -.04em; }
.manifesto-copy em { color: var(--violet); font-weight: 500; }
.manifesto-aside { display: grid; gap: 24px; padding-top: 12px; }
.manifesto-aside p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.line-art { width: 72px; height: 72px; border: 1px dashed rgba(91,76,229,.5); border-radius: 50%; box-shadow: inset 0 0 0 20px var(--paper), inset 0 0 0 21px var(--violet); }

.workspace-section { padding: 90px 0 130px; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading h2, .models-copy h2, .trust-copy h2 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(48px, 5.5vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module-card { position: relative; min-height: 460px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,253,248,.7); transition: transform .25s ease, box-shadow .25s ease; }
.module-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(47,35,84,.10); }
.card-number { position: absolute; top: 27px; right: 28px; color: var(--muted); font-family: var(--serif); font-size: 14px; }
.module-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 50px; border-radius: 17px 17px 17px 5px; background: var(--card-color, var(--violet)); color: white; font-size: 18px; font-weight: 800; }
.social-card { --card-color: var(--violet); }
.email-card { --card-color: var(--coral); }
.chat-card { --card-color: var(--mint); }
.adapter-state { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: rgba(199,139,40,.1); color: #866019; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.module-card h3 { margin: 14px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.module-card > p { max-width: 315px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.card-preview { position: absolute; right: -15px; bottom: -32px; left: 45px; height: 170px; border: 1px solid var(--line); border-radius: 24px 0 0 0; background: rgba(255,255,255,.7); transform: rotate(-3deg); }
.social-preview span { position: absolute; width: 55%; height: 34px; border-radius: 12px; background: rgba(91,76,229,.10); }
.social-preview span:nth-child(1) { top: 24px; left: 20px; }
.social-preview span:nth-child(2) { top: 70px; right: 16px; width: 65%; background: rgba(239,111,92,.10); }
.social-preview span:nth-child(3) { top: 116px; left: 28px; width: 72%; background: rgba(78,175,145,.11); }
.mail-preview i { position: absolute; top: 30px; left: 25px; width: 55px; height: 42px; border: 2px solid rgba(239,111,92,.4); border-radius: 10px; }
.mail-preview i::before, .mail-preview i::after { position: absolute; top: 7px; width: 34px; height: 2px; content: ""; background: rgba(239,111,92,.4); }
.mail-preview i::before { left: -2px; transform: rotate(30deg); }
.mail-preview i::after { right: -2px; transform: rotate(-30deg); }
.mail-preview span { position: absolute; left: 100px; width: 100px; height: 10px; border-radius: 5px; background: rgba(32,30,43,.1); }
.mail-preview span:nth-child(2) { top: 36px; }
.mail-preview span:nth-child(3) { top: 57px; width: 72px; }
.chat-preview span { position: absolute; height: 38px; border-radius: 16px 16px 16px 4px; background: rgba(78,175,145,.14); }
.chat-preview span:nth-child(1) { top: 23px; left: 20px; width: 55%; }
.chat-preview span:nth-child(2) { top: 74px; right: 20px; width: 62%; border-radius: 16px 16px 4px; background: rgba(91,76,229,.12); }
.chat-preview span:nth-child(3) { top: 124px; left: 30px; width: 42%; }

.models-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; width: 100%; max-width: none; padding: 130px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: white; }
.models-copy > p:not(.overline) { max-width: 520px; margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; }
.honesty-list { display: grid; gap: 0; margin: 45px 0 0; padding: 0; list-style: none; }
.honesty-list li { display: grid; grid-template-columns: 35px 1fr; align-items: center; min-height: 52px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: 11px; }
.honesty-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.honesty-list span { color: var(--coral); font-family: var(--serif); font-size: 14px; }
.model-stack { display: grid; gap: 9px; align-content: center; }
.model-row { display: grid; grid-template-columns: 46px 1fr auto 28px; gap: 14px; align-items: center; min-height: 82px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: rgba(255,255,255,.045); }
.model-row.selected { border-color: rgba(159,146,255,.5); background: rgba(91,76,229,.16); }
.model-row > b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px 14px 14px 5px; background: rgba(255,255,255,.09); font-size: 13px; }
.model-row.selected > b { background: var(--violet); }
.model-row h3 { margin: 0; font-size: 14px; }
.model-row p { margin: 5px 0 0; color: rgba(255,255,255,.48); font-size: 9px; }
.model-row > span { color: #e6bd72; font-size: 8px; font-weight: 760; }
.model-row > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.7); font-style: normal; }

.trust-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 145px 0; }
.trust-visual { position: relative; min-height: 540px; }
.key-orbit { position: absolute; top: 50%; left: 50%; border: 1px dashed rgba(91,76,229,.35); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-a { width: 360px; height: 360px; animation: spin 28s linear infinite; }
.orbit-b { width: 520px; height: 520px; border-color: rgba(239,111,92,.25); animation: spin-reverse 38s linear infinite; }
.key-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 160px; height: 160px; border-radius: 50%; background: var(--ink); color: white; transform: translate(-50%, -50%); box-shadow: 0 30px 80px rgba(47,35,84,.25); }
.key-core span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px 22px 22px 7px; background: var(--violet); font-family: var(--serif); font-size: 28px; }
.key-core small { margin-top: -18px; color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.trust-token { position: absolute; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,253,248,.88); color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 12px 25px rgba(47,35,84,.10); backdrop-filter: blur(12px); }
.token-one { top: 12%; left: 17%; }
.token-two { top: 57%; right: 5%; }
.token-three { bottom: 8%; left: 25%; }
.trust-copy > p:not(.overline) { margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-grid div { display: grid; gap: 7px; min-height: 92px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid strong { font-size: 11px; }
.trust-grid span { color: var(--muted); font-size: 9px; }
.coming-chip { display: inline-flex; margin-top: 22px; padding: 7px 10px; border-radius: 999px; background: rgba(199,139,40,.11); color: #866019; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.cta-section { width: min(calc(100% - 48px), var(--max)); overflow: hidden; padding: 110px 40px; border-radius: 34px; background: var(--violet); color: white; text-align: center; }
.cta-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 68px 68px; mask-image: radial-gradient(circle, black, transparent 75%); }
.cta-section .overline { position: relative; justify-content: center; }
.cta-section .overline span { background: var(--coral); }
.cta-section h2 { position: relative; margin: 24px auto 20px; font-family: var(--serif); font-size: clamp(52px, 6.6vw, 92px); font-weight: 500; line-height: .92; letter-spacing: -.06em; }
.cta-section h2 em { color: #f2c9bf; }
.cta-section > p:not(.overline) { position: relative; max-width: 580px; margin: 0 auto; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.hero-actions.centered { position: relative; justify-content: center; }
.button.light { background: white; color: var(--ink); }
.button.outline-light { border-color: rgba(255,255,255,.35); color: white; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 70px 0 34px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.site-footer > p { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer > div a { color: var(--muted); font-size: 10px; text-decoration: none; }
.site-footer > small { grid-column: 1 / -1; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; text-align: center; }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal.reveal-pending.is-visible { opacity: 1; transform: none; }

@keyframes glow-drift { to { transform: translate(15%, -10%) scale(1.15); } }
@keyframes pulse-bar { to { height: 22px; opacity: .5; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(100%, 850px); margin: 0 auto; }
  .manifesto { grid-template-columns: 120px 1fr; }
  .manifesto-aside { grid-column: 2; max-width: 500px; }
  .models-section { gap: 55px; }
  .trust-section { gap: 35px; }
}

@media (max-width: 820px) {
  .nav-shell { grid-template-columns: 1fr auto; width: min(calc(100% - 30px), var(--max)); }
  .desktop-nav, .nav-actions { display: none; }
  .menu-button { display: grid; justify-items: end; gap: 6px; width: 42px; padding: 10px; border: 0; background: transparent; }
  .menu-button span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button span:last-child { width: 15px; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { width: 22px; transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { display: grid; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: rgba(244,240,232,.97); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; text-decoration: none; }
  .section { width: min(calc(100% - 30px), var(--max)); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero h1 { font-size: clamp(57px, 15vw, 85px); }
  .browser-top { grid-template-columns: 42px 105px 24px 1fr; height: 64px; }
  .browser-tools, .frame-brand { display: none; }
  .browser-canvas { grid-template-columns: 1fr 210px; min-height: 410px; }
  .manifesto { grid-template-columns: 1fr; padding: 95px 0; }
  .manifesto-aside { grid-column: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 400px; }
  .models-section { grid-template-columns: 1fr; padding: 100px 24px; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-visual { order: 2; min-height: 480px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 580px) {
  .hero { gap: 25px; }
  .hero-lead { font-size: 14px; }
  .product-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .product-facts div { min-width: 0; padding-right: 12px; }
  .product-facts div + div { padding-left: 12px; }
  .product-facts dd { font-size: 9px; }
  .browser-stage { margin: 0 -30px; padding-inline: 0; transform: scale(.84); }
  .browser-canvas { grid-template-columns: 1fr 190px; }
  .web-surface > p { padding: 0 24px; text-align: center; }
  .stage-note { display: none; }
  .manifesto-copy { font-size: 39px; }
  .workspace-section { padding-top: 60px; }
  .section-heading h2, .models-copy h2, .trust-copy h2 { font-size: 50px; }
  .model-row { grid-template-columns: 40px 1fr 24px; }
  .model-row > span { display: none; }
  .model-row > b { width: 40px; height: 40px; }
  .trust-section { overflow: hidden; }
  .trust-visual { min-height: 380px; transform: scale(.8); margin: -35px; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-section { width: calc(100% - 20px); padding: 85px 20px; border-radius: 25px; }
  .cta-section h2 { font-size: 53px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand { justify-self: center; }
  .site-footer > div { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .browser-frame { transform: none; }
}
