:root {
    color-scheme: dark;
    --bg: #101724;
    --surface: #192235;
    --surface-raised: #222d42;
    --ink: #f2f5fb;
    --muted: #bac6d9;
    --soft: #8f9fb8;
    --rule: #33415a;
    --accent: #91bcff;
    --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 800px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 78% 15%, #27365180, transparent 55%), radial-gradient(ellipse at 12% 40%, #31304d50, transparent 50%); }
body.modal-open { overflow: hidden; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:is(button, a, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 16px; color: var(--muted); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 43px); letter-spacing: -.025em; }
h3 { font-size: 18px; line-height: 1.4; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 60; padding: 10px 18px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--rule); background: #101724f5; backdrop-filter: blur(16px); }
.nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.brand img { border-radius: 8px; width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links > a:not(.button) { color: var(--muted); text-decoration: none; font-size: 13px; }
.nav-links > a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 19px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #101724; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--rule); }
.button.secondary:hover { border-color: var(--accent); }
.button.small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font: 11px/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero { padding: 56px 0 34px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 42px; }
.hero h1 { font-size: clamp(44px, 5.3vw, 64px); letter-spacing: -.045em; line-height: 1.06; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 44ch; margin: 22px 0; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 15px 0 0; font: 11px/1.8 var(--mono); color: var(--soft); }
.app-window { margin: 0; border: 1px solid var(--rule); border-radius: 9px; overflow: hidden; background: var(--surface); box-shadow: 0 25px 60px #060b1650; }
.window-label { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--rule); color: var(--soft); font: 10px/1.5 var(--mono); letter-spacing: .07em; }
.window-label span:last-child { color: var(--accent); }
.image-link { display: block; cursor: zoom-in; }
.image-link img { width: 100%; }
.app-window figcaption { margin: 0; padding: 10px 14px; color: var(--muted); font-size: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font: 11px/1.6 var(--mono); }
.hero-proof span::before { content: "+"; margin-right: 9px; color: var(--accent); }
.section { padding: 48px 0; border-top: 1px solid var(--rule); }
.section-heading { margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p:not(.eyebrow) { max-width: 65ch; margin: 13px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-number { display: block; color: var(--accent); margin-bottom: 10px; font: 12px var(--mono); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14px; }
.beat-spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; padding: 25px 28px; border: 1px solid #91bcff55; border-radius: 8px; background: linear-gradient(120deg, #91bcff12, var(--surface)); }
.beat-spotlight .eyebrow { margin-bottom: 9px; }
.beat-spotlight h3 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; letter-spacing: -.02em; }
.beat-spotlight p, .beat-spotlight a { font-size: 14px; }
.beat-details { align-self: center; }
.beat-details p { margin: 0; padding: 12px 0; }
.beat-details p + p { border-top: 1px solid var(--rule); }
.beat-details strong { color: var(--ink); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.status { display: inline-block; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 10px; color: var(--accent); font: 11px/1.5 var(--mono); white-space: nowrap; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.gallery-tabs button { min-height: 43px; padding: 9px 15px; border: 1px solid var(--rule); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 13px; }
.gallery-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: #91bcff12; }
.gallery-panel { margin: 0 0 16px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--surface); }
.gallery-panel img { width: 100%; height: 430px; object-fit: contain; background: #111827; }
.iphone-screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 640px; margin: auto; padding: 18px; }
.iphone-screenshots img { border-radius: 14px; }
.gallery-caption { display: flex; justify-content: space-between; gap: 20px; padding: 12px 17px; font-size: 13px; color: var(--muted); }
.gallery-caption span { white-space: nowrap; font: 10px/1.7 var(--mono); color: var(--soft); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; margin: 25px 0 0; padding: 0; list-style: none; gap: 0 30px; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.feature-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }
.demo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.demo-card { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; }
.demo-card:hover { border-color: var(--accent); }
.demo-thumbnail { position: relative; aspect-ratio: 4 / 3; background: #080d17; }
.demo-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.demo-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; padding-left: 3px; border: 1px solid #ffffff70; border-radius: 50%; background: #080d17bb; color: white; font-size: 20px; }
.demo-copy { padding: 18px; }
.demo-copy p { margin: 8px 0 14px; font-size: 13px; }
.demo-copy > span { color: var(--accent); font-size: 12px; }
.more-demos-heading { margin: 28px 0 14px; }
.style-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.style-demo { display: block; border: 1px solid var(--rule); border-radius: 7px; padding: 18px; background: var(--surface); text-decoration: none; color: var(--ink); }
.style-demo:hover { border-color: var(--accent); }
.style-demo small { display: block; color: var(--muted); margin-top: 7px; font-size: 13px; font-weight: 400; }
.style-demo span { float: right; color: var(--accent); }
.style-note { margin: 16px 0 0; color: var(--soft); font-size: 12px; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; }
.privacy-grid .section-heading { margin-bottom: 0; }
.privacy-facts { margin: 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
.privacy-facts > div { padding: 17px 20px; }
.privacy-facts > div + div { border-top: 1px solid var(--rule); }
.privacy-facts dt { margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.privacy-facts dd { margin: 0; color: var(--muted); font-size: 13px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; }
.faq-list { display: grid; gap: 8px; }
details { border: 1px solid var(--rule); border-radius: 7px; background: var(--surface); }
summary { position: relative; padding: 16px 44px 16px 17px; font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 17px; top: 16px; color: var(--accent); }
details[open] > summary::after { content: "−"; }
.details-content { padding: 0 17px 17px; font-size: 14px; color: var(--muted); }
.details-content p:last-child { margin: 0; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 28px; }
.download-panel h2 { font-size: 36px; }
.download-panel p { margin: 10px 0 0; font-size: 14px; }
.download-panel .button { flex-shrink: 0; }
.site-footer { padding: 24px 0; border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer p { margin: 0; color: var(--soft); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
.media-dialog { width: min(1180px, calc(100vw - 36px)); max-height: calc(100dvh - 36px); padding: 48px 0 0; border: 1px solid var(--rule); border-radius: 9px; color: var(--ink); background: var(--bg); }
.media-dialog::backdrop { background: #060b16ee; }
.dialog-close { position: absolute; top: 5px; right: 8px; width: 40px; height: 38px; padding: 0; border: 0; background: transparent; font-size: 27px; }
.media-dialog img, .media-dialog video { display: block; width: 100%; max-height: calc(100dvh - 146px); object-fit: contain; background: #080d17; }
.dialog-caption { padding: 10px 16px 13px; margin: 0; font-size: 13px; }
@media (max-width: 950px) {
    .hero-grid { gap: 26px; }
    .hero h1 { font-size: 50px; }
    .nav-links { gap: 16px; }
    .nav-secondary { display: none; }
    .privacy-grid, .faq-layout { gap: 28px; }
}
@media (max-width: 700px) {
    html { scroll-padding-top: 78px; }
    .container { width: calc(100% - 36px); }
    .nav-inner { min-height: 64px; gap: 12px; }
    .brand { font-size: 20px; gap: 8px; }
    .brand img { width: 30px; height: 30px; }
    .nav-links > a:not(.button) { display: none; }
    .nav-links .button { padding-inline: 12px; font-size: 12px; }
    .hero { padding: 36px 0 27px; }
    .hero-grid, .privacy-grid, .faq-layout { grid-template-columns: 1fr; gap: 26px; }
    .hero h1 { font-size: clamp(44px, 11vw, 60px); }
    .hero-description { font-size: 16px; margin: 18px 0; }
    .hero-proof { gap: 9px 18px; font-size: 10px; margin-top: 25px; }
    .section { padding: 35px 0; }
    .steps { grid-template-columns: 1fr; gap: 22px; }
    .steps article { position: relative; padding-left: 36px; }
    .step-number { position: absolute; left: 0; top: 4px; }
    .gallery-heading { align-items: start; flex-direction: column; gap: 14px; }
    .gallery-tabs button { flex: 1 1 40%; padding-inline: 10px; }
    .gallery-panel img { height: auto; max-height: 320px; }
    .gallery-caption { padding: 11px 13px; font-size: 12px; }
    .gallery-caption span { display: none; }
    .beat-spotlight { grid-template-columns: 1fr; gap: 15px; padding: 22px; margin-top: 25px; }
    .feature-list { grid-template-columns: 1fr; }
    .demo-gallery { grid-template-columns: 1fr; gap: 16px; }
    .style-list { grid-template-columns: 1fr 1fr; gap: 9px; }
    .style-demo { padding: 14px; font-size: 14px; }
    .style-demo small { font-size: 12px; }
    .download-panel { flex-direction: column; align-items: stretch; gap: 22px; padding: 23px; }
    .download-panel h2 { font-size: 32px; }
    .footer-inner { align-items: start; flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* New in 6.0 */
.new-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.new-video .demo-thumbnail { aspect-ratio: 16 / 9; }
.new-list { grid-template-columns: 1fr; margin: 0; }
.new-list li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 950px) {
    .new-grid { grid-template-columns: 1fr; gap: 22px; }
}
