:root {
  --ink: #102436;
  --navy: #0b2847;
  --navy-2: #153c60;
  --paper: #fffdf8;
  --paper-2: #f5f1e8;
  --line: #d8d5cc;
  --muted: #5e6871;
  --blue-soft: #dfeaf3;
  --orange: #c75124;
  --orange-dark: #9b3511;
  --green: #2e6b51;
  --focus: #f2a02c;
  --shadow: 0 20px 50px rgba(16, 36, 54, 0.12);
  --radius: 14px;
  --shell: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; }
button, input, select { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: white; border: 2px solid var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 980px; }
.section-rule { border-top: 1px solid var(--line); }
.section-kicker, .eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 800px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem, 6vw, 4.65rem); font-weight: 500; }
h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(216, 213, 204, 0.9); background: rgba(255, 253, 248, 0.95); backdrop-filter: blur(10px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 750; text-decoration: none; letter-spacing: -0.02em; }
.brand b { color: var(--orange); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 9px 9px 4px 4px; font-size: 0.68rem; letter-spacing: 0.05em; }
nav { display: none; gap: 24px; }
nav a { color: var(--muted); font-size: 0.9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--navy); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border: 1px solid var(--navy); border-radius: 7px; color: white; background: var(--navy); font-weight: 750; text-decoration: none; box-shadow: 0 5px 0 rgba(11, 40, 71, 0.16); transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.button:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 7px 0 rgba(11, 40, 71, 0.12); }
.button:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(11, 40, 71, 0.16); }
.button-small { min-height: 44px; padding: 10px 14px; font-size: 0.88rem; box-shadow: none; }

