/* EitcCheck — OPYEB. No external fonts, no images, no network. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #f7f3ea;
  --bg2: #efe8d9;
  --panel: #fffdf7;
  --panel2: #fbf7ee;
  --ink: #191713;
  --ink2: #302c24;
  --muted: #6d6558;
  --line: #ded5c3;
  --line2: #c9bda5;
  --accent: #155e4f;
  --accent-ink: #0f4a3e;
  --accent-soft: #e2efe9;
  --amber: #99600f;
  --amber-soft: #f7e9d2;
  --red: #9b3226;
  --red-soft: #f7e4e0;
  --shadow: 0 1px 0 rgba(60, 45, 20, .05), 0 18px 40px -30px rgba(50, 35, 10, .55);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Nanum Myeongjo", "Batang", "Apple SD Gothic Neo", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Hiragino Sans", "Noto Sans TC", "Microsoft JhengHei", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 14px;
}

html[data-theme="dark"] {
  --bg: #121110;
  --bg2: #171512;
  --panel: #1b1a16;
  --panel2: #201e19;
  --ink: #f3ece0;
  --ink2: #e4dbcb;
  --muted: #a69c89;
  --line: #332f27;
  --line2: #4a4436;
  --accent: #85cdb4;
  --accent-ink: #a7ddc8;
  --accent-soft: #17322b;
  --amber: #e6b169;
  --amber-soft: #2c2317;
  --red: #f09384;
  --red-soft: #301b18;
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 24px 50px -34px rgba(0, 0, 0, .9);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

section[id], .sec, #calc { scroll-margin-top: 74px; }

.print-foot { display: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-underline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: max(16px, 4.2vw);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--panel);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 50;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, var(--panel));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding-block: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 0;
}
.brand .mark { display: inline-flex; color: var(--accent); flex: none; }
.brand-name { font-size: 1.06rem; }
.brand-sub {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line2);
  padding-left: 9px;
  margin-left: 2px;
  font-weight: 600;
  white-space: nowrap;
}
.head-tools { display: flex; align-items: center; gap: 8px; flex: none; }

.langs { display: flex; gap: 2px; }
.langs a {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.langs a[aria-current="page"] { color: var(--ink); background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.langs a:hover { color: var(--ink); }

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.icon-btn:hover { border-color: var(--line2); }
.icon-btn .i-sun { display: none; }
html[data-theme="dark"] .icon-btn .i-sun { display: block; }
html[data-theme="dark"] .icon-btn .i-moon { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 54px) clamp(18px, 3vw, 30px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(1.75rem, 5.6vw, 3.15rem);
  margin: 0 0 16px;
  max-width: 24ch;
  text-wrap: balance;
}
.hero .lede {
  margin: 0;
  max-width: 62ch;
  color: var(--ink2);
  font-size: clamp(.96rem, 2.4vw, 1.06rem);
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
}
.chip {
  font-size: .78rem;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink2);
  white-space: nowrap;
}
.chip b { color: var(--ink); }
.basis-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 14px;
  border: 1px dashed var(--line2);
  border-radius: 10px;
  background: var(--panel2);
  font-size: .8rem;
  color: var(--muted);
  max-width: 780px;
}
.basis-strip b { color: var(--ink); font-weight: 600; }
.basis-strip .dot { color: var(--line2); }
.basis-strip #next-event { color: var(--accent-ink); font-weight: 600; display: block; width: 100%; }
.basis-strip #next-event[hidden] { display: none; }

@media (max-width: 600px) {
  .brand-sub { display: none; }
  .langs a { padding: 5px 5px; font-size: .74rem; }
  .head-inner { gap: 6px; }
  .brand-name { font-size: 1rem; }
}

/* ---------- calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
  padding-block: clamp(8px, 2vw, 18px) clamp(30px, 5vw, 54px);
}
@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inputs { padding: clamp(16px, 3vw, 26px); }
.inputs h2 {
  font-size: 1.02rem;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
}
.inputs .sub { margin: 4px 0 18px; font-size: .84rem; color: var(--muted); }

.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 0; }
.lbl {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.lbl-note { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: .78rem; }

.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.seg legend { padding: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.seg label {
  display: block;
  text-align: center;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink2);
  transition: background .18s, border-color .18s, color .18s;
}
.seg label small {
  display: block;
  font-size: .66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.seg input:checked + label {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.seg input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.input-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 2px solid var(--line2);
  padding-bottom: 5px;
}
.input-line:focus-within { border-bottom-color: var(--accent); }
.input-line input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.32rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 2px 0;
  -moz-appearance: textfield;
}
.input-line input::-webkit-outer-spin-button,
.input-line input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-line input:focus { outline: none; }
.input-line .unit { flex: none; font-size: .84rem; color: var(--muted); font-weight: 600; }
.conv { margin: 6px 0 0; font-size: .78rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.hint { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }

.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qbtn {
  font: inherit;
  font-size: .76rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
}
.qbtn:hover { border-color: var(--accent); color: var(--accent-ink); }

select {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--panel2);
  color: var(--ink);
  cursor: pointer;
}
select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

details.adv {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
details.adv summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 17px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: .8rem;
}
details.adv[open] summary::before { content: "−"; }
details.adv .adv-body { padding-top: 16px; }
.adv .field { margin-bottom: 16px; }

.note-warn {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--amber-soft);
  border: 1px solid color-mix(in srgb, var(--amber) 34%, transparent);
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.55;
}
.note-warn:empty { display: none; }

/* ---------- result ---------- */
.result {
  padding: clamp(16px, 3vw, 26px);
  position: sticky;
  top: 74px;
}
@media (max-width: 900px) {
  .result { position: static; }
}
.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.stamp {
  display: inline-block;
  transform: rotate(-3deg);
  border: 3px double var(--accent);
  color: var(--accent-ink);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .72rem;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 62%;
}
.stamp.is-child { border-color: var(--amber); color: var(--amber); }
.stamp.is-over { border-color: var(--red); color: var(--red); }
.stamp.is-none { border-color: var(--line2); color: var(--muted); }
.result .tag {
  font-size: .7rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}
