:root {
  color-scheme: dark;
  --bg: #07080d;
  --surface: rgba(255, 255, 255, 0.052);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --surface-soft: rgba(255, 255, 255, 0.032);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-bright: rgba(255, 255, 255, 0.3);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.58);
  --quiet: rgba(255, 255, 255, 0.38);
  --purple: #8b7bff;
  --cyan: #4fd1ff;
  --purple-rgb: 139 123 255;
  --cyan-rgb: 79 209 255;
  --accent-three: #b8367a;
  --glow-one: #5639cf;
  --glow-two: #145c8b;
  --glow-three: #8f315f;
  --page-fade-mid: rgba(7, 8, 13, .18);
  --page-fade: rgba(7, 8, 13, .96);
  --nav-bg: rgba(17, 18, 28, .84);
  --menu-bg: rgba(15, 16, 25, .96);
  --panel-rgb: 255 255 255;
  --button-ink: #fff;
  --radius: 20px;
  --page: min(1180px, calc(100vw - 48px));
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

:root[data-site-theme="ember"] {
  --bg: #0d0908;
  --purple: #f08a45;
  --cyan: #eb6470;
  --purple-rgb: 240 138 69;
  --cyan-rgb: 235 100 112;
  --accent-three: #8a50bd;
  --glow-one: #9e3f20;
  --glow-two: #9b343f;
  --glow-three: #603388;
  --page-fade-mid: rgba(13, 9, 8, .18);
  --page-fade: rgba(13, 9, 8, .96);
  --nav-bg: rgba(35, 20, 17, .88);
  --menu-bg: rgba(29, 17, 15, .97);
}

:root[data-site-theme="ocean"] {
  --bg: #041015;
  --purple: #4c8dff;
  --cyan: #20d6c7;
  --purple-rgb: 76 141 255;
  --cyan-rgb: 32 214 199;
  --accent-three: #2962c7;
  --glow-one: #124b9b;
  --glow-two: #087b83;
  --glow-three: #164e78;
  --page-fade-mid: rgba(4, 16, 21, .18);
  --page-fade: rgba(4, 16, 21, .96);
  --nav-bg: rgba(8, 29, 37, .88);
  --menu-bg: rgba(6, 25, 32, .97);
}

:root[data-site-theme="graphite"] {
  --bg: #090b0e;
  --purple: #abb4c2;
  --cyan: #78869b;
  --purple-rgb: 171 180 194;
  --cyan-rgb: 120 134 155;
  --accent-three: #4d5664;
  --glow-one: #39424f;
  --glow-two: #252d37;
  --glow-three: #303641;
  --page-fade-mid: rgba(9, 11, 14, .18);
  --page-fade: rgba(9, 11, 14, .97);
  --nav-bg: rgba(22, 25, 30, .9);
  --menu-bg: rgba(18, 21, 25, .98);
  --button-ink: #111419;
}

:root[data-site-theme="daylight"] {
  color-scheme: light;
  --bg: #e9edf2;
  --surface: rgba(255, 255, 255, .62);
  --surface-strong: rgba(255, 255, 255, .82);
  --surface-soft: rgba(255, 255, 255, .42);
  --stroke: rgba(28, 37, 52, .15);
  --stroke-bright: rgba(28, 37, 52, .28);
  --text: rgba(19, 25, 37, .94);
  --muted: rgba(30, 39, 55, .66);
  --quiet: rgba(30, 39, 55, .46);
  --purple: #6852df;
  --cyan: #008fa8;
  --purple-rgb: 104 82 223;
  --cyan-rgb: 0 143 168;
  --accent-three: #d18432;
  --glow-one: #b7aaf3;
  --glow-two: #94d8e4;
  --glow-three: #edc594;
  --page-fade-mid: rgba(233, 237, 242, .18);
  --page-fade: rgba(233, 237, 242, .97);
  --nav-bg: rgba(246, 248, 251, .9);
  --menu-bg: rgba(246, 248, 251, .98);
  --panel-rgb: 24 31 44;
  --button-ink: #fff;
  --shadow: 0 18px 50px rgba(55, 66, 84, .14), inset 0 1px 0 rgba(255, 255, 255, .78);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; transition: background .45s ease, color .35s ease; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: rgb(var(--purple-rgb) / .35); }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 14px; background: #fff; color: #090a10; font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 18px; }

.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--page-fade-mid) 38%, var(--page-fade) 92%); }
.orb { position: absolute; border-radius: 999px; filter: blur(125px); opacity: .2; transition: background .5s ease; }
.orb-one { width: 58vw; height: 58vw; left: -24vw; top: -30vw; background: radial-gradient(circle, var(--glow-one) 0, transparent 68%); }
.orb-two { width: 48vw; height: 48vw; right: -20vw; top: 18vh; background: radial-gradient(circle, var(--glow-two) 0, transparent 68%); }
.orb-three { width: 34vw; height: 34vw; left: 42%; top: 42vh; background: radial-gradient(circle, var(--glow-three) 0, transparent 67%); opacity: .12; }
.grain { position: absolute; inset: 0; opacity: .024; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.glass { background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.glass-inset { background: var(--surface-soft); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .08), 0 12px 30px rgba(0, 0, 0, .16); -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%); }

