/* Phone-specific composition. Loaded only for narrow screens and short touch landscapes.
   Desktop layout and artwork remain owned by style.css. */
.landing .wrap{width:calc(100% - 40px)}
.landing .nav{height:64px;gap:8px}
.landing .nav .brand{font-size:18px;gap:5px}
.landing .nav .brand img{width:24px;height:24px}
.landing .desktop-nav{display:none}
.landing .nav-actions{gap:6px}
.landing .nav-actions .button{white-space:nowrap;font-size:12px;padding:10px 12px;gap:0;min-height:44px}
.landing .nav-actions .button svg{display:none}
.landing .menu-toggle{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px}
.landing .menu-toggle svg{width:14px;height:14px}
.landing .mobile-nav{max-height:calc(100svh - 65px);overflow-y:auto;overscroll-behavior:contain;padding-block:8px 16px;gap:0}
.landing .mobile-nav a{min-height:44px;display:flex;align-items:center;padding:9px 0}
.landing section[id],.landing article[id],.landing .extra-tool{scroll-margin-top:84px}
/* Image comes directly after the heading; supporting text follows the evidence. */
.landing .hero{display:flex;flex-direction:column;padding-top:24px}
.landing .hero-heading{display:contents}
.landing .hero h1{order:0;font-size:clamp(35px,9.7vw,49px);line-height:1.04;letter-spacing:-.035em}
.landing .hero-stage.device-family{order:1;flex:none;width:100%;aspect-ratio:1.65;margin:22px 0 0}
.landing .family-caption{order:2;align-items:flex-start;text-align:left;font-size:11px;margin:12px 0 0;gap:0}
.landing .family-caption>div{font-size:11px}
.landing .hero-copy{order:3;margin-top:20px;padding:0}
.landing .hero-copy>p:first-child{font-size:17px;line-height:1.4}
.landing .hero-copy .muted{font-size:14px;line-height:1.4;margin-top:10px}
.landing .hero-copy .muted br{display:none}
.landing .hero-download{font-size:14px;margin-top:16px;margin-right:14px;padding:10px 18px}
.landing .release-note{display:inline;font-size:12px}
.landing .hero-copy .text-link{display:flex;width:fit-content;margin-top:4px;font-size:14px}
/* All eight workflow links stay visible, without three separate navigation bands. */
.landing .feature-nav{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:0 20px;padding-block:12px;margin-top:20px}
.landing .feature-group{display:contents}
.landing .feature-nav a{font-size:14px;min-height:44px}
/* Let the evidence use the full width, not a narrow column beside a timeline. */
.landing .timeline{padding:0}
.landing .timeline-track,.landing .timeline>.story-chapter::before,.landing .timeline-tools::before,.landing .timeline-tools::after,.landing .timeline-tools .story-chapter::after{display:none}
.landing .timeline>.story-chapter{display:flex;flex-direction:column;gap:18px;margin:32px 0 48px}
.landing .story-copy h2,.landing .timeline-tools .story-copy h2{font-size:clamp(30px,8.2vw,38px);line-height:1.08;min-height:0}
.landing .story-copy h2>svg,.landing .timeline-tools .story-copy h2>svg{display:inline-block;width:24px;height:24px;margin:0 8px 2px 0}
.landing .story-lead,.landing .timeline-tools .story-lead{font-size:16px;line-height:1.45;min-height:0;margin-top:12px}
.landing .scale-options{margin-top:18px;gap:18px}
.landing .scale-options strong{font-size:23px}
.landing .scale-options span{font-size:15px;line-height:1.4}
.landing .feature-explanation{margin-top:10px}
.landing .feature-explanation summary{min-height:44px}
.landing .story-figure,.landing .timeline>.story-chapter .story-figure,.landing .timeline-tools .story-figure{width:100%;max-width:none;margin:0}
.landing .story-figure .scale-device-window{display:none}
.landing .mobile-only{display:block}
.landing .mobile-app-detail,.landing .mobile-tool-context,.landing .mobile-browse-detail{color:var(--ink);text-decoration:none}
.landing .mobile-only>svg{display:block;width:100%;height:auto;fill:none;stroke:none;background:white}
.landing .mobile-app-detail{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.landing .scale-chapter .mobile-app-detail{background:#f7f8fa}
.landing .story-figure figcaption{font-size:13px;margin-top:4px;padding-block:8px;line-height:1.4}
.landing .timeline-tools{display:grid;grid-template-columns:1fr;gap:40px;margin:0;padding:0}
.landing .tools-heading{position:static;font-size:27px;padding:20px 0 0;border-top:1px solid var(--line)}
.landing .timeline-tools .story-chapter{display:flex;flex-direction:column;gap:16px;margin:0;align-items:stretch}
.landing .evidence-detail{margin:0;border-bottom:0}
.landing .evidence-detail>svg{height:auto;aspect-ratio:760/460}
.landing .area-chapter .evidence-detail>svg{aspect-ratio:800/780}
.landing .radius-chapter .evidence-detail>svg{aspect-ratio:485/470}
.landing .evidence-detail>span{font-size:14px;min-height:44px;padding:10px 0}
.landing .mobile-tool-context{border-top:1px solid var(--line);padding-top:8px}
.landing .timeline-tools .story-figure figcaption{font-size:12px}
.landing .evidence-note{font-size:12px;margin:28px 0 32px}
.landing .more-tools{display:grid;grid-template-columns:1fr;padding:30px 0;gap:16px}
.landing .more-tools h2{font-size:30px}
.landing .extra-tool summary{padding:16px 0;gap:12px}
.landing .extra-tool strong{font-size:19px}
.landing .extra-tool summary span span{font-size:14px}
/* The approved sample is shown at reading size, not miniaturised inside another screen. */
.landing .annotation-sample-section{padding:32px 0}
.landing .annotation-sample-section>.wrap{display:flex;flex-direction:column;width:calc(100% - 40px)}
.landing .annotation-heading h2{font-size:clamp(34px,9vw,43px);line-height:1.06}
.landing .annotation-sample{display:contents}
.landing .annotation-ipad{display:none}
.landing .annotation-sample figcaption{order:2;margin-top:0}
.landing .annotation-mobile-detail{display:block;order:1;width:100%;max-width:450px;margin:24px auto 0}
.landing .annotation-mobile-detail>svg{display:block;width:100%;height:auto;fill:none;stroke:none}
.landing .annotation-mobile-detail>span{font-size:15px}
/* Local files are the available connection; the original screen remains one tap away. */
.landing .browse-preview{display:grid;grid-template-columns:1fr;gap:20px;padding:32px 0}
.landing .browse-copy h2{font-size:36px}
.landing .browse-copy p{font-size:16px;margin-top:12px}
.landing .browse-copy h3{font-size:24px;margin-top:18px}
.landing .browse-device{display:none}
.landing .mobile-browse-detail{width:65%;max-width:240px;margin:0 auto}
.landing .download-section{padding:30px 0}
.landing .download-section h2{font-size:36px}
.landing .contact{grid-template-columns:1fr;gap:18px;padding:32px 0}
.landing .contact h2{font-size:34px;margin-bottom:12px}
.landing .contact h2 br{display:block}
.landing .contact-copy p{font-size:16px;max-width:none}
.landing .form-preview-note{font-size:14px;margin-bottom:16px}
.landing .form-grid{grid-template-columns:1fr 1fr;gap:14px 12px}
.landing .form-grid label{font-size:14px}
.landing .form-grid label span{font-size:12px}
.landing .form-grid input,.landing .form-grid textarea{min-height:44px;font-size:16px;padding:10px;margin-top:5px}
.landing .form-grid textarea{min-height:90px;height:90px}
.landing .form-footer{margin-top:14px;gap:14px}
.landing .form-footer p{font-size:13px}
.landing footer{padding-block:24px;gap:16px}
@media(max-width:360px){
 .landing .wrap,.landing .annotation-sample-section>.wrap{width:calc(100% - 32px)}
 .landing .nav .brand{font-size:17px;gap:4px}
 .landing .nav .brand img{width:22px;height:22px}
 .landing .nav-actions .button{font-size:11px;padding-inline:9px}
 .landing .menu-toggle{font-size:11px;padding-inline:9px;gap:4px}
}
/* Short touch landscapes use two compact columns, not the desktop's tall hero. */
@media(min-width:601px){
 .landing .wrap,.landing .annotation-sample-section>.wrap{width:calc(100% - 80px);max-width:880px}
 .landing .nav{height:56px}
 .landing .mobile-nav{max-height:calc(100svh - 57px);grid-template-columns:1fr 1fr;gap:0 28px}
 .landing .hero{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;padding-top:20px}
 .landing .hero h1{grid-column:1;grid-row:1;font-size:37px}
 .landing .hero-stage.device-family{grid-column:2;grid-row:1/3;align-self:center;margin:0;aspect-ratio:1.65}
 .landing .family-caption{grid-column:2;grid-row:3;margin:0}
 .landing .hero-copy{grid-column:1;grid-row:2/4;margin:0}
 .landing .hero-copy>p:first-child{font-size:16px}
 .landing .hero-copy .muted{font-size:12px}
 .landing .hero-copy .text-link{display:inline-flex}
 .landing .hero-download{margin-top:12px;font-size:12px}
 .landing .release-note{display:none}
 .landing .timeline>.story-chapter,.landing .timeline-tools .story-chapter{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
 .landing .timeline>.story-chapter .story-copy{max-width:none}
 .landing .story-copy h2,.landing .timeline-tools .story-copy h2{font-size:32px}
 .landing .timeline-tools{grid-template-columns:1fr;gap:36px}
 .landing .tools-heading{font-size:30px}
 .landing .annotation-mobile-detail{max-width:480px}
 .landing .annotation-sample-section>.wrap{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
 .landing .annotation-heading{grid-column:1;grid-row:1}
 .landing .annotation-heading h2{font-size:38px}
 .landing .annotation-mobile-detail{grid-column:2;grid-row:1/3;margin:0}
 .landing .annotation-sample figcaption{grid-column:1;grid-row:2}
 .landing .browse-preview{grid-template-columns:1fr 1fr}
 .landing .contact{grid-template-columns:1fr 1.2fr;gap:32px}
 .landing .family-ipad{width:55%}
 .landing .hero-stage .family-iphone{width:22%}
}
@media(hover:none){.landing .story-figure:hover .home-frame,.landing .button:hover{transform:none}}

.landing .mobile-browse-detail>span{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;font-weight:600;margin-top:4px}
.landing .mobile-browse-detail>span svg{width:16px;height:16px}
.landing .nav .brand{min-height:44px}
.landing .browse-copy{display:contents}
.landing .browse-copy h2{order:0}
.landing .browse-copy p{order:1;margin-top:0}
.landing .mobile-browse-detail{order:2}
.landing .browse-copy h3{order:3;margin-top:4px}
@media(min-width:601px){
 .landing .browse-copy h2{grid-column:1;grid-row:1}
 .landing .browse-copy p{grid-column:1;grid-row:2}
 .landing .browse-copy h3{grid-column:1;grid-row:3}
 .landing .mobile-browse-detail{grid-column:2;grid-row:1/4}
}
/* Mobile art direction: device context and enlarged evidence share one composition. */
@media(max-width:600px){
 .landing .hero{padding-top:30px}
 .landing .hero h1{font-size:clamp(38px,10.8vw,52px);line-height:1.02;max-width:11ch;letter-spacing:-.035em}
 .landing .hero-stage.device-family{aspect-ratio:1.18;margin-top:26px}
 .landing .family-mac{left:8%;top:-5%;width:94%}
 .landing .family-ipad{left:-2%;bottom:10%;width:65%}
 .landing .hero-stage .family-iphone{width:32%;right:1%;bottom:0;padding:.8%}
 .landing .family-caption{margin-top:16px;line-height:1.6}
 .landing .hero-copy{margin-top:24px}
 .landing .hero-copy>p:first-child{font-size:18px}
 .landing .feature-nav{margin-top:28px;gap:2px 22px}
 .landing .timeline>.story-chapter{margin:44px 0 64px;gap:26px}
 .landing .story-copy h2,.landing .timeline-tools .story-copy h2{font-size:clamp(32px,9.4vw,43px);letter-spacing:-.035em}
 .landing .story-copy h2>svg,.landing .timeline-tools .story-copy h2>svg{display:block;width:25px;height:25px;margin:0 0 12px}
 .landing .story-figure{position:relative}
 /* Setup is an actual phone with its sheet enlarged over the lower edge. */
 .landing .scale-chapter .story-figure{padding-bottom:0;min-height:0}
 .landing .scale-chapter .scale-device-window{display:block;width:58%;max-width:220px;margin:0 0 0 auto}
 .landing .scale-chapter .mobile-app-detail{position:relative;z-index:2;width:80%;margin:-44% 0 0;order:2;border:0;box-shadow:0 12px 30px #11212d24;border-radius:14px}
 .landing .scale-chapter .story-figure{display:flex;flex-direction:column}
 .landing .scale-chapter figcaption{order:3;margin-top:18px}
 /* Snapping: complete app view plus the original magnifier, in one scene. */
 .landing .snap-chapter .story-figure{padding-top:20px}
 .landing .snap-chapter .scale-device-window{display:block;width:56%;max-width:210px;margin:0 0 0 auto}
 .landing .snap-chapter .mobile-app-detail{position:absolute;left:0;top:48px;z-index:2;width:54%;border:0;border-radius:50%;box-shadow:0 12px 26px #11212d1a}
 .landing .snap-chapter figcaption{margin-top:20px}
 /* A drawing detail in front, its complete phone behind: no second stacked image. */
 .landing .timeline-tools{gap:58px}
 .landing .tools-heading{font-size:30px;padding-top:28px}
 .landing .timeline-tools .story-chapter{gap:26px}
 .landing .timeline-tools .story-figure{padding-top:58px}
 .landing .timeline-tools .scale-device-window{display:block;position:absolute;z-index:0;right:0;top:0;width:42%;max-width:160px;margin:0}
 .landing .timeline-tools .evidence-detail{position:relative;z-index:1;width:78%;background:white;border-radius:12px 12px 0 0;overflow:hidden;box-shadow:0 8px 22px #11212d12}
 .landing .timeline-tools .evidence-detail>span{font-size:12px;padding:12px;min-height:48px}
 .landing .timeline-tools .mobile-tool-context{position:relative;z-index:2;width:78%;padding:0;border:0;background:white;border-radius:0 0 12px 12px;box-shadow:0 8px 22px #11212d12;overflow:hidden}
 .landing .timeline-tools .story-figure figcaption{margin-top:18px;font-size:12px}
 .landing .area-chapter .scale-device-window{left:auto;right:0}
 .landing .area-chapter .evidence-detail,.landing .area-chapter .mobile-tool-context{margin-left:0}
 .landing .more-tools{padding-block:40px}
 .landing .annotation-sample-section{padding-block:44px}
 .landing .annotation-heading h2{font-size:clamp(36px,10vw,46px)}
 .landing .annotation-sample{display:block;order:1;margin:26px 0 0}
 .landing .annotation-ipad{display:block;width:100%}
 .landing .annotation-mobile-detail{position:relative;z-index:3;width:86%;margin:-12% 0 0 auto;order:2;background:white;box-shadow:0 14px 32px #11212d20;border-radius:12px;overflow:hidden}
 .landing .annotation-mobile-detail>span{font-size:14px;padding:14px}
 .landing .annotation-sample figcaption{margin:0;position:relative;z-index:4;transform:translateY(0);display:none}
 .landing .browse-preview{grid-template-columns:1fr 1fr;gap:14px 20px;padding-block:48px;align-items:center}
 .landing .browse-copy{display:block;grid-column:1;grid-row:1}
 .landing .browse-copy h2{font-size:clamp(28px,8vw,36px)}
 .landing .browse-copy p{font-size:15px;margin-top:16px;line-height:1.45}
 .landing .browse-copy h3{font-size:20px;margin-top:28px;line-height:1.2}
 .landing .browse-device{display:block;grid-column:2;grid-row:1;width:100%;transform:none}
 .landing .mobile-browse-detail{display:none}
 .landing .download-section{padding-block:40px}
 .landing .contact{padding-block:40px}
}

/* One shared alignment and shadow treatment across the mobile evidence scenes. */
@media(max-width:600px){
 .landing .story-copy h2>svg,.landing .timeline-tools .story-copy h2>svg{display:inline-block;width:24px;height:24px;margin:0 8px 3px 0;vertical-align:middle}
 .landing .timeline-tools .story-figure{max-width:400px;margin-inline:auto}
 .landing .timeline-tools .story-figure figcaption{margin-top:16px;line-height:1.5}
 .landing .scale-chapter .mobile-app-detail{box-shadow:0 10px 26px #11212d1c}
 .landing .snap-chapter .mobile-app-detail{box-shadow:0 8px 22px #11212d12}
}
/* Annotation is presented once, in the approved iPad. */
.landing .annotation-mobile-detail{display:none}
.landing .annotation-sample{display:block;margin:26px 0 0}
.landing .annotation-ipad{display:block;width:100%}
.landing .annotation-sample figcaption{display:flex;position:static;justify-content:flex-end;transform:none;margin:12px 0 0}
@media(min-width:601px){
 .landing .annotation-sample{grid-column:2;grid-row:1/3;margin:0}
 .landing .annotation-sample figcaption{display:flex}
}
/* The enlarged evidence leads; compact devices provide context without tall empty stages. */
@media(max-width:600px){
 .landing .feature-nav{display:grid;grid-template-columns:1fr;margin-top:24px;padding:8px 0;gap:0;border-block:1px solid var(--line)}
 .landing .feature-group{display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;width:auto;padding:2.5px 0}
 .landing .feature-group+.feature-group{border-top:1px solid #edf0f1}
 .landing .feature-nav a{font-size:14px;font-weight:500;min-height:44px;color:var(--secondary)}
 .landing .feature-group:first-child a{color:var(--ink);font-weight:650}
 .landing .scale-chapter .scale-device-window{width:40%;max-width:155px;margin:0 0 0 auto}
 .landing .scale-chapter .mobile-app-detail{width:86%;margin:-60% 0 0;border-radius:12px}
 .landing .scale-chapter .story-figure{padding-top:0}
 .landing .scale-chapter figcaption{margin-top:14px}
 .landing .snap-chapter .scale-device-window{width:42%;max-width:160px;margin:0 0 0 auto}
 .landing .snap-chapter .story-figure{padding-top:0}
 .landing .snap-chapter .mobile-app-detail{width:65%;top:30px}
 .landing .snap-chapter figcaption{margin-top:16px}
 .landing .timeline-tools .story-figure{padding-top:32px}
 .landing .timeline-tools .scale-device-window{width:30%;max-width:116px;right:0;top:0}
 .landing .timeline-tools .evidence-detail,.landing .timeline-tools .mobile-tool-context{width:88%}
 .landing .timeline-tools .evidence-detail>span{font-size:13px;padding:10px;min-height:44px}
 .landing .timeline-tools{gap:44px}
 .landing .timeline>.story-chapter{margin-bottom:48px;gap:20px}
 .landing .timeline-tools .story-chapter{gap:20px}
 .landing .scale-options{gap:20px;margin-top:16px}
 .landing .scale-options strong{font-size:20px;line-height:1.2}
 .landing .scale-options span{font-size:14px;line-height:1.45;margin-top:6px}
}

/* Approved mobile-only projection artwork. Desktop uses its unchanged figures. */
.landing .story-figure:has(>.mobile-projection){display:block;padding:0;min-height:0;width:100%;max-width:440px;margin-inline:auto}
.landing .story-figure:has(>.mobile-projection)>:not(.mobile-projection):not(figcaption){display:none}
.landing .story-figure>.mobile-projection{display:block;position:relative;width:100%;margin:0;border:0;background:none;box-shadow:none;border-radius:0;line-height:0}
.landing .mobile-projection img{display:block;width:100%;height:auto;object-fit:contain}
.landing .story-figure:has(>.mobile-projection)>figcaption{display:flex;position:static;margin-top:12px;gap:12px;line-height:1.5}
/* Mobile reading rhythm: short headings, compact navigation, image-led chapters. */
.landing .hero{padding-top:20px}
.landing .hero h1{font-size:clamp(28px,8.2vw,36px);line-height:1.08;max-width:none;letter-spacing:-.035em;margin:0}
.landing .hero-stage.device-family{margin-top:14px}
.landing .family-caption{margin-top:6px;line-height:1.4}
.landing .hero-copy{margin-top:14px}
.landing .hero-copy>p:first-child{font-size:16px;line-height:1.4}
.landing .hero-copy .muted{font-size:14px;margin-top:8px}
.landing .hero-download{margin-top:12px}
.landing .feature-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 5px;padding:4px 0;margin-top:18px;border-block:1px solid var(--line)}
.landing .feature-nav .feature-group{display:contents;border:0;padding:0}
.landing .feature-nav a{display:flex;justify-content:center;align-items:center;min-height:44px;padding:0;font-size:12.5px;white-space:nowrap;font-weight:500}
.landing .timeline>.story-chapter{margin:24px 0 32px;gap:10px}
.landing .story-copy h2,.landing .timeline-tools .story-copy h2{font-size:clamp(25px,6.9vw,30px);line-height:1.12;letter-spacing:-.025em;min-height:0}
.landing .story-copy h2>svg,.landing .timeline-tools .story-copy h2>svg{width:20px;height:20px;margin:0 6px 2px 0}
.landing .story-lead,.landing .timeline-tools .story-lead{font-size:15px;line-height:1.4;margin-top:8px;min-height:0}
.landing .scale-options{gap:16px;margin-top:12px}
.landing .scale-options p{margin:0}
.landing .scale-options strong{font-size:17px;line-height:1.25}
.landing .scale-options span{font-size:14px;line-height:1.4;margin-top:4px}
.landing .feature-explanation{margin-top:6px}
.landing .feature-explanation summary{font-size:14px;min-height:44px;padding:8px 0;gap:14px}
.landing .feature-explanation p{font-size:14px;line-height:1.5;margin-top:8px}
.landing .timeline-tools{gap:28px}
.landing .tools-heading{font-size:24px;line-height:1.15;padding-top:16px}
.landing .timeline-tools .story-chapter{gap:10px}
.landing .story-figure:has(>.mobile-projection)>figcaption{margin-top:4px;padding-block:4px;font-size:11px;line-height:1.4}
.landing .evidence-note{margin:18px 0;font-size:12px;line-height:1.5}
.landing .more-tools{padding-block:24px;gap:12px}
.landing .more-tools h2{font-size:26px;line-height:1.15}
.landing .extra-tool summary{padding:12px 0}
.landing .extra-tool strong{font-size:17px}
.landing .annotation-sample-section{padding-block:28px}
.landing .annotation-heading h2{font-size:30px;line-height:1.1}
.landing .annotation-sample{margin-top:16px}
.landing .browse-preview{padding-block:28px;gap:12px}
.landing .browse-copy h2{font-size:26px}
.landing .browse-copy h3{font-size:18px;margin-top:16px}
.landing .browse-copy p{font-size:14px;margin-top:10px}
.landing .download-section{padding-block:26px}
.landing .download-section h2{font-size:30px;line-height:1.12}
.landing .contact{padding-block:26px;gap:14px}
.landing .contact h2{font-size:28px;line-height:1.12;margin-bottom:8px}
.landing .contact-copy p{font-size:15px}
@media(min-width:601px){.landing .feature-nav{grid-template-columns:repeat(8,minmax(0,1fr))}.landing .hero h1{font-size:32px}}
/* Compact header with a floating navigation panel. */
.landing .nav{height:52px;gap:6px}
.landing .nav .brand{font-size:17px;gap:5px}
.landing .nav .brand img{width:22px;height:22px}
.landing .nav-actions{gap:5px}
.landing .nav-actions>.button,.landing .nav-actions>.menu-toggle{position:relative;isolation:isolate;min-height:44px;padding:0 11px;font-size:12px;line-height:1;box-shadow:none;border:0;background:transparent}
.landing .nav-actions>.button:before,.landing .nav-actions>.menu-toggle:before{content:"";position:absolute;inset:6px 0;z-index:-1;border-radius:999px;background:#313742}
.landing .nav-actions>.menu-toggle:before{background:#fff;border:1px solid #d7dbe0}
.landing .nav-actions>.menu-toggle[aria-expanded=true]:before{background:#edf0f2;border-color:#c3cad1}
.landing .menu-toggle svg{transition:transform .18s ease}
.landing .menu-toggle[aria-expanded=true] svg{transform:rotate(45deg)}
.landing .mobile-nav{position:absolute;top:calc(100% + 8px);right:20px;left:auto;width:min(250px,calc(100vw - 40px));max-height:calc(100svh - 76px);margin:0;padding:8px;background:#fff;border:1px solid #e3e6e9;border-radius:18px;box-shadow:0 16px 40px -12px #18233238;overflow-y:auto;display:grid;gap:2px;transform-origin:top right}
.landing .mobile-nav[hidden]{display:none}
.landing .mobile-nav:not([hidden]){animation:phone-menu-in .18s cubic-bezier(.16,1,.3,1)}
.landing .mobile-nav a{min-height:44px;padding:11px 14px;border-radius:11px;font-size:14px;font-weight:550;line-height:1.4;color:#313742}
.landing .mobile-nav a:hover,.landing .mobile-nav a:focus-visible{background:#f0f2f4}
.landing .mobile-nav a[aria-current=location]{background:#edf0f2;color:#182332}
.landing .mobile-nav a:nth-last-child(2){margin-top:4px;border-top:1px solid #edf0f2;border-top-left-radius:0;border-top-right-radius:0}
.landing section[id],.landing article[id],.landing .extra-tool{scroll-margin-top:68px}
@keyframes phone-menu-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.landing .mobile-nav:not([hidden]){animation:none}.landing .menu-toggle svg{transition:none}}
/* Compact, icon-led floating navigation; touch targets remain 44px. */
.landing .mobile-nav{width:min(218px,calc(100vw - 32px));right:16px;padding:5px;border-radius:15px;gap:0;grid-template-columns:1fr}
.landing .mobile-nav a{padding:8px 10px;gap:10px;min-height:44px;font-size:14px;font-weight:500;border-radius:9px}
.landing .mobile-nav a .menu-icon{display:block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#565d69}
.landing .mobile-nav a:nth-last-child(2){margin-top:3px}
.landing .family-caption{width:fit-content;margin-left:0;margin-right:auto;align-items:flex-start;text-align:left}
/* Approved navy iPhone shell also applies to the mobile hero. */
.landing .hero-stage .family-iphone{background:#182332;padding:2.5px;border:0;border-radius:16% / 7.6%;box-shadow:0 10px 20px -10px #18233230}
.landing .hero-stage .family-iphone:before{display:none}
.landing .hero-stage .family-iphone .device-screen{border-radius:14.5% / 6.7%;aspect-ratio:1320/2868;overflow:hidden}
.landing .hero-stage .family-iphone img{width:100%;height:auto;object-fit:contain}
.landing .hero-stage .family-iphone .device-key{background:#182332}
/* Mobile hero: keep device sizes credible within the same scene. */
.landing .hero-stage.device-family{aspect-ratio:1.55}
.landing .family-mac{width:94%;left:8%;top:-7%}
.landing .family-ipad{width:65%;left:-2%;bottom:0}
.landing .hero-stage .family-iphone{width:20%;right:1%;bottom:0;padding:2.5px}
@media(min-width:601px){
 .landing .hero-stage.device-family{aspect-ratio:1.65}
 .landing .family-ipad{width:59%;left:0;bottom:0}
 .landing .hero-stage .family-iphone{width:18%;right:0;bottom:0}
}
/* Same physical ratios as desktop; only the arrangement adapts. */
.landing .hero-stage.device-family{--mac-art-width:90%;--ipad-art-width:55.63%;--iphone-body-width:21.76%;aspect-ratio:1.45}
.landing .family-mac{width:var(--mac-art-width);left:9%;top:-5%}
.landing .family-ipad{width:var(--ipad-art-width);left:0;bottom:0}
.landing .hero-stage .family-iphone{width:var(--iphone-body-width);right:0;bottom:0;aspect-ratio:78/163.4}
.landing .hero-stage .family-iphone .device-screen{height:100%;aspect-ratio:auto}
.landing .hero-stage .family-iphone img{height:100%;object-fit:contain}

/* Approved mobile hero rim: preserve as the desktop reference. */
.landing .hero-stage .family-iphone{padding:2.5px}

/* Mobile footer: header-sized identity row and one compact row of links. */
.landing footer{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0 12px;padding-block:4px}
.landing footer .brand{grid-column:1;grid-row:1;min-height:44px;font-size:17px;gap:5px}
.landing footer .brand img{width:22px;height:22px}
.landing footer p{grid-column:2;grid-row:1;justify-self:end;margin:0;font-size:11px;white-space:nowrap}
.landing footer nav{grid-column:1 / -1;grid-row:2;width:100%;justify-content:space-between;gap:8px;font-size:12px;flex-wrap:nowrap}
.landing footer nav a{min-height:44px}

/* Links first; compact brand/copyright baseline closes the mobile page. */
.landing footer{padding-block:2px;row-gap:0}
.landing footer nav{grid-row:1}
.landing footer nav a{min-height:32px}
.landing footer .brand{grid-row:2;min-height:32px}
.landing footer p{grid-row:2}

/* Match the approved desktop hero composition at phone widths. */
.landing .hero-stage.device-family{--mac-art-width:78%;--ipad-art-width:48.21%;--iphone-body-width:18.86%;aspect-ratio:1.9}
.landing .hero-stage .family-mac{width:var(--mac-art-width);left:18%;top:-7%}
.landing .hero-stage .family-ipad{width:var(--ipad-art-width);left:0;bottom:0}
.landing .hero-stage .family-iphone{width:var(--iphone-body-width);right:0;bottom:0;padding:calc(var(--iphone-body-width) * .03283)}
.landing .hero-stage .family-iphone .device-screen{aspect-ratio:1320/2868}
.landing .hero-stage .family-iphone img{display:block;width:100%;height:auto;object-fit:contain}

/* Browse uses the same proportionate navy shell as the other full-phone figures. */
.landing .browse-device{padding:3.283%;background:#182332;border:0;border-radius:16% / 7.6%}
.landing .browse-device::before{display:none}
.landing .browse-device .device-screen{border-radius:14.5% / 6.7%}
.landing .browse-device .device-key{background:#182332}
