/* A visual explanation, not an invented app screen. Scoped to the guide page. */
.how-guide { --guide-surface: #f2f4f6; --guide-muted: #4d5b67; }
.how-guide .guide-section { padding: 78px 0 86px; scroll-margin-top: 82px; }
.guide-icon { width: 48px; height: 48px; color: #566674; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.guide-hero { padding: 82px 0 64px; }
.guide-hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; }
.guide-hero h1 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); font-weight: 650; letter-spacing: -.05em; line-height: 1.12; text-wrap: pretty; }
.guide-hero .section-index { margin: 0 0 23px; }
.guide-hero-copy > p:last-child { max-width: 47ch; margin: 23px 0 0; color: var(--guide-muted); font-size: 17px; line-height: 1.75; }
.guide-overview { margin: 0; padding: 34px 36px 25px; border: 1px solid #d9dfe4; border-radius: 20px; background: linear-gradient(145deg,#fafbfc,#eef1f4); box-shadow: 0 18px 46px #2028330a; }
.overview-heading { display: flex; align-items: center; gap: 10px; color: #26313d; font-size: 13px; font-weight: 650; }
.overview-heading img { width: 23px; height: 23px; }
.overview-record { display: flex; align-items: center; gap: 17px; margin: 25px 0 20px; }
.overview-record > .guide-icon { width: 68px; height: 68px; padding: 13px; border: 1px solid #d4dce2; border-radius: 15px; background: #ffffffb8; }
.overview-record strong { display: block; color: var(--ink-strong); font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.overview-record span { display: block; margin-top: 5px; color: var(--guide-muted); font-size: 12px; }
.overview-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding-top: 20px; border-top: 1px solid #d2dae0; }
.overview-links > div { display: flex; align-items: center; gap: 8px; color: #3d4956; font-size: 12px; }
.overview-links .guide-icon { width: 24px; height: 24px; }
.guide-overview figcaption { margin-top: 20px; color: var(--guide-muted); font-size: 10px; line-height: 1.5; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 47px; padding-top: 23px; border-top: 1px solid var(--line); }
.guide-jumps a { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; color: #566674; font-size: 12px; text-decoration: none; }
.guide-jumps a span { color: #929eaa; font-size: 10px; }
.guide-jumps a:hover { color: var(--ink-strong); text-decoration: underline; text-underline-offset: 4px; }
.how-guide .page-section-heading { max-width: 820px; margin-bottom: 32px; }
.how-guide .page-section-heading h2 { font-size: clamp(30px,3.3vw,44px); font-weight: 630; line-height: 1.18; text-wrap: pretty; }
.guide-phrase { display: inline-block; }
.how-guide .page-section-heading > p:last-child:not(.section-index) { max-width: 61ch; margin-top: 15px; line-height: 1.7; }
.input-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.input-tabs button { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 78px; margin: 0 0 -1px; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #6a7682; font: inherit; font-size: 14px; cursor: pointer; }
.input-tabs button[aria-selected="true"] { border-bottom-color: #354653; color: #17212c; }
.input-tabs button:hover { background: #f1f4f6; }
.input-tabs button:active { background: #e7ecef; }
.input-tabs .guide-icon { width: 30px; height: 30px; }
.input-tabs button small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; }
.apple-device-pair { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 66px; }
.apple-device-pair .guide-icon { width: 42px; height: 62px; }
.input-tabs .apple-device-pair { width: 44px; height: 30px; }
.input-tabs .apple-device-pair .guide-icon { width: 22px; height: 30px; }
.how-guide [hidden] { display: none !important; }
.input-panel { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 65px; row-gap: 22px; align-items: center; padding: 46px 0 24px; }
.input-panel + .input-panel { border-top: 1px solid var(--line); }
.input-panel h3 { margin: 13px 0 15px; color: var(--ink-strong); font-size: clamp(24px,2.3vw,30px); font-weight: 610; letter-spacing: -.035em; line-height: 1.25; }
.route-tag { color: #6b7986; font-size: 10px; font-weight: 650; letter-spacing: .1em; }
.input-instructions { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.input-instructions li { position: relative; padding: 10px 0 10px 31px; color: #4d5b67; font-size: 16px; line-height: 1.7; counter-increment: route; }
.input-instructions strong { color: #253340; font-weight: 600; }
.input-instructions li::before { content: counter(route,decimal-leading-zero); position: absolute; left: 0; top: 13px; color: #7a8996; font-size: 10px; font-weight: 650; }
.input-panel .route-note { margin: 17px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--guide-muted); font-size: 13px; line-height: 1.7; }
.route-note a { margin-left: 5px; color: #354653; text-decoration: underline; text-underline-offset: 3px; }
.input-alternative { grid-column: 1 / -1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.input-alternative summary { position: relative; padding: 19px 30px 19px 0; color: #354653; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.input-alternative summary::-webkit-details-marker { display: none; }
.input-alternative summary::after { content: '+'; position: absolute; right: 3px; font-size: 18px; font-weight: 400; }
.input-alternative[open] summary::after { content: '−'; }
.input-alternative > p { max-width: 72ch; margin: 5px 0 20px; color: var(--guide-muted); font-size: 15px; line-height: 1.75; }
.input-alternative a { color: #354653; text-decoration: underline; text-underline-offset: 3px; }
.input-alternative + .input-alternative { border-top: 0; margin-top: -22px; }
.input-route { margin: 0; padding: 37px 28px 26px; border-radius: 18px; background: var(--guide-surface); }
.route-nodes { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; align-items: center; gap: 6px; }
.route-node { text-align: center; min-width: 0; }
.route-node > .guide-icon { width: 66px; height: 66px; padding: 8px; }
.route-node strong { display: block; margin-top: 12px; color: #253340; font-size: 13px; font-weight: 600; }
.route-node small { display: block; margin-top: 5px; color: #6b7884; font-size: 11px; }
.route-connector { width: 28px; height: 28px; color: #98a5b1; margin-bottom: 35px; }
.input-route figcaption { margin: 29px 0 0; padding-top: 17px; border-top: 1px solid #d7dfe5; color: #677582; font-size: 11px; line-height: 1.6; text-align: center; }
.setup-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.setup-list { margin: 0; padding: 0; list-style: none; counter-reset: setup; }
.setup-list li { display: grid; grid-template-columns: 37px 1fr; gap: 17px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: setup; }
.setup-list li:first-child { padding-top: 0; border-top: 0; }
.setup-list li::before { content: counter(setup,decimal-leading-zero); color: #71808e; font-size: 12px; font-weight: 650; padding-top: 4px; }
.setup-list h3 { margin: 0 0 9px; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.setup-list p { margin: 0; color: var(--guide-muted); font-size: 16px; line-height: 1.75; }
.setup-prerequisite { margin-top: 28px; color: var(--guide-muted); font-size: 12px; line-height: 1.8; }
.setup-prerequisite strong { display: block; color: #364653; font-weight: 600; }
.processing-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.processing-rail li { position: relative; padding: 28px 0 0; border-top: 1px solid #bec8d0; }
.processing-rail li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #677a89; }
.processing-rail .guide-icon { width: 39px; height: 39px; margin-bottom: 17px; }
.processing-rail small { display: block; color: #7a8793; font-size: 10px; letter-spacing: .07em; }
.processing-rail h3 { margin: 10px 0; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.processing-rail p { max-width: 29ch; margin: 0; color: var(--guide-muted); font-size: 15px; line-height: 1.75; }
.guide-recovery { display: flex; gap: 15px; align-items: flex-start; margin-top: 35px; padding: 20px 23px; border-radius: 12px; background: var(--guide-surface); }
.guide-recovery .guide-icon { width: 27px; height: 27px; }
.guide-recovery p { margin: 0; color: #596976; font-size: 13px; line-height: 1.7; }
.guide-recovery strong { color: #2b3b48; font-weight: 600; }
.boundary-graphic { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; }
.boundary-local { padding: 34px; border: 1px solid #cbd5dd; border-radius: 18px; background: var(--guide-surface); }
.boundary-local header { display: flex; align-items: center; gap: 14px; }
.boundary-local header .guide-icon { width: 39px; height: 39px; }
.boundary-local h3 { margin: 0; font-size: 23px; font-weight: 610; letter-spacing: -.03em; }
.boundary-local header p { margin: 5px 0 0; color: var(--guide-muted); font-size: 12px; }
.archive-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 29px; padding: 26px 0; border-top: 1px solid #cbd5dd; border-bottom: 1px solid #cbd5dd; }
.archive-items div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: #475969; font-size: 12px; }
.archive-items .guide-icon { width: 33px; height: 33px; }
.boundary-local > p { margin: 20px 0 0; color: #566675; font-size: 13px; line-height: 1.7; }
.boundary-choices { display: grid; align-content: center; gap: 23px; }
.boundary-choice { padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.boundary-choice:last-child { border-bottom: 0; padding-bottom: 0; }
.boundary-choice > span { color: #71808b; font-size: 10px; font-weight: 650; letter-spacing: .1em; }
.boundary-choice h3 { margin: 10px 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.boundary-choice p { margin: 0; color: var(--guide-muted); font-size: 15px; line-height: 1.75; }
.boundary-footnote { max-width: 98ch; margin: 23px 0 0; color: var(--guide-muted); font-size: 12px; line-height: 1.7; }
.how-guide #data { padding-block: 44px; }
.guide-data-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-data-details summary { position: relative; padding: 25px 0; list-style: none; cursor: pointer; }
.guide-data-details summary::-webkit-details-marker { display: none; }
.guide-data-details summary::after { content: '+'; position: absolute; top: 45px; right: 4px; color: #354653; font-size: 26px; font-weight: 400; }
.guide-data-details[open] summary::after { content: '−'; }
.guide-data-details h2 { margin: 0; padding-right: 42px; color: var(--ink-strong); font-size: clamp(28px,3.3vw,42px); font-weight: 630; line-height: 1.25; letter-spacing: -.04em; }
.guide-data-details .section-index { display: block; margin-bottom: 16px; font-size: 10px; font-weight: 650; line-height: 1.5; letter-spacing: .1em; }
.guide-data-details .title-phrase { display: inline-block; white-space: nowrap; }
@media(max-width:480px) { .guide-data-details h2 { font-size: 24px; } }
.guide-data-content { padding: 12px 0 30px; }
.guide-data-intro { max-width: 65ch; margin: 0 0 28px; color: var(--guide-muted); font-size: 16px; line-height: 1.7; }
.guide-outcomes { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; margin-top: 46px; }
.guide-outcomes ul { margin: 0; padding: 0; list-style: none; }
.guide-outcomes li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.guide-outcomes li:last-child { border-bottom: 0; }
.guide-outcomes strong { display: block; font-size: 16px; font-weight: 600; }
.guide-outcomes p { margin: 7px 0 0; color: var(--guide-muted); font-size: 13px; line-height: 1.7; }
.guide-app-figure { margin: 0; min-width: 0; }
.guide-app-figure img { display: block; width: 100%; height: auto; border: 1px solid #d5dbe0; border-radius: 9px; box-shadow: 0 14px 38px #2533400d; }
.guide-app-figure figcaption { margin: 13px 0 0; color: #74808b; font-size: 11px; line-height: 1.6; }
.how-guide .faq-list { max-width: none; margin-bottom: 38px; }
.how-guide .faq-list summary { min-height: 60px; font-size: 16px; }
.how-guide .faq-list details p { max-width: 90ch; }
.how-guide a:focus-visible, .how-guide button:focus-visible, .how-guide summary:focus-visible { outline: 2px solid #526777; outline-offset: 5px; border-radius: 3px; }
@media (max-width: 980px) {
  .guide-hero-layout { gap: 38px; }
  .guide-overview { padding: 27px 25px 22px; }
  .overview-links { gap: 10px; }
  .overview-links > div { flex-direction: column; align-items: flex-start; }
  .input-panel { gap: 34px; }
  .setup-layout { gap: 47px; }
  .route-node > .guide-icon { width: 52px; height: 52px; padding: 4px; }
  .input-route { padding: 30px 17px 23px; }
  .processing-rail { gap: 20px; }
}
@media (max-width: 760px) {
  .guide-hero { padding: 58px 0 39px; }
  .guide-hero-layout, .input-panel, .setup-layout, .boundary-graphic, .guide-outcomes { grid-template-columns: 1fr; gap: 30px; }
  .guide-hero h1 { font-size: clamp(34px,7.8vw,48px); }
  .guide-hero-copy > p:last-child { margin-top: 20px; font-size: 15px; }
  .guide-overview { max-width: 520px; padding: 28px; }
  .overview-links > div { flex-direction: row; align-items: center; }
  .guide-jumps { margin-top: 30px; gap: 10px 18px; }
  .how-guide .guide-section { padding: 48px 0 56px; }
  .input-tabs button { min-height: 83px; flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 13px; }
  .input-tabs button small { font-size: 9px; }
  .input-tabs .guide-icon { width: 28px; height: 28px; }
  .input-panel { padding-top: 27px; }
  .input-panel > .input-route { grid-row: 1; }
  .route-nodes { grid-template-columns: 1fr 23px 1fr 23px 1fr; gap: 3px; }
  .route-node strong { font-size: 12px; }
  .route-node small { font-size: 10px; }
  .route-connector { width: 22px; height: 22px; }
  .input-route { padding: 27px 17px 22px; }
  .processing-rail { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 29px 22px; }
  .processing-rail h3 { font-size: 18px; }
  .processing-rail p { font-size: 14px; }
  .input-alternative + .input-alternative { margin-top: -30px; }
  .guide-outcomes { gap: 24px; margin-top: 27px; }
  .boundary-local { padding: 26px; }
  .guide-recovery { padding: 19px; }
  .how-guide .faq-list summary { font-size: 15px; }
}
@media (max-width: 360px) {
  .guide-overview { padding: 22px; }
  .overview-links { gap: 8px; }
  .overview-links > div { flex-direction: column; align-items: flex-start; }
  .input-route { padding-inline: 12px; }
  .route-node > .guide-icon { width: 44px; height: 44px; }
  .route-node .apple-device-pair { width: 70px; height: 44px; }
  .route-node .apple-device-pair .guide-icon { width: 33px; height: 44px; }
  .archive-items { gap: 10px; }
  .boundary-local { padding: 22px; }
}
@media (prefers-contrast: more) {
  .guide-overview, .input-route, .boundary-local, .guide-recovery { background: #fff; border: 1px solid #344653; box-shadow: none; }
  .how-guide { --guide-muted: #354653; }
  .route-node small, .route-tag, .boundary-footnote { color: #354653; }
}
