:root {
  color-scheme: light;
  --navy: #11182a;
  --navy-soft: #1c2740;
  --paper: #f7f3e9;
  --surface: #fffdf7;
  --ink: #172033;
  --muted: #566071;
  --gold: #a77912;
  --gold-light: #f5c451;
  --mint: #27745a;
  --coral: #a9342f;
  --border: #c9c0af;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.7; }
a { color: #075f69; text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; background: white; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px max(24px, calc((100vw - 1080px) / 2)); background: var(--navy); color: white; border-bottom: 4px solid var(--gold-light); }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy); background: var(--gold-light); border-radius: 12px; font-size: 26px; }
.brand span:last-child { display: grid; line-height: 1.1; }
.brand strong { font-size: 20px; }
.brand small { margin-top: 5px; color: #d9deea; font-size: 11px; letter-spacing: 0.14em; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a { min-height: 48px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 9px; color: #e7ebf4; text-decoration: none; font-weight: 700; }
nav a:hover, nav a[aria-current="page"] { background: var(--navy-soft); color: var(--gold-light); }
main, footer { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.hero { padding: 72px 0 44px; border-bottom: 1px solid var(--border); }
.eyebrow, .card-kicker { margin: 0 0 8px; color: var(--mint); font-size: 13px; font-weight: 900; letter-spacing: 0.14em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 8vw, 72px); line-height: 1.05; letter-spacing: -0.045em; }
.lede { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(19px, 3vw, 24px); }
.candidate-banner { max-width: 720px; display: flex; gap: 10px; margin-top: 28px; padding: 14px 16px; border: 2px solid var(--coral); border-radius: 12px; background: #fff6f3; color: #72221f; }
.candidate-banner span { flex: 1; }
.grid { display: grid; gap: 20px; padding: 44px 0 12px; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 10px 28px rgba(17, 24, 42, 0.06); }
.accent-card { border-top: 6px solid var(--gold); }
.card h2, .section h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.25; }
.primary-link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; padding: 10px 18px; border-radius: 10px; background: var(--navy); color: white; font-weight: 800; text-decoration: none; }
.primary-link:hover { background: var(--navy-soft); }
.primary-link.disabled { background: #6d6d6d; cursor: not-allowed; }
.danger-link { background: #8f2723; }
.contact-address { overflow-wrap: anywhere; color: var(--muted); }
.safe-note { padding: 12px 14px; border-left: 4px solid var(--gold); background: #faf3df; color: #524824; font-size: 15px; }
.link-list { margin: 0; padding-left: 1.2em; }
.link-list li + li { margin-top: 8px; }
.section { padding: 56px 0 20px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faq { padding: 24px; border-top: 3px solid var(--navy); background: rgba(255, 255, 255, 0.5); }
.faq h3 { margin: 0 0 8px; font-size: 20px; }
.faq p, .card p { margin-bottom: 0; }
.policy { max-width: 820px; }
.policy h2 { margin-top: 42px; }
.policy li + li { margin-top: 8px; }
.policy-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; padding: 20px; border-radius: 12px; background: var(--navy); color: white; }
.policy-meta span { color: #bfc7d8; }
.draft-callout { margin-top: 44px; padding: 20px; border: 2px solid var(--coral); border-radius: 12px; background: #fff6f3; }
.draft-callout p { margin-bottom: 0; }
.step { margin: 0; color: var(--gold); font-size: 36px; font-weight: 900; line-height: 1; }
.notice { margin: 60px 0 0; padding: 24px; border-radius: 14px; background: var(--navy); color: #e7ebf4; }
.notice strong { color: var(--gold-light); }
.notice p { margin-bottom: 0; }
footer { margin-top: 48px; padding: 28px 0 50px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer p { margin: 4px 0; }
code { padding: 2px 5px; border-radius: 4px; background: #e9e2d5; font-size: 0.9em; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-inline: 20px; }
  nav { width: 100%; }
  nav a { flex: 1; justify-content: center; padding-inline: 8px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .two-up, .faq-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .candidate-banner { flex-direction: column; }
  .policy-meta { grid-template-columns: 1fr; }
  .policy-meta strong + span { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-contrast: more) { :root { --border: #3d382f; --muted: #303744; } }
