/* ============================================================
   AI Calc Lab · aicalc — shared styles
   Light default, dark via [data-theme="dark"] or system pref
   ============================================================ */
:root {
  --bg: #f4f6fb;
  --bg-soft: #eaeef7;
  --card: #ffffff;
  --card-2: #f8fafd;
  --line: #e3e8f2;
  --line-strong: #ccd5e6;
  --text: #0c1424;
  --text-2: #2f3d55;
  --muted: #66748c;
  --brand: #3355ff;
  --brand-dark: #1f3ad1;
  --brand-soft: #eaf0ff;
  --mint: #0b8f70;
  --mint-soft: #e3f7f0;
  --coral: #d94a2f;
  --coral-soft: #fdeeea;
  --amber: #a86a00;
  --amber-soft: #fff4dd;
  --violet: #6b3fd4;
  --violet-soft: #f1ebff;
  --shadow: 0 1px 2px rgba(12, 20, 36, .04), 0 14px 34px -20px rgba(12, 20, 36, .28);
  --shadow-lg: 0 2px 8px rgba(12, 20, 36, .05), 0 36px 70px -36px rgba(12, 20, 36, .34);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Apple SD Gothic Neo", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --max: 1180px;
}

html[data-theme="dark"] {
  --bg: #080c15;
  --bg-soft: #0e1523;
  --card: #111a2b;
  --card-2: #162034;
  --line: #22304a;
  --line-strong: #31425f;
  --text: #eef3fb;
  --text-2: #c5d0e3;
  --muted: #93a1bb;
  --brand: #7c98ff;
  --brand-dark: #5f80ff;
  --brand-soft: #182647;
  --mint: #38d6b2;
  --mint-soft: #0f2f2a;
  --coral: #ff8f77;
  --coral-soft: #3a1c17;
  --amber: #f2b44c;
  --amber-soft: #3a2b0d;
  --violet: #b79bff;
  --violet-soft: #241a44;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 40px -26px rgba(0, 0, 0, .85);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .45), 0 44px 84px -44px #000;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.03em; font-weight: 780; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.15em; }
li { margin: .3em 0; }
button { font-family: inherit; }
.num, .mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.mono { font-family: var(--mono); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
  border-radius: 8px;
}
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--card); color: var(--text); padding: 10px 16px;
  border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--violet));
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.04em;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.brand-name { font-weight: 780; letter-spacing: -.03em; font-size: 17px; }
.brand-name span { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--text-2); font-size: 14px; font-weight: 600; padding: 7px 10px;
  border-radius: 9px; white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.theme-toggle {
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text-2);
  display: grid; place-items: center; font-size: 15px;
}
.theme-toggle:hover { border-color: var(--line-strong); }

/* ---------- layout ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 0 20px 72px; }
.section { margin: 56px 0 0; }
.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(22px, 3vw, 29px); }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}

/* ---------- hero ---------- */
.hero { padding: 44px 0 8px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 42px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.045em; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--brand), var(--violet) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 16px; font-size: clamp(15.5px, 1.7vw, 18px); color: var(--text-2); max-width: 620px; }
.hero-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }

/* hero panel: mini price index */
.hero-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 18px;
}
.hero-panel h2 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.price-rows { margin-top: 10px; display: grid; gap: 2px; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline;
  padding: 9px 6px; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.price-row:last-child { border-bottom: 0; }
.price-row b { font-weight: 700; }
.price-row .pr-name { color: var(--text-2); }
.price-row .pr-val { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.price-row .pr-val small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.panel-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.tool-card { display: flex; flex-direction: column; gap: 10px; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); text-decoration: none; }
.tool-card .tc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; background: var(--brand-soft);
}
.tool-card h3 { font-size: 17.5px; color: var(--text); }
.tool-card p { color: var(--muted); font-size: 14px; }
.tool-card .tc-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.tool-card .tc-tag { color: var(--muted); }
.tool-card .tc-go { color: var(--brand); font-weight: 700; }

