/* Palette follows CaptureTheme.swift. Adjust the site from these tokens. */
:root {
  color-scheme: dark;
  --workspace: #101517;
  --surface: #1c2224;
  --surface-raised: #282e31;
  --border: #343d41;
  --border-subtle: #242d31;
  --text: #f2f4f5;
  --secondary: #a6b0b6;
  --muted: #829199;
  --accent: #38b3e6;
  --accent-hover: #67c8ee;
  --ai-accent: #b594f2;
  --library-accent: #40c2a6;
  --warning: #e0a84a;
  --radius: 8px;
  --content: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--workspace); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
button, input, a { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.6; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; }
h2 { font-size: 46px; }
h3 { font-size: 21px; }
p { color: var(--secondary); }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--surface-raised); padding: 8px 16px; }
.skip-link:focus { top: 8px; }

.site-header { height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 max(28px, calc((100% - 1240px) / 2)); position: sticky; top: 0; z-index: 20; background: rgb(16 21 23 / 88%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; white-space: nowrap; }
.brand img { object-fit: contain; }
.brand-ai { color: var(--accent); padding-left: 5px; font-weight: 400; }
.site-header nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; color: var(--secondary); }
.site-header nav a { padding: 8px 0; transition: color 150ms; }
.site-header nav a:hover { color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 9px; padding: 10px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 550; transition: background 150ms, border-color 150ms; }
.button.small { min-height: 36px; padding: 7px 14px; font-size: 12px; border-radius: 8px; }
.button.accent, .button.dark { background: var(--accent); color: #09232e; }
.button.accent:hover, .button.dark:hover { background: var(--accent-hover); }
.button.ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.button.ghost:hover { background: var(--surface-raised); border-color: #56646b; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; }
.menu-toggle { display: none; }
.eyebrow { font-size: 12px; line-height: 1.5; font-weight: 500; text-transform: none; }
.status-dot { width: 5px; height: 5px; background: var(--ai-accent); border-radius: 50%; }

.hero { height: 764px; position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--workspace); }
.flow-background { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding: 34px 24px 0; pointer-events: none; }
.hero-copy .eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: #c4b0ec; }
.hero h1 { font-size: 80px; font-weight: 550; margin-top: 12px; }
.hero-category { font-size: 24px; margin-top: 4px; color: #d7e2e8; }
.hero-description { font-size: 16px; line-height: 1.5; margin-top: 12px; color: #b1bdc4; }
.hero-description br { display: none; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; pointer-events: auto; }
.hero-gallery { position: absolute; top: 299px; left: 50%; transform: translateX(-50%); width: min(100% - 48px, 980px); height: 424px; display: flex; justify-content: center; align-items: flex-end; gap: 32px; }
.hero-shot { position: relative; display: block; flex-shrink: 0; height: 380px; aspect-ratio: 620 / 1280; padding: 0; border: 0; border-radius: 8px; background: none; overflow: hidden; box-shadow: 0 12px 36px rgb(0 0 0 / 28%); transition: transform 350ms ease, box-shadow 350ms ease; }
.hero-shot.center-shot { height: 424px; }
.hero-shot:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgb(0 0 0 / 35%); }
.hero-shot img { height: 100%; width: 100%; object-fit: contain; }
.hero-footnote { position: absolute; left: 0; bottom: 12px; width: 100%; font-size: 10px; color: #9aaab4; }
.hero-footnote span { padding: 0 10px; }
.image-expand { position: absolute; bottom: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--text); background: rgb(40 46 49 / 94%); border: 1px solid #536168; border-radius: 8px; opacity: .85; transition: opacity 150ms; }
.hero-shot .image-expand { bottom: 9px; right: 9px; width: 27px; height: 27px; opacity: 0; }
.hero-shot .image-expand svg { width: 15px; height: 15px; }
.image-trigger:hover .image-expand, .image-trigger:focus-visible .image-expand { opacity: 1; }
.image-trigger:focus-visible { outline-offset: -4px; }
.capability-strip { display: flex; justify-content: center; align-items: center; gap: 64px; min-height: 78px; padding: 20px 24px; border-block: 1px solid var(--border-subtle); background: var(--surface); }
.capability-strip span { display: flex; align-items: center; gap: 10px; color: #bbc6cc; font-size: 12px; }
.capability-strip svg { width: 18px; height: 18px; }
.capability-strip span:nth-child(1) svg { color: var(--accent); }
.capability-strip span:nth-child(2) svg { color: var(--ai-accent); }
.capability-strip span:nth-child(3) svg { color: var(--warning); }
.capability-strip span:nth-child(4) svg { color: var(--library-accent); }

.section { padding: 80px max(28px, calc((100% - var(--content)) / 2)); }
.section-heading { max-width: 700px; }
.section-heading .eyebrow { color: var(--accent); margin-bottom: 16px; }
.section-heading > p:last-child { margin-top: 20px; max-width: 520px; font-size: 16px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.feature { min-width: 0; border-top: 1px solid var(--border); padding-top: 24px; }
.feature-icon { display: block; width: 26px; height: 26px; margin-bottom: 24px; }
.feature-icon svg { width: 26px; height: 26px; }
.teal { color: var(--accent); }
.blue { color: var(--ai-accent); }
.plum { color: var(--warning); }
.coral { color: var(--library-accent); }
.feature h3 { font-size: 19px; line-height: 1.3; max-width: 240px; }
.feature p { font-size: 13px; line-height: 1.85; margin-top: 14px; }
.feature-number { display: block; margin-top: 24px; font-size: 10px; color: var(--muted); }
.product { background: #171c1f; border-block: 1px solid var(--border-subtle); }
.product-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.product .eyebrow { color: var(--ai-accent); margin-bottom: 16px; }
.product-heading > p { max-width: 390px; justify-self: end; font-size: 15px; }
.product-tabs { display: flex; align-items: center; width: fit-content; max-width: 100%; overflow-x: auto; gap: 4px; padding: 4px; margin-top: 32px; border: 1px solid var(--border); border-radius: 12px; background: #101517; scrollbar-width: thin; }
.product-tabs button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--secondary); font-size: 12px; white-space: nowrap; transition: background 180ms, color 180ms; }
.product-tabs button[aria-selected=true] { color: #cfb9fa; background: #2c2737; border-color: #4c3d64; }
.product-tabs button:hover { color: var(--text); }
.product-tabs svg { width: 17px; height: 17px; }
.product-tabs button:focus-visible { outline-offset: -3px; }
.screen-stage { display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; height: 640px; margin-top: 32px; overflow: hidden; background: #12181a; border-block: 1px solid var(--border-subtle); }
.screen-stage button { position: relative; display: flex; justify-content: center; align-items: center; min-height: 0; min-width: 0; height: 100%; max-width: 100%; width: 100%; padding: 0; border: 0; background: transparent; }
.screen-stage img { width: auto; height: 100%; max-height: 100%; object-fit: contain; }
.panel-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin-top: 28px; }
.panel-caption h3 { font-size: 23px; }
.panel-caption p { font-size: 14px; max-width: 470px; }
.panel-caption > span { grid-column: 1 / -1; font-size: 10px; color: var(--muted); }
.product-panel:not([hidden]) { animation: panel-appear 250ms ease-out; }

.journal-intro { max-width: 740px; }
.journal-intro .eyebrow { color: var(--ai-accent); margin-bottom: 16px; }
.journal-intro > p:not(.eyebrow) { font-size: 17px; max-width: 660px; margin-top: 20px; }
.journal-note { display: block; color: var(--muted); font-size: 11px; margin-top: 16px; }
.journal-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 44px; }
.journal-path article { position: relative; border-top: 1px solid var(--border); padding-top: 28px; }
.step-index { position: absolute; top: 26px; right: 0; font-size: 12px; color: var(--muted); }
.journal-path svg { width: 26px; height: 26px; color: var(--ai-accent); margin-bottom: 20px; }
.journal-path h3 { font-size: 20px; margin-bottom: 16px; }
.journal-path p { font-size: 14px; line-height: 1.85; }
.privacy-line { display: flex; align-items: flex-start; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.privacy-line svg { color: var(--library-accent); }
.privacy-line p { font-size: 12px; max-width: 890px; }
.study { background: var(--surface); border-block: 1px solid var(--border-subtle); }
.study > .eyebrow { color: var(--ai-accent); margin-bottom: 16px; }
.study h2 { font-size: 48px; }
.study-intro { max-width: 520px; font-size: 16px; margin-top: 20px; }
.study-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 44px; }
.study-grid article { border-top: 1px solid var(--border); padding-top: 24px; }
.study-grid svg { width: 26px; height: 26px; color: var(--ai-accent); margin-bottom: 20px; }
.study-grid article:nth-child(2) svg { color: var(--accent); }
.study-grid article:nth-child(3) svg { color: var(--warning); }
.study-grid p { font-size: 14px; margin-top: 14px; }
.accuracy-note { color: var(--muted); font-size: 11px; margin-top: 32px; }
.platforms { border-bottom: 1px solid var(--border-subtle); }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 42px; }
.platform-grid article { border-top: 1px solid var(--border); padding-top: 24px; }
.platform-grid article > svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 20px; }
.platform-grid article:nth-child(2) > svg { color: var(--ai-accent); }
.platform-grid article:nth-child(3) > svg { color: var(--library-accent); }
.platform-grid p { font-size: 14px; margin-top: 16px; max-width: 410px; }
.platform-link { display: flex; align-items: center; gap: 8px; padding: 0; margin-top: 24px; border: 0; background: none; font-size: 13px; color: var(--accent); }
.platform-link:hover { color: var(--accent-hover); }
.questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; background: #171c1f; }
.questions .eyebrow { color: var(--accent); margin-bottom: 16px; }
.questions h2 { font-size: 38px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--muted); transition: transform 180ms; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { font-size: 13px; line-height: 1.85; padding: 0 30px 22px 0; }
.closing { text-align: center; background: var(--workspace); padding: 56px 24px 60px; border-top: 1px solid var(--border-subtle); }
.closing > img { margin: 0 auto 16px; object-fit: contain; }
.closing .eyebrow { color: var(--ai-accent); }
.closing h2 { font-size: 40px; margin: 15px 0 24px; }
.site-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; gap: 32px; padding: 40px max(24px, calc((100% - 1240px) / 2)); border-top: 1px solid var(--border-subtle); font-size: 12px; }
.site-footer .brand { font-size: 19px; }
.site-footer p { font-size: 11px; }
.site-footer a:not(.brand) { color: var(--secondary); }
.draft-label { font-size: 10px; color: var(--muted); }
.footer-identity p { margin-top: 12px; }
.footer-identity .draft-label { display: block; margin-top: 12px; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column h3 { font-size: 13px; margin-bottom: 8px; }
.footer-column a:hover { color: var(--accent); }
.feature-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; margin-top: 22px; }
.feature-link svg { width: 15px; height: 15px; }
.feature-link:hover { color: var(--accent-hover); }
.trust-section { background: #171c1f; border-top: 1px solid var(--border-subtle); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.trust-grid > a { border-top: 1px solid var(--border); padding-top: 24px; }
.trust-grid > a > svg { color: var(--accent); width: 25px; height: 25px; margin-bottom: 20px; }
.trust-grid > a:nth-child(2) > svg { color: var(--ai-accent); }
.trust-grid > a:nth-child(3) > svg { color: var(--library-accent); }
.trust-grid h3 { font-size: 20px; }
.trust-grid p { font-size: 13px; margin-top: 14px; }
.trust-grid span { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; margin-top: 20px; }

/* Inner pages share the homepage chrome without another oversized hero. */
.page-intro { padding: 56px max(28px, calc((100% - var(--content)) / 2)) 42px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--secondary); margin-bottom: 30px; }
.back-link svg { width: 16px; height: 16px; }
.page-intro .eyebrow { color: var(--ai-accent); margin-bottom: 16px; }
.page-intro h1 { font-size: 50px; max-width: 850px; }
.page-intro > p:last-child { max-width: 750px; font-size: 16px; line-height: 1.8; margin-top: 20px; }
.feature-directory { display: flex; gap: 24px; flex-wrap: wrap; padding: 24px max(28px, calc((100% - var(--content)) / 2)); border-block: 1px solid var(--border); background: var(--surface); }
.feature-directory a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--secondary); }
.feature-directory a:hover { color: var(--accent); }
.feature-directory svg { color: var(--accent); width: 18px; height: 18px; }
.feature-detail { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding: 64px max(28px, calc((100% - var(--content)) / 2)); border-bottom: 1px solid var(--border-subtle); scroll-margin-top: 72px; }
.feature-detail:nth-of-type(even) { background: #171c1f; }
.feature-detail .eyebrow { color: var(--accent); margin-bottom: 20px; }
.feature-detail h2 { font-size: 36px; }
.feature-detail p { margin-top: 20px; font-size: 15px; line-height: 1.85; }
.feature-points { padding: 0; margin: 26px 0 0; list-style: none; }
.feature-points li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 14px; color: #c3ced4; }
.feature-points svg { width: 17px; height: 17px; margin-top: 3px; color: var(--library-accent); }
.feature-scope { font-size: 12px !important; color: var(--muted); line-height: 1.8; }
.feature-photo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.feature-photo button { position: relative; padding: 0; border: 0; background: none; max-width: 100%; height: 550px; display: flex; justify-content: center; align-items: center; }
.feature-photo img { height: 100%; max-width: 100%; object-fit: contain; }
.feature-photo figcaption { font-size: 11px; color: var(--muted); }
.feature-outline { padding: 32px 0; border-block: 1px solid var(--border); }
.feature-outline > svg { width: 36px; height: 36px; color: var(--library-accent); margin-bottom: 22px; }
.feature-outline h3 { font-size: 25px; }
.page-end { padding: 64px 28px; text-align: center; }
.page-end h2 { font-size: 34px; margin-bottom: 26px; }
.page-end > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.publication-note { margin: 0 max(28px, calc((100% - var(--content)) / 2)) 28px; padding: 16px 0 16px 18px; border-left: 2px solid var(--warning); color: #ccb590; font-size: 12px; line-height: 1.8; }
.legal-links { display: flex; flex-wrap: wrap; gap: 24px; padding: 0 max(28px, calc((100% - var(--content)) / 2)) 30px; }
.legal-links a { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; }
.legal-links svg { width: 17px; height: 17px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 32px max(28px, calc((100% - var(--content)) / 2)) 64px; border-top: 1px solid var(--border); }
.legal-contents { align-self: start; position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow-y: auto; scrollbar-width: thin; }
.legal-contents summary { cursor: pointer; font-size: 14px; color: var(--text); margin-bottom: 16px; }
.legal-contents nav { display: flex; flex-direction: column; gap: 12px; }
.legal-contents a { color: var(--secondary); font-size: 12px; line-height: 1.7; }
.legal-contents a:hover { color: var(--accent); }
.legal-copy { min-width: 0; }
.legal-copy h2 { font-size: 23px; margin: 40px 0 20px; scroll-margin-top: 96px; }
.legal-copy p, .legal-copy li { font-size: 14px; line-height: 1.95; }
.legal-copy p { margin-bottom: 24px; }
.legal-copy .policy-meta { color: #c7d2d8; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-copy ul { padding-left: 22px; margin-block: 24px; }
.legal-copy li { color: var(--secondary); margin: 16px 0; }
.legal-copy a { color: var(--accent); overflow-wrap: anywhere; }
.website-notice { padding: 42px max(28px, calc((100% - var(--content)) / 2)); background: var(--surface); border-top: 1px solid var(--border); }
.website-notice h2 { font-size: 25px; margin-bottom: 20px; }
.website-notice p { max-width: 850px; font-size: 14px; line-height: 1.9; }
.info-list, .support-sections, .download-list { padding: 0 max(28px, calc((100% - var(--content)) / 2)) 64px; }
.info-list article, .support-sections section { padding: 32px 0; border-top: 1px solid var(--border); }
.info-status { display: block; color: var(--library-accent); font-size: 12px; margin-bottom: 14px; }
.info-status.pending { color: var(--warning); }
.info-list h2, .support-sections h2, .request-section h2, .download-list h2 { font-size: 28px; }
.info-list p, .support-sections p, .request-section p, .download-list p { font-size: 14px; line-height: 1.9; max-width: 850px; margin-top: 18px; }
.text-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.text-links a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); }
.text-links svg { width: 16px; height: 16px; }
.support-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; padding: 0 max(28px, calc((100% - var(--content)) / 2)) 48px; }
.support-contact .eyebrow { color: var(--accent); margin-bottom: 14px; }
.support-contact h2 { font-size: 28px; overflow-wrap: anywhere; }
.support-contact p { font-size: 14px; margin-top: 20px; }
.support-safety { border-left: 1px solid var(--border); padding-left: 32px; }
.support-safety > svg { color: var(--library-accent); width: 28px; height: 28px; margin-bottom: 20px; }
.support-safety h3 { font-size: 23px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-actions [role=status] { width: 100%; margin: 0; min-height: 24px; font-size: 12px; color: var(--library-accent); }
.support-sections ol { padding-left: 22px; margin-top: 24px; }
.support-sections ol li { padding: 6px 0; font-size: 14px; color: var(--secondary); }
.request-section { padding: 24px max(28px, calc((100% - var(--content)) / 2)) 48px; }
.request-section .button { margin-top: 24px; }
.request-section p a { color: var(--accent); overflow-wrap: anywhere; }
.download-list article { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--border); }
.download-list article > svg { color: var(--accent); width: 32px; height: 32px; }

dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; overflow: auto; border: 1px solid #4b575d; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 30px 100px #0009; }
dialog::backdrop { background: rgb(5 8 10 / 80%); backdrop-filter: blur(8px); }
.dialog-close.icon-button { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; background: var(--surface-raised); }
.download-dialog > .eyebrow { color: var(--accent); }
.download-dialog h2 { font-size: 30px; margin: 20px 0; }
.platform-tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.platform-tabs button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--secondary); font-size: 13px; }
.platform-tabs [aria-selected=true] { color: var(--accent); border-color: var(--accent); }
.release-badge { display: inline-block; margin-bottom: 14px; font-size: 11px; color: var(--ai-accent); }
.download-dialog h3 { font-size: 22px; margin-bottom: 15px; }
.download-dialog p { font-size: 14px; }
.platform-note { font-size: 12px !important; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.download-dialog > .button { margin-top: 24px; }
.image-dialog { width: min(1320px, calc(100% - 32px)); padding: 48px 16px 16px; background: var(--workspace); }
.image-dialog img { width: 100%; max-height: calc(100dvh - 145px); object-fit: contain; }
.image-dialog p { font-size: 12px; text-align: center; margin-top: 16px; }
.hero-copy { animation: appear 550ms ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-appear { from { opacity: .4; } to { opacity: 1; } }
.reveal { transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-pending { opacity: 0; transform: translateY(12px); }

@media (min-width: 1700px) {
  .hero-gallery { height: 440px; }
  .hero-shot.center-shot { height: 440px; }
  .hero-shot { height: 400px; }
  .hero { height: 780px; }
}
@media (max-width: 1050px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 20px; }
  .capability-strip { gap: 28px; }
  .section { padding-block: 64px; }
  .feature-grid { gap: 24px; }
  .journal-path, .study-grid { gap: 28px; }
  .questions { gap: 40px; }
}
@media (max-width: 760px) {
  h2 { font-size: 34px; }
  .site-header { height: 64px; gap: 12px; padding-inline: 20px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand img { width: 30px; height: 30px; }
  .site-header > .button { margin-left: auto; }
  .menu-toggle { display: grid; flex-shrink: 0; }
  .site-header nav { display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 16px 24px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--border); }
  .site-header nav[data-open=true] { display: flex; }
  .site-header nav a { padding: 11px 0; }
  .hero { height: 712px; }
  .hero-copy { padding-top: 22px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 54px; margin-top: 12px; }
  .hero-category { font-size: 17px; margin-top: 5px; }
  .hero-description { font-size: 14px; margin-top: 10px; }
  .hero-description br { display: block; }
  .hero-actions { margin-top: 16px; gap: 10px; }
  .hero-actions .button { min-height: 40px; padding: 9px 16px; font-size: 12px; }
  .hero-gallery { top: 260px; width: calc(100% - 36px); height: 416px; gap: 0; }
  .hero-shot.side-shot { display: none; }
  .hero-shot.center-shot { height: 416px; }
  .hero-shot .image-expand { opacity: .9; }
  .hero-footnote { bottom: 12px; font-size: 9px; }
  .capability-strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 104px; gap: 16px 20px; padding: 22px 24px; }
  .capability-strip span { font-size: 10px; gap: 8px; }
  .capability-strip svg { width: 17px; height: 17px; }
  .section { padding: 52px 24px; }
  .section-heading > p:last-child { font-size: 14px; margin-top: 18px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-top: 32px; }
  .feature-icon { margin-bottom: 18px; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 12px; }
  .feature-number { font-size: 9px; }
  .product-heading { grid-template-columns: 1fr; gap: 20px; }
  .product-heading > p { justify-self: start; font-size: 14px; }
  .product-tabs { width: 100%; margin-top: 26px; }
  .product-tabs button { font-size: 11px; padding-inline: 12px; }
  .product-tabs svg { width: 15px; height: 15px; }
  .screen-stage { height: 594px; margin-top: 24px; }
  .screen-stage img { max-width: 100%; }
  .panel-caption { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .panel-caption h3 { font-size: 22px; }
  .panel-caption p { font-size: 13px; }
  .journal-intro > p:not(.eyebrow) { font-size: 14px; }
  .journal-note { font-size: 10px; }
  .journal-path { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .journal-path h3 { font-size: 19px; }
  .journal-path p { font-size: 13px; }
  .privacy-line { margin-top: 30px; }
  .privacy-line p { font-size: 11px; }
  .study h2 { font-size: 36px; }
  .study-intro { font-size: 14px; }
  .study-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .study-grid p { font-size: 13px; }
  .platform-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .questions { grid-template-columns: 1fr; gap: 30px; }
  .questions h2 { font-size: 32px; }
  .faq-list summary { font-size: 13px; padding-block: 20px; }
  .closing h2 { font-size: 32px; }
  .site-footer { gap: 16px; padding: 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer p { width: auto; }
  .draft-label { margin-left: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-intro { padding: 36px 24px 32px; }
  .page-intro h1 { font-size: 36px; }
  .page-intro > p:last-child { font-size: 14px; }
  .back-link { margin-bottom: 24px; }
  .feature-directory { padding: 20px 24px; gap: 18px 24px; }
  .feature-directory a { font-size: 12px; }
  .feature-detail { grid-template-columns: 1fr; gap: 32px; padding: 44px 24px; }
  .feature-detail h2 { font-size: 30px; }
  .feature-detail p { font-size: 14px; }
  .feature-points li { font-size: 13px; }
  .feature-photo button { height: 530px; }
  .publication-note { margin: 0 24px 24px; }
  .legal-links { padding: 0 24px 24px; gap: 16px; }
  .legal-layout { grid-template-columns: 1fr; gap: 26px; padding: 26px 24px 40px; }
  .legal-contents { position: static; max-height: none; overflow: visible; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
  .legal-copy h2 { font-size: 22px; }
  .legal-copy p, .legal-copy li { font-size: 13px; }
  .website-notice { padding: 32px 24px; }
  .info-list, .support-sections, .download-list { padding: 0 24px 40px; }
  .info-list h2, .support-sections h2, .request-section h2, .download-list h2 { font-size: 25px; }
  .support-contact { grid-template-columns: 1fr; gap: 28px; padding: 0 24px 36px; }
  .support-contact h2 { font-size: 22px; }
  .support-safety { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
  .request-section { padding: 16px 24px 32px; }
  .contact-actions .button { font-size: 12px; padding-inline: 14px; }
  .page-end h2 { font-size: 28px; }
  .download-list article { gap: 16px; grid-template-columns: 36px minmax(0, 1fr); }
  .download-dialog { padding: 28px 24px; }
  .download-dialog h2 { font-size: 27px; }
  .image-dialog { width: calc(100% - 20px); padding-inline: 10px; }
}
@media (max-width: 370px) {
  .site-header { padding-inline: 16px; gap: 10px; }
  .site-header > .button { font-size: 11px; padding-inline: 10px; }
  .site-header > .button svg { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-category { font-size: 16px; }
  .feature-grid { gap: 28px 16px; }
  .screen-stage { height: 510px; }
  .feature-photo button { height: 480px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .hero { height: 566px; }
  .hero-copy { padding-top: 24px; }
  .hero h1 { font-size: 64px; }
  .hero-category { font-size: 21px; }
  .hero-description { margin-top: 8px; font-size: 15px; }
  .hero-actions { margin-top: 14px; }
  .hero-gallery { top: 264px; height: 265px; }
  .hero-shot.center-shot { height: 265px; }
  .hero-shot { height: 240px; }
}
@media (max-height: 740px) and (max-width: 760px) {
  .hero { height: 594px; }
  .hero-copy { padding-top: 16px; }
  .hero h1 { font-size: 48px; margin-top: 8px; }
  .hero-description { font-size: 13px; margin-top: 8px; }
  .hero-actions { margin-top: 12px; }
  .hero-gallery { top: 226px; height: 332px; }
  .hero-shot.center-shot { height: 332px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

/* Show the original desktop and phone frames without cropping their app UI. */
.hero-platforms-narrow { display: none; }
.hero-gallery { width: min(100% - 48px, 1100px); gap: 24px; align-items: center; }
.hero-shot.desktop-shot { width: min(74%, 760px); height: auto; aspect-ratio: 2394 / 1494; }
.hero-shot.phone-shot { height: 380px; aspect-ratio: 1290 / 2796; }
.desktop-panel .screen-stage { height: auto; aspect-ratio: 2394 / 1494; }
.desktop-panel .screen-stage img { width: 100%; height: auto; max-height: 100%; }
@media (min-height: 801px) and (min-width: 761px) {
  .hero { height: 824px; }
  .hero-gallery { top: 330px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .hero-shot.desktop-shot { width: min(74%, 425px); }
  .hero-shot.phone-shot { height: 265px; }
}
@media (max-width: 760px) {
  .hero { height: 562px; }
  .hero-gallery { top: 292px; height: 224px; width: calc(100% - 32px); }
  .hero-shot.desktop-shot { width: 100%; max-width: 358px; }
  .hero-shot.phone-shot { display: none; }
  .hero-footnote { bottom: 20px; }
  .hero-platforms-wide { display: none; }
  .hero-platforms-narrow { display: inline; }
}
@media (max-width: 370px) {
  .hero { height: 536px; }
  .hero-gallery { top: 274px; height: 204px; }
}

/* Complete app screenshots, kept uncropped and labeled by platform. */
.app-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}
.app-gallery figure{margin:0;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0}
.app-gallery .image-trigger{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in}
.app-gallery img{width:100%;height:390px;object-fit:contain;display:block}
.app-gallery figcaption{display:flex;flex-direction:column;gap:6px;margin-top:16px;font-size:.9rem;line-height:1.5}
.app-gallery figcaption span{font-size:.8rem;color:var(--secondary)}
@media(max-width:900px){.app-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.app-gallery{grid-template-columns:1fr}.app-gallery img{height:440px}}
