/* AgeMile V9 — one readable presentation system. No reveal delays or moving UI. */
:root { --navy:#071727; --surface:#10283d; --ink:#f5f8fc; --muted:#b5c8d9; --line:#365168; --cyan:#91e2db; --action:#1474e5; --paper:#f3f7f9; --paper-muted:#425d71; }
.page-v9 { font-size:18px; line-height:1.7; }
.page-v9 .container { width:min(1280px,calc(100% - 96px)); }
.page-v9 h1,.page-v9 h2,.page-v9 h3 { letter-spacing:-.045em; }
.page-v9 main :is(section,article,div) { min-width:0; }
.page-v9 :is(h1,h2,h3,p,strong,button,a,summary) { overflow-wrap:anywhere; }
.page-v9 h2 { font-size:clamp(2.25rem,3.5vw,3rem); line-height:1.15; }
.page-v9 .eyebrow { font-size:1rem; line-height:1.5; letter-spacing:.1em; color:#98ddd7; }
.page-v9 .button { min-height:54px; padding:14px 22px; font-size:1rem; line-height:1.5; border-radius:12px; gap:10px; }
.page-v9 .button-primary { background:#0f6fdf; border-color:#368af1; box-shadow:0 3px 0 #02142d33; }
.page-v9 .button-primary:hover { background:#0865d3; border-color:#76b6ff; }
.page-v9 .button-secondary { border-color:#5c778f; background:#10283d50; }
.page-v9 .button-secondary:hover { background:#17364e; border-color:#9cb9cf; }
.page-v9 .text-button { font-size:1rem; line-height:1.5; min-height:44px; text-underline-offset:5px; }
.page-v9 .actions { gap:14px; }
.page-v9 :is(button,a,summary,input,textarea,select):focus-visible { outline:3px solid #79ded5; outline-offset:4px; }
.page-v9 .site-header { height:100px; background:#071727; }
.page-v9 .header-inner { position:relative; gap:28px; }
.page-v9 .brand-lockup { display:flex; flex-direction:column; gap:3px; }
.page-v9 .brand-lockup img { width:177px; }
.page-v9 .brand-lockup > span { font-size:1rem; padding-left:47px; line-height:1.35; letter-spacing:0; color:#b5cbdc; }
.page-v9 .site-header nav { gap:26px; }
.page-v9 .site-header nav > a:not(.button) { font-size:1rem; color:#c2d3e0; }
.page-v9 .site-header nav > .button { font-size:1rem; min-height:48px; padding:11px 18px; }

/* Equal widths, shared row tracks, identical top and bottom baselines. */
.page-v9 .hero-v9 { position:relative; isolation:isolate; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); align-items:center; gap:56px; min-height:0; padding-block:68px 80px; }
.hero-atmosphere { position:absolute; inset:0; overflow:hidden; z-index:-1; pointer-events:none; contain:paint; }
.hero-atmosphere::before,.hero-atmosphere::after { content:''; position:absolute; border-radius:50%; pointer-events:none; }
.hero-atmosphere::before { width:640px; height:640px; right:-80px; top:-20px; background:radial-gradient(ellipse,#205f9828,transparent 67%); animation:ambient-breathe 18s ease-in-out infinite alternate; }
.hero-atmosphere::after { width:430px; height:430px; right:20%; bottom:-160px; background:radial-gradient(ellipse,#2e9f9d15,transparent 68%); animation:ambient-drift 24s ease-in-out infinite alternate; }
@keyframes ambient-breathe { from { opacity:.48; transform:translate3d(0,0,0) scale(.96); } to { opacity:.9; transform:translate3d(-12px,8px,0) scale(1.04); } }
@keyframes ambient-drift { from { opacity:.45; transform:translate3d(0,12px,0); } to { opacity:.85; transform:translate3d(16px,-12px,0); } }
.page-v9 .hero-copy { min-width:0; max-width:580px; }
.page-v9 .hero-v9 h1 { font-size:clamp(3.3rem,4.7vw,4.5rem); line-height:1.04; letter-spacing:-.055em; margin-top:24px; }
.page-v9 .hero-v9 h1 > span { display:block; font-size:clamp(1.65rem,2.2vw,2rem); line-height:1.3; letter-spacing:-.035em; color:#a0e7de; margin-top:24px; max-width:440px; }
.page-v9 .hero-description { font-size:1.125rem; line-height:1.75; max-width:490px; margin-top:28px; color:#bdcedc; }
.page-v9 .hero-description strong { color:#f0f7fb; font-weight:500; }
.page-v9 .hero .actions { margin-top:32px; gap:12px; }
.page-v9 .hero .button { font-size:1rem; padding-inline:19px; }
.page-v9 .hero-cta-note { font-size:1rem; line-height:1.6; color:#aec5d6; margin-top:18px; }
.page-v9 .hero-product-preview { min-width:0; width:100%; }
.hero-screens { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto minmax(356px,1fr) auto; column-gap:20px; align-items:stretch; }
.app-preview { display:grid; grid-template-rows:subgrid; grid-row:span 3; min-width:0; margin:0; border:1px solid #416079; border-radius:23px; overflow:hidden; background:#0d2439; box-shadow:0 20px 50px #020b172b; }
.preview-card-head { display:flex; align-items:center; gap:11px; padding:20px; min-height:91px; background:#10283de6; border-bottom:1px solid #42607970; }
.preview-dot { width:7px; height:7px; flex-shrink:0; border-radius:50%; background:#9ce6d8; }
.preview-card-head p { font-size:1rem; letter-spacing:.1em; line-height:1.4; color:#a8c9da; }
.page-v9 .preview-card-head h2 { font-size:1.35rem; line-height:1.35; letter-spacing:-.03em; margin-top:3px; }
.preview-stage { min-width:0; min-height:356px; position:relative; }
.preview-body-stage { display:flex; align-items:center; justify-content:center; padding:0; width:100%; background:#0a1e33; cursor:zoom-in; }
.preview-body-stage img { display:block; width:100%; height:100%; object-fit:contain; }
.preview-night-stage { display:flex; flex-direction:column; align-items:center; padding:17px; gap:14px; background:#082039 url('/assets/night-sky-app-v8.webp') center 43% / cover no-repeat; }
.night-orb { width:138px; height:138px; flex-shrink:0; object-fit:contain; margin:0 auto; }
.night-conversation { padding:16px; border:1px solid #5483a2; border-radius:15px; background:#09253aee; margin-top:auto; width:100%; }
.night-speaker { display:flex; align-items:center; gap:8px; color:#9fe8de; font-size:1rem; font-weight:500; line-height:1.4; }
.night-speaker .coach-avatar { width:30px; height:30px; }
.night-speaker .coach-avatar > img { width:90px; height:90px; top:-1px; }
.page-v9 .night-conversation p { color:#f1f8fc; font-size:1rem; line-height:1.65; margin-top:10px; }
.preview-card-foot { display:flex; align-items:center; padding:14px 20px; min-height:70px; border-top:1px solid #41607970; }
.preview-card-foot a,.preview-card-foot button { display:flex; align-items:center; min-height:42px; color:#a8e8df; background:transparent; padding:0; font-size:1rem; line-height:1.5; text-align:left; }
.preview-card-foot a:hover,.preview-card-foot button:hover { text-decoration:underline; text-underline-offset:5px; }
.hero-preview-caption { font-size:1rem; line-height:1.6; color:#a8bfd2; margin-top:15px; padding-inline:2px; }

/* A common rhythm and readable measure across every section. */
.page-v9 .sources-section,.page-v9 .product-section,.page-v9 .longevity-section,.page-v9 .channels-v9 { padding-block:88px; }
.page-v9 .sources-section { border-top:1px solid #30485b; }
.page-v9 .sources-heading,.page-v9 .section-heading { display:grid; grid-template-columns:1.12fr .88fr; align-items:end; gap:64px; margin-bottom:40px; }
.page-v9 .sources-heading h2,.page-v9 .section-heading h2 { font-size:clamp(2.25rem,3.5vw,3rem); line-height:1.17; margin-top:18px; }
.page-v9 .sources-heading > p,.page-v9 .section-heading > p { font-size:1.125rem; line-height:1.75; max-width:490px; color:#b9ccdc; margin:0; padding:0; }
.page-v9 .sources-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.page-v9 .source-card { min-width:0; border:1px solid #35536c; border-radius:20px; background:linear-gradient(125deg,#112e43,#0c2336); padding:32px; }
.page-v9 .source-card .source-icon { display:grid; place-items:center; float:right; width:46px; height:46px; border:1px solid #43727d; background:#183b47; border-radius:13px; margin:0 0 18px 20px; color:#9ce6dc; }
.page-v9 .source-card h3 { font-size:1.55rem; line-height:1.3; margin:0; max-width:calc(100% - 68px); }
.page-v9 .source-card .capability-label { display:block; font-size:1rem; line-height:1.55; letter-spacing:0; color:#9ce0d6; margin-top:10px; padding:0; min-height:0; }
.page-v9 .source-card > p { font-size:1.125rem; line-height:1.75; color:#bdcfdd; margin-top:22px; clear:both; }
.page-v9 .source-card > .source-detail { font-size:1rem; color:#9ddbd6; border:0; padding:0; margin-top:12px; }
.page-v9 .sources-actions { display:flex; gap:16px; flex-wrap:wrap; margin-top:32px; }

/* The demo is a calm, readable conversation, with one identity throughout. */
.page-v9 .demo-section { padding-block:88px; background:#f3f7f9; color:#0a263b; }
.page-v9 .demo-section .eyebrow { color:#246b72; }
.page-v9 .demo-section .section-heading > p { color:#435e72; }
.page-v9 .scenario-tabs { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:40px; border:0; }
.page-v9 .scenario-tabs button { font-size:1rem; line-height:1.5; min-height:52px; padding:13px 19px; border:1px solid #a8bdca; border-radius:11px; background:transparent; color:#22465e; }
.page-v9 .scenario-tabs button[aria-selected=true] { color:#fff; background:#123b56; border-color:#123b56; }
.page-v9 .demo-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:start; gap:64px; }
.page-v9 .demo-copy { padding-top:12px; min-width:0; }
.page-v9 .demo-copy h3 { font-size:2rem; line-height:1.2; max-width:480px; margin-top:18px; }
.page-v9 .demo-copy .section-lead { font-size:1.125rem; line-height:1.75; margin-top:24px; max-width:480px; color:#3b586e; letter-spacing:0; }
.page-v9 .outcome-preview { display:flex; gap:16px; margin-top:30px; padding-block:25px; border-block:1px solid #c5d5df; }
.page-v9 .outcome-preview svg { width:25px; margin-top:2px; color:#266a71; }
.page-v9 .outcome-preview strong { font-size:1.125rem; line-height:1.55; color:#15394f; display:block; }
.page-v9 .outcome-preview p { font-size:1rem; line-height:1.75; margin-top:10px; color:#4a6275; }
.page-v9 .demo-copy .demo-boundary { font-size:1rem; line-height:1.7; color:#516c7d; margin-top:24px; max-width:480px; }
.page-v9 .scenario-cta { margin-top:26px; }
.page-v9 .demo-console { min-height:0; border-radius:22px; border-color:#365771; background:#081d30; box-shadow:0 18px 50px #14344913; }
.page-v9 .console-header { display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px; padding:24px; }
.page-v9 .identity { display:flex; align-items:center; gap:12px; min-width:0; }
.page-v9 .identity strong { font-size:1.125rem; line-height:1.4; }
.page-v9 .identity span:not(.coach-avatar) { font-size:1rem; line-height:1.5; max-width:none; color:#b1cadc; }
.coach-avatar { display:inline-block; position:relative; width:48px; height:48px; flex-shrink:0; border-radius:50%; border:1px solid #47788d; background:#1b3e53; overflow:hidden; }
.coach-avatar > img,.identity .coach-avatar > img,.whatsapp-header .coach-avatar > img { display:block; position:absolute; width:140px; height:140px; max-width:none; top:-2px; left:50%; transform:translateX(-46%); object-fit:contain; }
.page-v9 .example-badge { font-size:1rem; line-height:1.5; color:#b6cedf; max-width:none; white-space:normal; text-align:left; }
.page-v9 .conversation { display:flex; flex-direction:column; padding:26px 24px 8px; gap:20px; max-height:640px; overflow:auto; scrollbar-color:#577e99 #0b2236; }
.page-v9 .message { font-size:1.0625rem; line-height:1.75; padding:16px 18px; max-width:94%; }
.page-v9 .message.user { background:#18598d; }
.page-v9 .message.assistant { background:#18354c; color:#eef5fa; }
.page-v9 .message .speaker,.page-v9 .message.booking > .speaker,.page-v9 .message.context > .speaker { font-size:1rem; letter-spacing:.04em; line-height:1.6; color:#9ae0d9; margin-bottom:7px; }
.page-v9 .message.booking,.page-v9 .message.context { padding:18px; }
.page-v9 .message.booking > p,.page-v9 .message.context > p { font-size:1rem; line-height:1.7; }
.page-v9 .demo-controls { padding:22px 24px 26px; gap:10px; }
.page-v9 .demo-controls button { font-size:1rem; line-height:1.55; min-height:48px; padding:12px 15px; border-color:#688da7; }
.page-v9 .demo-plan { margin:0 24px 24px; padding:24px; }
.page-v9 .demo-plan h4 { font-size:1.25rem; line-height:1.5; margin-block:6px 16px; }
.page-v9 .demo-plan > span,.page-v9 .demo-plan .plan-phase { font-size:1rem; line-height:1.6; }
.page-v9 .demo-plan .plan-steps { padding-left:22px; }
.page-v9 .demo-plan .plan-steps li { font-size:1rem; line-height:1.8; margin-top:12px; }
.page-v9 .demo-plan .plan-reason { font-size:1rem; line-height:1.7; margin-top:18px; }
.page-v9 .demo-plan .plan-actions { gap:12px; margin-top:22px; }
.page-v9 .demo-plan .plan-actions .button { font-size:1rem; min-height:48px; }
.page-v9 .console-footer { font-size:1rem; line-height:1.6; padding:18px 24px; gap:20px; }
.page-v9 .console-footer > span { max-width:none; }
.page-v9 .console-footer .reset-button { font-size:1rem; line-height:1.5; min-height:44px; white-space:nowrap; }
.page-v9 .story-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid #bfd1dc; padding-top:32px; margin-top:40px; }
.page-v9 .story-cta strong { font-size:1.35rem; line-height:1.4; }
.page-v9 .story-cta p { font-size:1.125rem; color:#4a6578; margin-top:7px; }
.page-v9 .story-cta > .button { flex-shrink:0; }

/* Genuine app captures: no faux widgets, distortion, or cropping. */
.page-v9 .product-section { border-top:0; border-bottom:1px solid #30485b; }
.app-captures { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto auto 1fr auto auto; gap:0 24px; }
.app-capture { display:grid; grid-row:span 5; grid-template-rows:subgrid; border:1px solid #365771; border-radius:22px; padding:30px; background:linear-gradient(140deg,#102d43,#0a2034); min-width:0; overflow:hidden; }
.capture-heading { padding-bottom:26px; }
.page-v9 .capture-heading h3 { font-size:1.8rem; line-height:1.3; margin-top:14px; }
.capture-heading > p:last-child { font-size:1.125rem; line-height:1.7; color:#b7cddd; margin-top:16px; max-width:470px; }
.capture-tabs { display:flex; flex-wrap:wrap; gap:10px; padding-bottom:22px; align-items:start; }
.capture-tabs button { min-height:46px; padding:10px 18px; border:1px solid #64839a; border-radius:10px; background:transparent; color:#c8dce9; font-size:1rem; line-height:1.5; }
.capture-tabs button[aria-selected=true] { background:#dff3f7; border-color:#dff3f7; color:#0c2a40; font-weight:600; }
.capture-tab-spacer { min-height:68px; }
.capture-image-stage { min-height:0; display:flex; justify-content:center; align-items:center; background:#081b2e; border-radius:16px; border:1px solid #31516b; overflow:hidden; }
.real-screen-button { display:flex; align-items:center; justify-content:center; position:relative; padding:0; margin:0 auto; width:100%; height:570px; border:0; background:transparent; cursor:zoom-in; }
.real-screen-button > img { display:block; width:100%; height:100%; object-fit:contain; margin:0; }
.capture-expand { display:block; min-height:48px; margin:18px auto 0; padding:10px 0; background:transparent; color:#a4e3db; text-decoration:underline; text-underline-offset:5px; font-size:1rem; line-height:1.5; }
.capture-caption { font-size:1rem; line-height:1.7; text-align:center; color:#adc6d7; margin-top:4px; }
.capture-dialog { width:min(820px,calc(100% - 32px)); padding:32px; }
.page-v9 .capture-dialog h2 { font-size:2rem; padding-right:48px; }
.page-v9 .capture-dialog > p:not(.eyebrow) { font-size:1rem; line-height:1.75; }
.capture-dialog > img { display:block; width:min(100%,600px); height:auto; margin:28px auto 0; border-radius:16px; }

.page-v9 .longevity-section { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; border-bottom:1px solid #30485b; }
.page-v9 .longevity-section h2 { font-size:clamp(2.25rem,3.5vw,3rem); line-height:1.17; margin-top:18px; }
.research-intro { font-size:1.125rem; line-height:1.8; max-width:530px; color:#bdcfdd; margin-top:26px; }
.research-proof { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:24px; }
.research-proof > div { border-left:1px solid #658593; padding-left:24px; }
.research-proof strong { display:block; color:#a2e6db; font-size:clamp(2.5rem,3.8vw,3.5rem); font-weight:500; line-height:1.2; letter-spacing:-.05em; }
.research-proof span { display:block; color:#c5d9e6; font-size:1.125rem; line-height:1.65; margin-top:16px; }
.page-v9 .longevity-copy .research-detail { margin-top:30px; border-top:1px solid #35556a; padding-top:22px; }
.page-v9 .research-detail > summary { font-size:1rem; line-height:1.6; color:#a8e3dd; cursor:pointer; padding-block:6px; }
.page-v9 .research-detail > p,.page-v9 .research-detail > a { font-size:1rem; line-height:1.8; margin-top:18px; color:#b7cede; }
.page-v9 .research-detail > a { display:inline-block; color:#a2e3db; text-decoration:underline; text-underline-offset:5px; }
.page-v9 .channels-v9 { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }
.page-v9 .channel-copy h2 { font-size:clamp(2.25rem,3.5vw,3rem); line-height:1.17; margin-top:18px; }
.page-v9 .channel-copy > p:not(.eyebrow) { font-size:1.125rem; line-height:1.8; max-width:490px; margin-top:26px; color:#bacfdf; }
.connected-label { display:flex; align-items:center; gap:10px; color:#a7e1d8; font-size:1rem; line-height:1.6; margin-top:24px; }
.connected-label > span { width:7px; height:7px; border-radius:50%; background:#91deca; }
.channel-copy > .button { margin-top:28px; }
.page-v9 .whatsapp-preview { width:100%; max-width:none; border-radius:22px; box-shadow:none; }
.page-v9 .whatsapp-header { padding:24px; gap:13px; }
.page-v9 .whatsapp-header strong { font-size:1.125rem; }
.page-v9 .whatsapp-header > div > span,.page-v9 .conversation-day,.page-v9 .whatsapp-caption { font-size:1rem; line-height:1.6; }
.page-v9 .whatsapp-conversation { padding:24px; gap:20px; }
.page-v9 .whatsapp-conversation .message { font-size:1.0625rem; line-height:1.75; max-width:94%; }
.page-v9 .whatsapp-caption { padding:0 24px 24px; color:#b4d1c9; text-align:left; }
.page-v9 .quick-checkin-section { padding-block:0 88px; }
.page-v9 .checkin-invitation { display:grid; grid-template-columns:190px 1fr; align-items:center; gap:40px; padding:44px 48px; border-radius:24px; border-color:#42687e; background:linear-gradient(120deg,#12364b,#0d263b); }
.page-v9 .checkin-visual,.page-v9 .checkin-visual > img { width:190px; height:190px; overflow:visible; object-fit:contain; }
.page-v9 .checkin-invitation-copy h2 { font-size:2.5rem; line-height:1.17; margin-top:16px; }
.page-v9 .checkin-invitation-copy > p:not(.eyebrow):not(.checkin-invitation-note) { font-size:1.125rem; line-height:1.75; max-width:640px; margin-top:22px; }
.page-v9 .checkin-invitation-copy .actions { align-items:center; margin-top:28px; gap:22px; }
.page-v9 .checkin-invitation-copy .actions .text-button { font-size:1rem; margin:0; }
.page-v9 .checkin-invitation-copy .button { font-size:1rem; }
.page-v9 .checkin-invitation-note { font-size:1rem; line-height:1.6; color:#b6cddc; margin-top:20px; }
.page-v9 .early-section { padding-block:80px; }
.page-v9 .early-grid { gap:64px; align-items:center; }
.page-v9 .early-grid h2 { font-size:clamp(2.5rem,3.8vw,3.25rem); line-height:1.14; margin-top:18px; }
.page-v9 .early-grid .section-lead { font-size:1.35rem; line-height:1.6; margin-top:26px; }
.page-v9 .early-grid > div > p:last-child,.page-v9 .early-card > p { font-size:1.125rem; line-height:1.75; }
.page-v9 .early-card { padding:36px; border-radius:22px; }
.page-v9 .early-coach-avatar { width:80px; height:80px; }
.page-v9 .early-coach-avatar > img { width:233px; height:233px; top:-3px; }
.page-v9 .early-card h3 { font-size:1.85rem; line-height:1.3; margin-top:20px; }
.page-v9 .early-card .form-note { font-size:1rem; line-height:1.6; }
.page-v9 .faq-section { padding-block:88px; }
.page-v9 .faq-grid { grid-template-columns:.75fr 1.25fr; gap:80px; }
.page-v9 .faq-heading > p:last-child { font-size:1.125rem; line-height:1.8; margin-top:26px; }
.page-v9 .faq-items summary { font-size:1.125rem; line-height:1.6; padding-block:24px; min-height:78px; }
.page-v9 .faq-items details > p { font-size:1.0625rem; line-height:1.85; padding-bottom:28px; }
.page-v9 .site-footer { padding-block:44px 28px; }
.page-v9 .footer-main p,.page-v9 .footer-links button,.page-v9 .footer-bottom { font-size:1rem; line-height:1.7; }
.page-v9 .footer-main p { max-width:390px; margin-top:18px; color:#adc6d8; }
.page-v9 .footer-links { gap:18px 28px; }
.page-v9 .footer-main .brand-lockup > span { font-size:1rem; padding-left:39px; }
.page-v9 .footer-bottom { color:#a9c1d2; }
.page-v9 dialog > p:not(.eyebrow) { font-size:1rem; line-height:1.75; }
.page-v9 .waitlist-nudge { font-size:1rem; }
.page-v9 .waitlist-nudge p,.page-v9 .waitlist-nudge .text-button { font-size:1rem; }
.page-v9 .waitlist-dialog :is(.field-label,.form-note,.inline-link) { font-size:1rem; line-height:1.7; }

@media(max-width:1190px) {
  .page-v9 .container { width:calc(100% - 64px); }
  .page-v9 .site-header nav { gap:18px; }
  .page-v9 .site-header nav > a:not(.button) { font-size:.9375rem; }
  .page-v9 .hero-v9 { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:32px; }
  .page-v9 .hero-v9 h1 { font-size:3.5rem; }
  .hero-screens { column-gap:14px; }
  .preview-card-head { padding:18px 16px; }
  .page-v9 .preview-card-head h2 { font-size:1.25rem; }
  .preview-night-stage { padding:14px; }
  .night-conversation { padding:14px; }
  .page-v9 .sources-heading,.page-v9 .section-heading,.page-v9 .demo-grid,.page-v9 .longevity-section,.page-v9 .channels-v9 { gap:40px; }
  .page-v9 .source-card { padding:28px; }
  .real-screen-button { height:510px; }
  .page-v9 .early-grid { gap:40px; }
}
@media(max-width:1050px) {
  .page-v9 .site-header nav { display:none; position:absolute; top:87px; left:0; right:0; padding:20px; border:1px solid #41617a; border-radius:16px; background:#10283d; box-shadow:0 18px 50px #0005; }
  .page-v9 .site-header nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:6px; }
  .page-v9 .site-header nav > a:not(.button) { font-size:1rem; padding:12px 6px; }
  .page-v9 .menu-toggle { display:flex; width:48px; height:48px; background:transparent; border:1px solid #58778f; border-radius:11px; flex-direction:column; justify-content:center; align-items:center; gap:6px; }
  .page-v9 .menu-toggle > span { display:block; width:20px; height:1px; background:#d9e8f2; }
  .page-v9 .hero-v9 { grid-template-columns:1fr; gap:44px; padding-block:52px 64px; }
  .page-v9 .hero-copy { max-width:710px; }
  .page-v9 .hero-v9 h1 { font-size:clamp(3.5rem,6.8vw,4.3rem); }
  .page-v9 .hero-v9 h1 > span { max-width:none; font-size:2rem; }
  .page-v9 .hero-description { max-width:640px; }
  .page-v9 .hero-product-preview { max-width:800px; justify-self:center; }
  .hero-screens { column-gap:24px; grid-template-rows:auto minmax(380px,1fr) auto; }
  .preview-stage { min-height:380px; }
  .preview-night-stage { padding:22px; gap:20px; }
  .night-orb { width:158px; height:158px; }
  .page-v9 .preview-card-head h2 { font-size:1.4rem; }
  .preview-card-head { padding:20px 24px; }
  .night-conversation { padding:20px; }
}
@media(max-width:760px) {
  .page-v9 .container { width:calc(100% - 40px); }
  .page-v9 .site-header { height:90px; }
  .page-v9 .brand-lockup img { width:159px; }
  .page-v9 .brand-lockup > span { padding-left:43px; }
  .page-v9 .site-header nav { top:79px; }
  .page-v9 .hero-v9 { padding-block:42px 56px; gap:36px; }
  .page-v9 .hero-v9 h1 { font-size:clamp(3rem,9vw,4rem); margin-top:22px; }
  .page-v9 .hero-v9 h1 > span { font-size:1.75rem; margin-top:22px; }
  .page-v9 .hero-description { font-size:1.125rem; margin-top:24px; }
  .page-v9 .hero .actions { margin-top:28px; }
  .hero-screens { column-gap:20px; }
  .preview-card-head { padding:18px; }
  .preview-night-stage { padding:16px; }
  .night-conversation { padding:16px; }
  .page-v9 .sources-section,.page-v9 .product-section,.page-v9 .longevity-section,.page-v9 .channels-v9,.page-v9 .demo-section,.page-v9 .faq-section { padding-block:60px; }
  .page-v9 .sources-heading,.page-v9 .section-heading { grid-template-columns:1fr; gap:24px; margin-bottom:32px; }
  .page-v9 .sources-heading h2,.page-v9 .section-heading h2,.page-v9 .longevity-section h2,.page-v9 .channel-copy h2 { font-size:2.25rem; line-height:1.2; }
  .page-v9 .sources-heading > p,.page-v9 .section-heading > p { max-width:650px; }
  .page-v9 .sources-grid { grid-template-columns:1fr; gap:20px; }
  .page-v9 .source-card { padding:26px; }
  .page-v9 .source-card h3 { font-size:1.5rem; }
  .page-v9 .sources-actions { margin-top:28px; }
  .page-v9 .scenario-tabs { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:32px; }
  .page-v9 .scenario-tabs button { padding:13px 12px; font-size:1rem; }
  .page-v9 .demo-grid { grid-template-columns:1fr; gap:32px; }
  .page-v9 .demo-copy { padding:0; }
  .page-v9 .demo-copy h3 { font-size:1.85rem; max-width:none; }
  .page-v9 .demo-copy .section-lead,.page-v9 .demo-copy .demo-boundary { max-width:none; }
  .page-v9 .console-header { padding:22px; }
  .page-v9 .conversation { padding:22px 20px 8px; max-height:560px; }
  .page-v9 .message { font-size:1rem; padding:15px 16px; max-width:96%; }
  .page-v9 .demo-controls { padding:20px; }
  .page-v9 .demo-plan { padding:22px; margin:0 20px 22px; }
  .page-v9 .console-footer { padding:16px 20px; flex-wrap:wrap; gap:8px 20px; }
  .page-v9 .story-cta { align-items:flex-start; flex-direction:column; gap:20px; }
  .app-captures { grid-template-columns:1fr; grid-template-rows:none; gap:24px; }
  .app-capture { grid-row:auto; display:block; padding:26px; }
  .capture-heading { padding-bottom:22px; }
  .page-v9 .capture-heading h3 { font-size:1.75rem; }
  .capture-tab-spacer { display:none; }
  .real-screen-button { height:auto; }
  .real-screen-button > img { height:auto; max-height:660px; object-fit:contain; }
  .progress-screen-button { max-width:330px; }
  .page-v9 .longevity-section,.page-v9 .channels-v9 { grid-template-columns:1fr; gap:32px; }
  .research-proof { gap:24px; }
  .research-proof > div { padding-left:20px; }
  .page-v9 .quick-checkin-section { padding-bottom:60px; }
  .page-v9 .checkin-invitation { grid-template-columns:120px 1fr; padding:28px; gap:24px; align-items:start; }
  .page-v9 .checkin-visual,.page-v9 .checkin-visual > img { width:120px; height:120px; }
  .page-v9 .checkin-invitation-copy h2 { font-size:2.1rem; }
  .page-v9 .checkin-invitation-copy .actions { flex-direction:row; gap:16px; }
  .page-v9 .early-section { padding-block:60px; }
  .page-v9 .early-grid { grid-template-columns:1fr; gap:32px; }
  .page-v9 .early-grid h2 { font-size:2.5rem; }
  .page-v9 .early-card { padding:28px; }
  .page-v9 .faq-grid { grid-template-columns:1fr; gap:32px; }
  .page-v9 .faq-items details > p { padding-right:10px; }
  .page-v9 .footer-main { display:block; }
  .page-v9 .footer-links { margin-top:24px; }
  .page-v9 .footer-bottom { margin-top:28px; gap:12px; }
}
@media(max-width:600px) {
  .hero-screens { grid-template-columns:1fr; grid-template-rows:none; gap:22px; }
  .app-preview { grid-row:auto; display:grid; grid-template-rows:auto auto auto; }
  .preview-card-head { min-height:88px; padding:20px 24px; }
  .preview-stage { min-height:0; }
  .preview-body-stage { aspect-ratio:1199/1312; }
  .preview-night-stage { min-height:380px; padding:24px; gap:24px; }
  .night-orb { width:156px; height:156px; }
  .night-conversation { padding:20px; }
  .preview-card-foot { padding-inline:24px; }
  .page-v9 .checkin-invitation { grid-template-columns:1fr; gap:16px; }
  .page-v9 .checkin-visual,.page-v9 .checkin-visual > img { width:126px; height:126px; }
  .page-v9 .hero .actions { flex-direction:column; align-items:stretch; }
  .page-v9 .sources-actions > .button { width:100%; }
}
@media(max-width:380px) {
  .page-v9 .container { width:calc(100% - 32px); }
  .page-v9 .hero-v9 h1 { font-size:2.9rem; }
  .page-v9 .hero-v9 h1 > span { font-size:1.65rem; }
  .page-v9 .hero .eyebrow { font-size:.9375rem; letter-spacing:.06em; }
  .page-v9 .source-card,.app-capture { padding:23px; }
  .page-v9 .source-card .source-icon { width:38px; height:38px; margin-left:12px; }
  .page-v9 .source-card h3 { max-width:calc(100% - 50px); }
  .page-v9 .sources-heading h2,.page-v9 .section-heading h2,.page-v9 .longevity-section h2,.page-v9 .channel-copy h2 { font-size:2rem; }
  .page-v9 .scenario-tabs { grid-template-columns:1fr; }
  .page-v9 .console-header { padding:20px; }
  .page-v9 .demo-controls button { width:100%; text-align:left; }
  .research-proof { gap:16px; }
  .research-proof > div { padding-left:14px; }
  .research-proof strong { font-size:2.25rem; }
  .research-proof span { font-size:1rem; }
  .page-v9 .checkin-invitation { padding:24px; }
}
@media(prefers-reduced-motion:reduce) {
  :root { scroll-behavior:auto; }
  .hero-atmosphere::before,.hero-atmosphere::after { animation:none; }
  .page-v9 *, .page-v9 *::before, .page-v9 *::after { scroll-behavior:auto!important; transition:none!important; }
}
@supports not (grid-template-rows:subgrid) {
  .app-preview { grid-row:auto; grid-template-rows:auto 1fr auto; }
  .hero-screens { grid-template-rows:auto; }
  .app-capture { grid-row:auto; grid-template-rows:220px 68px 1fr auto auto; }
  .app-captures { grid-template-rows:auto; }
}

/* V10: original app assets, portrait phones, quieter presentation. */
.page-v10 .hero-v9{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:48px;padding-block:62px 76px;}
.page-v10 .hero-v9 h1{font-size:clamp(3.2rem,4.5vw,4.4rem)}
.page-v10 .hero-description{max-width:480px}
.signal-flow{position:absolute;width:950px;height:760px;right:-180px;top:-30px;opacity:.46;stroke:#5ee5dc;stroke-width:.8;pointer-events:none}
.signal-flow path{stroke-dasharray:3 8}.signal-flow ellipse{opacity:.24;stroke-width:1}
.page-v10 .hero-atmosphere::before{background:radial-gradient(ellipse,#3bc5d22b,transparent 68%);width:700px;height:700px;right:-80px;top:0}
.device-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;max-width:610px;margin-inline:auto}
.phone-preview{display:flex;flex-direction:column;align-items:center;min-width:0}
.page-v10 .phone-preview>h2{font-size:1.25rem;line-height:1.5;letter-spacing:-.025em;margin:0 0 18px;color:#e7f5fc;align-self:flex-start}
.phone-shell{position:relative;display:block;width:100%;aspect-ratio:9/19.5;padding:8px;border:1px solid #a7b6c0;border-radius:42px;background:linear-gradient(120deg,#647785,#0c1520 18%,#293948 70%,#96a6af);box-shadow:0 24px 50px #0006,inset 0 0 0 3px #111922;overflow:visible;flex-shrink:0}
.phone-shell:before,.phone-shell:after{content:'';position:absolute;background:#7b8a97;border-radius:3px;width:3px;left:-4px;top:21%;height:7%}.phone-shell:after{left:auto;right:-4px;top:27%;height:10%}
.phone-screen{position:relative;display:flex;flex-direction:column;width:100%;height:100%;border-radius:34px;overflow:hidden;background:#061626;padding-top:30px;padding-bottom:13px;isolation:isolate}
.phone-island{position:absolute;z-index:5;width:30%;height:17px;top:9px;left:35%;border-radius:20px;background:#02070d;border:1px solid #172632;pointer-events:none}
.phone-home{position:absolute;z-index:5;bottom:5px;width:31%;height:4px;left:34.5%;border-radius:10px;background:#d6dce7;pointer-events:none}
.phone-preview-link{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:13px;background:transparent;color:#a6e8df;font-size:1rem;line-height:1.5;text-align:center;padding:5px 0;width:100%;text-decoration:underline;text-underline-offset:5px}
.page-v10 .hero-preview-caption{font-size:1rem;text-align:center;margin-top:14px;line-height:1.65;color:#adc9d5}
.body-app-head{position:relative;z-index:2;flex-shrink:0;padding:10px 15px 0;background:linear-gradient(#061626e8,#06162666,transparent)}
.body-app-head>span{display:block;font-weight:600;font-size:17px;line-height:1.3;color:#eef7fc}.body-app-head>span>span{color:#49ced2}.body-app-head>strong{display:block;font-size:25px;line-height:1.25;letter-spacing:-.03em;margin-top:8px}.body-app-head>p{color:#c4d9e6;font-size:13px;line-height:1.5;margin:2px 0 0}
.body-scene{position:relative;isolation:isolate;flex:1;min-height:0;width:100%;overflow:hidden;background:#061626}
.body-room{position:absolute;height:118%;max-width:none;width:auto;top:0;left:50%;transform:translateX(-50%);opacity:.92;z-index:-2;object-fit:contain;pointer-events:none}
.body-scene:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#061626bb,transparent 20%,transparent 75%,#06162678)}
.body-person{position:absolute;width:78%;height:auto;max-width:none;top:50%;left:50%;transform:translate(-50%,-50%);object-fit:contain;opacity:.92;pointer-events:none}
.body-halo{position:absolute;left:24%;top:3%;width:52%;height:6%;border:2px solid #9aeeff;border-radius:50%;box-shadow:0 0 0 4px #37a4bd44,0 0 13px #5eeaf175;pointer-events:none}
.body-leaders{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#b7daea;stroke-width:1;opacity:.58;pointer-events:none}
.body-topic{position:absolute;top:calc((.18 + var(--row)*.2)*100%);transform:translateY(-50%);width:40%;max-width:128px;display:flex;align-items:center;gap:5px;color:#fff;z-index:2}
.body-topic-left{left:7px;flex-direction:row-reverse}.body-topic-right{right:7px}
.body-topic-well{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #42d5e2;border-radius:50%;background:#032232ed;box-shadow:0 2px 10px #00121c66}
.body-topic-well svg{width:23px;height:23px;stroke:#46d9e1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.body-topic-label{font-size:12px;line-height:1.3;font-weight:600;text-shadow:0 1px 3px #000;min-width:0;overflow-wrap:normal}
.body-topic-left .body-topic-label{text-align:right}.body-app-hint{font-size:12px;line-height:1.4;text-align:center;margin:0;padding:7px 8px 8px;color:#e1edf6;background:#061626}
.body-app-nav{display:flex;align-items:center;justify-content:space-evenly;gap:5px;flex-shrink:0;padding:12px 5px 9px;border-top:1px solid #345268;background:#071b2e;color:#99b9cf;font-size:11px;line-height:1.4}.body-app-nav .active{color:#31bbf3;font-weight:600}
.phone-screen-open{position:absolute;z-index:4;inset:0;border:0;padding:0;margin:0;background:transparent;cursor:zoom-in;border-radius:inherit}
.phone-screen-open:hover{background:#7de9ef08}.phone-screen-open:focus-visible{outline:3px solid #7ce9e5;outline-offset:-6px}
.miles-phone .phone-screen{background:#061b30 url('/assets/night-sky-app-v8.webp') center/cover no-repeat}
.miles-phone-head{display:flex;align-items:center;gap:8px;padding:10px 12px 12px;background:#071c30b8;border-bottom:1px solid #789bb033;flex-shrink:0}
.miles-phone-head .coach-avatar{width:32px;height:32px}.miles-phone-head .coach-avatar>img{width:94px;height:94px;top:-1px}
.miles-phone-head strong{display:block;font-size:16px;line-height:1.4}.miles-phone-head div>span{display:block;font-size:11px;color:#a5ccd9;line-height:1.6}
.miles-phone-chat{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:10px;padding:9px 12px 12px;min-height:0}
.phone-orb{width:90px;height:90px;object-fit:contain;margin:0 auto auto;align-self:center;flex-shrink:1;min-height:55px;max-height:100px}
.phone-bubble{max-width:94%;border-radius:15px 15px 15px 5px;padding:10px 12px;background:#12364ceF;border:1px solid #3b6e8d;color:#f3f8fc;font-size:14px;line-height:1.55}
.phone-bubble>span{display:block;font-size:12px;color:#9ee5df;margin-bottom:3px;font-weight:600}.phone-bubble p{margin:0;font:inherit;color:inherit;line-height:inherit}
.phone-bubble.user{align-self:flex-end;background:#146087;border-color:#377fa0;border-radius:15px 15px 5px 15px;max-width:88%}
.phone-composer{display:flex;align-items:center;gap:8px;margin:0 11px 11px;padding:11px 12px;border:1px solid #718da5;border-radius:25px;background:#0a273ddb;color:#c6e1ec;font-size:13px;line-height:1.3;min-height:43px;flex-shrink:0}
.phone-composer svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.composer-plus{margin-left:auto;font-size:21px;line-height:1}.phone-composer:hover{background:#173e57}
.page-v10 .sources-heading{grid-template-columns:1fr;gap:0;max-width:800px}.page-v10 .sources-heading h2{margin-bottom:0}
.page-v10 .demo-copy .outcome-preview{padding-block:18px;margin-top:22px;border-bottom:0}.page-v10 .demo-copy .outcome-preview p{margin-top:5px}.page-v10 .demo-copy .demo-boundary{font-size:1rem;margin-top:22px}
.page-v10 .story-cta{padding-top:24px;margin-top:32px}.page-v10 .story-cta strong{font-size:1.25rem}
#miles-chat{scroll-margin-top:110px}.page-v10 .scenario-tabs{scroll-margin-top:110px}
.page-v10 .app-captures{grid-template-rows:auto auto 1fr auto auto}.page-v10 .capture-image-stage{border:0;background:transparent;overflow:visible}
.page-v10 .capture-image-stage .phone-shell{max-width:320px;margin-inline:auto}
.page-v10 .capture-heading h3{font-size:1.8rem}.page-v10 .capture-heading>p:last-child{max-width:460px}
.page-v10 .progress-screen-button{display:block;height:auto;max-height:none;width:100%;padding:8px;cursor:zoom-in}
.page-v10 .progress-screen-button>img{width:100%;height:100%;object-fit:contain;border-radius:34px;background:#061626;margin:0}
.page-v10 .capture-dialog-body{width:min(100%,390px);margin:28px auto 0}.page-v10 .capture-dialog-body .phone-shell{max-width:390px}.page-v10 .capture-dialog-body .phone-screen-open{display:none}
.page-v10 .capture-dialog-body .body-topic-well{width:48px;height:48px;flex-basis:48px}.page-v10 .capture-dialog-body .body-topic-label{font-size:15px}.page-v10 .capture-dialog-body .body-topic-well svg{width:28px;height:28px}
.page-v10 .capture-dialog-body .body-app-head{padding:18px 20px 0}.page-v10 .capture-dialog-body .body-app-head strong{font-size:31px}.page-v10 .capture-dialog-body .body-app-head>p{font-size:16px}.page-v10 .capture-dialog-body .body-app-hint{font-size:15px;padding:12px 8px}.page-v10 .capture-dialog-body .body-app-nav{font-size:14px;padding-block:16px}
.page-v10 .early-card{padding:30px}.page-v10 .early-coach-avatar{width:56px;height:56px}.page-v10 .early-coach-avatar>img{width:163px;height:163px}
@media(max-width:1190px){.page-v10 .hero-v9{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px}.device-pair{gap:18px}.phone-shell{padding:7px;border-radius:36px}.phone-screen{border-radius:29px}.body-topic-well{width:32px;height:32px;flex-basis:32px}.body-topic-label{font-size:11px}.body-topic-well svg{width:20px;height:20px}.body-topic-left{left:5px}.body-topic-right{right:5px}.miles-phone-chat{gap:8px;padding-inline:10px}.phone-bubble{font-size:13px;padding:8px 10px}.phone-orb{width:80px;height:80px}.page-v10 .phone-preview>h2{font-size:1.125rem}}
@media(max-width:980px){.page-v10 .hero-v9{grid-template-columns:1fr;gap:44px}.page-v10 .hero-copy{max-width:720px}.page-v10 .hero-description{max-width:600px}.device-pair{max-width:610px;gap:30px}.phone-shell{border-radius:42px;padding:8px}.phone-screen{border-radius:34px}.body-topic-well{width:36px;height:36px;flex-basis:36px}.body-topic-label{font-size:12px}.body-topic-well svg{width:23px;height:23px}.phone-bubble{font-size:14px;padding:10px 12px}.phone-orb{width:90px;height:90px}.page-v10 .phone-preview>h2{font-size:1.25rem}.signal-flow{right:-220px;top:420px}}
@media(max-width:720px){.page-v10 .hero-v9{padding-block:42px 56px;gap:36px}.page-v10 .hero-v9 h1{font-size:clamp(2.9rem,8vw,3.8rem)}.device-pair{gap:24px}.page-v10 .product-section .app-capture{padding:25px}.page-v10 .capture-image-stage .phone-shell{max-width:320px}.page-v10 .sources-heading{margin-bottom:30px}#miles-chat{scroll-margin-top:96px}.page-v10 .early-section .early-grid{gap:24px}.page-v10 .early-grid>div>p:last-child{margin-top:20px}}
@media(max-width:600px){.device-pair{grid-template-columns:1fr;max-width:300px;gap:34px}.phone-preview{width:100%}.page-v10 .phone-preview>h2{align-self:center;margin-bottom:14px;font-size:1.35rem}.phone-bubble{font-size:15px}.phone-orb{width:96px;height:96px;max-height:106px}.phone-composer{font-size:14px}.miles-phone-head strong{font-size:17px}.miles-phone-head div>span{font-size:12px}.body-topic-label{font-size:13px}.body-app-head>span{font-size:18px}.body-app-head>strong{font-size:28px}.body-app-head>p{font-size:14px}.body-app-hint{font-size:13px}.body-app-nav{font-size:12px}.phone-preview-link{font-size:1rem;margin-top:9px}.page-v10 .hero-preview-caption{font-size:1rem;margin-top:18px}.signal-flow{right:-420px;top:440px}.page-v10 .capture-dialog-body .body-topic-label{font-size:13px}.page-v10 .capture-dialog-body .body-topic-well{width:36px;height:36px;flex-basis:36px}.page-v10 .capture-dialog-body .body-app-head{padding:10px 15px 0}.page-v10 .capture-dialog-body .body-app-head>p{font-size:13px}.page-v10 .capture-dialog-body .body-app-nav{font-size:11px}.page-v10 .capture-dialog-body .body-app-hint{font-size:12px}}
@media(max-width:380px){.device-pair{max-width:276px}.page-v10 .hero-v9 h1{font-size:2.9rem}.page-v10 .product-section .app-capture{padding:18px}.phone-bubble{font-size:14px}.page-v10 .phone-preview>h2{font-size:1.25rem}.page-v10 .capture-dialog{padding:22px}.page-v10 .capture-dialog-body .body-topic-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.signal-flow{animation:none}}

/* Only historical app/navigation chrome is updated; captured content is unchanged. */
.progress-nav-update{position:absolute;display:flex;flex-direction:column;z-index:2;background:#051b2b;color:#abc7da;border-radius:0 0 29px 29px;border-top:1px solid #345062;overflow:hidden;pointer-events:none}
.progress-nav-items{display:flex;align-items:center;justify-content:space-evenly;gap:3px;flex:1;padding:9px 3px 6px}
.progress-nav-items>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:11px;line-height:1.4;min-width:0}
.progress-nav-items svg,.progress-nav-items img{width:23px;height:23px;object-fit:contain;stroke:currentColor;stroke-width:1.7;fill:none}.progress-nav-items .active{color:#31bbf3;font-weight:600}
.progress-home-indicator{display:block;height:4px;min-height:4px;width:31%;border-radius:10px;background:#d6dce7;margin:6px auto 10px}
.page-v10 .capture-dialog-progress{position:relative;width:min(100%,600px);margin:28px auto 0}.capture-dialog-progress>img{display:block;width:100%;height:auto;margin:0;border-radius:28px}
.capture-dialog-progress .progress-nav-items>span{font-size:clamp(11px,2.4vw,20px);gap:10px}.capture-dialog-progress .progress-nav-items svg,.capture-dialog-progress .progress-nav-items img{width:clamp(23px,5vw,42px);height:clamp(23px,5vw,42px)}.capture-dialog-progress .progress-home-indicator{height:5px;min-height:5px;margin-bottom:12px}
@media(max-width:380px){.progress-nav-items>span{font-size:10px}.progress-nav-items svg,.progress-nav-items img{width:21px;height:21px}.progress-nav-items{padding-top:5px}.progress-home-indicator{margin-bottom:8px}}
/* Preserve enlarged text: the header brand can wrap; the menu keeps its tap target. */
@media(max-width:760px){
  .page-v10 .site-header{height:auto;min-height:90px}
  .page-v10 .header-inner{height:auto;min-height:90px;padding-block:10px;gap:16px}
  .page-v10 .site-header .brand-lockup{flex:0 1 auto;min-width:0;max-width:calc(100% - 64px)}
  .page-v10 .site-header .brand-lockup>span{max-width:100%;overflow-wrap:anywhere}
  .page-v10 .site-header .menu-toggle{flex:0 0 48px;width:48px}
  .page-v10 .site-header nav{top:100%}
}


/* V11 — health intelligence first, distinct visual source cards, one canonical Mile. */
.page-v11 .hero-v9 h1>span{font-size:clamp(1.55rem,2.05vw,1.9rem);line-height:1.35;max-width:480px;letter-spacing:-.035em;margin-top:26px}
.page-v11 .hero-description{max-width:485px;font-size:1.125rem;line-height:1.75;margin-top:24px}
.page-v11 .sources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.page-v11 .source-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;min-height:330px;overflow:hidden;border-radius:24px;border-color:#37576c;background:linear-gradient(140deg,#123348,#0c2438);isolation:isolate}
.page-v11 .source-card-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:28px;min-width:0}
.page-v11 .source-card .capability-label{font-size:1rem;line-height:1.5;margin:0 0 13px;color:#a0e4dc;letter-spacing:0}
.page-v11 .source-card h3{font-size:clamp(1.4rem,1.8vw,1.65rem);line-height:1.25;max-width:none;margin:0;letter-spacing:-.035em;text-wrap:balance}
.page-v11 .source-card-copy>p{font-size:1.0625rem;line-height:1.7;color:#bfd2df;margin:18px 0 0}
.page-v11 .source-card-copy>.source-detail{font-size:1rem;line-height:1.65;color:#a6ddd8;margin-top:14px;padding:0;border:0}
.page-v11 .source-card-image{position:relative;min-width:0;min-height:100%;background:#0b263b;overflow:hidden;border-left:1px solid #46708444}
.page-v11 .source-card-image>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block}
.page-v11 .source-card-miles .source-card-image{background:#081e30}
.page-v11 .source-card-miles .source-card-image>img{object-fit:contain}
.page-v11 .sources-actions{margin-top:32px;gap:16px}

/* A phone-shaped demo, with a natural height and all original interaction controls. */
.page-v11 .demo-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:start;gap:64px}
.page-v11 .demo-column{padding:3px 5px 0}
.demo-phone-frame{position:relative;width:100%;max-width:550px;margin-inline:auto;padding:9px;border:1px solid #6e899a;border-radius:51px;background:linear-gradient(135deg,#92a4ae 0%,#253844 10%,#0d1822 45%,#526875 81%,#b2c0c6 100%);box-shadow:0 30px 65px #183b492e,0 4px 8px #12324217,inset 0 0 0 3px #15232e;isolation:isolate}
.demo-phone-frame:before,.demo-phone-frame:after{content:'';position:absolute;width:4px;left:-5px;top:146px;height:61px;border-radius:3px;background:linear-gradient(90deg,#627d8b,#a3b4bd,#58707d);z-index:-1}
.demo-phone-frame:after{left:auto;right:-5px;top:180px;height:82px}
.page-v11 .demo-phone-frame .demo-console{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;border:1px solid #243d4f;border-radius:41px;background:radial-gradient(ellipse 85% 420px at 50% 0%,#214d6066,transparent),#071b2d;box-shadow:none;overflow:hidden}
.demo-phone-hardware{display:flex;align-items:center;justify-content:center;min-height:47px;padding:8px 0 5px;flex-shrink:0}
.demo-phone-island{position:relative;width:114px;height:27px;border-radius:20px;background:#02070c;box-shadow:inset 0 0 0 1px #142a38,0 1px 3px #0005}
.demo-phone-island:after{content:'';position:absolute;right:12px;top:8px;width:10px;height:10px;border-radius:50%;border:2px solid #102532;background:radial-gradient(circle at 35% 30%,#284e61,#071119 60%)}
.page-v11 .demo-phone-frame .console-header{padding:12px 24px 22px;gap:13px 16px;align-items:center;border-color:#3c61734f;background:transparent}
.page-v11 .demo-phone-frame .identity{flex:1 1 220px;gap:12px}
.page-v11 .demo-phone-frame .identity strong{font-size:1.125rem}
.page-v11 .demo-phone-frame .example-badge{flex:0 1 auto;font-size:1rem;line-height:1.5;color:#a3c3d3;padding:0}
.page-v11 .demo-phone-frame .conversation{padding:24px 22px 8px;gap:18px;max-height:640px;overscroll-behavior-y:contain}
.page-v11 .demo-phone-frame .message{font-size:1.0625rem;line-height:1.7;max-width:96%;padding:15px 17px}
.page-v11 .demo-phone-frame .demo-controls{padding:20px 22px 24px;gap:10px}
.page-v11 .demo-phone-frame .demo-controls button{font-size:1rem;line-height:1.55;min-height:48px;padding:12px 14px;border-radius:13px;background:#102c4066}
.page-v11 .demo-phone-frame .demo-controls button:hover{background:#21465b}
.page-v11 .demo-phone-frame .demo-controls .confirm-choice{background:#0f6fdf;border-color:#428feb}
.page-v11 .demo-phone-frame .demo-plan{margin-inline:22px;padding:22px}
.page-v11 .demo-phone-frame .console-footer{padding:17px 22px 13px;gap:12px;flex-wrap:wrap;align-items:center;font-size:1rem;border-color:#3c61734f}
.page-v11 .demo-phone-frame .console-footer>span{max-width:none;font-size:1rem}
.page-v11 .demo-phone-frame .reset-button{font-size:1rem;min-height:44px;flex-shrink:0}
.demo-phone-base{display:flex;justify-content:center;align-items:center;min-height:25px;padding:6px 0 10px;flex-shrink:0}
.demo-phone-base>span{width:30%;max-width:145px;height:4px;background:#d2dfe7;border-radius:4px;opacity:.9}

/* The same generated robot everywhere; crop its head for small avatars. */
.page-v11 .coach-avatar{background:#11384c;border-color:#4d8191}
.page-v11 .coach-avatar>img,.page-v11 .identity .coach-avatar>img,.page-v11 .whatsapp-header .coach-avatar>img{width:230%;height:auto;max-width:none;top:5%;left:50%;transform:translateX(-45%);object-fit:contain;object-position:center}
.page-v11 .checkin-invitation{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);padding:0;gap:0;overflow:hidden;border-radius:26px;background:linear-gradient(120deg,#12394d,#0e293e)}
.page-v11 .checkin-visual{position:relative;align-self:stretch;width:100%;height:100%;min-height:370px;overflow:hidden;background:#0c293c}
.page-v11 .checkin-visual>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;display:block;padding:20px}
.page-v11 .checkin-invitation-copy{padding:42px 44px}
.page-v11 .checkin-invitation-copy h2{font-size:clamp(2rem,3vw,2.55rem);line-height:1.18}
.page-v11 .checkin-invitation-copy .actions{gap:16px}
.page-v11 .checkin-invitation-copy>.checkin-invitation-note{margin-top:18px}

@media(max-width:1120px){
 .page-v11 .sources-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .page-v11 .source-card{min-height:310px}
 .page-v11 .source-card-copy{padding:32px}
 .page-v11 .source-card h3{font-size:1.75rem}
 .page-v11 .source-card-copy>p{max-width:34ch;font-size:1.125rem}
 .page-v11 .demo-grid{gap:38px;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}
 .page-v11 .checkin-invitation-copy{padding:34px}
}
@media(max-width:960px){
 .page-v11 .demo-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .page-v11 .demo-copy{max-width:640px}
 .page-v11 .demo-copy .section-lead,.page-v11 .demo-copy .demo-boundary{max-width:none}
 .page-v11 .demo-phone-frame{max-width:580px}
 .page-v11 .checkin-invitation{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
 .page-v11 .checkin-visual{min-height:390px}
}
@media(max-width:720px){
 .page-v11 .hero-v9 h1>span{font-size:1.65rem;line-height:1.4;max-width:none;margin-top:24px}
 .page-v11 .source-card-copy{padding:28px}
 .page-v11 .source-card h3{font-size:1.65rem}
 .page-v11 .source-card-copy>p{font-size:1.0625rem}
 .page-v11 .checkin-invitation{grid-template-columns:1fr}
 .page-v11 .checkin-visual{min-height:0;aspect-ratio:16/10;height:auto}
 .page-v11 .checkin-invitation-copy{padding:30px}
 .page-v11 .demo-column{padding-inline:3px}
 .demo-phone-frame{padding:7px;border-radius:42px}
 .page-v11 .demo-phone-frame .demo-console{border-radius:34px}
 .demo-phone-hardware{min-height:43px}
 .demo-phone-island{width:100px;height:25px}
 .page-v11 .demo-phone-frame .console-header{padding:10px 18px 20px}
 .page-v11 .demo-phone-frame .conversation{padding:20px 16px 8px;gap:16px}
 .page-v11 .demo-phone-frame .demo-controls{padding:18px 16px 22px}
 .page-v11 .demo-phone-frame .demo-plan{margin-inline:16px;padding:18px}
 .page-v11 .demo-phone-frame .console-footer{padding-inline:18px}
}
@media(max-width:600px){
 .page-v11 .source-card{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:22px}
 .page-v11 .source-card-image{grid-row:1;min-height:0;aspect-ratio:16/10;border-left:0;border-bottom:1px solid #46708444}
 .page-v11 .source-card-copy{padding:26px}
 .page-v11 .source-card h3{font-size:1.65rem}
 .page-v11 .source-card-copy>p{max-width:none;font-size:1.125rem}
 .page-v11 .source-card-copy>.source-detail{font-size:1rem}
 .page-v11 .source-card .capability-label{margin-bottom:11px}
 .page-v11 .sources-actions>.button{width:100%}
 .page-v11 .demo-phone-frame .identity{flex-basis:100%}
 .page-v11 .demo-phone-frame .message{padding:14px 15px}
}
@media(max-width:380px){
 .page-v11 .source-card-copy{padding:23px}
 .page-v11 .checkin-invitation-copy{padding:24px}
 .page-v11 .hero-v9 h1>span{font-size:1.5rem}
 .page-v11 .demo-phone-frame .console-header{padding-inline:15px}
 .page-v11 .demo-phone-frame .conversation{padding-inline:12px}
 .page-v11 .demo-phone-frame .demo-controls{padding-inline:12px}
 .page-v11 .demo-phone-frame .message{padding:13px 14px}
 .page-v11 .demo-phone-frame .demo-plan{margin-inline:12px;padding:16px}
 .page-v11 .demo-phone-frame .console-footer{padding-inline:15px}
}



/* Longevity story and research details. */
.page-v11 .longevity-section{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,3vw,2.75rem) clamp(2rem,6vw,5rem);align-items:start}
.page-v11 .research-story{grid-column:1/-1}
.page-v11 .longevity-section h2{max-width:none;font-size:clamp(2.4rem,5.6vw,5rem);line-height:1.06;letter-spacing:-.05em}
.page-v11 .longevity-section h2 span{color:#a3f0d4}
.page-v11 .research-intro{font-size:clamp(1.125rem,1.5vw,1.25rem);line-height:1.65;max-width:43ch;margin:0;color:#d4e4ed}
.page-v11 .research-scale{display:flex;flex-wrap:wrap;gap:4px 18px;margin:24px 0 0;font-size:1rem;line-height:1.5;color:#d4e4ed}
.page-v11 .research-scale strong{color:#a3f0d4;font-weight:600;font-variant-numeric:tabular-nums}
.page-v11 .research-count-note{margin:8px 0 0;font-size:.875rem;line-height:1.5;color:#b5ccd9}
.page-v11 .research-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.page-v11 .research-topics li{padding:12px 14px;border:1px solid #326358;border-radius:10px;background:#15352f;display:flex;align-items:center;font-size:1rem;line-height:1.4;color:#e8f8f1}
.page-v11 .longevity-copy .research-detail{margin-top:16px;padding-top:4px}
.page-v11 .research-detail summary{font-size:1rem;line-height:1.6;padding-block:12px;color:#e8f5fa}
.page-v11 .research-detail p{font-size:1rem;line-height:1.75;color:#c6dbe4}
.page-v11 .research-totals{width:100%;margin:24px 0;border-collapse:collapse;font-size:.9375rem;line-height:1.4;color:#d0e2ea}
.page-v11 .research-totals caption{margin-bottom:8px;color:#e8f5fa;text-align:left;font-weight:600}
.page-v11 .research-totals th,.page-v11 .research-totals td{padding:10px 6px;border-bottom:1px solid #35556a;text-align:left}
.page-v11 .research-totals tbody th{font-weight:400}
.page-v11 .research-totals th:not(:first-child),.page-v11 .research-totals td{text-align:right;font-variant-numeric:tabular-nums}
.page-v11 .research-totals tfoot{color:#a3f0d4;font-weight:600}
.page-v11 .research-detail h4{margin:24px 0 0;color:#e8f5fa;font-size:1rem}
.page-v11 .research-source-list{display:grid;gap:20px;padding:0;margin:24px 0 0;list-style:none}
.page-v11 .research-source-list li{display:grid;gap:5px;font-size:1rem;line-height:1.6}
.page-v11 .research-detail a{color:#8fe9df;text-decoration:underline;text-underline-offset:4px;font-weight:500}
.page-v11 .research-source-list li span{color:#bacfdb}
@media(max-width:760px){.page-v11 .longevity-section{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.page-v11 .research-topics li{padding:10px;font-size:.9375rem}}

/* Keep mobile reply choices in view while the message history remains scrollable. */
@media(max-width:720px){.page-v11 .demo-phone-frame .conversation{max-height:min(420px,52svh)}}

/* V13: generated landscape compositions fill the same image well, without stretching. */
.page-v13 .source-card-miles .source-card-image>img{object-fit:cover;object-position:50% 38%}
.page-v13 .source-card-context .source-card-image>img{object-position:50% 28%}
.page-v13 .source-card-wearables .source-card-image>img{object-position:50% 28%}

/* Scenario guide and replies. */
.page-v13 .demo-section .light-heading{margin-bottom:24px}
.demo-guide{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-bottom:18px;padding:14px 18px;border:1px solid #b7d9d8;border-radius:14px;background:#e7f4f1;color:#234c51}
.demo-guide p{font-size:1.125rem;line-height:1.5}
.demo-guide strong{color:#102f3d;font-weight:700}
.demo-jump{padding:9px 14px;min-height:44px;border:1px solid #6da29e;border-radius:9px;background:#fff;color:#125557;font-size:.9375rem;font-weight:600}
.demo-jump:hover{background:#d7ece8}
.page-v13 .scenario-tabs{margin-bottom:28px}
.page-v13 .scenario-tabs button[aria-selected=true]{background:#0d5259;border-color:#0d5259;box-shadow:0 3px 9px #134b522e;font-weight:600}
.page-v13 .demo-grid{gap:clamp(24px,4vw,54px)}
.page-v13 .demo-phone-frame .example-badge{background:#143348;color:#c2deea;padding:5px 9px;border:1px solid #37596b;border-radius:8px;font-size:.8125rem}
.demo-reply-label{padding:10px 22px 0;color:#a8e3da;font-size:.9375rem;font-weight:600}
.page-v13 .demo-reply-label:not([hidden])+.demo-controls{padding-top:8px}
.page-v13 .demo-phone-frame .demo-controls:empty{display:none}
.page-v13 .demo-phone-frame .demo-controls button{width:100%;text-align:left}
.page-v13 .demo-phone-frame .demo-controls button:focus-visible,.demo-jump:focus-visible{outline:3px solid #35aaa4;outline-offset:2px}
.page-v13 .visit-notes .plan-steps{list-style:none;padding:0}
.page-v13 .visit-notes .plan-steps li{padding:11px 0;border-top:1px solid #36615f;margin:0;line-height:1.55}
.visit-note-label{display:block;margin-bottom:3px;color:#96ded2;font-size:.8125rem;letter-spacing:.05em}
@media(max-width:600px){
 .page-v13 .source-card-image{aspect-ratio:3/2}
 .page-v13 .source-card-image>img{object-position:50% 25%}
 .demo-guide{padding:12px 14px}
 .demo-guide p{font-size:1rem}
 .demo-reply-label{padding-inline:16px}
}
@media(max-width:720px){.page-v13 #miles-chat{scroll-margin-top:16px}}
