/* The buying guide shares the storefront's materials and 1090px content edge. */
.how-it-works-page { --page-art-offset: 180px; }
.hiw-page { --hiw-ink: #eef0ec; --hiw-muted: #aab1b6; --hiw-accent: #cfbd83; width: min(1090px, calc(100% - 56px)); margin: 0 auto; padding: 64px 0 80px; color: var(--hiw-ink); }
.hiw-page h2, .hiw-page h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; }
.hiw-eyebrow { margin: 0; color: var(--hiw-accent); font-size: 10px; font-weight: 550; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.hiw-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.hiw-hero-copy { min-width: 0; }
#hiw-title { margin: 20px 0 26px; color: var(--hiw-ink); font-size: clamp(52px, 6vw, 76px); font-weight: 550; line-height: .99; letter-spacing: -.06em; }
#hiw-title span, .hiw-page h2 > span { color: #a6adb2; }
.hiw-lead { margin: 0; max-width: 380px; color: #d2d6d5; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; }
.hiw-intro { max-width: 360px; margin: 16px 0 0; color: var(--hiw-muted); font-size: 14px; line-height: 1.75; }
.hiw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.hiw-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 550; line-height: 1.5; text-decoration: none; transition: background .2s, border-color .2s; }
.hiw-button--primary { background: #d7b756; border-color: #d7b756; color: #1b1a14; }
.hiw-button--primary:hover { background: #e6c776; border-color: #e6c776; }
.hiw-button > span { font-size: 20px; font-weight: 400; }
.hiw-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: var(--hiw-accent); font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .2s; }
.hiw-text-link > span { font-size: 19px; }
.hiw-text-link:hover { color: #f1db9e; }
.hiw-visual { position: relative; min-width: 0; margin: 0; aspect-ratio: 1.08; overflow: hidden; isolation: isolate; border: 1px solid #3b4146; border-radius: 26px; background: #111315; }
.hiw-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% 40%; }
.hiw-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #0000 48%, #080a0ce8 100%); pointer-events: none; }
.hiw-visual figcaption { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; }
.hiw-visual figcaption > span { display: block; margin-bottom: 10px; color: #b5c0c6; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.hiw-visual strong { display: block; color: #eceeec; font-size: 29px; line-height: 1.15; font-weight: 500; letter-spacing: -.035em; }
.hiw-jump-nav { display: grid; grid-template-columns: .9fr .9fr 1.2fr; margin-top: 48px; border-top: 1px solid #3c3f40; border-bottom: 1px solid #3c3f40; }
.hiw-jump-nav a { display: flex; align-items: center; gap: 15px; min-width: 0; min-height: 70px; padding: 12px 24px; color: #c4cbce; font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .2s, background .2s; }
.hiw-jump-nav a:first-child { padding-left: 0; }
.hiw-jump-nav a + a { border-left: 1px solid #3c3f40; }
.hiw-jump-nav a:last-child { padding-right: 0; }
.hiw-jump-number { color: #998f72; font-size: 10px; font-variant-numeric: tabular-nums; }
.hiw-jump-arrow { margin-left: auto; color: #ad9f6e; font-size: 18px; }
.hiw-jump-nav a:hover { color: #eddaa5; background: #ffffff03; }
.hiw-section { margin-top: 72px; }
.hiw-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.hiw-page h2 { font-size: clamp(29px, 3vw, 38px); line-height: 1.15; }
.hiw-section-head h2, .hiw-guidance-intro h2 { margin-top: 14px; }
.hiw-section-head > p { max-width: 315px; margin: 0; color: var(--hiw-muted); font-size: 13px; line-height: 1.75; }
.hiw-page [tabindex="-1"] { scroll-margin-top: 110px; }
.hiw-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hiw-step { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #3a3e41; border-radius: 22px; background: #1b1d1ff2; }
.hiw-step-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
.hiw-step-number { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #70664a; border-radius: 50%; color: #cbbb86; font-size: 10px; font-variant-numeric: tabular-nums; }
.hiw-step-top svg { width: 30px; height: 30px; fill: none; stroke: #a8b1b8; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hiw-step h3 { font-size: 26px; line-height: 1.2; }
.hiw-step > p { max-width: 420px; margin: 14px 0 24px; color: var(--hiw-muted); font-size: 13px; line-height: 1.75; }
.hiw-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; margin-top: auto; padding-top: 12px; border-top: 1px solid #ffffff14; color: var(--hiw-accent); font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .2s; }
.hiw-card-link > span { font-size: 22px; }
.hiw-card-link:hover { color: #f2dda2; }
.hiw-step-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 49px; margin-top: auto; padding-top: 12px; border-top: 1px solid #ffffff14; }
.hiw-step-detail > span { padding: 5px 10px; border: 1px solid #40464a; border-radius: 7px; color: #b4bdc3; font-size: 10px; line-height: 1.5; }
.hiw-step-note { display: flex; align-items: center; min-height: 49px; margin-top: auto; padding-top: 12px; border-top: 1px solid #ffffff14; color: #aeb7bc; font-size: 11px; line-height: 1.5; }
.hiw-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hiw-option { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #41464a; border-radius: 22px; background: #1c1e20; }
.hiw-option--rare { --hiw-accent: #c4d0df; border-color: #5b626c; background: radial-gradient(ellipse at 95% 0, #606b7845, transparent 75%), #1e2329; }
.hiw-option-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b2bbc1; font-size: 9px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hiw-option-dot { width: 5px; height: 5px; border-radius: 50%; background: #a5b2ba; }
.hiw-option-art { display: flex; align-items: center; gap: clamp(16px, 3vw, 26px); height: 100px; margin: 18px 0 20px; color: #b8c3c9; container-type: inline-size; }
.hiw-option-art > span { font-size: clamp(38px, 14cqi, 70px); font-weight: 550; line-height: 1; letter-spacing: -.075em; white-space: nowrap; }
.hiw-option-art > i { width: 1px; height: 44px; background: #4f575b; }
.hiw-option-art svg { width: 110px; height: 84px; fill: none; stroke: #c7d3e0; stroke-width: 1.2; stroke-linejoin: round; }
.hiw-option h3 { font-size: 29px; line-height: 1.2; }
.hiw-option > p { margin: 15px 0 28px; color: #adb5bd; font-size: 13px; line-height: 1.75; }
.hiw-option--rare .hiw-card-link:hover { color: #edf4ff; }
.hiw-guidance { display: grid; grid-template-columns: .9fr 1.2fr; gap: 56px; padding-top: 40px; border-top: 1px solid #393d3f; }
.hiw-guidance-intro { min-width: 0; padding-top: 8px; }
.hiw-guidance-intro > p:not(.hiw-eyebrow) { max-width: 355px; margin: 22px 0 0; color: var(--hiw-muted); font-size: 13px; line-height: 1.8; }
.hiw-guidance-note { max-width: 355px; margin-top: 28px; padding: 20px 0 0; border-top: 1px solid #ffffff18; }
.hiw-small-label { color: var(--hiw-accent); font-size: 9px; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; }
.hiw-guidance-note p { margin: 10px 0 0; color: var(--hiw-muted); font-size: 12px; line-height: 1.8; }
.hiw-guidance-content { min-width: 0; }
.hiw-documents { padding: 28px 30px; border: 1px solid #41484d; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #8099aa0c, transparent 70%), #1b1d1f; }
.hiw-documents h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.25; }
.hiw-documents dl { margin: 0; }
.hiw-documents dl > div { position: relative; min-height: 82px; padding: 20px 0 20px 56px; }
.hiw-documents dl > div + div { border-top: 1px solid #ffffff12; }
.hiw-documents dl > div:last-child { padding-bottom: 0; }
.hiw-document-icon { position: absolute; top: 20px; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #46515a; border-radius: 12px; background: #252c31; color: #beccd7; }
.hiw-document-icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.hiw-document-icon--approval { border-color: #635b41; background: #2b291f; color: #d3c18b; }
.hiw-documents dt { color: #dce2e4; font-size: 14px; font-weight: 500; line-height: 1.5; }
.hiw-documents dd { margin: 6px 0 0; color: var(--hiw-muted); font-size: 12px; line-height: 1.7; }
.hiw-retention { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; margin-top: 16px; padding: 25px 28px; border: 1px solid #574f38; border-radius: 20px; background: radial-gradient(ellipse at 100% 0, #ad8e3610, transparent 80%), #22221d; }
.hiw-retention > svg { width: 28px; height: 28px; fill: none; stroke: var(--hiw-accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.hiw-retention h3 { font-size: 20px; line-height: 1.3; }
.hiw-retention p { margin: 10px 0 6px; color: #b8b8ad; font-size: 12px; line-height: 1.75; }
.hiw-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 64px; padding: 36px; border: 1px solid #53503f; border-radius: 24px; background: radial-gradient(ellipse at 100% 0, #b7a05d13, transparent 80%), #1c1e1c; }
.hiw-cta h2 { margin-top: 13px; font-size: 32px; }
.hiw-cta p:not(.hiw-eyebrow) { margin: 13px 0 0; color: var(--hiw-muted); font-size: 13px; line-height: 1.7; }
.hiw-cta-actions { display: flex; flex-shrink: 0; flex-direction: column; gap: 8px; min-width: 185px; }
.hiw-cta-actions .hiw-text-link { padding: 0 5px; }
.hiw-page a:focus-visible, .hiw-page [tabindex="-1"]:focus-visible { outline: 2px solid #d2bd76; outline-offset: 5px; }
@media (max-width: 1000px) {
    .hiw-hero { gap: 36px; }
    #hiw-title { font-size: 62px; }
    .hiw-visual { aspect-ratio: .93; }
    .hiw-actions { gap: 10px 16px; }
    .hiw-step, .hiw-option { padding: 26px; }
    .hiw-guidance { gap: 32px; }
    .hiw-jump-nav a { padding-left: 20px; padding-right: 20px; gap: 10px; }
}
@media (max-width: 834px) {
    .hiw-page { width: calc(100% - 40px); padding-top: 40px; }
    .hiw-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 26px; }
    #hiw-title { font-size: 52px; }
    .hiw-lead { font-size: 18px; }
    .hiw-intro { font-size: 13px; }
    .hiw-visual { aspect-ratio: .8; }
    .hiw-visual figcaption { left: 22px; right: 22px; bottom: 24px; }
    .hiw-visual strong { font-size: 25px; }
    .hiw-section { margin-top: 56px; }
    .hiw-section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .hiw-section-head > p { max-width: 500px; }
    .hiw-jump-nav { grid-template-columns: 1fr 1fr 1.4fr; margin-top: 32px; }
    .hiw-jump-nav a { padding-left: 14px; padding-right: 14px; font-size: 11px; }
    .hiw-jump-number { display: none; }
    .hiw-steps, .hiw-options { gap: 16px; }
    .hiw-step, .hiw-option { padding: 24px; border-radius: 20px; }
    .hiw-step h3 { font-size: 23px; }
    .hiw-option h3 { font-size: 25px; }
    .hiw-guidance { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .hiw-guidance-intro > p:not(.hiw-eyebrow), .hiw-guidance-note { max-width: 560px; }
    .hiw-guidance-note { margin-top: 20px; }
    .hiw-cta { gap: 24px; padding: 28px; }
    .hiw-cta h2 { font-size: 28px; }
}
@media (max-width: 600px) {
    .hiw-page { width: calc(100% - 36px); padding-top: 32px; padding-bottom: 56px; }
    .hiw-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    #hiw-title { margin-top: 17px; margin-bottom: 22px; font-size: 54px; }
    .hiw-lead { max-width: 280px; }
    .hiw-intro { max-width: 380px; }
    .hiw-actions { margin-top: 23px; }
    .hiw-button { gap: 18px; padding: 0 20px; }
    .hiw-visual { aspect-ratio: 1.5; border-radius: 22px; }
    .hiw-visual img { object-position: 60% 36%; }
    .hiw-visual::after { background: linear-gradient(90deg, #080a0cb8, #080a0c14 85%); }
    .hiw-visual figcaption { left: 22px; bottom: 22px; }
    .hiw-visual strong { font-size: 24px; }
    .hiw-visual figcaption > span { font-size: 8px; }
    .hiw-jump-nav { grid-template-columns: 1fr; margin-top: 28px; }
    .hiw-jump-nav a, .hiw-jump-nav a:first-child, .hiw-jump-nav a:last-child { min-height: 48px; padding: 9px 0; font-size: 12px; }
    .hiw-jump-nav a + a { border-left: 0; border-top: 1px solid #ffffff12; }
    .hiw-jump-number { display: block; min-width: 22px; }
    .hiw-section { margin-top: 46px; }
    .hiw-section-head { margin-bottom: 22px; }
    .hiw-page h2 { font-size: 30px; }
    .hiw-steps, .hiw-options { grid-template-columns: minmax(0, 1fr); }
    .hiw-step-top { margin-bottom: 22px; }
    .hiw-step h3 { font-size: 25px; }
    .hiw-step > p { margin-bottom: 20px; }
    .hiw-option-art { height: 82px; margin: 14px 0 20px; }
    .hiw-option-art > span { font-size: clamp(38px, 16cqi, 62px); }
    .hiw-option-art svg { width: 100px; height: 76px; }
    .hiw-option h3 { font-size: 27px; }
    .hiw-guidance { padding-top: 28px; }
    .hiw-documents { padding: 24px; border-radius: 20px; }
    .hiw-documents dl > div { padding-left: 50px; }
    .hiw-document-icon { width: 36px; height: 36px; border-radius: 10px; }
    .hiw-document-icon svg { width: 22px; height: 22px; }
    .hiw-retention { padding: 22px; gap: 12px; }
    .hiw-retention h3 { font-size: 19px; }
    .hiw-cta { flex-direction: column; align-items: stretch; margin-top: 40px; padding: 26px; }
    .hiw-cta-actions { gap: 10px; }
    .hiw-cta-actions .hiw-text-link { justify-content: center; gap: 14px; }
}
@media (max-width: 360px) {
    #hiw-title { font-size: 46px; }
    .hiw-actions { align-items: stretch; flex-direction: column; }
    .hiw-actions .hiw-text-link { justify-content: flex-start; }
    .hiw-visual { aspect-ratio: 1.25; }
    .hiw-page h2 { font-size: 27px; }
    .hiw-step, .hiw-option, .hiw-documents { padding: 22px; }
    .hiw-retention { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .hiw-page *, .hiw-page *::before, .hiw-page *::after { animation: none !important; transition: none !important; }
}
