/* /about — the marketing page. Screenshot-led: the pictures are the decoration, the CSS stays out of
   their way. Colours come from theme.css tokens only (web/app/test/css-tokens.test.js); the CSP forbids
   inline styles, web fonts and video. Pictures are built by web/scripts/about-images.sh. */
.about-page { padding: 0; overflow-x: hidden; }
.about-page .about-wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.about-page h1, .about-page h2, .about-page h3, .about-page p { margin: 0; }
.about-page h1 { font-size: clamp(46px, 6.2vw, 86px); line-height: 1; letter-spacing: -0.04em; font-weight: 760; }
.about-page h2 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 720; }
.about-page h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; color: var(--text-primary); }
.about-page p { line-height: 1.58; }
.about-page a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; left: 16px; top: -80px; padding: 12px 16px; border-radius: var(--radius-row); background: var(--bg-elevated); }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.about-header { border-bottom: 1px solid var(--separator); }
.about-nav { width: min(100% - 48px, 1120px); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: var(--shadow-chrome); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.nav-link:hover { color: var(--text-primary); text-decoration: none; }
.nav-open { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 15px; background: var(--bg-secondary); color: var(--text-primary); border-radius: var(--radius-row); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-open:hover { text-decoration: none; background: var(--fill-3); }

/* shared pieces: section heads, buttons, the two frames */
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.section-head > p:last-child { margin-top: 18px; font-size: 18px; color: var(--text-secondary); }
.about-page .btn { font-size: 16px; white-space: nowrap; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 600; }
.phone { position: relative; margin: 0; border: 6px solid var(--bg-elevated); border-radius: 42px; overflow: hidden; background: var(--bg-elevated); box-shadow: 0 0 0 1px var(--separator), var(--shadow-chrome); }
.phone img { display: block; width: 100%; height: auto; }
.window { margin: 0; border: 1px solid var(--separator); border-radius: 18px; overflow: hidden; background: var(--bg-elevated); box-shadow: var(--shadow-chrome); }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--separator); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--fill-3); }
.window-url { flex: 1; max-width: 420px; margin-inline: auto; padding: 5px 12px; border-radius: 8px; background: var(--fill-1); color: var(--text-secondary); font-family: var(--font-mono); font-size: 13px; text-align: center; }
.window-url + * { margin-right: 51px; }
.window img { display: block; width: 100%; height: auto; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: 56px 72px; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent); font-size: 13px; font-weight: 650; }
.pill:hover { text-decoration: none; background: var(--accent-fill); }
.pill-sep { opacity: .55; }
.hero h1 { margin-top: 26px; }
.hero-deck { max-width: 520px; margin-top: 24px !important; font-size: clamp(18px, 1.9vw, 22px); color: var(--text-secondary); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 34px; }
.platform-line { margin-top: 30px !important; font-size: 13px; color: var(--text-secondary); }
.platform-line span { padding-inline: 4px; }
.hero-art { position: relative; display: flex; justify-content: center; min-width: 0; }
.hero-art::before { content: ''; position: absolute; z-index: 0; inset: 12% 4% 4%; border-radius: 50%; background: var(--accent-tint); filter: blur(40px); }
.hero-phone { z-index: 1; width: min(100%, 340px); }

/* share */
.share-section { padding-block: 88px 96px; background: var(--bg-secondary); }
.share-stage { position: relative; margin-top: 44px; }
.phone-overlay { position: absolute; z-index: 2; right: 3.5%; bottom: -44px; width: 190px; border-width: 5px; border-radius: 30px; }
.share-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 84px 0 0; padding: 0; list-style: none; }
.share-steps li { min-width: 0; margin: 0; padding-top: 18px; border-top: 1px solid var(--separator); }
.step-number { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.share-steps h3 { margin-top: 10px; }
.share-steps p { margin-top: 6px; font-size: 15.5px; color: var(--text-secondary); }

/* bento */
.bento-section { padding-block: 96px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "list save search" "list follow follow"; gap: 18px; margin-top: 44px; }
.tile { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--separator); border-radius: var(--radius-card); background: var(--bg-elevated); overflow: hidden; }
.tile-list { grid-area: list; }
.tile-save { grid-area: save; }
.tile-search { grid-area: search; }
.tile-follow { grid-area: follow; }
.tile-art { overflow: hidden; background: var(--bg-secondary); }
.tile-art img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: top; }
.tile-list .tile-art { flex: 1; }
.tile-list .tile-art img { height: 100%; min-height: 420px; }
.tile-follow .tile-art img { height: 270px; object-position: center; }
.tile-save .tile-art img { object-position: bottom; }   /* the photo strip is the point: keep it whole */
.tile h3 { padding: 20px 22px 0; }
.tile p { padding: 6px 22px 22px; font-size: 15px; color: var(--text-secondary); }