/* ---------- calculator shell ---------- */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
.calc-card { position: sticky; top: 78px; }
.calc-card h2 { font-size: 18px; }
.calc-card .calc-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.field { margin-top: 16px; }
.field label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 650; color: var(--text-2); }
.field label .hint { font-weight: 500; color: var(--muted); font-size: 12px; }
.input-row { display: flex; align-items: stretch; margin-top: 7px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--card-2); overflow: hidden; }
.input-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.input-row input[type="number"] {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 12px;
  font-size: 16px; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums;
}
.input-row input[type="number"]:focus { outline: none; }
.input-row .unit { display: grid; place-items: center; padding: 0 12px; font-size: 12.5px; font-weight: 650; color: var(--muted); background: var(--bg-soft); border-left: 1px solid var(--line); white-space: nowrap; }
input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--brand); }
.seg { display: flex; gap: 4px; margin-top: 7px; padding: 4px; background: var(--bg-soft); border-radius: 11px; border: 1px solid var(--line); }
.seg button {
  flex: 1; border: 0; background: transparent; color: var(--text-2); font-weight: 650; font-size: 13px;
  padding: 8px 6px; border-radius: 8px; cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  border: 1px solid var(--line-strong); background: var(--card); color: var(--text-2);
  font-size: 12.5px; font-weight: 650; padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.field-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.calc-actions { display: flex; gap: 8px; margin-top: 18px; }
.calc-actions .btn { flex: 1; }

/* ---------- results ---------- */
.result-card { padding: 0; overflow: hidden; }
.result-head {
  padding: 20px 22px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between;
}
.result-head .rh-label { font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.result-head .rh-value { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-top: 4px; }
.result-head .rh-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.best-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: var(--mint-soft); color: var(--mint); font-size: 12.5px; font-weight: 750;
  border: 1px solid color-mix(in srgb, var(--mint) 28%, transparent);
}
.result-body { padding: 8px 22px 20px; }
.result-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.result-tbl th {
  text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 12px 8px 8px; border-bottom: 1px solid var(--line);
}
.result-tbl td { padding: 13px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.result-tbl tr:last-child td { border-bottom: 0; }
.result-tbl .v-name { font-weight: 700; }
.result-tbl .v-name small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
.result-tbl .v-cost { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.result-tbl .v-cost small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.result-tbl tr.is-best { background: color-mix(in srgb, var(--mint-soft) 62%, transparent); }
.result-tbl tr.is-best td:first-child { box-shadow: inset 3px 0 0 var(--mint); }
.plan-pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); white-space: nowrap;
}
.plan-pill.neutral { background: var(--bg-soft); color: var(--text-2); }
.plan-pill.warn { background: var(--amber-soft); color: var(--amber); }
.plan-pill.dead { background: var(--coral-soft); color: var(--coral); }
.result-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--card-2); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.kpi { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi dt { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.kpi dd { margin: 4px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi dd small { font-size: 12px; font-weight: 600; color: var(--muted); }
.usage-bar { margin-top: 4px; height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.usage-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--violet)); }

/* ---------- CTA ---------- */
.cta-card {
  margin-top: 18px; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cta-card h3 { font-size: 18px; }
.cta-card p { color: var(--text-2); font-size: 14px; margin-top: 5px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.disclosure { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data caption { caption-side: top; text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: 12.5px; }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th {
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  font-weight: 750; background: var(--card-2); position: sticky; top: 0;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.n, table.data th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .rowlabel { font-weight: 700; }
table.data small { color: var(--muted); font-size: 11.5px; }
.tag { display: inline-block; font-size: 11px; font-weight: 750; padding: 2px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.tag.best { background: var(--mint-soft); color: var(--mint); }
.tag.dead { background: var(--coral-soft); color: var(--coral); }

/* ---------- callouts ---------- */
.callout { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); background: var(--card); display: flex; gap: 12px; }
.callout .ci { font-size: 19px; line-height: 1.3; }
.callout h3 { font-size: 15.5px; }
.callout p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.callout.watch { border-color: color-mix(in srgb, var(--amber) 35%, var(--line)); background: color-mix(in srgb, var(--amber-soft) 55%, var(--card)); }
.callout.info { border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); background: color-mix(in srgb, var(--brand-soft) 45%, var(--card)); }

/* ---------- prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: 34px; }
.prose h3 { font-size: 17.5px; margin-top: 24px; }
.prose p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.prose ul, .prose ol { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.prose li strong { color: var(--text); }
.prose .note { color: var(--muted); font-size: 13.5px; }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--bg-soft); padding: 1px 5px; border-radius: 5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 18px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 700; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 700; font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--text-2); font-size: 14.5px; }

/* ---------- sources ---------- */
.sources { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.sources li { margin: .35em 0; }
.sources a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); }

/* ---------- related ---------- */
.related { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.related h2 { font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.related-links a {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--text-2); font-size: 13.5px; font-weight: 650;
}
.related-links a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 64px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 28px 20px 40px;
  display: grid; gap: 20px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  font-size: 13.5px; color: var(--muted);
}
.footer-inner h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 8px; }
.footer-inner a { color: var(--text-2); }
.footer-links { display: grid; gap: 6px; }
.footer-legal { border-top: 1px solid var(--line); padding: 14px 20px 26px; max-width: var(--max); margin: 0 auto; font-size: 12px; color: var(--muted); }

/* ---------- misc ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 14px; }
.inline-form .field { margin-top: 0; }
.banner {
  margin-top: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card); padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; font-size: 13.5px; color: var(--text-2); box-shadow: var(--shadow);
}
.banner strong { color: var(--text); }
.banner .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stack > * + * { margin-top: 16px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 34px 0; }
.nowrap { white-space: nowrap; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 2px; }
  .nav a { padding: 6px 8px; }
  .grid-2, .grid-3, .grid-4, .two-col { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .page { padding: 0 14px 56px; }
  .card { padding: 18px; }
  .result-head { padding: 18px; }
  .result-body { padding: 4px 14px 16px; }
  .result-tbl thead { display: none; }
  .result-tbl, .result-tbl tbody, .result-tbl tr, .result-tbl td { display: block; width: 100%; }
  .result-tbl tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .result-tbl td { border: 0; padding: 2px 0; }
  .result-tbl .v-cost { text-align: left; margin-top: 6px; }
  .result-tbl tr.is-best td:first-child { box-shadow: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .calc-card, .cta-card, .related, .theme-toggle { display: none !important; }
  .result-card { box-shadow: none; border-color: #bbb; }
}

/* --- site network: more free tools --- */
.footer-inner .more-tools{grid-column:1 / -1;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);padding:16px 18px}
.more-tools h4{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 9px}
.mt-links{display:flex;flex-wrap:wrap;gap:6px 20px}
.mt-links a{font-size:13.5px;color:var(--text-2);text-decoration:none;padding:2px 0;border-bottom:1px solid transparent;display:inline-block}
.mt-links a:hover{color:var(--brand);border-bottom-color:var(--brand)}
.mt-links .mt-kit{color:var(--brand);font-weight:700}
.mt-links .mt-book{font-weight:700}