.site-header { position: fixed; z-index: 100; top: 20px; left: 50%; width: min(1120px, calc(100vw - 40px)); min-height: 64px; padding: 10px 13px 10px 19px; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; transition: background .3s ease, border-color .3s ease, transform .3s ease; transform: translateX(-50%); }
.site-header.scrolled { background: var(--nav-bg); border-color: var(--stroke-bright); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 750; letter-spacing: -.04em; }
.wordmark > span > span, .phone b span { color: transparent; background: linear-gradient(120deg, #b8c0cc, #687382); background-clip: text; -webkit-background-clip: text; }
.mini-brand span, .theme-preview-bar b span { color: transparent; background: linear-gradient(120deg, var(--purple), var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.wordmark-mark { width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
:root[data-site-theme="daylight"] .wordmark > span > span, :root[data-site-theme="daylight"] .phone b span { background-image: linear-gradient(120deg, #596373, #252b34); }
.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav > a:not(.button) { padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: .88rem; transition: color .2s ease, background .2s ease; }
.site-nav > a:not(.button):hover { color: var(--text); background: var(--surface-strong); }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; background: var(--surface-strong); border: 1px solid var(--stroke); border-radius: 11px; color: var(--text); }
.menu-button span { display: block; width: 16px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .25s ease; }

.button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--stroke); border-radius: 12px; background: var(--surface-strong); color: var(--text); font-size: .9rem; font-weight: 650; box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .07); transition: background .25s ease, border-color .25s ease, box-shadow .3s ease; }
.button:hover { background: var(--surface); border-color: var(--stroke-bright); }
.button:active { opacity: .82; }
.button-accent { color: var(--button-ink); background: var(--purple); border-color: rgb(var(--panel-rgb) / .24); box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .2), 0 10px 28px rgb(var(--purple-rgb) / .18); }
.button-accent:hover { background: var(--cyan); box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .24), 0 12px 32px rgb(var(--purple-rgb) / .22); }
.button-small { min-height: 40px; padding-inline: 16px; border-radius: 11px; }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:focus-visible, .site-nav a:focus-visible, .wordmark:focus-visible, .theme-picker button:focus-visible, .menu-button:focus-visible, .text-link:focus-visible { outline: none; box-shadow: 0 0 0 4px rgb(var(--purple-rgb) / .28), 0 0 22px rgb(var(--cyan-rgb) / .16); }

.section { width: var(--page); margin-inline: auto; }
.hero { min-height: 860px; padding-top: 155px; display: grid; grid-template-columns: .86fr 1.34fr; align-items: start; gap: 48px; }
.hero > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; width: 100%; min-width: 0; padding-top: 38px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.45rem, 4.45vw, 4.75rem); line-height: .98; letter-spacing: -.058em; font-weight: 720; }
h1 span { color: var(--muted); }
.hero-lede { max-width: 520px; margin-bottom: 27px; color: var(--muted); font-size: 1.08rem; line-height: 1.56; letter-spacing: -.015em; }
.hero-actions { display: flex; gap: 11px; align-items: stretch; }
.hero-actions .button { min-height: 58px; }
.hero-actions .download-action:first-child { min-width: 196px; justify-content: flex-start; padding-inline: 17px 22px; }
.download-action small { display: block; margin-bottom: 1px; color: var(--muted); font-size: .66rem; font-weight: 500; }
.download-action.button-accent small { color: rgba(255, 255, 255, .72); }
.download-action[data-download-pending="true"] { cursor: progress; opacity: .72; }
.compatibility { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 20px; color: var(--quiet); font-size: .72rem; }
.compatibility i { width: 2px; height: 2px; border-radius: 9px; background: var(--quiet); }
.status-dot { width: 6px; height: 6px; border-radius: 9px; background: #58e7a5; box-shadow: 0 0 10px rgba(88, 231, 165, .7); }

.hero-stage { position: relative; z-index: 1; width: 820px; margin-left: -10px; perspective: 1300px; }
.app-window { position: relative; width: 820px; height: 574px; overflow: hidden; border-radius: 18px; background: rgba(8, 8, 14, .74); box-shadow: 0 38px 90px rgba(0, 0, 0, .42), 0 0 0 1px rgb(var(--panel-rgb) / .04), inset 0 1px 0 rgb(var(--panel-rgb) / .1); }
.window-chrome { height: 39px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .045); color: var(--quiet); font-size: .68rem; font-weight: 650; }
.window-chrome > span { position: absolute; left: 50%; transform: translateX(-50%); }
.traffic-lights { display: flex; gap: 7px; margin-left: 14px; }
.traffic-lights i { width: 10px; height: 10px; border-radius: 10px; background: #ff5f57; }
.traffic-lights i:nth-child(2) { background: #ffbd2e; }
.traffic-lights i:nth-child(3) { background: #28c840; }
.app-canvas { position: relative; height: calc(100% - 39px); padding: 26px 28px; overflow: hidden; background: radial-gradient(circle at 9% 0, rgba(114, 61, 234, .22), transparent 34%), radial-gradient(circle at 90% 100%, rgba(19, 116, 166, .18), transparent 39%), #090a10; }
.app-canvas.app-screenshot { padding: 0; background: #08090f; }
.app-screenshot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.app-toolbar { position: relative; z-index: 3; height: 52px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 8px 13px; border-radius: 17px; }
.mini-brand { white-space: nowrap; font-size: .81rem; font-weight: 750; }
.mini-brand b { margin-right: 4px; color: var(--purple); font-size: .7rem; }
.mock-search { height: 34px; padding: 0 11px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .32); font-size: .62rem; }
.mock-search svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mock-pills { display: flex; gap: 5px; }
.mock-pills i { padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .7); font-size: .55rem; font-style: normal; white-space: nowrap; }
.shelf-heading { margin: 29px 0 12px; display: flex; align-items: baseline; gap: 6px; }
.shelf-heading strong { font-size: .88rem; }
.shelf-heading span { color: var(--quiet); font-size: .64rem; }
.poster-shelf { display: flex; gap: 12px; }
.poster { position: relative; width: 112px; height: 163px; flex: 0 0 auto; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .17); box-shadow: 0 10px 25px rgba(0, 0, 0, .35); }
.poster::before, .poster::after { content: ""; position: absolute; }
.poster::before { inset: 0; background: linear-gradient(155deg, transparent 15%, rgba(255, 255, 255, .16) 45%, transparent 46%); }
.poster::after { width: 94px; height: 94px; border-radius: 60% 30% 60% 20%; left: 7px; top: 23px; border: 1px solid rgba(255, 255, 255, .24); transform: rotate(-18deg); }
.poster span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 10px; font-size: .52rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.poster i { position: absolute; z-index: 2; right: 7px; top: 7px; width: 12px; height: 12px; border-radius: 10px; background: #54d998; box-shadow: 0 0 10px rgba(84, 217, 152, .7); }
.poster-a { background: radial-gradient(circle at 30% 28%, #f19e65, transparent 28%), linear-gradient(145deg, #351456, #11182e 57%, #09090e); }
.poster-b { background: radial-gradient(circle at 70% 22%, #ef5e85, transparent 25%), linear-gradient(145deg, #142740, #6b184b 57%, #100b16); }
.poster-c { background: radial-gradient(circle at 50% 35%, #8adbf1, transparent 20%), linear-gradient(165deg, #152947, #224d58 58%, #0a0c11); }
.poster-d { background: radial-gradient(circle at 48% 35%, #ffbf66, transparent 24%), linear-gradient(150deg, #572043, #d76348 55%, #211020); }
.poster-e { background: radial-gradient(circle at 35% 25%, #9ea7ff, transparent 24%), linear-gradient(140deg, #13183a, #3f3275 60%, #0b0b12); }
.shelf-heading.second { margin-top: 24px; }
.mini-shelf { display: flex; gap: 10px; opacity: .7; }
.mini-shelf i { width: 94px; height: 118px; flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .11); border-radius: 11px; background: linear-gradient(145deg, rgba(139, 123, 255, .22), rgba(79, 209, 255, .08)); }
.mini-shelf i:nth-child(2n) { background: linear-gradient(145deg, rgba(255, 151, 80, .2), rgba(210, 65, 119, .08)); }
.concierge-card { position: absolute; z-index: 4; width: 245px; right: 20px; top: 110px; padding: 13px; border-radius: 18px; background: rgba(20, 20, 31, .75); }
.concierge-card header { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.concierge-card header > span { color: #fff; }
.concierge-card header div { display: flex; flex-direction: column; }
.concierge-card header b { font-size: .66rem; }
.concierge-card header small { color: var(--quiet); font-size: .48rem; }
.concierge-card header > i { margin-left: auto; color: var(--muted); font-size: .7rem; font-style: normal; }
.chat-line { width: 84%; margin-top: 10px; padding: 8px 9px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; color: rgba(255, 255, 255, .7); font-size: .52rem; line-height: 1.45; }
.chat-line.user { margin-left: auto; background: linear-gradient(125deg, rgba(139, 123, 255, .35), rgba(79, 209, 255, .24)); }
.chat-line.reply { background: rgba(255, 255, 255, .05); }
.chat-line.reply b { color: #fff; }
.chat-field { margin-top: 12px; padding: 7px 8px; border: 1px solid rgba(139, 123, 255, .3); border-radius: 10px; color: rgba(255, 255, 255, .27); font-size: .49rem; }
.chat-field span { float: right; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 6px; background: var(--purple); color: #fff; }
.section-heading { max-width: 730px; margin-bottom: 45px; }
.section-heading h2, .privacy-copy h2, .source-copy h2, .cta-panel h2 { margin-bottom: 20px; font-size: clamp(2.45rem, 3.7vw, 3.8rem); line-height: 1.04; letter-spacing: -.05em; font-weight: 690; }
.section-heading > p:last-child, .privacy-copy > p, .source-copy > p, .cta-panel > div > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }

.film { padding: 35px 0 120px; }
.film-frame { margin: 0; padding: 10px; overflow: hidden; border-radius: 24px; background: var(--surface); }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; border-radius: 16px; background: #08090f; }
.film-frame figcaption { padding: 14px 8px 4px; display: flex; justify-content: space-between; gap: 20px; color: var(--quiet); font-size: .72rem; }

.download-section { padding: 90px 0 120px; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { min-height: 310px; padding: 30px; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: 1fr auto auto; gap: 0 22px; border-radius: var(--radius); transition: border-color .3s ease, background .3s ease; }
.download-card:hover { border-color: var(--stroke-bright); background: var(--surface-strong); }
.chip-icon { grid-row: 1; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .08); }
.chip-icon span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 11px; color: var(--text); font-size: .86rem; font-weight: 750; letter-spacing: -.04em; }
.brand-vendor-icon { width: 30px; height: 30px; fill: var(--text); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); transition: transform .3s ease, fill .3s ease; }
.download-card:hover .brand-vendor-icon { transform: scale(1.12); fill: var(--purple); }
.apple-vendor-icon { margin-bottom: 2px; }
.intel-vendor-icon { margin-bottom: 1px; }
.chip-silicon span::after { content: "M"; }
.chip-intel span::after { content: "x86"; font-size: .65rem; letter-spacing: 0; }
.download-card-copy { grid-column: 2; }
.recommended { margin: 3px 0 8px; color: var(--purple); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.recommended.quiet { color: var(--quiet); }
.download-card h3 { margin-bottom: 8px; font-size: 1.65rem; letter-spacing: -.035em; }
.download-card-copy > p:last-child { max-width: 350px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.download-card .button { grid-column: 1 / -1; width: 100%; margin-top: 28px; }
.download-card .button span { margin-left: auto; }
.asset-meta { grid-column: 1 / -1; padding-top: 12px; color: var(--quiet); text-align: center; font-size: .69rem; }
.download-notes { margin-top: 17px; padding: 5px 8px; display: flex; align-items: center; justify-content: space-between; color: var(--quiet); font-size: .74rem; }
.download-notes p { margin: 0; display: flex; align-items: center; gap: 7px; }
.download-notes p > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 8px; color: var(--muted); }
.download-notes p b { color: var(--muted); }
.download-notes > div { display: flex; align-items: center; gap: 9px; }
.download-notes i { width: 2px; height: 2px; border-radius: 9px; background: rgba(255, 255, 255, .25); }
.download-notes a:hover { color: var(--text); }

.features { padding: 95px 0 120px; }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 17px; }
.feature-card { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--radius); transition: border-color .3s ease, background .3s ease; }
.feature-card:hover { border-color: var(--stroke-bright); }
.feature-library { grid-column: span 7; min-height: 470px; padding: 34px; background: var(--surface); }
.feature-search { grid-column: span 5; padding: 34px; background: var(--surface); }
.feature-ai, .feature-preview, .feature-air { grid-column: span 4; padding: 32px; }
.feature-ai { background: var(--surface); }
.feature-preview { display: flex; flex-direction: column; background: var(--surface); }
.feature-air { background: var(--surface); }
.feature-copy { position: relative; z-index: 3; }
.line-icon { width: 28px; height: 28px; margin-bottom: 18px; display: grid; place-items: center; color: var(--purple); }
.line-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.feature-copy h3 { margin-bottom: 9px; font-size: 1.48rem; letter-spacing: -.035em; }
.feature-copy p { max-width: 430px; margin-bottom: 0; color: var(--muted); font-size: .9rem; line-height: 1.58; }
.feature-screenshot { position: absolute; left: 29px; right: 29px; bottom: -14px; height: 270px; overflow: hidden; border: 1px solid var(--stroke); border-radius: 16px 16px 0 0; background: #08090f; box-shadow: 0 18px 42px rgba(0, 0, 0, .34), inset 0 1px 0 rgb(var(--panel-rgb) / .07); }
.feature-screenshot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.library-stack { position: absolute; width: 55%; right: 26px; bottom: 25px; display: flex; flex-direction: column; gap: 8px; }
.library-stack > div { height: 74px; padding: 8px 11px 8px 8px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 15px; background: rgba(16, 17, 27, .61); box-shadow: 0 12px 28px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.library-stack > div:nth-child(1) { transform: translateX(-35px); }
.library-stack > div:nth-child(3) { transform: translateX(-18px); }
.stack-cover { width: 43px; height: 57px; flex: 0 0 auto; border-radius: 8px; background: linear-gradient(145deg, #5941a7, #172144); }
.stack-cover.two { background: linear-gradient(145deg, #b96845, #32133f); }
.stack-cover.three { background: linear-gradient(145deg, #287e8c, #111c35); }
.library-stack p, .library-stack span { display: flex; flex-direction: column; min-width: 0; }
.library-stack b { overflow: hidden; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.library-stack small { margin-top: 4px; color: var(--quiet); font-size: .57rem; }
.library-stack em { width: 23px; height: 23px; margin-left: auto; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: rgba(83, 218, 151, .13); color: #58e7a5; font-size: .65rem; font-style: normal; }
.semantic-search { position: absolute; left: 30px; right: 30px; bottom: 78px; height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 11px; border-radius: 16px; }
.semantic-search > span { color: var(--muted); font-size: 1.15rem; }
.semantic-search b { font-size: .79rem; font-weight: 520; }
.semantic-search kbd { margin-left: auto; padding: 2px 7px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; color: var(--quiet); font: inherit; font-size: .6rem; }
.search-results { position: absolute; left: 47px; bottom: 33px; display: flex; gap: 6px; }
.search-results i { padding: 5px 8px; border-radius: 8px; background: rgb(var(--cyan-rgb) / .08); color: var(--cyan); opacity: .7; font-size: .59rem; font-style: normal; }
.feature-ai .feature-copy, .feature-air .feature-copy { position: absolute; left: 32px; right: 32px; bottom: 31px; }
.ai-screenshot { position: absolute; width: 176px; height: 242px; right: 18px; top: -8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 0 0 20px 20px; background: #08090f; box-shadow: 0 22px 50px rgba(0, 0, 0, .42); transform: rotate(2deg); }
.ai-screenshot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); pointer-events: none; }
.ai-screenshot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 9%; }
.ai-orbit { position: relative; width: 175px; height: 175px; margin: -10px auto 0; display: grid; place-items: center; }
.ai-orbit::before, .ai-orbit::after { content: ""; position: absolute; inset: 17px; border: 1px solid rgba(139, 123, 255, .24); border-radius: 50%; }
.ai-orbit::after { inset: 38px; border-color: rgba(79, 209, 255, .24); }
.ai-orbit > span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(139, 123, 255, .23), transparent 67%); filter: blur(9px); }
.ai-orbit > i { position: absolute; width: 7px; height: 7px; left: 28px; top: 48px; border-radius: 9px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.ai-orbit > b { z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; background: rgba(255, 255, 255, .08); font-size: 1.2rem; box-shadow: 0 0 35px rgba(139, 123, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .15); }
.preview-frame { position: relative; height: 183px; margin: -32px -32px 26px; overflow: hidden; background: linear-gradient(180deg, #865f88, #d0806e 48%, #281b37); }
.preview-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 15, .75)); }
.preview-sun { position: absolute; width: 68px; height: 68px; right: 25px; top: 26px; border-radius: 50%; background: #ffc88d; box-shadow: 0 0 45px rgba(255, 166, 116, .55); }
.preview-land { position: absolute; width: 130%; height: 85px; left: -12%; bottom: -20px; border-radius: 50% 50% 0 0; background: #17152a; transform: rotate(-5deg); }
.preview-frame > i { position: absolute; z-index: 3; width: 42px; height: 42px; left: 50%; top: 48%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(15, 15, 24, .3); font-size: .76rem; font-style: normal; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translate(-50%, -50%); }
.preview-frame > div { position: absolute; z-index: 3; left: 20px; bottom: 14px; display: flex; flex-direction: column; }
.preview-frame.real-preview { background: #08090f; }
.real-preview img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 5%; }
.preview-frame.real-preview::after { background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 15, .28)); }
.preview-frame b { font-size: .76rem; }
.preview-frame small { margin-top: 3px; color: rgba(255, 255, 255, .55); font-size: .56rem; }
.air-visual { position: relative; height: 185px; }
.phone { position: absolute; z-index: 2; width: 82px; height: 150px; left: 50%; top: -9px; overflow: hidden; border: 2px solid var(--stroke-bright); border-radius: 20px; background: linear-gradient(160deg, rgb(var(--purple-rgb) / .27), rgba(9, 13, 24, .9)); box-shadow: 0 25px 50px rgba(0, 0, 0, .3); transform: translateX(-50%) rotate(2deg); }
.phone > span { position: absolute; width: 34px; height: 8px; left: 50%; top: 6px; border-radius: 8px; background: #08090f; transform: translateX(-50%); }
.phone > i { position: absolute; width: 90px; height: 90px; left: -20px; top: 25px; border-radius: 50%; background: rgb(var(--cyan-rgb) / .28); filter: blur(20px); }
.phone > b { position: absolute; top: 63px; width: 100%; text-align: center; font-size: .72rem; }
.air-visual svg { position: absolute; width: 240px; left: 50%; top: 28px; overflow: visible; fill: none; stroke: rgb(var(--cyan-rgb) / .28); stroke-width: 1; stroke-dasharray: 3 5; transform: translateX(-50%); }

.themes { padding: 100px 0 120px; }
.theme-showcase { min-height: 585px; padding: 20px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; border-radius: 24px; }
.theme-preview { position: relative; min-height: 535px; padding: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 23px; background: #090a11; transition: background .5s ease; }
.theme-preview::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.theme-preview-orb { position: absolute; width: 330px; height: 330px; border-radius: 50%; filter: blur(75px); opacity: .5; transition: background .5s ease, transform .6s ease; }
.theme-preview-orb.one { left: -100px; top: -130px; background: #5b3df0; }
.theme-preview-orb.two { right: -130px; bottom: -160px; background: #0e5aa8; }
.theme-preview-bar { position: relative; z-index: 3; height: 58px; padding: 0 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border-radius: 18px; }
.theme-preview-bar b { font-size: .79rem; }
.theme-preview-bar i { height: 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; background: rgba(255, 255, 255, .045); }
.theme-preview-bar em { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 11px; background: rgba(255, 255, 255, .05); font-size: .62rem; font-style: normal; }
.theme-preview-content { position: relative; z-index: 2; margin-top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.theme-preview-content span { height: 300px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 15px; background: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(139, 123, 255, .12) 48%, rgba(7, 8, 14, .65)); box-shadow: 0 18px 40px rgba(0, 0, 0, .26); }
.theme-preview-content span:nth-child(2) { background: linear-gradient(155deg, rgba(79, 209, 255, .2), rgba(20, 52, 94, .25) 48%, rgba(7, 8, 14, .65)); }
.theme-preview-content span:nth-child(3) { background: linear-gradient(155deg, rgba(255, 127, 105, .18), rgba(93, 37, 95, .22) 48%, rgba(7, 8, 14, .65)); }
.theme-preview-content span:nth-child(4) { background: linear-gradient(155deg, rgba(181, 158, 255, .2), rgba(32, 25, 76, .27) 48%, rgba(7, 8, 14, .65)); }
.real-settings-preview { display: grid; place-items: center; }
.real-settings-preview > img { position: relative; z-index: 2; width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .46)); transition: filter .45s ease, opacity .45s ease; }
.theme-showcase[data-theme-demo="ember"] .real-settings-preview > img { filter: drop-shadow(0 24px 55px rgba(204, 81, 48, .25)); }
.theme-showcase[data-theme-demo="ocean"] .real-settings-preview > img { filter: drop-shadow(0 24px 55px rgba(32, 150, 190, .24)); }
.theme-showcase[data-theme-demo="graphite"] .real-settings-preview > img { filter: grayscale(.2) drop-shadow(0 24px 50px rgba(0, 0, 0, .46)); }
.theme-showcase[data-theme-demo="daylight"] .real-settings-preview > img { opacity: .92; filter: drop-shadow(0 24px 45px rgba(45, 56, 76, .24)); }
.theme-picker { padding: 4px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.theme-picker button { width: 100%; min-height: 76px; padding: 12px; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 12px; color: var(--text); border: 1px solid transparent; border-radius: 17px; background: transparent; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.theme-picker button:hover { background: var(--surface-soft); }
.theme-picker button.active { border-color: var(--stroke-bright); background: var(--surface-strong); }
.theme-picker button > i { width: 45px; height: 45px; padding: 6px; display: flex; overflow: hidden; border: 1px solid rgba(255, 255, 255, .13); border-radius: 13px; background: rgba(255, 255, 255, .045); font-style: normal; }
.theme-picker button > i b { flex: 1; border-radius: 5px; background: #8b7bff; }
.theme-picker button > i b:nth-child(2) { background: #4fd1ff; }
.theme-picker button > i b:nth-child(3) { background: #b8367a; }
.theme-picker button[data-theme-choice="ember"] > i b:nth-child(1) { background: #ff9a45; }
.theme-picker button[data-theme-choice="ember"] > i b:nth-child(2) { background: #ff6574; }
.theme-picker button[data-theme-choice="ember"] > i b:nth-child(3) { background: #7833bc; }
.theme-picker button[data-theme-choice="ocean"] > i b:nth-child(1) { background: #4c8dff; }
.theme-picker button[data-theme-choice="ocean"] > i b:nth-child(2) { background: #20d6c7; }
.theme-picker button[data-theme-choice="ocean"] > i b:nth-child(3) { background: #2a4cbf; }
.theme-picker button[data-theme-choice="graphite"] > i b:nth-child(1) { background: #a7b0c0; }
.theme-picker button[data-theme-choice="graphite"] > i b:nth-child(2) { background: #75849d; }
.theme-picker button[data-theme-choice="graphite"] > i b:nth-child(3) { background: #3c4554; }
.theme-picker button[data-theme-choice="daylight"] > i b:nth-child(1) { background: #7557ff; }
.theme-picker button[data-theme-choice="daylight"] > i b:nth-child(2) { background: #0c9fc2; }
.theme-picker button[data-theme-choice="daylight"] > i b:nth-child(3) { background: #ffb45e; }
.theme-picker button > span { display: flex; flex-direction: column; font-size: .84rem; font-weight: 650; }
.theme-picker button small { margin-top: 4px; color: var(--quiet); font-size: .66rem; font-weight: 450; }
.theme-picker button > em { opacity: 0; color: var(--purple); font-size: .75rem; font-style: normal; }
.theme-picker button.active > em { opacity: 1; }
.theme-showcase[data-theme-demo="ember"] .theme-preview-orb.one { background: #d94f24; }
.theme-showcase[data-theme-demo="ember"] .theme-preview-orb.two { background: #7833bc; }
.theme-showcase[data-theme-demo="ocean"] .theme-preview-orb.one { background: #124da8; }
.theme-showcase[data-theme-demo="ocean"] .theme-preview-orb.two { background: #087c86; }
.theme-showcase[data-theme-demo="graphite"] .theme-preview-orb.one { background: #3c4554; }
.theme-showcase[data-theme-demo="graphite"] .theme-preview-orb.two { background: #202936; }
.theme-showcase[data-theme-demo="daylight"] .theme-preview { background: #edf1f7; }
.theme-showcase[data-theme-demo="daylight"] .theme-preview-orb.one { background: #9b87ff; }
.theme-showcase[data-theme-demo="daylight"] .theme-preview-orb.two { background: #55cee8; }
.theme-showcase[data-theme-demo="daylight"] .theme-preview-bar { color: rgba(18, 25, 38, .9); background: rgba(255, 255, 255, .66); border-color: rgba(28, 40, 59, .14); }
.theme-showcase[data-theme-demo="daylight"] .theme-preview-content span { border-color: rgba(28, 40, 59, .14); background: linear-gradient(155deg, rgba(255, 255, 255, .9), rgba(139, 123, 255, .2)); }

.privacy { padding: 100px 0 120px; }
.privacy-panel { position: relative; min-height: 500px; padding: 70px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 80px; overflow: hidden; border-radius: 24px; background: var(--surface); }
.privacy-panel::before { content: ""; position: absolute; width: 290px; height: 290px; right: 50px; top: 90px; border: 1px solid var(--stroke); border-radius: 50%; opacity: .35; box-shadow: 0 0 0 50px rgb(var(--panel-rgb) / .018), 0 0 0 100px rgb(var(--panel-rgb) / .01); }
.privacy-copy, .privacy-points { position: relative; z-index: 2; }
.privacy-copy .fine-print { max-width: 540px; margin-top: 23px; color: var(--quiet); font-size: .73rem; line-height: 1.55; }
.privacy-points { display: flex; flex-direction: column; gap: 11px; }
.privacy-points > div { min-height: 82px; padding: 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--surface-soft); box-shadow: inset 0 1px 0 rgb(var(--panel-rgb) / .06); }
.privacy-check { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(88, 231, 165, .26); border-radius: 11px; background: rgba(88, 231, 165, .09); color: #62e6ac; }
.privacy-points p { margin: 0; display: flex; flex-direction: column; }
.privacy-points b { font-size: .86rem; }
.privacy-points small { margin-top: 5px; color: var(--muted); font-size: .7rem; }

.open-source { padding: 100px 0 120px; }
.source-panel { min-height: 440px; padding: 65px 70px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 70px; border-radius: 24px; background: var(--surface); }
.source-actions { margin-top: 28px; display: flex; align-items: center; gap: 22px; }
.text-link { padding: 8px 2px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.text-link:hover { color: var(--text); }
.text-link span { margin-left: 5px; }
.source-facts { border-top: 1px solid var(--stroke); }
.source-facts dl { margin: 0; }
.source-facts dl > div { min-height: 62px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--stroke); }
.source-facts dt { color: var(--quiet); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.source-facts dd { margin: 0; color: var(--text); font-size: .86rem; font-weight: 620; }

.faq { padding: 100px 0 120px; }
.faq-panel { padding: 65px 70px; border-radius: 24px; background: var(--surface); }
.faq-panel details { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--stroke); border-radius: 16px; background: var(--surface-soft); transition: background .3s ease; }
.faq-panel details:hover { background: var(--surface); }
.faq-panel summary { color: var(--text); font-size: 1.05rem; font-weight: 650; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.faq-panel summary::marker { display: none; content: ""; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after { content: "+"; color: var(--quiet); font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform .3s ease; }
.faq-panel details[open] summary::after { transform: rotate(45deg); color: var(--purple); }
.faq-panel p { margin: 16px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.faq-panel code { padding: 3px 6px; border-radius: 6px; background: rgb(var(--panel-rgb) / .08); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

.final-cta { padding: 100px 0 80px; }
.cta-panel { position: relative; min-height: 390px; padding: 70px; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; border-radius: 24px; background: var(--surface); }
.cta-panel > div { position: relative; z-index: 2; }
.cta-panel h2 { font-size: clamp(3rem, 4.4vw, 4.4rem); }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .18; }
.cta-orb.one { width: 400px; height: 400px; left: -130px; top: -210px; background: var(--glow-one); }
.cta-orb.two { width: 420px; height: 420px; right: -170px; bottom: -240px; background: var(--glow-two); }
.cta-actions { min-width: 270px; display: flex; flex-direction: column; gap: 10px; }
.cta-actions .button { justify-content: space-between; }

.site-footer { width: var(--page); min-height: 170px; margin: 0 auto; padding: 35px 4px 60px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 13px 24px; border-top: 1px solid var(--stroke); }
.site-footer > p { margin: 0; color: var(--quiet); font-size: .76rem; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; color: var(--muted); font-size: .75rem; }
.site-footer nav a:hover { color: var(--text); }
.site-footer > small { grid-column: 1 / -1; color: var(--quiet); font-size: .68rem; }

.release-toast, .download-toast { position: fixed; z-index: 150; right: 22px; bottom: 22px; max-width: 330px; padding: 13px 16px; display: flex; align-items: center; gap: 11px; border-radius: 14px; background: var(--nav-bg); transition: opacity .4s ease, transform .4s ease; }
.release-toast > span { width: 8px; height: 8px; border-radius: 10px; background: #ffb85c; box-shadow: 0 0 12px rgba(255, 184, 92, .55); }
.release-toast p { margin: 0; display: flex; flex-direction: column; }
.release-toast b, .download-toast b { font-size: .75rem; }
.release-toast small, .download-toast small { margin-top: 3px; color: var(--muted); font-size: .64rem; }
.download-toast { max-width: 420px; bottom: 90px; }
.download-toast span { background: #58e7a5; box-shadow: 0 0 12px rgba(88, 231, 165, .55); }
.download-toast a { color: var(--text); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
.download-toast a:hover { text-decoration-color: var(--purple); }

.highlight-pulse {
  animation: pulse-border 3.5s ease-out;
}
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0px var(--cyan); background: rgb(var(--cyan-rgb) / .15); }
  15% { box-shadow: 0 0 0 8px transparent; background: rgb(var(--cyan-rgb) / .05); }
  100% { box-shadow: 0 0 0 0px transparent; background: transparent; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --page: min(940px, calc(100vw - 42px)); }
  .hero { min-height: 1040px; grid-template-columns: 1fr; padding-top: 150px; gap: 70px; }
  .hero-copy { max-width: 720px; padding-top: 20px; }
  .hero-stage { width: 820px; margin-left: 3vw; }
  .feature-ai, .feature-preview { grid-column: span 6; }
  .feature-air { grid-column: 3 / span 8; }
  .privacy-panel, .source-panel { padding: 58px; gap: 45px; }
}

@media (max-width: 820px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { width: calc(100vw - 24px); top: 12px; padding-left: 16px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 12px; display: grid; gap: 4px; visibility: hidden; opacity: 0; border: 1px solid var(--stroke); border-radius: 16px; background: var(--menu-bg); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .site-header.menu-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-header.menu-open .menu-button span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.menu-open .menu-button span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav > a:not(.button) { padding: 12px; }
  .site-nav .button { margin-top: 4px; }
  .hero { min-height: auto; padding-top: 142px; padding-bottom: 120px; gap: 65px; }
  .hero-stage { width: 760px; margin-left: 0; transform: scale(.84); transform-origin: left top; margin-bottom: -85px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-notes { align-items: flex-start; flex-direction: column; gap: 16px; }
  .feature-library, .feature-search, .feature-ai, .feature-preview, .feature-air { grid-column: 1 / -1; }
  .feature-air { min-height: 390px; }
  .theme-showcase { grid-template-columns: 1fr; }
  .theme-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .theme-picker button:last-child { grid-column: 1 / -1; }
  .privacy-panel, .source-panel, .faq-panel { grid-template-columns: 1fr; }
  .privacy-panel::before { right: -80px; bottom: 30px; top: auto; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  :root { --page: calc(100vw - 24px); }
  h1 { font-size: clamp(3.15rem, 15vw, 4.4rem); }
  .section-heading h2, .privacy-copy h2, .source-copy h2, .cta-panel h2 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero { display: block; padding-top: 130px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { max-width: 100%; overflow-wrap: normal; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .hero-actions .download-action:first-child { width: 100%; justify-content: center; }
  .compatibility { line-height: 1.5; }
  .hero-stage { width: 100%; margin-top: 65px; margin-bottom: 25px; transform: none; }
  .app-window { width: 100%; height: auto; aspect-ratio: 820 / 574; border-radius: 16px; transform: none; }
  .window-chrome { height: 27px; }
  .traffic-lights { gap: 5px; margin-left: 10px; }
  .traffic-lights i { width: 7px; height: 7px; }
  .app-canvas { height: calc(100% - 27px); }
  .film, .download-section, .features, .themes, .privacy, .open-source { padding-block: 75px; }
  .film-frame { padding: 6px; border-radius: 18px; }
  .film-frame video { border-radius: 13px; }
  .film-frame figcaption { align-items: flex-start; flex-direction: column; gap: 4px; padding: 12px 7px 5px; line-height: 1.45; }
  .download-card { min-height: 360px; padding: 25px; grid-template-columns: 58px 1fr; gap: 0 17px; }
  .chip-icon { width: 58px; height: 58px; border-radius: 17px; }
  .download-card h3 { font-size: 1.4rem; }
  .feature-card, .feature-library, .feature-search, .feature-ai, .feature-preview, .feature-air { min-height: 390px; padding: 26px; }
  .feature-library { min-height: 510px; }
  .feature-library .feature-screenshot { height: 265px; }
  .feature-preview { padding: 26px; }
  .preview-frame { margin: -26px -26px 25px; }
  .feature-ai .feature-copy, .feature-air .feature-copy { left: 26px; right: 26px; bottom: 26px; }
  .library-stack { width: calc(100% - 50px); }
  .library-stack > div:nth-child(1), .library-stack > div:nth-child(3) { transform: none; }
  .theme-showcase { padding: 12px; }
  .theme-preview { min-height: 390px; padding: 15px; }
  .theme-preview-content { gap: 7px; }
  .theme-preview-content span { height: 230px; }
  .theme-preview-bar { grid-template-columns: auto 1fr; }
  .theme-preview-bar em { display: none; }
  .theme-picker { display: flex; }
  .theme-picker button { min-height: 66px; grid-template-columns: 40px 1fr auto; }
  .theme-picker button > i { width: 40px; height: 40px; }
  .privacy-panel, .source-panel, .faq-panel, .cta-panel { padding: 40px 27px; border-radius: 28px; }
  .source-actions { align-items: flex-start; flex-direction: column; }
  .final-cta { padding-top: 75px; }
  .cta-panel { min-height: 580px; }
  .site-footer { padding-bottom: 40px; }
}

@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; }
  .app-window { transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: rgba(255, 255, 255, .78); --quiet: rgba(255, 255, 255, .64); --stroke: rgba(255, 255, 255, .3); }
}