.amount-wrap { margin: 18px 0 4px; }
.amount-label { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.amount {
  font-size: clamp(2.05rem, 9.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 0;
  overflow-wrap: break-word;
}
.amount .cur { font-size: .55em; font-weight: 600; color: var(--muted); margin-left: 3px; }
.amount-sub { margin: 6px 0 0; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.amount-sub b { color: var(--ink); }

.trace {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--muted);
}
.trace span { white-space: nowrap; }
.trace b.fx {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent-ink);
  line-height: 1.45;
}
.trace b {
  color: var(--ink2);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

dl.kv { margin: 0; font-size: .86rem; }
dl.kv > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line2);
}
dl.kv > div:last-child { border-bottom: 0; }
dl.kv dt { color: var(--muted); flex: 1 1 auto; min-width: 0; }
dl.kv dd {
  margin: 0;
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}
dl.kv dd.minus { color: var(--red); }
dl.kv dd.zero { color: var(--muted); font-weight: 500; }
dl.kv .total dt { color: var(--ink); font-weight: 700; }
dl.kv .total dd { font-size: 1.02rem; }

.result-note {
  margin: 16px 0 0;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}
.result-note strong { color: var(--ink2); }
.semi-split {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  font-size: .82rem;
}
.semi-split b { font-variant-numeric: tabular-nums; }
.semi-split p { margin: 4px 0 0; }
.semi-split p:first-child { margin-top: 0; }

.linkish {
  display: inline-block;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- sections ---------- */
section.sec { padding-block: clamp(30px, 5vw, 56px); border-top: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: clamp(18px, 3vw, 28px); }
.sec-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.sec h2 { font-size: clamp(1.35rem, 3.4vw, 1.85rem); margin: 0 0 8px; }
.sec-sub { margin: 0; color: var(--muted); font-size: .92rem; }

.formula-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .formula-grid { grid-template-columns: minmax(0, 1fr); } }
.formula-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  background: var(--panel);
}
.formula-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.formula-card .cap { font-size: .76rem; color: var(--accent-ink); font-weight: 700; margin: 0 0 10px; }
.formula-card ol { margin: 0; padding-left: 1.1em; font-size: .82rem; color: var(--ink2); }
.formula-card li { margin-bottom: 5px; }
.formula-card code, .mono { font-family: var(--mono); font-size: .78rem; }