/* assistants */
.assist-section { padding-block: 96px 104px; border-top: 1px solid var(--separator); }
.assist-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
.assist-copy h2 { margin-top: 14px; }
.assist-copy > p:not(.eyebrow):not(.assist-also) { max-width: 540px; margin-top: 20px; font-size: 18px; color: var(--text-secondary); }
.assist-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.assist-also { margin-top: 14px !important; font-size: 14px; }
.assist-also a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.assist-also a:hover { color: var(--text-primary); }
.quiet-note { display: flex; gap: 14px; max-width: 440px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--separator); color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.quiet-note > span:first-child { color: var(--accent); font-size: 23px; line-height: 1; }
.assist-art { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; margin: 0; }
.assist-phone { width: min(100%, 320px); }
.assist-art figcaption { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* devices */
.devices-section { padding-block: 88px 96px; background: var(--bg-secondary); }
.devices { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; margin-top: 44px; }
.device { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; }
.device .shot { height: 440px; border: 1px solid var(--separator); border-radius: 18px; overflow: hidden; background: var(--bg-elevated); box-shadow: var(--shadow-chrome); }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device-ipad img { object-position: center top; }
.device figcaption { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.platform-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.platform-grid span, .platform-grid a { padding: 12px 18px; border: 1px solid var(--separator); border-radius: var(--radius-bar); background: var(--bg-elevated); color: var(--text-primary); font-size: 15px; font-weight: 600; }
.platform-grid a { color: var(--accent); }
.platform-grid a:hover { text-decoration: none; background: var(--accent-tint); }

/* download, footer */
.download-section { text-align: center; padding-block: 80px 104px; }
.download-icon { border-radius: 17px; box-shadow: var(--shadow-chrome); }
.download-section h2 { margin-top: 20px; }
.download-section > p { margin-top: 14px; font-size: 18px; color: var(--text-secondary); }
.download-actions { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.download-link { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 168px; min-height: 50px; padding: 8px 20px; border-radius: var(--radius-bar); background: var(--bg-secondary); color: var(--text-primary); font-size: 16px; font-weight: 650; line-height: 1.25; }
.download-link span { font-size: 11px; color: var(--text-secondary); font-weight: 400; }
.download-link:hover { text-decoration: none; background: var(--fill-3); }
.about-footer { padding-block: 28px; border-top: 1px solid var(--separator); }
.about-footer .about-wrap, .about-footer .about-wrap > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.about-footer .about-wrap { justify-content: space-between; }
.about-footer span { font-size: 13px; font-weight: 600; }
.about-footer a { font-size: 13px; color: var(--text-secondary); }

/* reveal on scroll: CSS only, static everywhere it is unsupported or unwanted.
   Scrubbed by the scroll, never played at the reader. The range is where the eye is: a section
   starts rising once a fifth of it has entered and settles when it is 90% in — the first cut
   (entry 0–35%) finished at the bottom edge of the window, where nobody looks, and read as "off"
   (owner, 2026-10-09). It never starts fully invisible, so a slow scroll leaves no blanks. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .reveal { animation: rise ease-out both; animation-timeline: view(); animation-range: entry 20% entry 90%; }
        @keyframes rise { from { opacity: 0.12; transform: translateY(28px); } }
    }
}

@media (max-width: 760px) {
    .about-page .about-wrap, .about-nav { width: min(100% - 36px, 560px); }
    .about-nav { min-height: 68px; }
    .brand span { display: none; }
    .nav-link { display: none; }
    .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 64px; }
    .hero h1 { margin-top: 22px; }
    .hero-deck { margin-top: 20px !important; }
    .hero-actions { margin-top: 26px; }
    .platform-line { margin-top: 22px !important; }
    .hero-phone { width: 250px; }
    .section-head > p:last-child { font-size: 17px; }
    .share-section, .devices-section { padding-block: 64px 72px; }
    .share-stage { margin-top: 32px; }
    .phone-overlay { display: none; }
    .window-url + * { margin-right: 0; }
    .share-steps { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
    .bento-section { padding-block: 68px; }
    .bento { grid-template-columns: 1fr; grid-template-areas: "list" "save" "search" "follow"; gap: 14px; margin-top: 32px; }
    .tile-art img, .tile-follow .tile-art img { height: 230px; }
    .tile-list .tile-art img { height: 320px; min-height: 0; }
    .assist-section { padding-block: 68px 72px; }
    .assist-inner { grid-template-columns: 1fr; gap: 40px; }
    .assist-phone { width: 260px; }
    .devices { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .device .shot { height: 300px; }
    .platform-grid { margin-top: 28px; }
    .download-section { padding-block: 56px 84px; }
    .download-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 380px) {
    .about-page .about-wrap, .about-nav { width: calc(100% - 28px); }
    .nav-open { padding-inline: 10px; font-size: 13px; }
    .hero h1 { font-size: 42px; }
    .hero-phone { width: 230px; }
}
