:root{
  --bg:#ffffff; --surface:#f6f7f9; --text:#1b1f24; --muted:#5d6672; --line:#e3e6ea;
  --accent:#1f5fbf; --accent-soft:#e8f0fc; --ok:#1c7c4a; --ok-soft:#e5f4ec;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#14171b; --surface:#1c2026; --text:#e7eaee; --muted:#9aa4b0; --line:#2c323a;
    --accent:#7fb0ff; --accent-soft:#1d2a3f; --ok:#6fd19c; --ok-soft:#183126; }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);
  font-family:Pretendard,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  font-size:16px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
a{color:var(--accent)}
.wrap{max-width:880px;margin:0 auto;padding:0 16px}
.site-header{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:5}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:56px;gap:12px}
.logo{font-weight:800;font-size:17px;color:var(--text);text-decoration:none}
.site-header nav{display:flex;gap:16px;font-size:14px}
.site-header nav a{color:var(--muted);text-decoration:none}
.site-header nav a:hover{color:var(--text)}
main{padding:24px 16px 48px}
h1{font-size:28px;line-height:1.3;margin:4px 0 8px;letter-spacing:-.02em}
h2{font-size:20px;margin:40px 0 12px;padding-top:8px;letter-spacing:-.01em}
h3{font-size:16px;margin:0 0 4px}
.eyebrow{display:block;font-size:13px;color:var(--accent);font-weight:600}
.meta,.muted,.note{color:var(--muted);font-size:14px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:8px}
.crumb a{color:var(--muted)}
.summary{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px 20px 8px;margin-top:20px}
.summary h2{margin-top:16px;font-size:16px}
.callout{background:var(--accent-soft);border-radius:12px;padding:4px 20px 12px;margin-top:20px}
.callout h2{margin-top:16px;font-size:16px}
.callout p{margin:4px 0}
.callout .big{font-size:20px;font-weight:700}
.dday{display:inline-block;margin-left:6px;font-size:14px;background:var(--accent);color:var(--bg);border-radius:999px;padding:1px 10px;vertical-align:2px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
thead th{background:var(--surface);font-size:13px;color:var(--muted);font-weight:600;white-space:nowrap}
table.facts th{width:32%;background:var(--surface);font-weight:600;white-space:nowrap}
table td:nth-child(1){white-space:nowrap}
table.scope td:nth-child(2),table.scope td:nth-child(3){white-space:nowrap}
table.rates td:last-child{font-variant-numeric:tabular-nums;font-weight:600}
.tag{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.tag.next{background:var(--ok-soft);color:var(--ok);border-color:transparent;font-weight:600}
.tag.done{opacity:.7}
ul{padding-left:20px}
li{margin:4px 0}
.faq{border-top:1px solid var(--line);padding:14px 0}
.faq p{margin:0}
.sources li{font-size:14px}
.hero{padding:16px 0 4px}
.hero p{color:var(--muted);max-width:640px}
.cards{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.card a{display:block;border:1px solid var(--line);border-radius:12px;padding:16px;text-decoration:none;color:var(--text);height:100%}
.card a:hover{border-color:var(--accent)}
.card strong{display:block;font-size:18px;margin:2px 0}
.card .muted{font-size:13px}
.site-footer{border-top:1px solid var(--line);color:var(--muted);font-size:13px;padding:20px 0 32px}
@media (max-width:600px){
  h1{font-size:24px}
  .site-header nav{gap:12px}
  table{font-size:14px}
  th,td{padding:8px 10px}
  table.facts th{width:38%;white-space:normal}
}