.hero { padding: 70px 0 76px; overflow: hidden; background-image: linear-gradient(rgba(11,40,71,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,40,71,.035) 1px, transparent 1px); background-size: 28px 28px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { max-width: 780px; }
.hero-lede { max-width: 710px; margin-bottom: 28px; color: #3e4b55; font-size: clamp(1.06rem, 2vw, 1.25rem); }
.hero-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-action p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.hero-action p strong { color: var(--ink); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-notes li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); color: #44515b; font-size: 0.8rem; }

.closing-preview { position: relative; padding: 20px; border: 1px solid #c9c7bf; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transform: rotate(0.4deg); }
.closing-preview::before { content: ""; position: absolute; z-index: -1; inset: 10px -10px -10px 10px; border: 1px solid #c9c7bf; border-radius: var(--radius); background: #e9e4d9; }
.preview-label { display: inline-block; margin-bottom: 16px; padding: 5px 8px; border-radius: 4px; color: #5a493c; background: #eee6d8; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.preview-head p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.preview-head strong { color: var(--navy); font-size: 1.3rem; }
.preview-head > span { padding: 4px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font-size: 0.74rem; font-weight: 750; }
.preview-steps { margin: 0; padding: 5px 0; list-style: none; }
.preview-steps li { display: grid; grid-template-columns: 32px 1fr auto; gap: 11px; align-items: center; padding: 13px 4px; border-bottom: 1px solid #ebe8e2; }
.preview-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #aeb7bd; border-radius: 50%; color: #67747d; font-size: .75rem; font-weight: 750; }
.preview-steps .done > span { border-color: var(--green); color: white; background: var(--green); }
.preview-steps .active { margin-inline: -8px; padding-inline: 12px; border-radius: 7px; background: #fff3e8; }
.preview-steps .active > span { border-color: var(--orange); color: var(--orange-dark); }
.preview-steps strong, .preview-steps small { display: block; }
.preview-steps strong { font-size: .9rem; }
.preview-steps small { color: var(--muted); font-size: .72rem; }
.preview-steps li > b { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.preview-steps .done > b { color: var(--green); }
.preview-steps .active > b { color: var(--orange-dark); }
.preview-footer { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.preview-footer span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .7rem; font-weight: 700; }

.recognition, .workspace, .scope, .pricing, .faq { padding: 92px 0; }
.recognition-grid { display: grid; gap: 28px; align-items: start; margin-top: 34px; }
.recognition-grid > p { color: #3e4b55; font-size: 1.12rem; }
.plain-checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-checklist li { position: relative; padding: 13px 10px 13px 32px; border-bottom: 1px solid var(--line); }
.plain-checklist li::before { content: "?"; position: absolute; left: 4px; top: 14px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: #f8e5d8; font-size: .72rem; font-weight: 850; }
.official-deadlines { display: grid; gap: 1px; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.official-deadlines > div, .official-deadlines > p { margin: 0; padding: 22px; background: white; }
.official-deadlines strong, .official-deadlines span { display: block; }
.official-deadlines strong { color: var(--orange-dark); font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.official-deadlines span, .official-deadlines p { color: var(--muted); font-size: .92rem; }

.process { padding: 92px 0; color: white; background: var(--navy); }
.process h2, .process h3 { color: white; }
.process .section-kicker { color: #ffb88f; }
.section-heading { display: flex; flex-direction: column; gap: 18px; margin-bottom: 42px; }
.section-heading > p { max-width: 530px; color: var(--muted); }
.process .section-heading > p { color: #b9cad8; }
.process-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li { position: relative; padding: 26px 0 26px 54px; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-list li > span { position: absolute; left: 0; top: 27px; color: #ffb88f; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.process-list h3 { margin-bottom: 8px; }
.process-list p { margin: 0; color: #c5d3de; font-size: .92rem; }

.workspace { background: var(--paper-2); }
.workspace-grid { display: grid; gap: 50px; align-items: center; }
.workspace-copy > p { color: var(--muted); }
.feature-list { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid #cfcabf; }
.feature-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid #cfcabf; }
.feature-list strong { color: var(--navy); }
.feature-list span { color: var(--muted); font-size: .92rem; }
.archive-card { border: 1px solid #babdc0; border-radius: 10px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.archive-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 11px 14px; border-bottom: 1px solid #d8dadd; background: #edf0f2; font-size: .76rem; }
.archive-toolbar > div { display: flex; gap: 5px; }
.archive-toolbar > div span { width: 8px; height: 8px; border-radius: 50%; background: #b2b8bc; }
.archive-toolbar b { color: #374955; }
.archive-toolbar em { justify-self: end; color: #6b777f; font-style: normal; }
.archive-body { padding: 20px; }
.archive-folder { margin-bottom: 10px; padding: 10px 12px; border-radius: 5px; background: #f6eee0; color: #7a4a24; font-weight: 750; font-size: .85rem; }
.archive-body ul { margin: 0; padding: 0; list-style: none; }
.archive-body li { display: grid; grid-template-columns: 37px 1fr auto; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #e5e7e8; }
.archive-body li > span { padding: 3px; border: 1px solid #b7c5cf; border-radius: 3px; color: #48677e; font-size: .58rem; font-weight: 850; text-align: center; }
.archive-body li strong, .archive-body li small { display: block; }
.archive-body li strong { color: #263c4c; font-size: .82rem; }
.archive-body li small { color: #7a858c; font-size: .68rem; }
.archive-body li > b { color: var(--green); font-size: .65rem; }
.archive-copies { display: grid; gap: 10px; margin-top: 18px; }
.archive-copies > div { padding: 13px; border: 1px solid #c8d4dd; border-left: 4px solid var(--orange); border-radius: 5px; background: #fafcfd; }
.archive-copies > div + div { border-left-color: #4b84ad; }
.archive-copies strong, .archive-copies small { display: block; }
.archive-copies strong { font-size: .85rem; }
.archive-copies small { color: var(--muted); font-size: .72rem; }

.outcomes { padding: 92px 0; }
.section-heading.compact { margin-bottom: 30px; }
.outcome-grid { display: grid; gap: 16px; }
.outcome-grid article { padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); background: white; }
.outcome-grid article + article { border-top-color: #4c82a9; }
.role-label { display: inline-block; margin-bottom: 18px; padding: 5px 9px; border-radius: 4px; color: #7f310f; background: #f8e3d5; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.role-label.role-buyer { color: #244e6c; background: #e0ebf3; }
.outcome-grid ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
.outcome-grid li { margin-bottom: 8px; }

.scope { background: #f7f8f8; }
.scope-grid { display: grid; gap: 44px; }
.scope-grid > div:first-child p:last-child { color: var(--muted); }
.scope-lists { display: grid; gap: 16px; }
.scope-lists article, .exceptions { border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.scope-lists article { padding: 24px; }
.scope-lists h3 { margin-bottom: 18px; }
.status-list { margin: 0; padding: 0; list-style: none; }
.status-list li { position: relative; padding: 8px 0 8px 28px; color: #43515b; }
.status-list li::before { position: absolute; left: 0; top: 8px; font-weight: 900; }
.supported li::before { content: "✓"; color: var(--green); }
.excluded li::before { content: "→"; color: var(--orange-dark); }
.exceptions summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; color: var(--navy); font-weight: 750; cursor: pointer; list-style: none; }
.exceptions summary::-webkit-details-marker { display: none; }
.exceptions summary::after { content: "+"; font-size: 1.4rem; }
.exceptions[open] summary::after { content: "−"; }
.exceptions > div { padding: 0 22px 22px; color: var(--muted); }

.comparison { padding: 92px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th, td { padding: 17px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: #51606a; background: #f2f3f2; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
tbody th { color: var(--navy); }
tbody td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.highlight { background: #fff5ed; }
.highlight th { border-left: 4px solid var(--orange); }
.comparison-note { max-width: 850px; margin: 24px 0 0; color: var(--muted); font-size: .92rem; }

.pricing { background: var(--navy); }
.pricing h2 { color: white; }
.pricing .section-kicker { color: #ffb88f; }
.pricing-grid { display: grid; gap: 30px; align-items: center; }
.pricing-grid > div > p:not(.section-kicker) { max-width: 670px; color: #c4d3de; }
.pricing .button { margin-top: 12px; border-color: white; color: var(--navy); background: white; box-shadow: 0 5px 0 rgba(255,255,255,.18); }
.pricing-note { margin-top: 15px !important; font-size: .82rem; }
.price-card { padding: 26px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(255,255,255,.08); color: white; }
.price-card > div { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
.price-card > div span { color: #c4d3de; }
.price-card > div strong { font-family: Georgia, serif; font-size: 2.5rem; font-weight: 500; }
.price-card ul { padding-left: 20px; color: #edf3f7; }
.price-card li { margin-bottom: 8px; }
.price-card > p { margin: 18px 0 0; color: #b7c8d5; font-size: .78rem; }

.sources { padding: 70px 0; background: #eef3f6; }
.guide-hub { padding: 76px 0; background: var(--paper-2); }
.guide-card-grid { display: grid; gap: 14px; }
.guide-card-grid a { display: grid; gap: 7px; padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); color: var(--ink); background: white; text-decoration: none; box-shadow: 0 8px 25px rgba(16,36,54,.06); }
.guide-card-grid a:nth-child(2) { border-top-color: #4c82a9; }
.guide-card-grid a:nth-child(3) { border-top-color: var(--green); }
.guide-card-grid span { color: var(--orange-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-card-grid strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1.15; }
.guide-card-grid em { color: var(--muted); font-size: .9rem; font-style: normal; }
.guide-card-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sources-grid { display: grid; gap: 32px; }
.sources-grid > div p:last-child { color: var(--muted); }
.sources-grid ul { margin: 0; padding: 0; list-style: none; }
.sources-grid li { border-bottom: 1px solid #c8d5dd; }
.sources-grid li:first-child { border-top: 1px solid #c8d5dd; }
.sources-grid a { display: block; padding: 12px 2px; color: var(--navy); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sources-grid a::after { content: " ↗"; color: var(--orange-dark); }

.faq-grid { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 4px; color: var(--navy); font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--orange-dark); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; padding: 0 34px 18px 4px; color: var(--muted); }

.disclaimer { padding: 60px 0; background: #f0e9df; }
.disclaimer-box { display: grid; gap: 24px; align-items: start; }
.disclaimer-box h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.disclaimer-box > p { margin: 0; color: #4f5558; }
.final-cta { padding: 72px 0; color: white; background: var(--orange-dark); }
.final-cta h2 { margin-bottom: 12px; color: white; }
.final-cta .section-kicker { color: #ffd4bd; }
.final-cta p { max-width: 650px; margin-bottom: 0; color: #ffe7d9; }
.final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.button-light { border-color: white; color: var(--navy); background: white; box-shadow: none; }
.button-light:hover { color: white; background: var(--navy); }

footer { padding: 54px 0 20px; color: #b8c7d3; background: #071c30; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 350px; margin: 14px 0 0; font-size: .88rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid strong { color: white; }
.footer-grid a, .footer-grid button { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; border: 0; color: #b8c7d3; background: transparent; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover, .footer-grid button:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .75rem; }

dialog { width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(4, 16, 28, .72); backdrop-filter: blur(3px); }
.dialog-shell { position: relative; padding: 30px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: white; font-size: 1.5rem; line-height: 1; }
.dialog-shell h2 { padding-right: 34px; font-size: clamp(1.8rem, 5vw, 2.7rem); }
.dialog-shell > p:not(.section-kicker) { color: var(--muted); }
form { display: grid; gap: 10px; margin-top: 24px; }
fieldset { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 5px; padding: 0; border: 0; }
legend, form > label:not(.consent) { margin-bottom: 2px; color: var(--navy); font-size: .86rem; font-weight: 750; }
fieldset label { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
input[type="email"], select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9ba4aa; border-radius: 6px; color: var(--ink); background: white; }
input[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid #a92c1b; }
.field-help, .form-message, .form-status { margin: 0; font-size: .78rem; }
.field-help { color: var(--muted); }
.error { padding: 9px 10px; border-left: 4px solid #a92c1b; color: #7d2116; background: #fdebea; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; margin: 9px 0; color: #44515b; font-size: .82rem; }
.consent input { margin-top: 2px; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit[disabled] { cursor: wait; opacity: .65; }
.form-status { color: var(--green); font-weight: 700; }
.policy-dialog #policy-content { color: var(--muted); }
.policy-dialog #policy-content strong { color: var(--ink); }
.product-status { display: inline-flex; margin: -8px 0 18px; padding: 5px 9px; border: 1px solid #d5a27f; border-radius: 999px; color: var(--orange-dark); background: #fff6ef; font-size: .76rem; font-weight: 800; letter-spacing: .03em; }
.merchant-note { margin: 13px 0 0; color: #53616a; font-size: .8rem; }
.merchant-note-dark { color: #dbe7ef !important; }
.disclaimer a { color: var(--navy); font-weight: 750; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.order-summary { margin: 22px 0 16px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.order-summary > div { display: grid; grid-template-columns: minmax(110px, .65fr) minmax(0, 1.35fr); gap: 18px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.order-summary > div:last-child { border-bottom: 0; }
.order-summary span { color: var(--muted); font-size: .8rem; }
.order-summary strong { color: var(--navy); font-size: .84rem; }
.checkout-disclosure { margin: 12px 0; color: var(--muted); font-size: .86rem; }
.checkout-consent { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.checkout-consent a, .consent a { color: var(--navy); font-weight: 750; }
.config-placeholder { display: inline-block; padding: 2px 5px; border: 1px solid #c78b57; border-radius: 4px; color: #7d310f; background: #fff1e6; font-weight: 800; }

.legal-main { padding: 76px 0 96px; }
.legal-layout { display: grid; gap: 36px; }
.legal-sidebar { align-self: start; }
.legal-sidebar nav { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 4px; }
.legal-sidebar a { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; border-left: 3px solid transparent; color: var(--muted); text-decoration: none; }
.legal-sidebar a[aria-current="page"] { border-left-color: var(--orange); color: var(--navy); background: #f8eee5; font-weight: 800; }
.legal-document { max-width: 820px; }
.legal-document > header { margin-bottom: 42px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-document h1 { max-width: 760px; font-size: clamp(2.6rem, 7vw, 4.6rem); }
.legal-document h2 { margin-top: 42px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.legal-document h3 { margin-top: 28px; font-size: 1.15rem; letter-spacing: -.01em; }
.legal-document p, .legal-document li { color: #42505a; }
.legal-document li { margin-bottom: 8px; }
.legal-document a { color: var(--navy); font-weight: 720; text-underline-offset: 3px; }
.legal-meta { color: var(--muted); font-size: .86rem; }
.legal-callout { margin: 24px 0; padding: 18px 20px; border: 1px solid #d9c7b8; border-left: 5px solid var(--orange); border-radius: 7px; background: #fff8f2; }
.legal-callout p:last-child { margin-bottom: 0; }
.contact-card, .payment-state-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-card dl { display: grid; grid-template-columns: minmax(110px, .45fr) minmax(0, 1fr); gap: 12px 20px; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; color: var(--navy); font-weight: 720; }
.payment-state { min-height: 60vh; display: grid; place-items: center; padding: 70px 0; }
.payment-state-card { width: min(680px, 100%); }
.payment-state-card .button { margin-top: 10px; }
.secondary-link { display: inline-flex; min-height: 44px; align-items: center; margin-left: 14px; color: var(--navy); font-weight: 750; }

@media (min-width: 700px) {
  .hero-action { flex-direction: row; align-items: center; }
  .recognition-grid, .official-deadlines, .outcome-grid, .archive-copies, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .official-deadlines > p { grid-column: 1 / -1; }
  .process-list { grid-template-columns: repeat(5, 1fr); }
  .process-list li { min-height: 220px; padding: 58px 20px 24px 0; border-right: 1px solid rgba(255,255,255,.2); }
  .process-list li:last-child { border-right: 0; }
  .process-list li > span { top: 22px; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-heading > p { margin-bottom: 10px; }
  .feature-list li { grid-template-columns: 170px 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 900px) {
  nav { display: flex; }
  .hero { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 70px; }
  .recognition-grid { grid-template-columns: .85fr 1.15fr; }
  .workspace-grid { grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); }
  .scope-grid { grid-template-columns: .8fr 1.2fr; }
  .pricing-grid { grid-template-columns: 1.2fr .8fr; gap: 70px; }
  .sources-grid { grid-template-columns: .8fr 1.2fr; }
  .faq-grid { grid-template-columns: .75fr 1.25fr; }
  .disclaimer-box { grid-template-columns: .8fr 1.2fr; }
  .final-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 70px; }
  .guide-card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) and (max-width: 1300px) {
  h1 { font-size: 3.7rem; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 48px; }
  .hero-lede { margin-bottom: 20px; font-size: 1.08rem; }
  .hero-notes { margin-top: 20px; }
}

@media (max-width: 520px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .header-inner { min-height: 64px; }
  .header-inner .brand-mark { display: none; }
  .button-small { padding-inline: 10px; }
  .button-small [data-cta-label] { font-size: 0; }
  .button-small [data-cta-label]::after { content: "Start my closing"; font-size: .82rem; }
  h1 { font-size: 2.55rem; }
  .hero { padding-top: 52px; }
  .recognition, .workspace, .scope, .pricing, .faq, .outcomes, .comparison, .process { padding-block: 70px; }
  .closing-preview { padding: 15px; }
  .preview-steps small { display: none; }
  .dialog-shell { padding: 26px 20px 22px; }
  .order-summary > div { grid-template-columns: 1fr; gap: 3px; }
  .legal-main { padding: 52px 0 70px; }
  .legal-sidebar nav { position: static; }
  .contact-card dl { grid-template-columns: 1fr; gap: 4px; }
  .contact-card dd { margin-bottom: 14px; }
  .secondary-link { margin: 10px 0 0; }
}

.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sample-note { font-size: 14px; line-height: 1.6; color: #52616b; }
.sample-preview { display: block; padding: 24px; background: #e8f0f4; border: 1px solid #cbd7dd; border-radius: 16px; color: #0b2940; text-decoration: none; }
.sample-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; align-items: start; }
.sample-pages img { width: 100%; height: auto; box-shadow: 0 8px 24px #0b294022; background: white; }
.sample-caption { display: block; font-size: 13px; line-height: 1.5; }
@media (max-width: 800px) { .sample-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
