/* Host chapters are a separate pinned stage; original device chapters keep their timing. */
.navigation { gap:28px; }
.navigation .brand { flex-shrink:0; }
.navigation > nav { min-width:0; overflow-x:auto; white-space:nowrap; scrollbar-width:none; gap:22px; }
.navigation > nav::-webkit-scrollbar { display:none; }
.host-story { height:calc(100svh + 11.1 * 100vh); background:radial-gradient(ellipse at 35% 48%,#fff,#f5f5f7 80%); }
.host-stage { position:sticky; top:64px; height:calc(100svh - 64px); overflow:clip; }
.host-page { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:24px 5vw 74px; opacity:0; visibility:hidden; pointer-events:none; }
.host-page.is-visible { visibility:visible; }
.host-page.is-current { pointer-events:auto; }
.host-page:first-child { opacity:1; visibility:visible; }
.host-board { width:min(100%,1240px); }
.host-heading { margin-bottom:24px; }
.host-heading > p:first-child { font-size:11px; font-weight:600; letter-spacing:2px; color:#167d8d; margin:0 0 10px; }
.host-heading > p:first-child span { color:#8c939a; letter-spacing:1px; margin-left:14px; font-weight:400; }
.host-heading h2 { font-size:clamp(24px,2.7vw,38px); font-weight:600; letter-spacing:-1px; line-height:1.2; margin:0 0 10px; }
.host-heading .host-subtitle { font-size:15px; color:#6e6e73; line-height:1.6; }
.host-presentation { display:grid; grid-template-columns:minmax(0,1fr) 280px; align-items:center; gap:48px; }
.host-window { border:1px solid #d9e2e8; border-radius:14px; background:#fff; overflow:hidden; box-shadow:0 22px 65px #17334912,0 3px 10px #17334907; transform-origin:50% 40%; }
.host-window-bar { height:34px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 13px; color:#69788a; font-size:10px; background:#f9fafb; border-bottom:1px solid #d9e2e8; }
.window-dots { display:flex; gap:5px; }
.window-dots i { width:7px; height:7px; background:#d1d7dd; border-radius:50%; }
.host-example { font-size:9px; }
.host-window iframe { display:block; width:100%; height:min(490px,calc(100svh - 360px)); min-height:280px; border:0; pointer-events:none; }
.host-notes { display:grid; gap:24px; }
.host-notes h3 { font-size:17px; font-weight:550; margin:0 0 8px; }
.host-notes p { font-size:13px; line-height:1.85; color:#6e6e73; margin:0; }
.host-notes .host-small-note { font-size:11px; }
.host-demo-note { font-size:10px; color:#8b8b90; margin-top:12px; }
.host-device { display:flex; align-items:center; gap:10px; border-top:1px solid #d2d2d7; padding-top:6px; color:#6e6e73; font-size:12px; }
.host-device img { width:110px; height:auto; display:block; }
.host-back { font-size:13px; color:#0066cc; }
.host-chapters { display:flex; justify-content:center; gap:8px; position:absolute; bottom:22px; left:20px; right:20px; font-size:11px; z-index:4; }
.host-chapters a { padding:9px 15px; border-radius:24px; color:#6e6e73; background:#ffffffa8; border:1px solid transparent; }
.host-chapters a[aria-current=step] { color:#167d8d; background:#eaf4f4; border-color:#167d8d33; }
.host-journey { display:none; position:absolute; z-index:3; left:20%; right:33%; top:56%; align-items:center; gap:14px; pointer-events:none; }
.host-journey span { border:1px solid #c6dddd; border-radius:14px; background:#f7fcfc; box-shadow:0 8px 35px #17334912; padding:20px 24px; color:#167d8d; font-size:15px; }
.host-journey i { flex:1; height:1px; background:#167d8d77; }
@media (max-width:1000px) and (min-width:601px) {
 .host-presentation { grid-template-columns:minmax(0,1fr) 220px; gap:25px; }
 .host-notes { gap:18px; }
 .host-notes h3 { font-size:15px; }
 .host-notes p { font-size:12px; }
 .host-chapters a { padding:8px 10px; }
}
@media (max-height:750px) and (min-width:601px) {
 .host-heading { margin-bottom:16px; }
 .host-heading h2 { font-size:28px; }
 .host-notes { gap:16px; }
 .host-notes h3 { font-size:15px; }
 .host-notes p { font-size:12px; }
 .host-device img { width:80px; }
}
@media (max-width:600px) {
 .navigation > nav { gap:14px; }
 .navigation > nav [data-host-nav] { display:block; }
 .host-story { height:auto; }
 .host-stage { position:relative; top:auto; height:auto; overflow:visible; }
 .host-page { position:relative; inset:auto; height:auto; opacity:1; visibility:visible; padding:36px 20px; scroll-margin-top:58px; }
 .host-presentation { grid-template-columns:1fr; gap:24px; }
 .host-heading h2 { font-size:26px; }
 .host-heading .host-subtitle { font-size:13px; }
 .host-window iframe { height:560px; min-height:0; }
 .host-notes { gap:16px; }
 .host-notes h3 { font-size:15px; }
 .host-notes p { font-size:12px; }
 .host-device { display:none; }
 .host-chapters { display:none; }
 .host-journey { display:none !important; }
}
@media (prefers-reduced-motion:reduce) { .host-window { transform:none !important; } }

/* Shared mode-switching copy on the cover. */
.host-switch-instruction { margin-top:12px !important; }
.host-switch-instruction kbd { display:inline-block; font:11px ui-monospace,Consolas,monospace; padding:2px 5px; color:#1d1d1f; background:#fff; border:1px solid #cdd6dc; border-bottom-width:2px; border-radius:4px; white-space:nowrap; }
.host-switch-instruction strong { color:#1d1d1f; font-weight:500; white-space:nowrap; }
#host .host-small-note { margin-top:9px; }

/* The overview uses a complete capture of the original Host, without cropping. */
.host-real-screenshot { display:block; width:100%; height:auto; }
@media (min-width:601px) {
 body:not(.poster-export) #host .host-window { width:min(100%,calc(100svh - 310px)); justify-self:end; }
}

#host .host-heading { text-align:center; margin-bottom:22px; }
#host .host-heading h2 { font-size:clamp(30px,3vw,48px); letter-spacing:-1.5px; font-weight:650; margin:0; }
#host .host-heading h2 span { font-weight:400; color:#6e6e73; }
@media (min-width:1800px) and (min-height:900px) {
 body:not(.poster-export) #host .host-heading h2 { font-size:60px; }
}

/* Keep the Host cover aligned with the Haplink Offline cover typography. */
#host .host-board { width:min(100%,1300px); }
#host .host-presentation { grid-template-columns:1.15fr 1fr; gap:54px; }
#host .host-notes { gap:26px; }
#host .host-notes h3 { font-size:18px; font-weight:550; margin:0 0 7px; }
#host .host-notes p { font-size:13px; line-height:1.8; color:#6e6e73; }
@media (min-width:601px) {
 body:not(.poster-export) #host .host-window { width:min(100%,calc(100svh - 250px)); }
}
@media (max-width:900px) and (min-width:601px) {
 #host .host-presentation { grid-template-columns:1fr 1.1fr; gap:24px; }
 #host .host-notes { gap:20px; }
 #host .host-notes h3 { font-size:15px; }
 #host .host-notes p { font-size:12px; }
}
@media (min-width:1800px) and (min-height:900px) {
 body:not(.poster-export) #host .host-board { width:min(100%,1760px); }
 body:not(.poster-export) #host .host-presentation { grid-template-columns:1.15fr 1fr; gap:70px; }
 body:not(.poster-export) #host .host-notes { gap:38px; }
 body:not(.poster-export) #host .host-notes h3 { font-size:24px; }
 body:not(.poster-export) #host .host-notes p { font-size:19px; }
}
@media (max-width:600px) {
 #host .host-presentation { grid-template-columns:1fr; gap:24px; }
 #host .host-heading h2 { font-size:30px; letter-spacing:-1px; }
 #host .host-notes { gap:14px; }
 #host .host-notes h3 { font-size:13px; margin-bottom:4px; }
 #host .host-notes p { font-size:11px; line-height:1.6; }
}

/* Real Host screenshots with vector step annotations. */
.host-guide .host-presentation { grid-template-columns:1.15fr 1fr; gap:54px; }
.host-guide .host-heading { text-align:center; margin-bottom:30px; }
.host-guide .host-heading h2 { font-size:clamp(28px,3vw,40px); }
.host-guide .host-notes { gap:26px; }
.host-guide .host-notes h3 { font-size:18px; font-weight:550; margin:0 0 7px; }
.host-guide .host-notes p { font-size:13px; line-height:1.8; color:#6e6e73; }
.host-guide .host-notes strong { color:#1d1d1f; font-weight:550; }
.host-guide .host-followup { margin-top:10px; }
.host-step-picture { display:block; width:100%; height:auto; background:#fff; }
.host-step-outline { fill:#167d8d08; stroke:#167d8d; stroke-width:2; }
.host-step-marker circle { fill:#167d8d; stroke:#fff; stroke-width:2; }
.host-step-marker text { fill:#fff; font-size:16px; font-weight:600; text-anchor:middle; dominant-baseline:middle; }
.host-step-number { display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; font:600 12px Inter,sans-serif; background:#167d8d; color:#fff; border-radius:50%; margin-right:9px; vertical-align:middle; }
.host-script-captures { display:grid; gap:20px; padding:20px; background:#eef2f6; }
.host-script-captures figure { position:relative; margin:0; overflow:hidden; border-radius:8px; }
.host-script-captures img { display:block; width:100%; height:auto; }
.host-script-badge { position:absolute; left:8px; top:10px; z-index:1; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#167d8d; color:#fff; font-size:13px; font-weight:600; }
.host-guide-image { pointer-events:none; }
.host-chapters { gap:4px; }
.host-chapters a { padding:9px 12px; }
@media (max-width:1000px) and (min-width:601px) {
 .host-guide .host-presentation { grid-template-columns:1fr 1.1fr; gap:24px; }
 .host-guide .host-notes { gap:18px; }
 .host-guide .host-notes h3 { font-size:15px; }
 .host-guide .host-notes p { font-size:12px; }
}
@media (max-height:750px) and (min-width:601px) {
 .host-guide .host-heading { margin-bottom:18px; }
 .host-guide .host-notes { gap:14px; }
 .host-guide .host-notes p { font-size:12px; line-height:1.7; }
 .host-guide .host-followup { margin-top:7px; }
}
@media (min-width:1800px) and (min-height:900px) {
 body:not(.poster-export) .host-guide .host-board { width:min(100%,1760px); }
 body:not(.poster-export) .host-guide .host-presentation { grid-template-columns:1.15fr 1fr; gap:70px; }
 body:not(.poster-export) .host-guide .host-notes { gap:38px; }
 body:not(.poster-export) .host-guide .host-notes h3 { font-size:24px; }
 body:not(.poster-export) .host-guide .host-notes p { font-size:19px; }
 .host-step-number { width:32px; height:32px; font-size:15px; }
}
@media (max-width:600px) {
 .host-guide .host-presentation { grid-template-columns:1fr; gap:24px; }
 .host-guide .host-notes { gap:18px; }
 .host-guide .host-notes h3 { font-size:13px; }
 .host-guide .host-notes p { font-size:11px; line-height:1.6; }
 .host-guide .host-heading h2 { font-size:26px; }
}

/* Preserve the actual form layout and surrounding controls on every step page. */
.host-guide .host-guide-image { background:#fff; border:1px solid #d9e2e8; box-shadow:0 22px 65px #17334912,0 3px 10px #17334907; overflow:hidden; }
