/* DocMate: local-only document workflow */
:root {
  color-scheme: light;
  --navy: #15233f;
  --text: #34435b;
  --muted: #7a879b;
  --blue: #0875fa;
  --blue-hover: #0563dc;
  --blue-light: #eef6ff;
  --line: #e6ebf2;
  --surface: #f8faff;
  --radius: 14px;
  --shadow: 0 8px 28px rgb(21 48 86 / 4%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); background: #fff; font-size: 14px; line-height: 1.7; letter-spacing: -.025em; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.4; letter-spacing: -.05em; }
h1, h2, h3 { font-weight: 750; }
p { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--navy); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #62a9ff; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.icon { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 20px; border-radius: 8px; color: #fff; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: -.03em; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: fit-content; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.badge .icon { width: 12px; height: 12px; }
.badge-blue { color: #096edb; background: #eaf4ff; }
.badge-green { color: #2d9d70; background: #eaf8f0; }
.badge-muted { color: #8893a6; background: #f0f3f8; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: 0 0 auto; color: var(--blue); background: linear-gradient(135deg, #f0f8ff, #e7f1fe); border: 1px solid #e3efff; border-radius: 12px; box-shadow: inset 0 0 0 4px rgb(255 255 255 / 45%); }
.icon-tile .icon { width: 29px; height: 29px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 650; line-height: 1.45; text-align: center; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 4px 9px rgb(8 117 250 / 12%); }
.btn-primary:hover:not(:disabled) { background: var(--blue-hover); box-shadow: 0 5px 12px rgb(8 117 250 / 20%); transform: translateY(-1px); }
.btn-outline { color: #2870c6; background: #fff; border-color: #b8cfee; }
.btn-outline:hover:not(:disabled) { background: #f5faff; border-color: #66a3ed; }
.btn-ghost { color: #54708e; background: transparent; }
.btn-ghost:hover:not(:disabled) { color: var(--blue); background: #f0f6ff; }
.btn-sm { min-height: 34px; padding: 7px 13px; font-size: 11px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { color: #9ba9bc; border-color: #e5ecf6; background: #edf2f9; box-shadow: none; transform: none; }

/* Shared shell */
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #f3f6fb; }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--navy); font-size: 21px; font-weight: 780; letter-spacing: -.045em; }
.brand-icon { display: inline-flex; color: #1269c2; }
.brand-icon .icon { width: 27px; height: 31px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; font-size: 12px; font-weight: 500; color: #4e5b71; }
.site-nav a { padding-block: 8px; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.header-action { margin-left: auto; white-space: nowrap; }
.site-footer { margin-top: 24px; border-top: 1px solid #f0f3f8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 30px; min-height: 79px; color: #8e98a8; font-size: 10px; }
.site-footer .brand { font-size: 15px; }
.site-footer .brand-icon .icon { width: 20px; height: 23px; }
.footer-inner > div { display: flex; align-items: center; gap: 18px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner a:hover { color: var(--blue); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 23px 0 26px; color: #8691a1; font-size: 11px; }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb > :last-child { color: #546580; }
.breadcrumb a:hover { color: var(--blue); }
.page-heading { margin-bottom: 29px; }
.page-heading h1, .page-title { margin-bottom: 10px; font-size: 34px; line-height: 1.38; }
.page-heading > p, .page-heading-row > div > p { color: #7e899b; font-size: 14px; }
.page-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 29px; }
.page-heading-row .page-heading { margin-bottom: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 3px; font-size: 21px; }
.section-heading p { color: #8590a0; font-size: 13px; }
.section-heading > p { margin-left: auto; }
.section-title { position: relative; padding-left: 14px; }
.section-title::before { content: ""; position: absolute; top: .28em; bottom: .24em; left: 0; width: 3px; min-height: 18px; border-radius: 4px; background: var(--blue); }
.section-link { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: #5b91d4; font-size: 12px; }
.section-link .icon { width: 15px; height: 15px; }
.cta-banner { display: flex; align-items: center; gap: 27px; min-height: 132px; margin-top: 46px; padding: 22px 40px 22px 28px; overflow: hidden; border: 1px solid #e8f2ff; border-radius: 12px; background: linear-gradient(100deg, #eef7ff 0%, #eff7ff 48%, #e6f2ff 100%); }
.cta-art { position: relative; width: 162px; height: 92px; flex: 0 0 auto; align-self: stretch; margin: -5px 0 -23px; transform: rotate(-24deg); }
.cta-art::before, .cta-art::after { content: ""; position: absolute; width: 98px; height: 117px; border: 1px solid #d8eafd; border-radius: 7px; background: linear-gradient(110deg, #fff, #f7fbff); box-shadow: -5px 5px 25px rgb(66 131 210 / 10%); }
.cta-art::before { left: 0; top: 15px; transform: rotate(-7deg); }
.cta-art::after { left: 33px; top: 0; background: repeating-linear-gradient(0deg, transparent 0 14px, #dceafb 15px 18px, transparent 19px 29px) 20px 33px / 59px 68px no-repeat, linear-gradient(110deg, #fff, #f7fbff); }
.cta-copy { flex: 1; min-width: 0; }
.cta-copy .eyebrow { margin-bottom: 4px; font-size: 11px; }
.cta-copy h2 { margin-bottom: 4px; font-size: 23px; }
.cta-copy p { font-size: 12px; color: #6e839e; }
.cta-banner > .btn, .cta-banner > div:last-child > .btn { min-width: 186px; }
.cta-banner > div:last-child > p { margin-top: 8px; color: #91a0b2; font-size: 10px; text-align: center; }

/* Home */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 410px; gap: 32px; padding: 41px 0 42px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 18px; font-size: clamp(33px, 3.6vw, 48px); line-height: 1.34; font-weight: 800; letter-spacing: -.065em; }
.hero-copy > p:not(.eyebrow) { max-width: 505px; color: #7f8999; font-size: 15px; line-height: 1.85; word-break: keep-all; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-actions .btn { min-width: 151px; min-height: 47px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 19px; margin-top: 16px; color: #8b96a6; font-size: 10px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }
.hero-trust .icon { width: 12px; height: 12px; color: #78a9a2; }
.hero-visual { position: relative; min-height: 332px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -2; inset: -20px -15px -22px -22px; background: radial-gradient(ellipse, #e7f2ff 0, #f3f8ff 47%, transparent 73%); filter: blur(14px); }
.hero-visual::after { content: ""; position: absolute; z-index: -1; width: 390px; height: 185px; bottom: 1px; left: 15px; background: linear-gradient(135deg, #e8f3ff90, #e1eeff20); border-radius: 55%; transform: rotate(-12deg); filter: blur(8px); }
.floating-doc { position: absolute; width: 180px; min-height: 188px; padding: 22px 20px 20px; border: 1px solid #eff4fc; border-radius: 12px; background: linear-gradient(135deg, #fff, #ffffffed); box-shadow: 0 12px 27px rgb(66 110 161 / 10%), inset 0 1px 0 #fff; }
.floating-doc .icon-tile { width: 32px; height: 32px; margin-bottom: 10px; border-radius: 8px; }
.floating-doc .icon-tile .icon { width: 21px; height: 21px; }
.floating-doc h3 { word-break: keep-all; word-break: keep-all; margin-bottom: 14px; font-size: 14px; letter-spacing: -.07em; }
.fake-line { display: block; height: 5px; margin-top: 8px; border-radius: 4px; background: #edf0f5; }
.fake-line.short { width: 72%; }
.float-1 { top: 24px; left: 10px; transform: rotate(-4deg); }
.float-2 { z-index: 1; top: 4px; left: 199px; transform: rotate(2deg); }
.float-3 { z-index: 2; top: 159px; left: 44px; width: 173px; min-height: 173px; transform: rotate(-4deg); }
.float-4 { z-index: 3; top: 151px; left: 233px; width: 174px; min-height: 174px; transform: rotate(5deg); }
.hero-note { position: absolute; top: 35px; right: -8px; width: 114px; color: #8393a9; font-size: 13px; line-height: 1.8; font-weight: 600; transform: rotate(-13deg); }
.hero-note::after { content: ""; display: block; width: 53px; height: 1px; margin: 13px 0 0 21px; background: #b6d5f7; transform: rotate(-17deg); }
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 22px 15px; border: 1px solid #edf3fc; border-radius: 12px; background: linear-gradient(110deg, #f8fbff, #f3f8ff 60%, #f9fbff); }
.feature-item { display: flex; align-items: flex-start; gap: 14px; padding: 0 17px; }
.feature-item + .feature-item { border-left: 1px solid #e6eef9; }
.feature-item > .icon { margin-top: 3px; width: 27px; height: 27px; color: var(--blue); }
.feature-copy { min-width: 0; }
.feature-copy h3 { margin: 0 0 5px; font-size: 13px; }
.feature-copy p { color: #8b98aa; font-size: 10px; line-height: 1.65; word-break: keep-all; }
.home-section { margin-top: 38px; }
.home-section .section-heading { margin-bottom: 16px; }
.home-section .section-heading h2 { font-size: 22px; }
.document-type { margin: 0 0 12px; color: #42506a; font-size: 13px; font-weight: 650; }
.document-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.document-card { position: relative; min-width: 0; padding: 24px 22px 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgb(22 54 94 / 2%); }
.document-card h3 { margin: 15px 0 7px; font-size: 16px; word-break: keep-all; }
.document-card p { color: #8792a2; font-size: 12px; line-height: 1.8; word-break: keep-all; }
.document-card > .icon-tile { margin-bottom: 0; }
.home-section:not(.selection-documents) .document-card { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 0 13px; padding: 19px 17px; }
.home-section:not(.selection-documents) .document-card > .icon-tile { grid-row: 1 / 4; width: 43px; height: 43px; border-radius: 10px; }
.home-section:not(.selection-documents) .document-card > .icon-tile .icon { width: 25px; height: 25px; }
.home-section:not(.selection-documents) .document-card h3 { margin: 0 0 5px; font-size: 13px; }
.home-section:not(.selection-documents) .document-card p { font-size: 10px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.card-tags span { color: #6592c2; font-size: 10px; }
.mini-doc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.mini-doc { display: flex; flex-direction: column; min-width: 0; padding: 17px 15px; border: 1px solid #edf0f5; border-radius: 10px; background: #fff; }
.mini-doc-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 10px; }
.mini-doc .icon-tile { width: 39px; height: 39px; border-radius: 9px; }
.mini-doc .icon-tile .icon { width: 23px; height: 23px; }
.mini-doc h3 { margin: 0 0 7px; font-size: 12px; }
.mini-doc p { color: #8d98a8; font-size: 10px; line-height: 1.8; }
.mini-doc .badge { padding: 2px 5px; font-size: 9px; }
.mini-doc .btn { margin-top: auto; }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px; margin: 26px 0 0; }
.how-step { position: relative; text-align: center; }
.how-step:not(:last-child)::after { content: "›"; position: absolute; top: 22px; right: -26px; color: #dbe7f7; font-size: 38px; font-weight: 200; line-height: 1; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 65px; height: 65px; margin-bottom: 14px; color: var(--blue); border: 6px solid #f7faff; border-radius: 50%; background: #eaf4ff; box-shadow: 0 0 0 5px #fcfdff; }
.step-icon .icon { width: 28px; height: 28px; }
.how-step h3 { margin-bottom: 8px; font-size: 14px; }
.how-step p { max-width: 170px; margin-inline: auto; color: #8d97a7; font-size: 11px; line-height: 1.8; word-break: keep-all; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.principle-card { display: flex; align-items: flex-start; gap: 15px; padding: 18px 20px; border: 1px solid #eaf0f7; border-radius: 10px; background: #fcfdff; }
.principle-card h3 { margin-bottom: 5px; font-size: 13px; }
.principle-card p { color: #8995a6; font-size: 10px; word-break: keep-all; }
.principle-card .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.principle-card .icon-tile .icon { width: 25px; height: 25px; }
.inline-note, .privacy-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 15px; color: #8a98ac; background: #f4f7fd; border-radius: 7px; font-size: 10px; line-height: 1.8; }
.inline-note { margin-top: 10px; }
.inline-note .icon, .privacy-note .icon { width: 15px; height: 15px; margin-top: 2px; color: #669edc; }
.example-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.example-tabs { display: flex; flex-direction: column; gap: 4px; padding: 13px 10px; border-right: 1px solid var(--line); background: #f8fbff; }
.example-tabs button { word-break: keep-all; display: flex; align-items: center; gap: 8px; padding: 12px 13px; border: 0; border-radius: 6px; color: #7e8ba0; background: transparent; font-size: 12px; font-weight: 600; text-align: left; }
.example-tabs button[aria-selected="true"] { color: #1570d6; background: #e9f3ff; }
.example-tabs button:hover { background: #edf5ff; }
.example-tabs .icon { width: 17px; height: 17px; }
.example-document { min-width: 0; max-height: 275px; overflow-y: auto; padding: 22px 26px 25px; scrollbar-width: thin; scrollbar-color: #d9e2ee #fff; }
.example-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.example-toolbar h3 { margin: 0; font-size: 17px; }
.example-toolbar > div { display: flex; align-items: center; gap: 6px; }
.example-label { display: inline-block; margin-bottom: 10px; color: #7b97b9; font-size: 10px; }
.example-document h4 { margin: 13px 0 5px; font-size: 12px; }
.example-document p { color: #7a8594; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }

/* Document selection */
.selection-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 224px; gap: 25px; margin-top: -8px; padding: 13px 20px 27px 0; }
.selection-hero .page-heading { position: relative; z-index: 1; margin-bottom: 0; }
.selection-hero h1 { margin-bottom: 11px; font-size: 39px; letter-spacing: -.065em; }
.selection-hero .eyebrow { margin-bottom: 10px; }
.selection-art { position: relative; width: 385px; min-height: 210px; flex: 0 0 auto; isolation: isolate; }
.selection-art::before { content: ""; position: absolute; z-index: -2; inset: -35px -20px -18px -55px; background: radial-gradient(ellipse, #e7f2ff 0, #f2f8ff 52%, transparent 70%); filter: blur(7px); }
.stack-paper { position: absolute; top: 57px; left: 17px; width: 156px; height: 150px; border: 1px solid #eaf2fc; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px #8eb9e42e; transform: rotate(-9deg); }
.stack-paper::before { content: ""; position: absolute; z-index: -1; inset: -18px 13px 18px -15px; border: 1px solid #eef5fc; border-radius: 8px; background: #ffffffb3; }
.stack-paper::after { content: ""; position: absolute; inset: 30px 22px; background: repeating-linear-gradient(0deg, transparent 0 15px, #e8f1fb 16px 22px, transparent 23px 35px); }
.stack-paper > .icon { position: absolute; z-index: 1; right: -11px; bottom: 13px; width: 63px; height: 63px; padding: 13px; color: white; background: linear-gradient(135deg, #69b2ff, #177cfa); border: 5px solid #dceeff; border-radius: 50%; box-shadow: 0 9px 14px #b3d3f988; }
.checklist-art { position: absolute; top: 7px; right: 25px; width: 184px; padding: 24px 20px; border: 1px solid #eaf2fc; border-radius: 12px; background: #fff; box-shadow: 0 12px 25px #84ade129; transform: rotate(3deg); }
.checklist-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #6b7d95; font-size: 13px; font-weight: 600; }
.checklist-row .icon { width: 20px; height: 20px; padding: 3px; color: #fff; background: var(--blue); border-radius: 5px; }
.category-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 0 0 32px; }
.category-item { display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 17px 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-align: left; }
.category-item.active { border-color: #82b6fa; background: #f2f7ff; box-shadow: 0 0 0 3px #eaf3ff; }
.category-item.unavailable { color: #8491a6; background: #fbfcfe; }
.category-item h2, .category-item h3, .category-item strong { display: block; margin: 0 0 3px; font-size: 15px; }
.category-item p { color: #8a97a9; font-size: 12px; }
.category-item > .badge { margin-left: auto; }
.selection-card { display: flex; flex-direction: column; min-height: 258px; padding: 22px 21px 19px; cursor: pointer; transition: border-color .16s, box-shadow .16s, background .16s; }
.selection-card:hover { border-color: #aacfff; box-shadow: 0 5px 18px #207cde0c; }
.selection-card.is-selected { border-color: #6aa8fa; background: linear-gradient(145deg, #fff, #f5faff); box-shadow: 0 0 0 2px #eaf3ff; }
.selection-card:has(input:focus-visible) { outline: 3px solid #62a9ff; outline-offset: 4px; }
.selection-card h3 { margin-top: 17px; font-size: 16px; }
.selection-card p { margin-bottom: 19px; font-size: 12px; }
.card-checkbox { position: absolute; display: flex; align-items: center; justify-content: center; top: 19px; right: 18px; width: 19px; height: 19px; border: 1.5px solid #dbe1e9; border-radius: 4px; color: transparent; background: #fff; }
.card-checkbox .icon { width: 13px; height: 13px; }
.is-selected .card-checkbox { color: white; background: var(--blue); border-color: var(--blue); }
.card-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: auto; padding: 8px 10px; border: 1px solid #e6edf7; border-radius: 6px; color: #347fcf; background: #fcfdff; font-size: 12px; font-weight: 650; }
.card-action .icon { width: 14px; height: 14px; }
.is-selected .card-action { color: #116edd; background: #eaf4ff; border-color: #d6e8ff; }
.coming-soon { margin-top: 34px; }
.coming-soon .mini-doc-grid { margin-top: 0; }
.coming-soon .mini-doc { min-height: 172px; background: #fcfdff; }
.coming-soon .mini-doc .icon-tile { opacity: .65; }
.coming-soon .mini-doc h3 { color: #637188; }
.selection-help { display: flex; align-items: center; gap: 17px; margin-top: 24px; padding: 21px 24px; border: 1px solid #e9f1fc; border-radius: 12px; color: #7a8ca6; background: linear-gradient(110deg, #f3f8ff, #f8fbff); font-size: 12px; }
.selection-help > .icon { color: #428fed; }
.selection-help h3 { margin: 0 0 5px; font-size: 14px; }
.selection-help p { color: #8797ac; }
.selection-bar { position: sticky; z-index: 8; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 38px; padding: 19px 24px; border: 1px solid #e9eff7; border-radius: 12px; background: rgb(255 255 255 / 96%); box-shadow: 0 4px 30px #36597f10; backdrop-filter: blur(12px); }
.selection-count { display: flex; align-items: center; gap: 13px; min-width: 0; }
.selection-count strong { font-size: 14px; }
.selection-count strong span { color: var(--blue); }
.selection-count p { color: #8895a6; font-size: 11px; }
.selection-count .icon-tile { width: 41px; height: 41px; }
.selection-count .icon-tile .icon { width: 24px; height: 24px; }
.selection-actions { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.selection-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border: 1px solid #dceaff; border-radius: 4px; background: #f0f7ff; color: #4388d3; font-size: 10px; }

/* Question flow */
.selection-summary { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; max-width: 380px; padding: 13px 16px; border: 1px solid #e9eff8; border-radius: 9px; background: #fbfdff; }
.selection-summary .icon-tile { width: 43px; height: 43px; }
.selection-summary .icon-tile .icon { width: 26px; height: 26px; }
.selection-summary small { display: block; color: #919bad; font-size: 10px; }
.selection-summary strong { display: block; font-size: 13px; }
.selection-summary .btn { margin-left: 5px; }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 32px; list-style: none; }
.stepper ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.stepper li { position: relative; min-width: 0; text-align: center; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(50% + 31px); right: calc(-50% + 31px); height: 2px; background: #e8ecf2; }
.stepper li.is-complete:not(:last-child)::after { background: #75b1ff; }
.stepper li > button, .stepper li > span, .stepper li > a { display: inline-flex; align-items: center; flex-direction: column; gap: 9px; max-width: 100%; padding: 0 6px; border: 0; background: none; }
.step-circle { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; margin-inline: auto; border: 1px solid #e2e6ed; border-radius: 50%; color: #8c98aa; background: #fff; font-size: 14px; font-weight: 700; }
.step-circle .icon { width: 19px; height: 19px; }
.step-label { display: block; margin-top: 8px; color: #96a0b0; font-size: 12px; font-weight: 500; }
.stepper button .step-label, .stepper li > span .step-label, .stepper a .step-label { margin-top: 0; }
.is-current .step-circle, .is-complete .step-circle { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 3px 7px #177aff20; }
.is-current .step-label { color: #1571d9; font-weight: 700; }
.is-complete .step-label { color: #5a7a9b; }
.form-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(270px, 1fr); gap: 22px; align-items: start; }
.form-card { min-width: 0; padding: 29px 31px 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 19px #45699503; }
.form-intro { position: relative; margin-bottom: 27px; padding-bottom: 22px; border-bottom: 1px solid #f0f3f7; }
.form-kicker { display: block; margin-bottom: 6px; color: #2b81e7; font-size: 11px; font-weight: 750; letter-spacing: 0; }
.form-intro h2 { margin: 0 0 7px; font-size: 23px; }
.form-intro p { color: #7f8c9f; font-size: 12px; line-height: 1.85; }
.required-note { margin-top: 11px; color: #93a0b0; font-size: 10px; text-align: right; }
.required-mark { color: #398df2; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 20px; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field-label { display: block; margin-bottom: 7px; color: #263951; font-size: 14px; font-weight: 700; }
.field legend { margin-bottom: 8px; padding: 0; }
.field-hint { display: block; margin: -2px 0 9px; color: #9aa4b3; font-size: 11px; font-weight: 400; line-height: 1.7; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 11px 13px; border: 1px solid #e1e7f0; border-radius: 6px; outline: none; color: #34465e; background: #fff; font-size: 12px; line-height: 1.7; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: #b3bcc9; }
.field select { padding-right: 28px; }
.field textarea { min-height: 98px; resize: vertical; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field textarea:focus, .field select:focus { border-color: #7fb4fa; box-shadow: 0 0 0 3px #0875fa0d; }
.field [aria-invalid="true"] { border-color: #df7e7e !important; }
.choice-group { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; min-height: 35px; }
.radio-option, .checkbox-option { display: inline-flex; align-items: flex-start; gap: 7px; color: #738298; font-size: 12px; line-height: 1.7; font-weight: 400; cursor: pointer; }
.radio-option input, .checkbox-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.field-error { margin-top: 6px; color: #ca4b51; font-size: 11px; }
.form-error { margin: 0 0 20px; padding: 12px 15px; border: 1px solid #f2d4d4; border-radius: 7px; color: #b54d51; background: #fff8f8; font-size: 12px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 33px; padding-top: 24px; border-top: 1px solid #f0f3f7; }
.form-actions .btn { min-width: 133px; }
.form-progress { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 0 7px; color: #9aa7b8; font-size: 10px; }
.guide-panel { min-width: 0; padding: 26px 23px 22px; border: 1px solid #edf4ff; border-radius: 12px; background: linear-gradient(145deg, #edf6ff, #f8fbff 52%, #ecf5ff); }
.guide-callout { margin-bottom: 28px; }
.guide-callout > .icon { width: 35px; height: 35px; margin-bottom: 13px; color: #1683f3; }
.guide-callout h2 { margin-bottom: 11px; font-size: 20px; line-height: 1.65; }
.guide-callout h2 strong { color: #1d68b9; }
.guide-callout p { color: #7f91a8; font-size: 12px; line-height: 1.85; word-break: keep-all; }
.guide-card { margin-top: 20px; }
.guide-card > h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; font-size: 16px; }
.guide-card > h3 .icon { width: 22px; height: 22px; color: var(--blue); }
.guide-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.guide-list li { position: relative; padding: 14px 14px 13px 48px; border: 1px solid #eef3f9; border-radius: 8px; background: #ffffffbf; }
.guide-number { position: absolute; top: 15px; left: 13px; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; color: #2b88e9; background: #eef6ff; border-radius: 50%; font-size: 12px; font-weight: 650; }
.guide-list h4 { margin: 0 0 5px; font-size: 12px; }
.guide-list p { color: #8698ae; font-size: 11px; line-height: 1.8; word-break: keep-all; }
.guide-current { margin-top: 18px; padding: 15px; border: 1px solid #dfeefd; border-radius: 8px; background: #eaf4ff; }
.guide-current h3, .guide-current strong { display: block; margin: 0 0 6px; color: #3985d7; font-size: 12px; }
.guide-current p { color: #8599b2; font-size: 11px; line-height: 1.8; }
.guide-current .btn { margin-top: 13px; }
.form-card .privacy-note { margin-top: 22px; }

/* Review and mock document preview */
.review-heading { display: block; margin-bottom: 28px; }
.review-heading .page-heading { margin-bottom: 0; }
.review-heading .stepper { flex: 0 0 440px; margin: 0; }
.review-heading .step-circle { width: 28px; height: 28px; font-size: 11px; }
.review-heading .step-circle .icon { width: 15px; height: 15px; }
.review-heading .stepper li:not(:last-child)::after { top: 14px; left: calc(50% + 24px); right: calc(-50% + 24px); }
.review-heading .step-label { font-size: 10px; }
.review-layout { display: grid; grid-template-columns: 202px minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.review-sidebar { min-width: 0; align-self: stretch; padding: 20px 11px; border: 1px solid #edf1f8; border-radius: 10px; background: #f8fbff; }
.review-count { margin: 0 10px 20px; color: #34465f; font-size: 14px; font-weight: 750; }
.review-count span { margin-left: 4px; color: var(--blue); }
.review-list { display: flex; flex-direction: column; gap: 8px; }
.review-doc { position: relative; display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 14px 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; text-align: left; }
.review-doc:hover { background: #f0f6ff; }
.review-doc.is-active { background: #eaf3ff; border-color: #e1edff; }
.review-doc.is-active::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: -1px; width: 3px; border-radius: 3px; background: var(--blue); }
.review-doc > .icon { width: 24px; height: 24px; margin-top: 1px; color: #358be9; }
.review-doc .icon-tile { width: 31px; height: 34px; border-radius: 5px; }
.review-doc .icon-tile .icon { width: 20px; height: 20px; }
.review-doc-copy { min-width: 0; }
.review-doc-copy strong { display: block; margin-bottom: 4px; font-size: 12px; line-height: 1.65; word-break: keep-all; }
.review-doc-copy small { display: block; color: #8f9aaa; font-size: 9px; }
.review-back { display: flex; align-items: center; gap: 5px; margin: 20px 10px 0; color: #6392c9; font-size: 11px; }
.review-back .icon { width: 14px; height: 14px; }
.preview-panel { min-width: 0; padding: 9px; border: 1px solid #e9eef6; border-radius: 10px; background: #fbfcfe; }
.preview-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 9px; min-height: 51px; padding: 10px 12px 14px; }
.preview-toolbar h2 { margin: 0; font-size: 14px; }
.preview-toolbar .badge { font-size: 9px; }
.preview-surface { min-width: 0; padding: 10px; border: 1px solid #edf1f7; background: #f4f7fb; border-radius: 5px; }
.paper { min-height: 850px; padding: 42px 34px 40px; border: 1px solid #e8edf3; color: #657082; background: #fff; box-shadow: 0 3px 8px #1d446306; overflow-wrap: anywhere; }
.paper-label { display: block; margin-bottom: 15px; color: #a0abba; font-size: 9px; text-align: center; letter-spacing: .04em; }
.paper > h2 { margin: 0 0 24px; color: #253047; font-size: 22px; text-align: center; line-height: 1.5; word-break: keep-all; }
.paper-intro { margin-bottom: 26px; font-size: 11px; line-height: 1.95; }
.paper-section { margin-top: 24px; }
.paper-section h3 { margin-bottom: 8px; color: #374256; font-size: 12px; }
.paper-section p { margin: 0 0 8px; font-size: 11px; line-height: 1.95; white-space: pre-line; }
.paper-section ul, .paper-section ol { padding-left: 17px; font-size: 11px; }
.paper-section li { margin-top: 5px; }
.paper-footer { margin-top: 38px; padding-top: 20px; border-top: 1px solid #eef0f5; color: #9ba6b6; font-size: 9px; text-align: center; }
.review-info { display: flex; flex-direction: column; min-width: 0; gap: 14px; }
.info-card { min-width: 0; padding: 19px 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.info-card > h2 { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 16px; font-size: 14px; }
.info-card > h2 .badge { font-size: 8px; padding: 2px 5px; }
.info-card > h3 { margin: 0 0 8px; font-size: 20px; word-break: keep-all; }
.info-description { color: #8792a2; font-size: 11px; line-height: 1.8; }
.info-list { display: flex; flex-direction: column; gap: 12px; margin: 21px 0 0; font-size: 11px; }
.info-list dt { display: flex; align-items: center; gap: 7px; color: #8b98ab; }
.info-list dt .icon { width: 15px; height: 15px; color: #2e8af2; }
.info-list dd { margin: 0; color: #66748a; overflow-wrap: anywhere; text-align: right; }
.download-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.download-actions .btn { width: 100%; min-height: 40px; padding-inline: 10px; font-size: 11px; }
.download-actions .btn:disabled { border-color: #dce8f6; color: #859dbe; background: #f1f6fc; }
.download-actions .btn-primary:disabled { color: #fff; background: #6ca6ed; border-color: #6ca6ed; }
.download-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; padding: 11px 10px; border-radius: 5px; color: #95a3b5; background: #f8fbff; font-size: 9px; line-height: 1.8; }
.download-note .icon { width: 13px; height: 13px; margin-top: 2px; color: #8cb0db; }
.info-card .privacy-note { margin-top: 14px; padding: 10px; font-size: 9px; }
.review-mobile-title { display: none; }

/* Layout protection and responsive views */
.hero-copy, .page-heading, .page-heading-row > div, .category-item > div, .guide-card, .feature-copy, .cta-copy, .info-description { min-width: 0; overflow-wrap: anywhere; }
main { display: block; min-height: calc(100vh - 180px); }
@media (min-width: 1440px) {
  .hero:not(.selection-hero) { min-height: 445px; }
  .hero-visual { transform: scale(1.045); transform-origin: center; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 35px; }
  .site-nav { gap: 22px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { transform: scale(.92); transform-origin: left center; }
  .hero-note { display: none; }
  .document-grid { gap: 11px; }
  .document-card, .selection-card { padding-inline: 17px; }
  .home-section:not(.selection-documents) .document-card { display: block; }
  .home-section:not(.selection-documents) .document-card h3 { margin-top: 12px; }
  .mini-doc-grid { gap: 10px; }
  .mini-doc { padding-inline: 12px; }
  .mini-doc-top { align-items: flex-start; flex-direction: column; }
  .review-layout { grid-template-columns: 175px minmax(0, 1fr) 234px; gap: 12px; }
  .paper { padding-inline: 25px; }
  .review-heading .stepper { flex-basis: 375px; }
  .review-heading .page-heading h1 { font-size: 30px; }
}
@media (max-width: 1050px) {
  .container { width: calc(100% - 48px); }
  .feature-item { gap: 10px; padding-inline: 12px; }
  .feature-copy h3 { font-size: 12px; }
  .feature-copy p { font-size: 10px; }
  .hero { gap: 15px; min-height: 385px; }
  .hero h1 { font-size: 36px; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .hero-visual { transform: scale(.81); width: 450px; margin-right: -80px; }
  .selection-hero h1 { font-size: 34px; }
  .selection-art { transform: scale(.86); transform-origin: right center; width: 350px; margin-left: -45px; }
  .selection-card h3 { font-size: 14px; }
  .selection-card p { font-size: 11px; }
  .mini-doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-doc-top { align-items: center; flex-direction: row; }
  .coming-soon .mini-doc { min-height: 146px; }
  .form-layout { grid-template-columns: minmax(0, 1fr) 275px; gap: 16px; }
  .form-card { padding: 25px 23px; }
  .guide-panel { padding: 23px 18px; }
  .guide-callout h2 { font-size: 18px; }
  .fields-grid { column-gap: 16px; }
  .review-heading { display: block; }
  .review-heading .stepper { max-width: 650px; margin: 26px auto 0; }
  .review-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 17px; }
  .review-sidebar { grid-column: 1 / -1; padding: 16px; }
  .review-count { margin: 0 0 12px; }
  .review-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .review-doc { padding: 11px 8px; gap: 8px; }
  .review-doc-copy strong { font-size: 11px; }
  .review-back { margin-top: 12px; margin-left: 0; }
  .paper { padding-inline: 31px; }
  .cta-banner { gap: 22px; padding-right: 25px; }
  .cta-art { width: 125px; }
  .cta-copy h2 { font-size: 21px; }
}
@media (max-width: 850px) {
  .header-inner { gap: 25px; }
  .site-nav { gap: 17px; font-size: 11px; }
  .header-action .btn { padding-inline: 14px; }
  .hero { grid-template-columns: 1.08fr .92fr; }
  .hero h1 { font-size: 33px; }
  .hero-visual { transform: scale(.71); margin-right: -126px; }
  .hero-trust { gap: 8px 12px; }
  .feature-strip { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .feature-item:nth-child(3) { border-left: 0; }
  .feature-copy p { max-width: 240px; }
  .selection-art { width: 310px; margin-left: -55px; transform: scale(.78); }
  .selection-hero { padding-right: 0; }
  .selection-hero h1 { font-size: 31px; }
  .selection-card { min-height: 260px; padding-inline: 14px; }
  .principle-card { padding: 16px 13px; gap: 11px; }
  .principle-card .icon-tile { width: 34px; height: 34px; }
  .principle-card .icon-tile .icon { width: 21px; height: 21px; }
  .selection-summary { gap: 9px; padding: 11px; max-width: 320px; }
  .selection-summary .icon-tile { display: none; }
  .form-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 14px; }
  .fields-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .guide-panel { padding-inline: 16px; }
  .guide-callout h2 { font-size: 17px; }
  .guide-list li { padding-left: 43px; }
  .guide-number { left: 10px; width: 23px; height: 23px; }
  .cta-banner { gap: 18px; }
  .cta-art { width: 92px; }
  .cta-art::before, .cta-art::after { width: 85px; }
  .cta-copy h2 { font-size: 19px; }
  .cta-banner > .btn, .cta-banner > div:last-child > .btn { min-width: 155px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  body { font-size: 13px; }
  .container { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 0 18px; min-height: 66px; padding-top: 14px; }
  .brand { font-size: 20px; }
  .brand-icon .icon { width: 25px; height: 28px; }
  .header-action { margin-left: auto; }
  .header-action .btn { min-height: 34px; padding: 8px 13px; font-size: 11px; }
  .site-nav { order: 3; justify-content: flex-start; gap: 25px; width: 100%; max-width: 100%; margin: 10px 0 0; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; font-size: 11px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding-block: 5px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 17px; padding-block: 24px; }
  .footer-inner > div { flex-wrap: wrap; gap: 10px; }
  .footer-inner nav { gap: 17px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding-top: 37px; padding-bottom: 21px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 12px; }
  .hero h1 { margin-bottom: 16px; font-size: clamp(31px, 5.8vw, 43px); }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; max-width: 440px; font-size: 13px; }
  .hero-actions { justify-content: center; margin-top: 22px; }
  .hero-actions .btn { min-width: 142px; }
  .hero-trust { justify-content: center; margin-top: 14px; font-size: 9px; }
  .hero-visual { width: 460px; max-width: 100%; min-height: 316px; margin: 8px auto 0; transform: scale(.85); transform-origin: center; }
  .hero-visual::before { inset: -10px -10px -10px -10px; }
  .float-1 { left: 22px; }
  .float-2 { left: 211px; }
  .float-3 { left: 51px; }
  .float-4 { left: 238px; }
  .feature-strip { padding: 20px 8px; gap: 21px 0; }
  .feature-item { padding-inline: 13px; gap: 10px; }
  .feature-item > .icon { width: 24px; height: 24px; }
  .feature-copy h3 { font-size: 12px; }
  .feature-copy p { font-size: 10px; }
  .home-section { margin-top: 32px; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading h2, .home-section .section-heading h2 { font-size: 20px; }
  .section-heading p { font-size: 12px; }
  .section-link { padding-top: 5px; font-size: 10px; }
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-section:not(.selection-documents) .document-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 11px; padding: 17px 14px; }
  .home-section:not(.selection-documents) .document-card h3 { margin-top: 0; font-size: 12px; }
  .home-section:not(.selection-documents) .document-card > .icon-tile { width: 40px; height: 40px; }
  .home-section:not(.selection-documents) .document-card p { font-size: 10px; }
  .mini-doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mini-doc { padding: 14px 12px; }
  .mini-doc h3 { font-size: 11px; }
  .mini-doc p { font-size: 10px; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 30px; }
  .how-step:nth-child(2)::after { content: none; }
  .how-step:not(:last-child)::after { right: -22px; }
  .how-step h3 { font-size: 13px; }
  .principle-grid { grid-template-columns: 1fr; gap: 10px; }
  .principle-card { align-items: center; padding: 16px; gap: 14px; }
  .principle-card .icon-tile { width: 40px; height: 40px; }
  .principle-card h3 { font-size: 13px; }
  .principle-card p { font-size: 11px; }
  .inline-note { font-size: 9px; }
  .example-layout { grid-template-columns: 1fr; }
  .example-tabs { flex-direction: row; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .example-tabs button { word-break: keep-all; flex: 0 0 auto; padding: 9px 11px; font-size: 11px; }
  .example-document { max-height: 290px; padding: 20px; }
  .cta-banner { flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 32px; min-height: 0; padding: 24px; }
  .cta-art { display: none; }
  .cta-copy { flex: 1 1 230px; }
  .cta-copy h2 { font-size: 21px; }
  .cta-copy p { font-size: 11px; }
  .cta-banner > .btn, .cta-banner > div:last-child > .btn { min-width: 150px; }
  .breadcrumb { margin: 20px 0 21px; font-size: 10px; }
  .page-heading { margin-bottom: 22px; }
  .page-heading h1, .page-title { font-size: 29px; }
  .page-heading > p, .page-heading-row > div > p { font-size: 12px; }
  .page-heading-row { flex-direction: column; align-items: stretch; gap: 17px; margin-bottom: 21px; }
  .selection-hero { display: block; min-height: 0; margin: 0; padding: 10px 0 29px; }
  .selection-hero h1 { font-size: 31px; }
  .selection-hero .eyebrow { font-size: 12px; }
  .selection-art { display: none; }
  .category-strip { gap: 10px; margin-bottom: 30px; }
  .category-item { gap: 12px; min-height: 81px; padding: 14px; }
  .category-item .icon-tile { width: 38px; height: 38px; border-radius: 9px; }
  .category-item .icon-tile .icon { width: 24px; height: 24px; }
  .category-item h2, .category-item h3, .category-item strong { font-size: 13px; }
  .category-item p { font-size: 10px; }
  .category-item > .badge { display: none; }
  .selection-card { min-height: 241px; padding: 21px 19px 17px; }
  .selection-card h3 { font-size: 15px; }
  .selection-card p { font-size: 12px; }
  .coming-soon { margin-top: 29px; }
  .coming-soon .mini-doc { min-height: 153px; }
  .selection-help { align-items: flex-start; gap: 12px; padding: 19px 17px; }
  .selection-help h3 { font-size: 13px; }
  .selection-help p { font-size: 11px; }
  .selection-bar { bottom: 8px; flex-wrap: wrap; gap: 13px; margin-top: 25px; padding: 16px; }
  .selection-count { flex: 1; }
  .selection-count strong { font-size: 13px; }
  .selection-count p { font-size: 10px; }
  .selection-actions .btn { padding-inline: 16px; min-height: 42px; font-size: 12px; }
  .selection-chips { gap: 4px; }
  .chip { font-size: 9px; }
  .selection-summary { align-self: flex-start; width: 100%; max-width: none; padding: 11px 14px; }
  .selection-summary .icon-tile { display: flex; width: 36px; height: 36px; }
  .selection-summary .icon-tile .icon { width: 22px; height: 22px; }
  .selection-summary .btn { margin-left: auto; }
  .stepper { margin: 22px 0 26px; }
  .step-circle { width: 32px; height: 32px; font-size: 12px; }
  .stepper li:not(:last-child)::after { top: 15px; left: calc(50% + 23px); right: calc(-50% + 23px); }
  .step-label { font-size: 11px; }
  .form-layout { display: flex; flex-direction: column; gap: 18px; }
  .form-card, .guide-panel { width: 100%; }
  .form-card { padding: 24px 22px; }
  .form-intro { margin-bottom: 24px; padding-bottom: 19px; }
  .form-intro h2 { font-size: 22px; }
  .form-intro p { font-size: 12px; }
  .fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .field-wide { grid-column: 1 / -1; }
  .field > label, .field-label { font-size: 13px; }
  .field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select { font-size: 16px; padding: 10px 12px; min-height: 46px; }
  .field input::placeholder, .field textarea::placeholder { font-size: 12px; }
  .field select { font-size: 14px; }
  .radio-option, .checkbox-option { font-size: 12px; }
  .guide-panel { padding: 24px 22px; }
  .guide-callout { margin-bottom: 19px; }
  .guide-callout h2 { font-size: 19px; }
  .guide-callout > .icon { width: 28px; height: 28px; margin-bottom: 9px; }
  .guide-callout p { font-size: 12px; }
  .guide-card { margin-top: 17px; }
  .guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .guide-list li { padding: 14px 13px 14px 44px; }
  .guide-current { margin-top: 14px; }
  .review-heading .page-heading h1 { font-size: 29px; }
  .review-heading .stepper { margin-top: 24px; }
  .review-layout { display: flex; flex-direction: column; gap: 17px; }
  .review-sidebar, .preview-panel, .review-info { width: 100%; }
  .review-sidebar { padding: 17px 14px; }
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .review-doc { min-height: 64px; padding: 12px 9px; }
  .review-doc-copy strong { font-size: 12px; }
  .review-doc-copy small { font-size: 9px; }
  .review-back { margin-top: 13px; }
  .preview-panel { padding: 8px; }
  .preview-toolbar { padding: 9px 10px 12px; }
  .preview-surface { padding: 10px; }
  .paper { min-height: 740px; padding: 35px 30px; }
  .paper > h2 { font-size: 22px; }
  .paper-intro, .paper-section p { font-size: 12px; }
  .paper-section h3 { font-size: 13px; }
  .paper-label, .paper-footer { font-size: 10px; }
  .review-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .info-card { padding: 20px 17px; }
  .info-card > h3 { font-size: 20px; }
  .download-actions .btn { min-height: 43px; font-size: 12px; }
  .info-description, .info-list { font-size: 11px; }
  .download-note { font-size: 10px; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 32px); }
  .site-nav { gap: 24px; font-size: 10px; }
  .hero { padding-top: 31px; gap: 0; }
  .hero h1 { font-size: 32px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .hero-copy > p br { display: none; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { min-width: 136px; min-height: 44px; padding-inline: 15px; font-size: 12px; }
  .hero-trust { gap: 5px 10px; font-size: 8px; }
  .hero-trust .icon { width: 10px; height: 10px; }
  .hero-visual { left: 50%; width: 440px; max-width: none; min-height: 284px; margin-left: -220px; margin-top: -10px; margin-bottom: -28px; transform: scale(.69); transform-origin: center; }
  .hero { overflow: clip; }
  .feature-strip { gap: 19px 0; padding: 20px 7px; }
  .feature-item { gap: 8px; padding-inline: 9px; }
  .feature-item > .icon { width: 21px; height: 21px; }
  .feature-copy h3 { font-size: 10px; }
  .feature-copy p { font-size: 9px; }
  .section-heading { gap: 10px; margin-bottom: 16px; }
  .section-heading h2, .home-section .section-heading h2 { font-size: 19px; }
  .section-link { font-size: 9px; }
  .document-grid { grid-template-columns: 1fr; gap: 11px; }
  .home-section:not(.selection-documents) .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-section:not(.selection-documents) .document-card { display: block; padding: 17px 14px; }
  .home-section:not(.selection-documents) .document-card h3 { margin-top: 12px; font-size: 12px; }
  .home-section:not(.selection-documents) .document-card p { font-size: 10px; }
  .mini-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-doc { padding: 15px 13px; }
  .mini-doc h3 { font-size: 12px; }
  .mini-doc p { font-size: 10px; }
  .mini-doc .badge { font-size: 8px; }
  .how-grid { gap: 28px 20px; }
  .how-step:not(:last-child)::after { right: -16px; }
  .step-icon { width: 60px; height: 60px; margin-bottom: 12px; }
  .how-step h3 { font-size: 12px; }
  .how-step p { font-size: 10px; }
  .example-tabs button { word-break: keep-all; font-size: 10px; padding-inline: 10px; }
  .example-tabs .icon { display: none; }
  .example-document { padding: 18px 16px; }
  .example-toolbar h3 { font-size: 16px; }
  .example-toolbar .btn { min-height: 28px; padding: 5px 7px; font-size: 9px; }
  .cta-banner { align-items: flex-start; gap: 17px; padding: 22px; }
  .cta-copy { flex-basis: 100%; }
  .cta-copy h2 { font-size: 20px; }
  .cta-banner > .btn, .cta-banner > div:last-child { width: 100%; }
  .cta-banner > div:last-child > .btn { width: 100%; }
  .page-heading h1, .page-title, .selection-hero h1, .review-heading .page-heading h1 { font-size: 27px; }
  .selection-hero .page-heading p br { display: none; }
  .category-strip { gap: 9px; }
  .category-item { align-items: flex-start; gap: 8px; min-height: 80px; padding: 14px 10px; }
  .category-item .icon-tile { width: 29px; height: 32px; border-radius: 7px; }
  .category-item .icon-tile .icon { width: 19px; height: 19px; }
  .category-item h2, .category-item h3, .category-item strong { font-size: 12px; }
  .category-item p { font-size: 9px; }
  .selection-card { display: grid; grid-template-columns: 47px minmax(0, 1fr); align-items: start; gap: 0 16px; min-height: 0; padding: 21px 20px 17px; }
  .selection-card > .icon-tile { grid-row: 1 / 3; width: 45px; height: 47px; }
  .selection-card h3 { margin: 0 22px 6px 0; font-size: 15px; }
  .selection-card p { margin-bottom: 0; font-size: 11px; }
  .selection-card .card-action { grid-column: 1 / -1; margin-top: 15px; padding-block: 8px; }
  .card-checkbox { top: 20px; right: 18px; width: 17px; height: 17px; }
  .coming-soon .mini-doc { min-height: 142px; }
  .selection-bar { gap: 13px; padding: 14px; }
  .selection-count { flex-basis: 100%; gap: 10px; }
  .selection-count .icon-tile { width: 37px; height: 37px; }
  .selection-actions { width: 100%; }
  .selection-actions .btn-primary { flex: 1; }
  .selection-actions > .btn:only-child { width: 100%; }
  .selection-chips { margin-top: 4px; }
  .selection-summary { gap: 10px; padding-inline: 12px; }
  .selection-summary strong { font-size: 12px; }
  .selection-summary .btn { padding-inline: 9px; font-size: 10px; }
  .stepper { margin-block: 23px; }
  .step-circle { width: 29px; height: 29px; font-size: 11px; }
  .step-circle .icon { width: 15px; height: 15px; }
  .stepper li:not(:last-child)::after { top: 14px; left: calc(50% + 21px); right: calc(-50% + 21px); }
  .step-label { font-size: 10px; }
  .form-card { padding: 23px 18px; }
  .form-intro h2 { font-size: 21px; }
  .form-intro p { font-size: 11px; }
  .fields-grid { grid-template-columns: 1fr; gap: 25px; }
  .field-wide { grid-column: auto; }
  .field > label, .field-label { font-size: 13px; }
  .choice-group { gap: 10px 16px; }
  .form-actions { margin-top: 27px; gap: 10px; }
  .form-actions .btn { min-width: 0; flex: 1; padding-inline: 12px; font-size: 12px; }
  .guide-panel { padding: 23px 18px; }
  .guide-list { grid-template-columns: 1fr; }
  .guide-callout h2 { font-size: 18px; }
  .guide-callout p { font-size: 11px; }
  .review-count { font-size: 13px; }
  .review-doc { gap: 8px; padding-inline: 7px; }
  .review-doc-copy strong { font-size: 10px; }
  .review-doc-copy small { font-size: 8px; }
  .review-doc > .icon { width: 20px; height: 20px; }
  .review-doc .icon-tile { width: 27px; height: 30px; }
  .review-doc .icon-tile .icon { width: 18px; height: 18px; }
  .review-heading .step-label { font-size: 9px; }
  .preview-panel { padding: 6px; }
  .preview-toolbar { padding: 9px 8px 12px; }
  .preview-toolbar h2 { font-size: 13px; }
  .preview-toolbar .badge { font-size: 8px; }
  .preview-surface { padding: 7px; }
  .paper { min-height: 730px; padding: 28px 20px 33px; }
  .paper > h2 { margin-bottom: 23px; font-size: 20px; }
  .paper-intro, .paper-section p { font-size: 11px; }
  .paper-section { margin-top: 22px; }
  .paper-section h3 { font-size: 12px; }
  .paper-label, .paper-footer { font-size: 9px; }
  .review-info { grid-template-columns: 1fr; }
  .info-card { padding: 21px; }
  .info-list { font-size: 12px; }
  .info-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Match the semantic markup shared by each view. */
#main-content { outline: none; }
.brand > .brand-icon { width: 27px; height: 31px; }
.site-footer .brand > .brand-icon { width: 20px; height: 23px; }
.page-heading .eyebrow { color: var(--blue); font-size: 12px; }
.cta-art > .icon { display: none; }
.hero-mobile-break, .how-arrow { display: none; }
.home-section:not(.selection-documents) .document-card > .section-link { margin-top: 9px; font-size: 10px; }
.standard-heading { margin: 19px 0 10px; }
.standard-heading .document-type { margin-bottom: 0; }
.standard-heading .muted { font-size: 10px; }
.home-section > .mini-doc-grid.coming-soon { margin-top: 0; }
.selection-documents { margin-top: 0; }
.selection-summary .muted { display: block; font-size: 10px; }
.stepper a[aria-disabled="true"] { cursor: default; }
.optional-mark { margin-left: 7px; color: #a3adbb; font-size: 10px; font-weight: 400; }
.form-progress .form-kicker { margin: 0; }
.guide-callout h3 { margin-bottom: 11px; color: #225d9e; font-size: 19px; line-height: 1.65; }
.guide-current h3 .icon { width: 16px; height: 16px; margin-right: 6px; }
.guide-current .selection-chips { margin-bottom: 10px; }
.guide-current .section-link { margin-top: 10px; font-size: 10px; }
.guide-panel > .privacy-note { margin-top: 18px; padding: 12px 0 0; background: transparent; font-size: 9px; }
.review-sidebar > .section-link { margin: 20px 10px 0; font-size: 10px; }
.review-layout + .review-back { flex-wrap: wrap; gap: 16px; margin: 24px 0 0; }
.preview-toolbar h2 .icon { width: 17px; height: 17px; margin-right: 7px; color: #4f8fd9; }
.info-card > .section-heading { gap: 7px; margin-bottom: 15px; }
.info-card > .section-heading h2 { margin: 0; font-size: 14px; }
.info-card > .section-heading .badge { padding: 2px 6px; font-size: 9px; }
.info-card > .section-link { margin-top: 15px; font-size: 10px; }
.info-list > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
@media (max-width: 760px) {
  .selection-hero .hero-copy { text-align: left; }
  .selection-hero .hero-copy > p:not(.eyebrow) { max-width: none; }
}
@media (max-width: 500px) {
  .selection-card .card-tags { grid-column: 2; margin-top: 7px; }
  .guide-callout h3 { font-size: 18px; }
}

@media (min-width: 761px) {
  .hero.selection-hero { min-height: 224px; padding-top: 13px; padding-bottom: 27px; }
}

/* Document readiness and provenance: existing page layout is unchanged. */
.badge-input { color: #9b620a; background: #fff4df; }
.badge-review { color: #ad4853; background: #fff0f2; }
.document-status { max-width: 100%; letter-spacing: 0; }
.review-doc-copy .document-status { font-size: 9px; padding: 2px 5px; }
.document-checks .info-description { margin-bottom: 10px; }
.document-issues { list-style: none; margin: 0; padding: 0; }
.document-issues li { padding: 11px 0; border-top: 1px solid var(--line); }
.document-issues p { font-size: 12px; overflow-wrap: anywhere; }
.document-verification-note { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.clause-provenance { margin: 0 0 9px; font-size: 9px; }
.document-empty { padding: 18px; background: var(--surface); border-radius: 8px; font-size: 13px; }


/* Public reference comparison: spacing, readable copy and responsive panels. */
.site-nav { font-size: 13px; }
.header-action { font-size: 12px; }
.feature-copy h3, .principle-card h3 { font-size: 14px; }
.feature-copy p, .principle-card p, .mini-doc p, .how-step p { color: #66768c; font-size: 12px; }
.home-section:not(.selection-documents) .document-card h3 { font-size: 14px; }
.home-section:not(.selection-documents) .document-card p { color: #66768c; font-size: 12px; }
.home-section:not(.selection-documents) .document-card > .section-link { font-size: 11px; }
#documents .coming-soon .mini-doc { min-height: 126px; }
.mini-doc h3 { font-size: 13px; }
.mini-doc .badge { font-size: 10px; }
.hero-trust { color: #697b90; font-size: 11px; }
.selection-card p, .selection-help p { color: #687a90; font-size: 13px; }
.selection-bar { position: static; background: #f8fbff; backdrop-filter: none; }
.selection-count p { color: #66768c; font-size: 12px; }
.step-label { color: #728095; }
.field-hint { color: #6f7e92; font-size: 12px; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select { font-size: 14px; }
.radio-option, .checkbox-option { color: #566a83; font-size: 13px; }
.guide-panel { padding: 0; border: 0; background: none; }
.guide-callout { padding: 23px; margin-bottom: 24px; border: 1px solid #e5effb; border-radius: 12px; background: linear-gradient(140deg, #edf6ff, #f8fbff); }
.guide-callout h2 { font-size: 19px; }
.guide-callout p, .guide-list p, .guide-current p { color: #667b95; font-size: 12px; }
.guide-list li { background: #fff; border-color: var(--line); }
.guide-list h4 { font-size: 13px; }
.guide-panel > .privacy-note { font-size: 11px; }
.review-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 28px; margin-bottom: 30px; }
.review-heading-row .review-heading, .review-heading-row .stepper { margin: 0; }
.review-heading-row .step-circle { width: 30px; height: 30px; font-size: 12px; }
.review-heading-row .step-circle .icon { width: 16px; height: 16px; }
.review-heading-row .stepper li:not(:last-child)::after { top: 14px; left: calc(50% + 24px); right: calc(-50% + 24px); }
.review-heading-row .step-label { font-size: 11px; }
.review-doc-copy strong { font-size: 13px; }
.review-doc-copy .document-status { font-size: 10px; }
.paper { color: #4d5c71; }
.paper-intro, .paper-section p { font-size: 13px; line-height: 1.9; }
.paper-section h3 { font-size: 14px; }
.paper-label, .paper-footer { color: #738095; font-size: 10px; }
.info-description, .info-list { font-size: 12px; }
.info-description, .info-list dt { color: #69798f; }
.download-actions .btn { min-height: 44px; font-size: 12px; }
.download-note { color: #6d7f96; font-size: 11px; }
.preview-toolbar .badge, .info-card > .section-heading .badge { font-size: 10px; }

@media (min-width: 1051px) {
  .hero:not(.selection-hero) { min-height: 410px; padding-block: 30px; }
}
@media (max-width: 1050px) {
  .review-heading-row { grid-template-columns: 1fr; gap: 24px; }
  .review-heading-row .stepper { width: 100%; max-width: 650px; margin-inline: auto; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-layout { grid-template-columns: 1fr; }
  .review-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-nav { font-size: 12px; gap: 22px; }
  .hero-trust { font-size: 10px; }
  .feature-copy h3 { font-size: 12px; }
  .feature-copy p { font-size: 11px; }
  .home-section:not(.selection-documents) .document-card h3 { font-size: 13px; }
  .field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select { font-size: 16px; }
  .guide-callout { padding: 22px; }
  .review-doc-copy strong { font-size: 12px; }
  .review-doc-copy .document-status { font-size: 10px; }
  .review-heading-row { margin-bottom: 26px; }
  .review-heading-row .step-label { font-size: 10px; }
}

/* Official references stay secondary to the document review flow. */
.document-sources summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.document-sources ul { padding-left: 18px; margin: 12px 0 0; }
.document-sources li { margin: 12px 0; overflow-wrap: anywhere; }
.document-sources a { color: #0871ff; text-decoration: underline; }
.document-sources small { display: block; color: #657184; line-height: 1.6; margin-top: 4px; }
#export-feedback:empty { display: none; }

/* Structured facts and shared document blocks; retain the established layout. */
.activity-editor { grid-column: 1 / -1; min-width: 0; }
.activity-editor > h3 { margin: 0 0 10px; }
.activity-card { border: 1px solid var(--border, #dfe5ec); border-radius: 12px; margin: 22px 0; padding: 20px; min-width: 0; }
.activity-card legend { font-weight: 700; padding: 0 8px; }
.activity-card .btn { margin-top: 18px; }
.form-draft-link { margin: 26px 0 0; font-size: 13px; line-height: 1.7; color: #536379; }
.form-draft-link a { color: #2465ca; text-decoration: underline; }
.paper .doc-table-wrap { overflow-x: auto; margin: 16px 0; max-width: 100%; }
.paper .doc-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.7; }
.paper .doc-table th, .paper .doc-table td { border: 1px solid #d7dfe9; padding: 9px; text-align: left; vertical-align: top; white-space: pre-wrap; overflow-wrap: anywhere; }
.paper .doc-table th { background: #f1f5f9; font-weight: 700; }
.paper .doc-list { padding-left: 22px; line-height: 1.85; }
.paper .doc-paragraph, .paper .doc-list li { white-space: pre-wrap; overflow-wrap: anywhere; }
.paper .doc-consent { border: 1px solid #c7d3e1; border-radius: 7px; margin: 18px 0; padding: 14px; break-inside: avoid; }
.paper .doc-consent-label { font-weight: 700; }
.paper .doc-consent-options { word-spacing: 5px; }
.paper .doc-notice { border-left: 3px solid #bc8626; background: #fff8e7; padding: 12px; margin: 14px 0; }
.requirement-trace { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 600px) { .activity-card { padding: 13px; } .paper .doc-table { font-size: 11px; } .paper .doc-table td, .paper .doc-table th { padding: 6px; } }

.conditional-answer-note { margin-top: 22px; padding: 16px; border: 1px solid #ead69d; border-radius: 8px; background: #fffbef; font-size: 13px; line-height: 1.8; }
.conditional-answer-note .btn { margin-top: 12px; }

/* Release 6: small question sections, precise issue focus and readable preview tables. */
.question-section-nav { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 8px 0 16px; margin-bottom: 20px; scrollbar-width: thin; }
.question-section-nav a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #d7e0ed; border-radius: 18px; font-size: 12px; color: #45566f; text-decoration: none; }
.question-section-nav a[aria-current="step"] { background: #edf4ff; border-color: #2465ca; color: #164fa5; font-weight: 700; }
.required-label { color: #76531a; font-size: 11px; font-weight: 500; margin-left: 6px; }
.field.issue-target { outline: 2px solid #c04b36; outline-offset: 9px; border-radius: 4px; background: #fffaf7; }
#questions-form input, #questions-form textarea, #questions-form select { scroll-margin-top: 110px; }
.preview-panel, .preview-surface, .paper, .paper-section, .form-card, .guide-panel { min-width: 0; }
.paper .doc-table-wrap:focus-visible { outline: 2px solid #2465ca; outline-offset: 3px; }
@media screen and (max-width: 768px) {
  .paper .doc-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 7px; }
  .paper .doc-table-wrap::before { content: '표를 좌우로 밀어 전체 내용을 확인하세요 ↔'; display: block; position: sticky; left: 0; width: max-content; max-width: 100%; margin-bottom: 7px; color: #536379; font: 11px/1.6 sans-serif; }
  .paper .doc-table { min-width: 640px; font-size: 12px; }
  .paper .doc-table th, .paper .doc-table td { padding: 9px; }
}