.table-wrap { overflow-x: auto; margin-top: 18px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .84rem; }
caption { text-align: left; font-size: .8rem; color: var(--muted); padding-bottom: 8px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line2);
  font-weight: 700;
  white-space: nowrap;
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover { background: var(--panel2); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline li:last-child { border-bottom: 0; }
.timeline .when {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.timeline .what { min-width: 0; }
.timeline .what h3 { font-size: .98rem; margin: 0 0 3px; font-family: var(--sans); font-weight: 700; }
.timeline .what p { margin: 0; font-size: .84rem; color: var(--muted); }
.timeline li.is-next {
  background: var(--accent-soft);
  border-radius: 10px;
  padding-inline: 12px;
  border-bottom-color: transparent;
}
.timeline li.is-next .when { color: var(--accent-ink); }
.badge-next {
  display: inline-block;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--panel);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 1px;
}
html[data-theme="dark"] .badge-next { color: #10130f; }

/* caveat cards */
.caveats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .caveats { grid-template-columns: minmax(0, 1fr); } }
.caveat {
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--panel);
}
.caveat.is-red { border-left-color: var(--red); }
.caveat h3 { font-size: .95rem; margin: 0 0 5px; font-family: var(--sans); font-weight: 700; }
.caveat p { margin: 0; font-size: .82rem; color: var(--muted); }
.caveat p + p { margin-top: 6px; }
.caveat .ref { font-family: var(--mono); font-size: .72rem; color: var(--accent-ink); }

/* checklist */
.docs-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(16px, 3vw, 30px); align-items: start; }
@media (max-width: 820px) { .docs-grid { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  cursor: pointer;
  font-size: .88rem;
}
.checklist input {
  flex: none;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.checklist .why { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.checklist label:has(input:checked) > span > .item-title { text-decoration: line-through; color: var(--muted); }
.print-btn {
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--panel);
  cursor: pointer;
  margin-top: 14px;
}
html[data-theme="dark"] .print-btn { color: #10130f; }
.print-btn:hover { filter: brightness(1.08); }
.print-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

/* faq */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
}
.faq summary {
  cursor: pointer;
  padding: 14px 30px 14px 0;
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 13px;
  color: var(--muted);
  font-weight: 400;
  font-size: 1.15rem;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; font-size: .88rem; color: var(--ink2); max-width: 68ch; }

.basis {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel2);
  font-size: .8rem;
  color: var(--muted);
}
.basis h3 { font-size: .86rem; margin: 0 0 8px; font-family: var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.basis ul { margin: 0; padding-left: 1.1em; }
.basis li { margin-bottom: 4px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 30px 40px; background: var(--bg2); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.foot-brand { font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.foot-brand .opyeb {
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--muted);
  border: 1px solid var(--line2);
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
}
.foot-note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 46ch; }
.foot-right { font-size: .82rem; display: flex; flex-direction: column; gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-links a { color: var(--ink2); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .78rem; }
.foot-langs a { color: var(--muted); }
.foot-legal { margin: 22px 0 0; font-size: .74rem; color: var(--muted); line-height: 1.6; }

/* policy pages */
.page-wrap { max-width: 760px; padding-block: clamp(28px, 5vw, 54px) 64px; }
.page-wrap h1 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin: 0 0 8px; }
.page-wrap .updated { font-size: .78rem; color: var(--muted); margin: 0 0 26px; }
.page-wrap h2 { font-size: 1.1rem; margin: 30px 0 8px; }
.page-wrap p, .page-wrap li { font-size: .92rem; color: var(--ink2); }
.page-wrap ul { padding-left: 1.15em; }
.page-wrap li { margin-bottom: 6px; }
.page-wrap .back { display: inline-block; margin-top: 30px; font-weight: 600; font-size: .88rem; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--panel);
  margin-top: 18px;
}
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--panel);
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
}
html[data-theme="dark"] .btn { color: #10130f; }

.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;
}

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

/* ---------- print: checklist sheet ---------- */
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-head, .hero, .calc, .sec:not(.docs), .site-foot, .skip, .print-btn, .print-note, .sec-head .sec-eyebrow { display: none !important; }
  .sec.docs { border: 0; padding: 0; }
  .docs-grid { display: block; }
  .checklist { border: 1px solid #999; border-radius: 0; }
  .checklist label { padding: 8px 10px; }
  .checklist .why { color: #444; }
  .checklist input { -webkit-appearance: none; appearance: none; border: 1px solid #333; background: #fff; }
  .docs h2 { font-size: 15pt; margin-bottom: 4px; }
  .docs .sec-sub { color: #333; margin-bottom: 12pt; }
  .docs-aside { margin-top: 10pt; font-size: 9pt; color: #333; }
  .print-foot { display: block; margin-top: 16pt; padding-top: 6pt; border-top: 1px solid #999;
                font-size: 8.5pt; color: #444; }
  a { color: #000; text-decoration: none; }
}

/* ---------- 2026-11-21: 체크리스트 flex 자식의 min-width (모바일 가로 넘침 수정) ----------
   ja 문구에서 flex 자식이 min-content 아래로 줄지 못해 390px 에서 5px,
   320px 에서 75px 가로로 넘쳤다(라이브 실측). min-width:0 으로 줄바꿈만 허용한다. */
.checklist label > span { min-width: 0; }
