:root {
  --accent: #1F4D46;
  --accent-light: #8FD3C5;
  --ink: #1D1D1F;
  --ink-2: #515154;
  --ink-3: #6E6E73;
  --line: #E5E5EA;
  --line-2: #C7C7CC;
  --soft: #F5F5F7;
  --warn: #9A4A00;
  --warn-bg: #FFF4E5;
  --error: #8A2E1F;
  --dark: #111113;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: var(--accent); }
a:hover { color: #123530; }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 1 auto; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(12px); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.logo { background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.nav-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.nav-link { background: none; border: 0; padding: 10px 2px; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.nav-link.active { font-weight: 700; color: var(--ink); }
.portal-btn { margin-left: 4px; background: var(--ink); color: #FFFFFF; border: 0; border-radius: 980px; padding: 8px 16px; min-height: 36px; cursor: pointer; font-size: 13px; font-weight: 500; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-mobile { display: none; flex-direction: column; padding: 0 24px 20px; border-top: 1px solid var(--line); }
.nav-mobile .nav-link { text-align: left; border-bottom: 1px solid var(--line); padding: 0; min-height: 52px; font-size: 17px; color: var(--ink); }
.nav-mobile .nav-link.active { color: var(--accent); }
.nav-mobile .portal-btn { margin: 16px 0 0; min-height: 48px; font-size: 15px; }

/* ---------- common ---------- */
.eyebrow { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--accent); }
.h1 { font-weight: 900; font-size: 40px; line-height: 1.3; letter-spacing: -0.03em; }
.h2 { font-size: 26px; font-weight: 700; }
.lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); }
.note { margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.section { padding-top: 88px; padding-bottom: 112px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .side { flex: 1 1 300px; min-width: 0; }
.split > .main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--soft); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.card-line { border: 1px solid #D2D2D7; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 980px; border: 1px solid var(--accent); background: var(--accent); color: #FFFFFF; cursor: pointer; font-size: 17px; font-weight: 500; text-decoration: none; }
.btn:hover { color: #FFFFFF; }
.btn.ghost { background: #FFFFFF; color: var(--accent); }
.btn.dark { border-color: var(--ink); background: var(--ink); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.block { width: 100%; min-height: 52px; font-size: 16px; }
.btn[disabled] { background: #D2D2D7; border-color: #D2D2D7; color: var(--ink-2); cursor: not-allowed; }
.btn-text { background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--accent); text-decoration: underline; }
.hint { font-size: 15px; color: var(--ink-3); }

/* chips */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
legend .sub, label .sub { font-weight: 400; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 980px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink); cursor: pointer; font-size: 15px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; font-weight: 500; }
.chip.accent[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); font-weight: 700; }

/* inputs */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field input, .field textarea { padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; font-family: inherit; font-weight: 400; min-width: 0; color: var(--ink); background: #FFFFFF; }
.field textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* rows */
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.met { color: var(--accent); font-weight: 700; }
.near { color: var(--warn); font-weight: 700; }
.unmet { color: var(--ink-3); }

/* ---------- home ---------- */
.hero { padding: 200px 24px 190px; text-align: center; }
.mega { margin: 0 auto; font-weight: 900; font-size: clamp(56px, 9vw, 128px); line-height: 1.08; letter-spacing: -0.04em; }
.band { padding: 180px 24px 190px; text-align: center; }
.band.dark { background: var(--dark); color: #F5F5F7; }
.band.soft { background: var(--soft); }
.band .line { margin-top: 28px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; color: #A1A1A6; letter-spacing: -0.02em; }
.band .link-light { background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; font-size: 21px; color: var(--accent-light); }

/* ---------- about ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tile { background: var(--soft); border-radius: 20px; padding: 32px 28px; }
.tile .en { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; }
.tile .ko { margin-top: 2px; font-size: 15px; color: var(--ink-3); }
.tile ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.tile small { display: block; font-size: 14px; color: var(--ink-3); }
.committee { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.committee .org { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.committee .role { margin-top: 8px; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.list { display: flex; flex-direction: column; font-size: 16px; }
.list > div { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.list > div:last-child { border-bottom: 1px solid var(--line); }
.list .tag { flex: none; width: 16px; color: var(--ink-3); }
.list .tag.now { color: var(--accent); font-weight: 700; }

/* ---------- tools ---------- */
.tool-card { text-align: left; background: var(--soft); border: 0; border-radius: 20px; padding: 32px 28px; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; gap: 8px; min-height: 200px; font-size: 16px; }
.tool-card .t { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.tool-card .d { color: var(--ink-2); }
.tool-card .go { margin-top: auto; font-weight: 500; color: var(--accent); }
.tax-table { overflow-x: auto; }
.tax-table .inner { min-width: 420px; display: flex; flex-direction: column; font-size: 14px; }
.tax-table .tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1.4fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tax-table .tr.head { color: var(--ink-3); padding: 8px 0; }
.tax-table .num { text-align: right; }

/* ---------- portal ---------- */
.steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.step { border-top: 4px solid #D2D2D7; padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.step.done, .step.current { border-color: var(--accent); }
.step .s1 { font-size: 13px; color: var(--ink-3); }
.step.done .s1, .step.current .s1 { color: var(--accent); font-weight: 700; }
.step .s2 { font-size: 15px; font-weight: 500; }
.step.current .s2 { font-weight: 900; }
.step.todo .s2 { font-weight: 400; color: var(--ink-2); }
.step .s3 { font-size: 13px; color: var(--ink-3); }
.badge { padding: 1px 8px; border-radius: 980px; background: var(--warn-bg); font-size: 12px; font-weight: 700; color: var(--warn); }
.box { border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.sched-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; align-items: center; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sched-label { font-size: 15px; font-weight: 500; }
.sched-date { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.sched-st { text-align: right; font-size: 13px; }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; background: var(--warn-bg); border-radius: 14px; padding: 12px 18px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.site-footer strong { font-size: 14px; color: var(--ink); }
.site-footer a { color: var(--ink-3); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-footer .legal { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.email-reveal { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; font-size: inherit; color: var(--accent); text-decoration: underline; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open { display: flex; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-top: 0; border-left: 4px solid #D2D2D7; padding: 10px 0 10px 14px; }
  .step.done, .step.current { border-left-color: var(--accent); }
  .sched-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sched-label { grid-column: 1; }
  .sched-date { grid-column: 1; grid-row: 2; }
  .sched-st { grid-column: 2; grid-row: 1 / span 2; }
  .hero { padding: 120px 24px 110px; }
  .band { padding: 120px 24px 130px; }
  .section { padding-top: 56px; padding-bottom: 80px; }
  .panel, .card-line { padding: 24px 20px; }
  .h1 { font-size: 32px; }
}
