:root {
  --navy: #12334a;
  --navy-deep: #092538;
  --blue: #1e6fb8;
  --blue-soft: #e9f4fb;
  --teal: #087c72;
  --teal-soft: #e6f5f2;
  --amber: #f5b942;
  --amber-soft: #fff5d2;
  --ink: #17212b;
  --muted: #5d6c77;
  --line: #d6e1e8;
  --canvas: #eef4f7;
  --danger: #b0322b;
  --shadow: 0 18px 50px rgba(16, 50, 73, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
a { color: var(--blue); }
button { cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 40; top: 10px; left: 10px; padding: 10px 14px; color: white; background: var(--navy-deep); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { color: var(--navy); background: white; border-bottom: 1px solid rgba(18,51,74,.12); }
.header-inner { width: min(1180px, calc(100% - 32px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 12px 12px 12px 4px; font-size: 14px; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
nav { display: flex; align-items: center; gap: 18px; }
nav a { font-size: 14px; font-weight: 800; }
.back-link { padding: 9px 13px; color: white; background: var(--blue); border-radius: 9px; text-decoration: none; }
.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 58px; }
.page-intro { max-width: 850px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(40px, 5.7vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.page-intro > p:last-child { max-width: 780px; margin: 15px 0 0; color: var(--muted); font-size: 18px; }
.demo-alert { margin: 25px 0 17px; display: flex; gap: 12px; padding: 15px 17px; color: #563e00; background: var(--amber-soft); border: 1px solid #e2c966; border-radius: 12px; }
.demo-alert > span { align-self: flex-start; padding: 4px 7px; color: white; background: #876300; border-radius: 6px; font-size: 11px; font-weight: 900; }
.demo-alert strong { display: block; }
.demo-alert p { margin: 2px 0 0; font-size: 14px; }
.management-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.management-form { display: grid; gap: 13px; }
.form-section { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 9px 28px rgba(16,50,73,.06); }
.section-heading { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; }
.section-heading > span { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: var(--navy); background: var(--amber); border-radius: 9px; font-size: 12px; font-weight: 900; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 22px; line-height: 1.2; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.request-options { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; border: 0; }
.request-options label { position: relative; display: block; }
.request-options input { position: absolute; opacity: 0; }
.request-options label > span { min-height: 118px; display: block; padding: 15px; background: #f5f8fa; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.request-options strong, .request-options small { display: block; }
.request-options strong { color: var(--navy); font-size: 15px; }
.request-options small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.request-options input:checked + span { background: var(--blue-soft); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.request-options input:focus-visible + span { outline: 3px solid rgba(30,111,184,.25); outline-offset: 2px; }
.field-grid { display: grid; gap: 14px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.field.full { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label { margin-bottom: 6px; display: flex; justify-content: space-between; gap: 10px; color: var(--navy); font-size: 14px; font-weight: 800; }
.field label b { color: var(--danger); }
.field label span { color: var(--muted); font-size: 12px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 11px; color: var(--ink); background: white; border: 1px solid #aabdc8; border-radius: 8px; outline: none; }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,184,.13); }
.field-meta { display: flex; justify-content: space-between; gap: 15px; }
.field-meta small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.confirmation { margin-top: 13px; display: flex; align-items: flex-start; gap: 10px; color: #31434f; font-size: 14px; }
.confirmation input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--teal); }
.form-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 10px; font-weight: 850; }
.button.primary { color: white; background: var(--teal); border: 1px solid var(--teal); }
.button.secondary { color: var(--navy); background: white; border: 1px solid #9db5c5; }
.button:focus-visible { outline: 3px solid rgba(30,111,184,.3); outline-offset: 3px; }
.form-status { min-height: 24px; margin: 0; color: var(--teal); font-size: 14px; font-weight: 750; }
.form-status.error { color: var(--danger); }
.summary-panel { position: sticky; top: 16px; padding: 25px; color: white; background: var(--navy); border-radius: 17px; box-shadow: var(--shadow); }
.summary-kicker { margin: 0 0 4px; color: #83d2ff; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.summary-panel h2 { margin: 0; font-size: 25px; line-height: 1.18; }
.summary-type { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 13px; color: var(--navy); background: var(--amber); border-radius: 9px; }
.summary-type span { font-weight: 900; }
.summary-type small { font-size: 12px; font-weight: 750; }
.summary-panel dl { margin: 15px 0 0; }
.summary-panel dl > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.summary-panel dt { color: #a9dfff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.summary-panel dd { margin: 3px 0 0; color: white; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.process-note { margin-top: 18px; padding: 15px; color: var(--ink); background: white; border-radius: 11px; }
.process-note strong { color: var(--navy); }
.process-note ol { margin: 9px 0 0; padding-left: 20px; font-size: 13px; }
.process-note li + li { margin-top: 6px; }
.privacy-note { margin: 15px 0 0; color: #cfe0e9; font-size: 12px; }
footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto 34px; display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-size: 13px; }
footer strong { color: var(--navy); }
footer p { margin: 3px 0 0; }
footer > div:last-child { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px 18px; }

@media (max-width: 900px) {
  .management-grid { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
}

@media (max-width: 650px) {
  .header-inner, .page-shell, footer { width: min(100% - 20px, 1180px); }
  .brand small, nav > a:first-child { display: none; }
  .page-shell { padding-top: 28px; }
  h1 { font-size: 41px; }
  .page-intro > p:last-child { font-size: 16px; }
  .request-options, .two-columns, .form-actions { grid-template-columns: 1fr; }
  .request-options label > span { min-height: 0; }
  .field.full { grid-column: auto; }
  .form-section { padding: 19px; }
  footer { align-items: flex-start; flex-direction: column; }
  footer > div:last-child { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
