@font-face { font-family: Manrope; src: url("fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root { --ink: #252a2b; --muted: #535e59; --line: #dde4e1; --paper: #fff; --soft: #f8faf9; --red: #cf3f36; --red-dark: #af2d27; --green: #166550; --mint: #edf5f1; --frame: 1160px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, Arial, sans-serif; font-size: 20px; line-height: 1.65; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary, label { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, a, summary, [tabindex] { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--green); }
strong { font-weight: 700; }
svg { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.7; }
img { max-width: 100%; display: block; }
p { margin: 0 0 22px; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
h2 { margin: 0 0 24px; font-size: 30px; line-height: 1.3; }
h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; }
.skip-link { position: fixed; z-index: 40; left: 20px; top: -80px; padding: 10px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(var(--frame), calc(100% - 64px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.wordmark-light { font-weight: 400; margin-left: 5px; }
.brand-mark { width: 32px; height: 32px; color: white; background: var(--red); display: grid; place-items: center; border-radius: 6px; }
.brand-mark svg { width: 21px; height: 21px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-text { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.header-text:hover { color: var(--red); }
.header-text svg { width: 15px; height: 15px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 14px 23px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; transition: background-color .16s; }
.button-small { min-height: 44px; padding: 9px 16px; font-size: 14px; }
.button-small svg { width: 16px; height: 16px; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #3d4443; }
.text-action { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; padding: 12px 0; }
.text-action:hover { color: var(--red); }
.text-action svg { width: 17px; height: 17px; }

.article-cover { border-bottom: 1px solid var(--line); background: var(--soft); }
.cover-inner { width: min(var(--frame), calc(100% - 64px)); margin: auto; padding-top: 48px; }
.cover-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-bottom: 26px; font-size: 14px; font-weight: 600; }
.article-type { color: var(--muted); }
.audience-label { display: flex; align-items: center; gap: 8px; color: var(--green); }
.audience-label > span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
h1 { font-size: 48px; line-height: 1.2; margin: 0 0 24px; max-width: 950px; }
h1 > span { color: var(--red); }
.cover-lead { max-width: 735px; font-size: 20px; line-height: 1.65; color: #505a57; }
.cover-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.cover-disclosure { margin: 18px 0 36px; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.65; }
.route-strip { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 36px; padding: 22px 0; border-top: 1px solid var(--line); }
.route-strip > a { display: flex; align-items: center; gap: 13px; min-width: 0; }
.route-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 6px; background: #fbeeea; color: var(--red); display: grid; place-items: center; }
.route-icon > svg { width: 23px; height: 23px; }
.route-strip > a:nth-child(2) .route-icon { color: #356a89; background: #eaf1f7; }
.route-strip > a:last-child .route-icon { color: var(--green); background: #e5f1ea; }
.route-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.route-copy small { color: var(--muted); font-size: 14px; font-weight: 500; }
.route-copy strong { font-size: 15px; font-weight: 600; line-height: 1.5; }
.route-arrow { margin-left: auto; color: var(--muted); width: 17px; height: 17px; }
.route-strip > a:hover .route-copy strong { color: var(--red); }

.guide-layout { width: min(var(--frame), calc(100% - 64px)); margin: 0 auto; padding: 54px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 80px; align-items: start; }
.desktop-toc { position: sticky; top: 114px; }
.toc-label { margin: 0 0 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.toc-links { display: flex; flex-direction: column; }
.toc-links a { min-height: 44px; padding: 10px 0; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 1px solid #edf0ee; }
.toc-links a span { width: 21px; color: var(--muted); font-size: 14px; flex-shrink: 0; }
.toc-links a[aria-current], .toc-links a[aria-current] span, .toc-links a:hover { color: var(--red); }
.toc-links a[aria-current] { font-weight: 700; }
.toc-end { margin-top: 38px; font-size: 14px; color: var(--muted); }
.toc-end > svg { color: var(--green); margin-bottom: 10px; }
.toc-end p { margin-bottom: 10px; }
.toc-end a { display: inline-flex; gap: 6px; align-items: center; color: var(--green); font-size: 14px; font-weight: 500; }
.toc-end a svg { width: 13px; height: 13px; }
.guide-content { min-width: 0; max-width: 880px; }
.mobile-toc { display: none; }
.intro-note { padding: 0 0 32px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; font-size: 17px; color: var(--muted); border-bottom: 1px solid var(--line); }
.intro-note > svg { color: var(--green); margin-top: 4px; }
.intro-note p { margin: 0; }
.intro-note strong { color: var(--ink); font-weight: 600; }
.question-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.question-nav > a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 10px; align-items: start; min-height: 100px; padding: 8px 0; }
.question-nav > a > svg { color: var(--green); margin-top: 3px; }
.question-nav > a > svg:last-child { width: 16px; height: 16px; color: var(--muted); }
.question-nav strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.5; }
.question-nav small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.question-nav a:hover strong { color: var(--red); }
.guide-section { padding: 50px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.guide-section > p { max-width: 760px; }
.section-heading { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; }
.step-label { color: var(--red); font-size: 14px; font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.step-label > svg { width: 48px; height: 48px; padding: 11px; border-radius: 6px; background: #fbeeea; }
#register .step-label > svg, #testing .step-label > svg { color: var(--green); background: #e7f2eb; }
#integrate .step-label > svg { color: #356a89; background: #eaf1f7; }
.section-label { display: block; color: var(--muted); margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.small-note { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; margin: 14px 0 0; }
.guide-section > p.small-note { font-size: 14px; line-height: 1.7; }
.source-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 15px; font-weight: 600; margin-top: 18px; max-width: 100%; }
.source-link svg { width: 16px; height: 16px; }
.source-link:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.inline-link { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.icon-button { width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 6px; display: inline-grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { color: var(--ink); background: var(--soft); }
.icon-button:disabled { opacity: .4; }

.checklist-tool { margin-top: 30px; border: 1px solid #cfdcd5; border-radius: 6px; overflow: hidden; }
.checklist-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: var(--mint); }
.checklist-header > div { display: flex; gap: 20px; align-items: baseline; }
.tool-label { font-size: 16px; font-weight: 600; color: var(--green); }
.checklist-header strong { min-width: 64px; font-size: 20px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
progress { appearance: none; border: 0; height: 3px; width: 100%; display: block; background: #e4eee8; color: var(--green); }
progress::-webkit-progress-bar { background: #e4eee8; }
progress::-webkit-progress-value { background: var(--green); transition: width .2s; }
progress::-moz-progress-bar { background: var(--green); }
.checklist-items { padding: 0 24px; }
.check-row { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid #edf0ee; cursor: pointer; }
.check-row:last-child { border-bottom: none; }
.check-row input { flex: 0 0 auto; appearance: auto; accent-color: var(--green); width: 24px; height: 24px; margin: 3px 0 0; cursor: pointer; }
.check-row > span { min-width: 0; }
.check-row strong { display: block; font-weight: 600; font-size: 17px; line-height: 1.5; }
.check-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.check-row:has(input:checked) strong { color: var(--green); }
.checklist-result { background: var(--soft); border-top: 1px solid var(--line); padding: 16px 24px; margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); min-height: 54px; }
.checklist-result.complete { color: var(--green); background: var(--mint); }
.action-list, .verification-list { padding: 0; margin: 30px 0; list-style: none; }
.action-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid #edf0ee; }
.action-list li:last-child { border-bottom: none; }
.action-list li > span { color: var(--red); font-size: 14px; font-weight: 500; padding-top: 3px; }
.action-list h3, .verification-list h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.action-list p, .verification-list p { font-size: 16px; color: var(--muted); margin: 0; }
.inline-cta { margin-top: 20px; }

.integration-tabs { display: grid; grid-template-columns: 1.14fr .9fr 1fr; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 30px; }
.integration-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; background: transparent; border: 0; border-radius: 6px; padding: 9px; color: var(--muted); font-size: 15px; font-weight: 600; }
.integration-tabs button svg { width: 18px; height: 18px; }
.integration-tabs button[aria-selected="true"] { background: var(--mint); color: var(--green); }
.integration-tabs button:hover { color: var(--green); }
.integration-panel { padding: 28px 0 10px; min-height: 330px; }
.integration-panel h3 { font-size: 21px; margin-bottom: 16px; }
.integration-panel p { font-size: 18px; }
.plain-list { margin: 20px 0 0; padding-left: 22px; color: var(--muted); font-size: 16px; }
.plain-list li { margin-bottom: 8px; padding-left: 4px; }
.plain-list li::marker { color: var(--green); }
.payment-methods { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 104px; }
.payment-methods h3 { font-size: 21px; }
.method-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 24px 0 0; }
.method-list dt { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 17px; font-weight: 600; }
.method-list dt svg { color: var(--green); }
.method-list dd { margin: 0; color: var(--muted); font-size: 16px; }
.method-list dd > .source-link { display: flex; width: fit-content; }
.product-figure { margin: 26px 0 0; }
.image-button { display: block; width: 100%; background: var(--soft); padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; position: relative; cursor: zoom-in; }
.image-button > img { width: 100%; height: auto; }
.zoom-label { position: absolute; right: 12px; bottom: 12px; background: #ffffffed; border: 1px solid var(--line); border-radius: 6px; width: 36px; height: 36px; display: grid; place-items: center; }
.product-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.product-figure figcaption a { display: inline-flex; gap: 4px; align-items: center; }
.product-figure figcaption a:hover { color: var(--green); }
.product-figure figcaption svg { width: 16px; height: 16px; }
.receipt-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.receipt-options > div { border: 1px solid var(--line); padding: 24px; border-radius: 6px; }
.receipt-options > div > svg { color: var(--green); width: 26px; height: 26px; margin-bottom: 20px; }
.receipt-options h3 { font-size: 18px; }
.receipt-options p { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.receipt-options .source-link { font-size: 15px; }
.editorial-note { margin-top: 28px; padding: 20px 0 20px 22px; border-left: 2px solid var(--red); }
.editorial-note > span { display: block; font-size: 14px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.editorial-note p { margin: 0; font-size: 18px; }
.verification-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.verification-list li > svg { color: var(--green); margin-top: 3px; }
.technical-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.technical-note summary { font-size: 16px; padding: 18px 0; font-weight: 600; }
.technical-note p { font-size: 16px; color: var(--muted); padding-bottom: 8px; }
.technical-note[open] summary svg, .mobile-toc[open] summary > svg { transform: rotate(180deg); }
code { color: var(--ink); background: #f0f3f1; border-radius: 3px; font-size: 15px; padding: 2px 5px; overflow-wrap: anywhere; }
.cost-factors { display: flex; gap: 28px; flex-wrap: wrap; padding: 18px 0; margin: 24px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cost-factors > span { display: flex; gap: 9px; align-items: center; font-size: 15px; font-weight: 500; }
.cost-factors svg { color: var(--green); width: 18px; height: 18px; }
.cost-breakdown { margin: 24px 0 0; }
.cost-breakdown > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cost-breakdown > div:last-child { border-bottom: 0; }
.cost-breakdown dt { font-size: 17px; font-weight: 600; line-height: 1.5; }
.cost-breakdown dd { margin: 0; color: var(--muted); font-size: 16px; }
.faq-section > details { border-bottom: 1px solid var(--line); }
.faq-section > details:last-child { border-bottom: 0; }
.faq-section summary { padding: 21px 0; font-size: 18px; font-weight: 600; }
.faq-section summary svg { width: 18px; height: 18px; color: var(--muted); }
.faq-section details[open] summary svg { transform: rotate(45deg); color: var(--red); }
.faq-section details p { padding: 0 34px 8px 0; font-size: 17px; color: var(--muted); }
.closing-section { padding: 48px 32px; margin-top: 48px; background: var(--mint); border-top: 2px solid var(--green); }
.closing-section .section-label { color: var(--green); }
.closing-section h2 { font-size: 32px; }
.closing-section > p:not(.small-note) { font-size: 18px; max-width: 600px; }
.closing-section .button { margin-top: 8px; }
.sources-section { padding: 38px 0 52px; color: var(--muted); font-size: 14px; }
.sources-section h2 { font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.sources-section p { margin-bottom: 16px; }
.sources-section ul { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; }
.sources-section a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { width: min(var(--frame), calc(100% - 64px)); margin: auto; padding: 28px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-wordmark { font-size: 16px; gap: 0; }
.site-footer p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.site-footer > a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.site-footer > a svg { width: 14px; height: 14px; }
.image-dialog { width: min(1140px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 22px; border: 1px solid var(--line); border-radius: 6px; }
.image-dialog::backdrop { background: #1c2d28c7; }
.dialog-header { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 18px; position: sticky; top: 0; left: 0; z-index: 1; background: #fff; }
.dialog-header p { font-size: 15px; margin: 0; }
.image-dialog > img { width: 100%; height: auto; }

.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: start; margin: 30px 0; }
.registration-layout .action-list { margin: 0; }
.registration-layout .action-list li { padding: 16px 0 22px; gap: 12px; grid-template-columns: 24px minmax(0, 1fr); }
.registration-layout .action-list li:first-child { padding-top: 0; }
.registration-layout .action-list h3 { font-size: 18px; }
.registration-layout .action-list p { font-size: 16px; }
.registration-figure { margin: 0; }
.registration-figure .image-button { padding: 14px; background: #fff; }
.registration-figure figcaption { font-size: 14px; }
.screenshot-gallery { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.gallery-heading .section-label { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; }
.gallery-counter { color: var(--muted); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.screenshot-gallery .product-figure { margin: 0; }
.gallery-image { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.gallery-image > img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.gallery-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.gallery-choices > button { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); text-align: left; }
.gallery-choices > button[aria-pressed="true"] { border-color: var(--green); color: var(--green); background: var(--mint); }
.gallery-choices > button:hover { border-color: var(--green); }
.gallery-choices img { width: 68px; height: 46px; object-fit: contain; border: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.gallery-choices span { min-width: 0; display: block; font-size: 14px; font-weight: 600; line-height: 1.55; }
.gallery-choices small { display: block; margin-bottom: 3px; font-size: 14px; font-weight: 500; }
.payment-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; margin: 30px 0 34px; padding: 24px 0; border-block: 1px solid var(--line); }
.payment-flow::before { content: ""; position: absolute; height: 1px; top: 48px; left: 12%; right: 12%; background: var(--line); }
.payment-flow > div { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.flow-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #edf1f7; color: #356a89; border: 5px solid #fff; border-radius: 6px; margin-bottom: 12px; }
.flow-icon svg { width: 24px; height: 24px; }
.payment-flow > div:nth-child(2) .flow-icon { background: #fbeeea; color: var(--red); }
.payment-flow > div:nth-child(3) .flow-icon { background: #f4f0fa; color: #755388; }
.payment-flow > div:last-child .flow-icon { background: #e7f2eb; color: var(--green); }
.payment-flow strong { font-size: 15px; font-weight: 600; line-height: 1.5; }
.payment-flow small { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 6px; }

.breadcrumbs { margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: var(--green); }
.breadcrumbs svg { width: 16px; height: 16px; }
.scenario-cover .cover-inner { padding-top: 30px; }
.scenario-cover .cover-meta { margin-bottom: 20px; }
.scenario-cover .cover-disclosure { margin-bottom: 24px; }
.scenario-cover h1 { max-width: 1080px; overflow-wrap: break-word; }
.hub-cover .cover-inner { padding-bottom: 8px; }
.hub-cover .cover-disclosure { margin-bottom: 24px; }
.hub-content { width: min(var(--frame), calc(100% - 64px)); margin: auto; padding: 38px 0 52px; scroll-margin-top: 100px; }
.hub-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.hub-heading h2 { margin: 0; }
#scenario-count { color: var(--muted); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scenario-filters { display: none; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.js-ready .scenario-filters { display: flex; }
.scenario-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: 6px; font-size: 15px; font-weight: 600; }
.scenario-filters button[aria-pressed="true"] { background: var(--mint); border-color: var(--green); color: var(--green); }
.scenario-filters button:hover { border-color: var(--green); }
.scenario-filters svg { width: 18px; height: 18px; }
.scenario-grid, .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scenario-card { display: flex; flex-direction: column; min-width: 0; min-height: 276px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); transition: border-color .16s; }
.scenario-card:hover { border-color: var(--green); }
.scenario-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--mint); color: var(--green); border-radius: 6px; margin-bottom: 18px; }
.scenario-icon svg { width: 23px; height: 23px; }
.scenario-card:nth-child(3n + 2) .scenario-icon { background: #eaf1f7; color: #356a89; }
.scenario-card:nth-child(3n + 3) .scenario-icon { background: #fbeeea; color: var(--red); }
.scenario-card h3 { margin-bottom: 12px; font-size: 20px; overflow-wrap: break-word; }
.scenario-card p { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.scenario-open { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; font-weight: 600; margin-top: auto; }
.scenario-open svg { width: 17px; height: 17px; }
.hub-example { margin-top: 48px; padding-top: 38px; border-top: 1px solid var(--line); }
.hub-example > p, .hub-example .payment-flow, .hub-example .product-figure, .hub-example .small-note { max-width: 880px; }
.related-section { padding: 42px 0 36px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.related-grid { gap: 16px; margin-bottom: 10px; }
.compact-card { padding: 20px; min-height: 260px; }
.compact-card h3 { font-size: 18px; }
.compact-card p { font-size: 15px; }
.compact-card .scenario-icon { width: 36px; height: 36px; margin-bottom: 14px; }
.compact-card .scenario-icon svg { width: 20px; height: 20px; }
.compact-card .scenario-open { align-items: flex-start; }
.scenario-figure { max-width: 720px; }
.portrait-figure { max-width: 360px; }
.caption-source { display: inline-flex; align-items: center; gap: 6px; }
.caption-source svg { width: 16px; height: 16px; }

@media (max-width: 1050px) {
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: 1fr; }
  .compact-card { min-height: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .compact-card .scenario-icon { grid-column: 1; grid-row: 1 / 4; margin: 0; }
  .compact-card h3, .compact-card p, .compact-card .scenario-open { grid-column: 2; }
  .compact-card p { margin-bottom: 12px; }
  .guide-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 44px; }
  .header-nav { gap: 20px; }
  .integration-tabs button { flex-direction: column; gap: 6px; }
  .receipt-options { grid-template-columns: 1fr; gap: 12px; }
  .receipt-options > div { padding: 20px; }
  .registration-layout { grid-template-columns: 1fr; gap: 24px; }
  .registration-figure { width: min(470px, 100%); }
  .gallery-choices > button { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 800px) {
  .hub-content { width: calc(100% - 48px); }
  .desktop-toc { display: none; }
  .guide-layout { display: block; width: min(720px, calc(100% - 48px)); padding-top: 30px; }
  .header-inner, .cover-inner, .site-footer { width: calc(100% - 48px); }
  .mobile-toc { display: block; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
  .mobile-toc summary { padding: 0 0 20px; font-size: 16px; font-weight: 600; }
  .mobile-toc summary span { display: flex; gap: 10px; align-items: center; }
  .mobile-toc summary span svg { color: var(--green); width: 18px; height: 18px; }
  .mobile-toc summary > svg { width: 16px; height: 16px; }
  .mobile-toc .toc-links { padding-bottom: 18px; }
  .question-nav { grid-template-columns: 1fr; gap: 0; padding: 12px 0; }
  .question-nav > a { min-height: 84px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0ee; }
  .question-nav > a:last-child { border-bottom: 0; }
  .question-nav small { margin-top: 4px; }
  .cost-breakdown > div { grid-template-columns: 1fr; gap: 10px; }
  .route-strip { gap: 20px; grid-template-columns: 1fr 1.2fr 1fr; }
  .route-strip .route-arrow { display: none; }
  h1 { font-size: 44px; }
}
@media (max-width: 560px) {
  .hub-content { width: calc(100% - 40px); padding-top: 28px; }
  .hub-heading { gap: 12px; margin-bottom: 18px; }
  .js-ready .scenario-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .scenario-filters button { padding: 10px 6px; font-size: 14px; min-height: 48px; gap: 6px; }
  .scenario-filters svg { width: 16px; height: 16px; }
  .scenario-grid { grid-template-columns: 1fr; gap: 14px; }
  .scenario-card { min-height: 246px; padding: 22px; }
  .scenario-card h3 { font-size: 20px; }
  .compact-card { min-height: 0; padding: 20px; column-gap: 12px; }
  .compact-card h3 { font-size: 18px; }
  .breadcrumbs { margin-bottom: 14px; }
  .scenario-cover .cover-inner { padding-top: 16px; }
  .scenario-cover .cover-meta { margin-bottom: 16px; }
  .scenario-cover .cover-disclosure { margin-bottom: 18px; }
  .hub-example { margin-top: 36px; padding-top: 30px; }
  .related-section { padding: 34px 0 28px; }
  html { scroll-padding-top: 90px; }
  body { font-size: 18px; }
  .header-inner { min-height: 64px; gap: 14px; }
  .header-inner, .cover-inner, .site-footer, .guide-layout { width: calc(100% - 40px); }
  .header-text { display: none; }
  .wordmark { font-size: 15px; gap: 8px; }
  .header-inner .wordmark-light { display: block; margin-left: 0; font-weight: 500; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .header-nav { gap: 0; }
  .button-small { padding: 9px 11px; font-size: 14px; min-height: 44px; gap: 6px; }
  .button-small svg { width: 14px; height: 14px; }
  .cover-inner { padding-top: 24px; }
  .cover-meta { gap: 8px 16px; justify-content: space-between; margin-bottom: 23px; }
  h1 { font-size: 34px; line-height: 1.2; margin-bottom: 20px; }
  .cover-lead { font-size: 18px; line-height: 1.65; }
  .cover-actions { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 20px; }
  .button { padding: 13px 16px; font-size: 15px; gap: 10px; }
  .header-nav .button { padding: 9px 11px; font-size: 14px; gap: 6px; }
  .text-action { font-size: 15px; }
  .cover-disclosure { margin-top: 14px; margin-bottom: 24px; }
  .route-strip { gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 19px 0; }
  .route-strip > a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .route-icon { width: 30px; height: 30px; border-radius: 4px; }
  .route-icon > svg { width: 19px; height: 19px; }
  .route-copy small { display: none; }
  .route-copy strong { font-size: 14px; line-height: 1.5; }
  .intro-note { font-size: 16px; gap: 10px; padding-bottom: 26px; }
  .guide-section { padding: 36px 0; }
  .section-heading { display: block; margin-bottom: 22px; }
  .step-label { flex-direction: row; align-items: center; margin-bottom: 14px; gap: 9px; }
  .step-label > svg { width: 34px; height: 34px; padding: 7px; }
  h2 { font-size: 26px; line-height: 1.3; }
  .guide-section > p { font-size: 18px; line-height: 1.65; }
  .checklist-header { padding: 18px; }
  .checklist-header > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tool-label { font-size: 15px; }
  .checklist-items { padding: 0 18px; }
  .check-row { gap: 12px; padding: 17px 0; }
  .check-row strong { font-size: 16px; }
  .check-row small { font-size: 15px; }
  .checklist-result { padding: 16px 18px; }
  .guide-section > p.small-note { font-size: 14px; }
  .source-link { align-items: flex-start; }
  .source-link svg { margin-top: 3px; }
  .inline-cta .button, .closing-section .button { width: 100%; }
  .action-list h3, .verification-list h3, .registration-layout .action-list h3 { font-size: 17px; }
  .action-list li { gap: 10px; grid-template-columns: 30px minmax(0, 1fr); }
  .integration-tabs { gap: 4px; grid-template-columns: 1.14fr .85fr 1.1fr; }
  .integration-tabs button { font-size: 14px; min-height: 90px; padding: 8px 4px; }
  .integration-tabs button svg { width: 18px; height: 18px; }
  .integration-panel { min-height: 400px; padding-top: 24px; }
  .integration-panel h3 { font-size: 19px; }
  .payment-methods h3 { font-size: 19px; }
  .method-list { grid-template-columns: 1fr; gap: 24px; }
  .registration-layout .action-list li { padding-top: 18px; }
  .registration-layout .action-list li:first-child { padding-top: 0; }
  .gallery-heading .section-label { font-size: 15px; }
  .gallery-choices { gap: 8px; margin-top: 14px; }
  .gallery-choices > button { padding: 8px 6px; }
  .gallery-choices img { width: 100%; height: 44px; }
  .payment-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .payment-flow::before { display: none; }
  .zoom-label { width: 30px; height: 30px; bottom: 8px; right: 8px; }
  .zoom-label svg { width: 16px; height: 16px; }
  .receipt-options { grid-template-columns: 1fr; gap: 14px; }
  .receipt-options > div { padding: 22px; }
  .receipt-options > div > svg { margin-bottom: 16px; }
  .cost-factors { gap: 16px; }
  .faq-section summary { font-size: 17px; padding: 19px 0; }
  .closing-section { margin-top: 34px; padding: 32px 20px; }
  .closing-section h2 { font-size: 28px; }
  .closing-section .button { padding: 13px 10px; gap: 5px; }
  .closing-section .button svg { width: 16px; height: 16px; }
  .sources-section { padding-bottom: 32px; }
  .site-footer { flex-direction: column; gap: 20px; }
  .image-dialog { padding: 16px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .dialog-header p { font-size: 14px; }
  .image-dialog > img { width: 900px; max-width: none; }
  .dialog-header { position: sticky; top: 0; left: 0; z-index: 1; background: #fff; }
}
@media (max-width: 360px) {
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  progress::-webkit-progress-value { transition: none; }
}
@media print {
  .site-header, .desktop-toc, .mobile-toc, .cover-actions, .icon-button, .zoom-label, .site-footer { display: none; }
  .cover-inner, .guide-layout { width: 100%; display: block; }
  .guide-content { max-width: none; }
  .guide-section { break-inside: avoid; }
}

body:not(.js-ready) .checklist-header, body:not(.js-ready) progress, body:not(.js-ready) .checklist-result, body:not(.js-ready) .integration-tabs, body:not(.js-ready) .gallery-choices, body:not(.js-ready) .zoom-label { display: none; }
body:not(.js-ready) .integration-panel[hidden] { display: block !important; }
body:not(.js-ready) .image-button { cursor: default; }
