:root {
  --color-primary: #005bac;
  --color-primary-dark: #004687;
  --color-accent: #2e8bff;
  --color-bg: #f7f9fc;
  --color-card: #fff;
  --color-border: #e2e8f0;
  --color-text: #1f2937;
  --color-muted: #64748b;
  --color-success: #16803c;
  --color-error: #c62828;
  --color-warning: #9a5b00;
  --color-button: #005bac;
  --color-button-text: #fff;
  --front-eyebrow-size: 12px;
  --flow-eyebrow-size: 11px;
  --shadow-card: 0 12px 36px rgba(15, 45, 80, .08);
  --radius: 18px;
  --radius-sm: 10px;
  --shell: 1120px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-text); background: var(--color-bg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--color-primary); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, summary, label[for] { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(46,139,255,.5); outline-offset: 3px; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 800px; }
.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; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--color-border); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text); text-decoration: none; line-height: 1.15; }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px 2px 11px 2px; color: #fff; background: linear-gradient(145deg, var(--color-primary), var(--color-accent)); font-size: 22px; font-weight: 800; }
.brand__image { display: block; width: auto; height: auto; max-width: min(220px,48vw); max-height: 52px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .08em; font-size: 14px; }
.brand small { margin-top: 4px; color: var(--color-muted); font-size: 11px; letter-spacing: .04em; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; }
.site-nav__list a { min-height: 44px; display: inline-flex; align-items: center; color: var(--color-text); font-size: 13px; font-weight: 700; text-decoration: none; }
.site-nav__list a:hover { color: var(--color-primary); }
.pause-notice { padding: 10px 0; color: #6f4200; background: #fff5df; border-bottom: 1px solid #f2d59d; font-size: 14px; text-align: center; }

.site-footer { padding: 48px 0 22px; color: #c9d5e4; background: #0d2238; }
.footer-brand__image { display: block; width: auto; height: auto; max-width: min(240px,70vw); max-height: 72px; margin-bottom: 12px; object-fit: contain; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid strong { color: #fff; }
.footer-grid p { margin: 4px 0 0; font-size: 13px; }
.footer-grid nav { display: grid; gap: 8px; }
.footer-menu { list-style: none; display: contents; margin: 0; padding: 0; }
.footer-menu li { display: contents; }
.footer-grid a { min-height: 38px; display: flex; align-items: center; color: #e6eef7; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.copyright { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; text-align: center; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg,#f5faff 0%,#edf5fc 55%,#f7f9fc 100%); }
.hero::before { content: ""; position: absolute; top: -180px; right: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle,rgba(46,139,255,.15),rgba(46,139,255,0) 67%); }
.hero__inner { position: relative; z-index: 1; min-height: 650px; display: grid; align-items: center; gap: 52px; padding-block: 68px; }
.hero__copy { position: relative; z-index: 1; }
.hero--has-image { color: #fff; background-color: #0b2945; background-image: var(--hero-background-image); background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero--has-image::before { inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(90deg,rgba(5,25,44,.88) 0%,rgba(7,35,60,.72) 55%,rgba(7,35,60,.52) 100%); }
.hero--has-image .hero__copy { padding: clamp(22px,4vw,40px); border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(4,24,42,.38); box-shadow: 0 22px 60px rgba(0,0,0,.18); backdrop-filter: blur(5px); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero--has-image .eyebrow,.hero--has-image .secure-note { color: #d6ecff; }
.hero--has-image h1 span { color: #8ec9ff; }
.hero--has-image .button { text-shadow: none; }
.hero--has-image .button--ghost { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(4,24,42,.44); }
.hero--has-image .hero__panel { color: var(--color-text); text-shadow: none; }
.hero.hero--has-image .lead { color: #f1f7fc; }
.hero.hero--has-image h1 span { color: #8ec9ff; }
.eyebrow { margin: 0 0 12px; color: var(--color-primary); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero__copy > .eyebrow { font-size: var(--front-eyebrow-size); }
.hero h1 { margin: 0; font-size: clamp(38px, 8vw, 64px); line-height: 1.25; letter-spacing: -.04em; }
.hero h1 span { color: var(--color-primary); }
.lead { color: #4b5b6d; font-size: 17px; }
.hero__copy .lead { max-width: 580px; margin: 24px 0 30px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.secure-note { margin: 18px 0 0; color: var(--color-muted); font-size: 12px; }
.hero__panel { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 28px 70px rgba(22,68,112,.14); backdrop-filter: blur(8px); }
.panel-kicker { margin: 0; color: var(--color-accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero__panel > .panel-kicker { font-size: var(--flow-eyebrow-size); }
.hero__panel h2 { margin: 4px 0 18px; font-size: 23px; }
.flow-list { list-style: none; margin: 0; padding: 0; }
.flow-list li { position: relative; display: flex; gap: 16px; align-items: center; min-height: 72px; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 54px; bottom: -8px; width: 1px; background: #cbddec; }
.flow-list li > span { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #d3e4f2; border-radius: 50%; color: var(--color-primary); background: #f5faff; font-weight: 800; }
.flow-list strong, .flow-list small { display: block; }
.flow-list small { color: var(--color-muted); font-size: 12px; }
.assurance { padding: 34px 0; border-block: 1px solid var(--color-border); background: #fff; }
.assurance-grid { display: grid; gap: 22px; }
.assurance-grid > div { display: grid; grid-template-columns: 58px 1fr; align-items: center; column-gap: 14px; }
.feature-icon { grid-row: 1 / 3; width: 58px; height: 58px; border: 1px solid #e3edf6; border-radius: 50%; background: #edf6ff; object-fit: cover; }
.assurance-grid strong, .assurance-grid small { display: block; }
.assurance-grid small { color: var(--color-muted); font-size: 12px; }

.page-main { min-height: 64vh; padding: 48px 0 72px; }
.page-heading { margin: 0 auto 30px; text-align: center; }
.page-heading h1 { margin: 0; font-size: clamp(30px, 7vw, 44px); line-height: 1.3; }
.page-heading > p:last-child { margin: 10px 0 0; color: var(--color-muted); }
.card { padding: 24px 20px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-card); box-shadow: var(--shadow-card); }
.application-page form { max-width: 900px; margin-inline: auto; }
.card-heading { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.card-heading__number { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--color-primary); font-size: 13px; font-weight: 800; }
.card-heading h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.card-heading p { margin: 3px 0 0; color: var(--color-muted); font-size: 13px; }

.stepper { max-width: 900px; margin: 0 auto 28px; overflow: hidden; }
.stepper ol { position: relative; list-style: none; display: flex; justify-content: space-between; margin: 0; padding: 0; }
.stepper ol::before { content: ""; position: absolute; z-index: 0; top: 18px; left: 9%; right: 9%; height: 2px; background: #dce4ed; }
.stepper li { position: relative; z-index: 1; flex: 1; display: grid; justify-items: center; gap: 6px; color: #8b98a7; text-align: center; }
.stepper__number { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #d5dee8; border-radius: 50%; background: var(--color-bg); font-size: 13px; font-weight: 800; }
.stepper li > span:last-child small, .stepper li > span:last-child strong { display: block; }
.stepper small { font-size: 9px; letter-spacing: .06em; }
.stepper strong { display: none !important; font-size: 12px; }
.stepper .is-current { color: var(--color-primary); }
.stepper .is-current .stepper__number { color: #fff; border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 0 5px rgba(0,91,172,.1); }
.stepper .is-complete { color: var(--color-success); }
.stepper .is-complete .stepper__number { color: #fff; border-color: var(--color-success); background: var(--color-success); }

.job-context { display: flex; gap: 14px; align-items: center; padding: 18px; margin-bottom: 26px; border: 1px solid #cfe3f6; border-radius: 12px; background: #f3f9ff; }
.job-context__icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--color-primary); background: #fff; box-shadow: 0 3px 12px rgba(0,91,172,.1); }
.job-context small, .job-context strong, .job-context span { display: block; }
.job-context small { color: var(--color-muted); font-size: 11px; }
.job-context strong { color: #123c64; }
.job-context span { color: var(--color-muted); font-size: 11px; overflow-wrap: anywhere; }
.form-grid { display: grid; gap: 18px; }
.field { min-width: 0; margin-bottom: 20px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 7px; color: #243447; font-size: 14px; font-weight: 700; }
.field input:not([type="checkbox"]), .field select { width: 100%; min-height: 50px; padding: 11px 13px; color: var(--color-text); border: 1px solid #becbd8; border-radius: 9px; background: #fff; transition: border var(--transition), box-shadow var(--transition), background var(--transition); }
.field input:hover, .field select:hover { border-color: #8ca6bd; }
.field input:focus, .field select:focus { border-color: var(--color-accent); outline: 0; box-shadow: 0 0 0 4px rgba(46,139,255,.15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--color-error); background: #fffafa; }
.field.is-valid input:not([type="checkbox"]) { padding-right: 44px; border-color: var(--color-success); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2316803c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 12px center; background-repeat: no-repeat; background-size: 24px 24px; }
.field-help { display: block; margin-top: 5px; color: var(--color-muted); font-size: 11px; }
.field-error { min-height: 0; margin: 5px 0 0; color: var(--color-error); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.field-error:not(:empty)::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; color: #fff; background: var(--color-error); font-size: 10px; vertical-align: 1px; }
.required-badge, .optional-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 10px; line-height: 1.5; vertical-align: 1px; }
.required-badge { color: #fff; background: var(--color-error); }
.optional-badge { color: var(--color-muted); background: #eef2f6; }
.input-suffix { display: flex; align-items: center; gap: 8px; }
.input-suffix input { flex: 1; min-width: 0; }
.info-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border: 1px solid #cfe3f6; border-radius: 10px; color: #294d6d; background: #f2f8fe; font-size: 13px; }
.info-box > span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--color-primary); font-size: 12px; font-weight: 800; }
.info-box p { margin: 0; }
.info-box--warning { border-color: #efd49a; color: #674300; background: #fff9eb; text-align: left; }
.info-box--warning > span { background: var(--color-warning); }

.upload-field { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.upload-field:last-child { border-bottom: 0; }
.upload-title { margin-bottom: 10px; }
.upload-title h3 { margin: 0; font-size: 15px; }
.upload-title small { color: var(--color-muted); font-size: 11px; }
.dropzone { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 3px; padding: 20px; border: 2px dashed #aac2d7; border-radius: 12px; color: var(--color-muted); background: #fbfdff; text-align: center; cursor: pointer; transition: var(--transition); }
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-dragging { border-color: var(--color-accent); color: var(--color-primary); background: #f0f7ff; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone__icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 50%; color: var(--color-primary); background: #e7f3ff; font-size: 21px; }
.dropzone strong { color: var(--color-primary); font-size: 14px; text-decoration: underline; }
.dropzone span:last-child { font-size: 11px; }
.file-card { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; padding: 12px; border: 1px solid #bddfc8; border-radius: 10px; background: #f6fcf8; }
.file-card > div { min-width: 0; }
.file-card strong, .file-card small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card small { color: var(--color-muted); font-size: 11px; }
.file-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: var(--color-primary); background: #e5f2ff; font-size: 10px; font-weight: 800; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--color-muted); background: transparent; font-size: 24px; cursor: pointer; }
.icon-button:hover { color: var(--color-error); background: #fff0f0; }

.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.button--primary { color: var(--color-button-text); border-color: var(--color-button); background: var(--color-button); box-shadow: 0 8px 18px rgba(0,91,172,.18); }
.button--primary:hover { color: var(--color-button-text); background: var(--color-button); filter: brightness(.88); }
.button--ghost { color: var(--color-primary); border-color: #a9c5dd; background: #fff; }
.button--ghost:hover { background: #f3f9ff; }
.button--full { width: 100%; }
.form-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 28px; }
.form-actions .button { width: 100%; }
.form-actions--end { justify-content: flex-end; }
.form-actions--center { justify-content: center; }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.submit-note { color: var(--color-muted); font-size: 11px; text-align: center; }
.error-summary { max-width: 900px; padding: 18px 20px; margin: 0 auto 22px; border: 2px solid var(--color-error); border-radius: 12px; background: #fff7f7; }
.error-summary h2 { margin: 0; color: var(--color-error); font-size: 16px; }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; font-size: 13px; }
.error-summary a { color: var(--color-error); font-weight: 600; }

.review { margin-bottom: 28px; }
.review-group { margin-bottom: 22px; }
.review-group h3 { padding-bottom: 8px; margin: 0 0 4px; border-bottom: 2px solid #dbe8f4; font-size: 15px; }
.review-row { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--color-border); font-size: 13px; }
.review-row dt { color: var(--color-muted); }
.review-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.consent-box { padding: 18px; border: 1px solid var(--color-border); border-radius: 12px; background: #f9fbfd; }
.consent-box h3 { margin: 0; }
.consent-box > p { margin: 5px 0; color: var(--color-muted); font-size: 13px; }
.check-row { min-height: 54px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; font-size: 13px; font-weight: 600; cursor: pointer; }
.check-row + .field-error { margin-top: -10px; }
.check-row input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--color-primary); }
.check-row__text { min-width: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.85; }
.consent-document { padding: 12px 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.85; font-size: 13px; font-weight: 600; }

.prose h1 { line-height: 1.35; }
.prose h2 { padding-top: 18px; margin-top: 28px; border-top: 1px solid var(--color-border); font-size: 20px; }
.prose h3 { font-size: 16px; }
.prose p, .prose li { color: #46566a; }
.doc-note { padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 12px; }

.complete-card, .state-card { text-align: center; }
.complete-icon, .state-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: #fff; background: var(--color-success); box-shadow: 0 0 0 10px #e7f6ec; font-size: 32px; font-weight: 800; }
.state-icon { background: var(--color-primary); box-shadow: 0 0 0 10px #e8f3fc; }
.complete-card h1, .state-card h1 { margin: 0; font-size: clamp(27px,6vw,38px); }
.receipt { padding: 20px; margin: 26px 0; border: 1px solid #bfd8ec; border-radius: 12px; background: #f3f9ff; }
.receipt span, .receipt strong, .receipt small { display: block; }
.receipt span { color: var(--color-muted); font-size: 12px; }
.receipt strong { margin: 4px 0; color: var(--color-primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(20px,5vw,28px); letter-spacing: .04em; overflow-wrap: anywhere; }
.receipt small { color: var(--color-muted); }
.next-flow { margin: 28px 0; text-align: left; }
.next-flow h2 { text-align: center; }
.next-flow ol { list-style: none; margin: 0; padding: 0; }
.next-flow li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.next-flow li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--color-primary); background: #edf6ff; font-weight: 800; }
.next-flow strong, .next-flow small { display: block; }
.next-flow small { color: var(--color-muted); }
.state-code { display: block; color: #d5e4f2; font-size: clamp(70px,20vw,140px); font-weight: 900; line-height: 1; }

.status-login, .status-result { max-width: 650px; margin-inline: auto; }
.code-entry { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.success-notice { padding: 12px; margin-bottom: 18px; border-radius: 9px; color: #0d612d; background: #eaf8ef; font-size: 13px; }
.status-hero { padding: 24px; margin: -24px -20px 26px; border-radius: var(--radius) var(--radius) 0 0; color: #fff; background: linear-gradient(135deg,var(--color-primary),#287fc7); text-align: center; }
.status-hero p { margin: 0; opacity: .8; font-size: 12px; }
.status-hero h2 { margin: 5px 0; font-size: 26px; }
.status-hero h2 span { color: #9be1af; font-size: 14px; }
.status-progress { display: grid; gap: 0; margin: 20px 0 28px; }
.status-progress > div { position: relative; min-height: 64px; display: flex; align-items: center; gap: 13px; color: #8290a0; }
.status-progress > div:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 46px; bottom: -10px; width: 2px; background: #dbe3eb; }
.status-progress span { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #d2dce6; border-radius: 50%; background: #fff; font-weight: 800; }
.status-progress .is-done { color: var(--color-success); }
.status-progress .is-done span { color: #fff; border-color: var(--color-success); background: var(--color-success); }
.status-progress .is-done::after { background: var(--color-success) !important; }
.status-progress .is-current { color: var(--color-primary); }
.status-progress .is-current span { color: #fff; border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 0 5px rgba(0,91,172,.1); }
.action-card { display: flex; gap: 13px; padding: 16px; border-radius: 10px; background: #f1f7fc; }
.action-card > span { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--color-primary); }
.action-card h3 { margin: 0; font-size: 14px; }
.action-card p { margin: 4px 0 0; color: var(--color-muted); font-size: 12px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0; overflow: hidden; box-shadow: none; }
.faq-list summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--color-primary); background: #edf6ff; font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 18px; margin: 0; color: var(--color-muted); }

@media (min-width: 600px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .card { padding: 34px; }
  .stepper strong { display: block !important; }
  .form-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
  .field--half { width: calc(50% - 12px); }
  .form-actions { flex-direction: row; justify-content: space-between; }
  .form-actions .button { width: auto; min-width: 180px; }
  .form-actions--end { justify-content: flex-end; }
  .form-actions--center { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid nav { grid-template-columns: repeat(3,auto); gap: 22px; }
  .status-hero { margin: -34px -34px 26px; }
}

@media (min-width: 768px) {
  .site-header__inner { min-height: 78px; }
  .brand strong { font-size: 16px; }
  .hero__actions { flex-direction: row; }
  .hero__actions .button { min-width: 190px; }
  .assurance-grid { grid-template-columns: repeat(3,1fr); }
  .page-main { padding: 66px 0 90px; }
  .upload-field { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; }
  .upload-field .field-error { grid-column: 2; }
  .review-row { grid-template-columns: 210px 1fr; }
  .status-progress { grid-template-columns: repeat(4,1fr); }
  .status-progress > div { min-height: auto; flex-direction: column; gap: 7px; text-align: center; font-size: 12px; }
  .status-progress > div:not(:last-child)::after { left: calc(50% + 22px); right: calc(-50% + 22px); top: 17px; bottom: auto; width: auto; height: 2px; }
}

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.25fr .75fr; }
  .hero__panel { padding: 36px; }
}

@media (max-width: 389px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .site-nav__list { gap: 8px; }
  .site-nav__list li:not(:last-child) { display: none; }
  .site-nav__list a { max-width: 100px; line-height: 1.25; text-align: right; }
  .brand__mark { width: 34px; height: 34px; }
  .brand strong { font-size: 12px; }
  .hero { text-align: center; }
  .secure-note { text-align: left; }
  .stepper li > span:last-child { display: none; }
  .stepper ol::before { left: 11%; right: 11%; }
  .card { padding: 20px 16px; }
  .card-heading__number { width: 38px; height: 38px; }
  .card-heading h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .form-actions, .stepper { display: none; }
  body { background: #fff; }
  .card { border: 0; box-shadow: none; }
}
