:root {
  --ink: #18201c;
  --muted: #657069;
  --line: #dfe4dc;
  --paper: #f7f8f3;
  --surface: #ffffff;
  --lime: #c7f36a;
  --lime-dark: #a9dc45;
  --purple: #d8c7ff;
  --orange: #ffcf96;
  --blue: #bde8f4;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(31, 42, 35, 0.09);
  --font-ko: "Noto Sans KR", sans-serif;
  --font-latin: "DM Sans", var(--font-ko);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ko);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(24,32,28,.08);
  background: rgba(247,248,243,.86);
  backdrop-filter: blur(18px);
}
.header-inner, .hero-inner, .calculator-section, .quick-section, .info-section, .footer-inner, .footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.05em;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 10px;
  background: var(--ink);
  transform: rotate(-3deg);
}
.brand-mark span {
  position: absolute;
  width: 6px;
  height: 14px;
  top: 9px;
  border-radius: 999px;
  background: var(--lime);
}
.brand-mark span:first-child { left: 8px; transform: rotate(-28deg); }
.brand-mark span:last-child { right: 8px; transform: rotate(28deg); }
.header-nav { display: flex; gap: 36px; font-size: 14px; font-weight: 600; }
.header-nav a { color: #505b55; transition: color .2s; }
.header-nav a:hover { color: var(--ink); }
.today-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.today-dot { width: 7px; height: 7px; background: #71b82c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(113,184,44,.12); }

.hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(24,32,28,.06);
}
.hero-inner { position: relative; z-index: 2; padding: 80px 0 98px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-glow-one { width: 420px; height: 420px; left: -170px; top: 30px; background: radial-gradient(circle, rgba(199,243,106,.55), rgba(199,243,106,0) 70%); }
.hero-glow-two { width: 460px; height: 460px; right: -190px; bottom: -130px; background: radial-gradient(circle, rgba(216,199,255,.5), rgba(216,199,255,0) 70%); }
.eyebrow, .section-kicker {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(24,32,28,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.eyebrow span { color: #7ca62e; }
.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.12;
  letter-spacing: -.07em;
}
.hero h1 em {
  position: relative;
  font-style: normal;
  z-index: 1;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5px;
  right: -8px;
  bottom: 3px;
  height: 22px;
  background: var(--lime);
  transform: rotate(-1deg);
  border-radius: 3px;
}
.hero-copy { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.mobile-break { display: none; }
.hero-today {
  margin: 34px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31,42,35,.08);
}
.hero-today-label {
  font-family: var(--font-latin);
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.hero-today strong { font-size: 14px; }
.hero-today > span:last-child { color: var(--muted); font-size: 13px; }

.ad-wrap {
  width: min(760px, calc(100% - 40px));
  min-height: 120px;
  margin: 64px auto;
  display: grid;
  place-items: center;
}
.ad-wrap-top { margin-top: 48px; margin-bottom: 48px; }
.ad-placeholder {
  width: 100%;
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px dashed #d2d8cf;
  border-radius: 14px;
  color: #a2aaa4;
  background: rgba(255,255,255,.35);
}
.ad-placeholder span { font: 700 9px var(--font-latin); letter-spacing: .16em; }
.ad-placeholder p { margin: 0; font-size: 11px; }
.ad-placeholder-wide { min-height: 120px; }

.affiliate-section {
  width: min(760px, calc(100% - 40px));
  margin: 18px auto 72px;
  padding: 22px 40px 18px;
  border: 1px solid #dfe4dc;
  border-radius: 20px;
  background: rgba(255,255,255,.62);
}
.affiliate-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.affiliate-heading span {
  color: #7a857d;
  font: 700 9px var(--font-latin);
  letter-spacing: .14em;
}
.affiliate-heading h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -.03em;
}
.coupang-banner {
  width: 100%;
  height: 140px;
  overflow: hidden;
}
.coupang-banner-stage {
  width: 680px;
  height: 140px;
  transform-origin: top left;
}
.coupang-banner iframe { display: block; border: 0; }
.affiliate-disclosure {
  margin: 12px 0 0;
  color: #7a837d;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.calculator-section { padding: 48px 0 60px; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-kicker { display: block; margin-bottom: 12px; color: #778079; }
.section-heading h2, .quick-heading h2, .info-copy h2 {
  margin: 0;
  letter-spacing: -.055em;
  font-size: clamp(28px, 4vw, 42px);
}
.section-heading p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.tool-shell {
  overflow: hidden;
  border: 1px solid rgba(24,32,28,.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tool-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 10px;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  background: #f1f3ed;
}
.tool-tab {
  position: relative;
  min-height: 68px;
  border: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6b756e;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.tool-tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.tool-tab.is-active { color: var(--ink); background: white; box-shadow: 0 5px 18px rgba(31,42,35,.08); }
.tool-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--lime-dark);
}
.tab-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd6cd;
  border-radius: 8px;
  font: 700 12px var(--font-latin);
}
.is-active .tab-icon { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.form-segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
  border: 1px solid #d6dcd3;
  border-radius: 14px;
  background: #f1f3ed;
}
.form-segmented label { cursor: pointer; }
.form-segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-segmented span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #6b756e;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, color .2s, box-shadow .2s;
}
.form-segmented input:checked + span {
  color: var(--ink);
  background: white;
  box-shadow: 0 4px 12px rgba(31,42,35,.08);
}
.form-segmented input:focus-visible + span { box-shadow: 0 0 0 4px rgba(169,220,69,.22); }
.mode-fields { display: grid; gap: 20px; }
.mode-fields[hidden] { display: none; }
.tool-panels { padding: 44px clamp(24px, 7vw, 76px) 54px; }
.tool-panel { max-width: 760px; margin: 0 auto; animation: panel-in .28s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } }
.panel-copy { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; }
.panel-number { font: 700 11px var(--font-latin); padding-top: 7px; color: #99a19c; }
.panel-copy h3 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.045em; }
.panel-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.calculator-form { display: grid; gap: 20px; }
.field { min-width: 0; display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; }
.optional { margin-left: 4px; color: #9ba39d; font-size: 10px; font-weight: 500; }
input, select {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid #d6dcd3;
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: #abb2ad; }
input:focus, select:focus { border-color: #90ba42; box-shadow: 0 0 0 4px rgba(169,220,69,.18); }
input[type="date"] { color-scheme: light; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #687169 50%), linear-gradient(135deg, #687169 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.date-input-wrap { position: relative; }
.date-input-wrap input { padding-right: 42px; }
.input-icon { position: absolute; right: 17px; top: 16px; pointer-events: none; color: #7a847d; }
.field-row, .triple-row { display: flex; align-items: flex-end; gap: 12px; }
.field-row .field { flex: 1; }
.field-arrow { flex: none; padding-bottom: 17px; color: #909991; }
.triple-row .field { flex: .7; }
.triple-row .field-grow, .field-grow { flex: 1.2; }
.compact .field:first-child { flex: .7; }
.check-field { width: fit-content; display: flex; align-items: center; gap: 9px; font-size: 12px; color: #59635d; cursor: pointer; }
.check-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { width: 19px; height: 19px; border: 1px solid #c9d0c7; border-radius: 6px; background: white; display: grid; place-items: center; }
.check-field input:checked + .custom-check { border-color: var(--ink); background: var(--ink); }
.check-field input:checked + .custom-check::after { content: "✓"; color: var(--lime); font-size: 12px; }
.check-field input:focus-visible + .custom-check { box-shadow: 0 0 0 4px rgba(169,220,69,.2); }
.switch-field {
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #d6dcd3;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fafbf8;
  cursor: pointer;
}
.switch-copy { min-width: 0; display: grid; gap: 3px; }
.switch-copy strong { font-size: 12px; }
.switch-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.switch-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-control {
  position: relative;
  width: 46px;
  height: 26px;
  flex: none;
  border-radius: 999px;
  background: #cdd3cb;
  transition: background .2s;
}
.switch-control span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(24,32,28,.22);
  transition: transform .2s;
}
.switch-field input:checked + .switch-control { background: var(--ink); }
.switch-field input:checked + .switch-control span { transform: translateX(20px); background: var(--lime); }
.switch-field input:focus-visible + .switch-control { box-shadow: 0 0 0 4px rgba(169,220,69,.22); }
.suffix-input { position: relative; }
.suffix-input input { padding-right: 44px; }
.suffix-input span { position: absolute; right: 16px; top: 17px; color: var(--muted); font-size: 13px; }
.form-note { margin: -4px 0 0; color: #8b948e; font-size: 11px; }
.primary-button {
  width: 100%;
  min-height: 56px;
  margin-top: 2px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.primary-button:hover { background: #27302b; box-shadow: 0 12px 24px rgba(24,32,28,.15); transform: translateY(-1px); }
.primary-button:active { transform: translateY(1px); }
.primary-button span { color: var(--lime); font-size: 18px; }
.result-card {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  padding: 26px;
  border: 1px solid rgba(126,164,55,.25);
  border-radius: 18px;
  background: linear-gradient(135deg, #f6ffe5, #fbfff6);
  animation: result-in .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes result-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.result-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -45px; top: -45px; border-radius: 50%; background: rgba(199,243,106,.28); }
.result-label { display: block; margin-bottom: 6px; color: #708054; font-size: 11px; font-weight: 700; }
.result-main { display: flex; align-items: baseline; gap: 6px; }
.result-main strong { min-width: 0; font: 700 clamp(30px, 5vw, 40px) var(--font-latin); letter-spacing: -.045em; overflow-wrap: anywhere; }
.result-main span { font-size: 17px; font-weight: 700; }
.result-sub { margin: 10px 0 0; color: #5d685b; font-size: 13px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.result-meta span { padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.8); color: #65705f; font-size: 11px; }
.milestone-list { position: relative; z-index: 1; display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.milestone-list li {
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
}
.milestone-list li span { display: grid; gap: 2px; color: var(--muted); font-size: 10px; }
.milestone-list li strong { color: var(--ink); font-size: 13px; }
.milestone-list li em { flex: none; color: #527317; font: 700 12px var(--font-latin); font-style: normal; }
.result-action {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(80,113,23,.25);
  border-radius: 11px;
  color: #3d5c0b;
  background: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.result-action:hover { background: white; }

.quick-section { padding: 70px 0 60px; }
.quick-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.quick-heading p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 0;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.quick-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(31,42,35,.1); }
.quick-card-lime { background: var(--lime); }
.quick-card-purple { background: var(--purple); }
.quick-card-orange { background: var(--orange); }
.quick-card-blue { background: var(--blue); }
.quick-card-mint { background: #ccefd8; }
.quick-card-rose { background: #ffd1d8; }
.quick-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(24,32,28,.2); border-radius: 12px; font-size: 17px; }
.quick-title { margin-top: auto; font-size: 17px; font-weight: 800; letter-spacing: -.04em; }
.quick-copy { margin-top: 5px; color: rgba(24,32,28,.65); font-size: 11px; }
.quick-arrow { position: absolute; top: 24px; right: 24px; font-size: 18px; }

.info-section {
  padding: 86px 0 110px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}
.info-copy p { max-width: 390px; margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.privacy-chip { width: fit-content; padding: 8px 11px; border: 1px solid #d4dbd1; border-radius: 9px; background: white; font-size: 11px; font-weight: 700; }
.privacy-chip span { color: #75a327; }
.source-links { max-width: 390px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.source-links a {
  padding: 7px 9px;
  border-radius: 8px;
  color: #536058;
  background: #edf0e9;
  font-size: 10px;
  font-weight: 700;
}
.source-links a:hover { color: var(--ink); background: #e4e9df; }
.faq-list { border-top: 1px solid #cfd6cd; }
.faq-list details { border-bottom: 1px solid #cfd6cd; }
.faq-list summary { list-style: none; padding: 23px 4px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #7b857e; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 36px 22px 4px; color: var(--muted); font-size: 12px; line-height: 1.75; }

.site-footer { border-top: 1px solid rgba(24,32,28,.1); background: #edf0e9; }
.footer-inner { padding: 48px 0 42px; display: flex; align-items: flex-end; justify-content: space-between; }
.footer-brand { margin-bottom: 11px; }
.footer-inner > div > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; color: #606a63; font-size: 11px; font-weight: 600; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { padding: 16px 0 24px; border-top: 1px solid rgba(24,32,28,.08); display: flex; justify-content: space-between; color: #8b938e; font: 500 9px var(--font-latin); letter-spacing: .04em; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; padding: 12px 18px; border-radius: 11px; color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.legal-page { min-height: calc(100vh - 210px); }
.legal-hero { padding: 88px 0 54px; border-bottom: 1px solid var(--line); text-align: center; }
.legal-hero h1 { margin: 14px 0 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.06em; }
.legal-hero p { margin: 15px auto 0; color: var(--muted); font-size: 13px; }
.legal-content { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 100px; }
.legal-content section { scroll-margin-top: 92px; }
.legal-content h2 { margin: 38px 0 12px; font-size: 18px; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #5d6861; font-size: 13px; line-height: 1.9; }
.legal-content a { color: #3e6510; text-decoration: underline; text-decoration-color: #b8d77d; text-underline-offset: 3px; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 5px; }
.legal-updated { margin-bottom: 24px; padding: 12px 14px; border-radius: 10px; background: #eef1e9; color: #7c857f !important; font-size: 11px !important; }
.legal-updated span { margin: 0 6px; color: #b0b8b2; }
.legal-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 28px; }
.legal-summary-two { grid-template-columns: repeat(2, 1fr); }
.legal-summary div { padding: 18px; border: 1px solid #dfe5db; border-radius: 14px; background: rgba(255,255,255,.72); }
.legal-summary span { display: block; margin-bottom: 6px; color: #8b948e; font-size: 10px; font-weight: 700; }
.legal-summary strong { font-size: 15px; letter-spacing: -.03em; }
.legal-toc { margin: 34px 0 44px; padding: 22px 24px; border: 1px solid #dde4d9; border-radius: 16px; background: #f2f4ee; }
.legal-toc > strong { display: block; margin-bottom: 13px; font-size: 12px; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 36px; padding-left: 19px; }
.legal-toc li { break-inside: avoid; margin: 2px 0; color: #7b857f; font-size: 11px; line-height: 1.7; }
.legal-toc a { color: inherit; text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
.legal-callout { margin: 16px 0 20px; padding: 20px 22px; border: 1px solid #cfe3a9; border-radius: 15px; background: #f3f8e9; }
.legal-callout.is-muted { border-color: #dce2da; background: #f2f4ef; }
.legal-callout strong { display: block; margin-bottom: 5px; font-size: 13px; }
.legal-callout p { margin: 0; font-size: 12px; }
.legal-table-wrap { width: 100%; margin: 18px 0; overflow-x: auto; border: 1px solid #dde3da; border-radius: 14px; background: white; }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.legal-table th, .legal-table td { padding: 14px 15px; border-bottom: 1px solid #e7ebe4; color: #5d6861; font-size: 11px; line-height: 1.65; vertical-align: top; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table thead th { background: #f2f4ef; color: #303a34; font-weight: 800; white-space: nowrap; }
.legal-table tbody th { width: 130px; background: #fafbf8; color: #303a34; font-weight: 700; }
.legal-note { padding-left: 12px; border-left: 3px solid #bddb82; color: #7b857f !important; font-size: 11px !important; }
.legal-contact { display: grid; grid-template-columns: repeat(2, 1fr); margin: 16px 0; overflow: hidden; border: 1px solid #dde3da; border-radius: 14px; background: white; }
.legal-contact div { padding: 17px 18px; }
.legal-contact div + div { border-left: 1px solid #e7ebe4; }
.legal-contact span { display: block; margin-bottom: 6px; color: #8b948e; font-size: 10px; font-weight: 700; }
.legal-contact strong, .legal-contact a { font-size: 12px; }
.legal-contact a { text-decoration: none; }
.legal-footer-links { display: flex; gap: 18px; }
.legal-footer-links a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .header-nav { display: none; }
  .hero { min-height: 470px; }
  .hero-inner { padding: 70px 0 80px; }
  .tool-tabs { grid-template-columns: repeat(4, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .info-section { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 580px) {
  .header-inner, .hero-inner, .calculator-section, .quick-section, .info-section, .footer-inner, .footer-bottom { width: min(100% - 28px, 1120px); }
  .header-inner { height: 62px; }
  .today-pill { padding: 8px 10px; }
  .hero { min-height: 450px; }
  .hero-inner { padding: 62px 0 72px; }
  .hero h1 { margin-top: 22px; font-size: 42px; }
  .hero h1 em::after { height: 14px; bottom: 2px; }
  .hero-copy { font-size: 14px; }
  .mobile-break { display: block; }
  .hero-today { margin-top: 28px; }
  .ad-wrap { width: calc(100% - 28px); margin: 36px auto; min-height: 90px; }
  .affiliate-section { width: calc(100% - 28px); margin-bottom: 48px; padding: 18px 14px 15px; border-radius: 16px; }
  .affiliate-heading { margin-bottom: 11px; }
  .affiliate-heading h2 { font-size: 14px; }
  .affiliate-disclosure { font-size: 9px; text-align: left; }
  .calculator-section { padding-top: 34px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2, .quick-heading h2, .info-copy h2 { font-size: 29px; }
  .tool-shell { margin: 0 -4px; border-radius: 22px; }
  .tool-tabs { grid-template-columns: repeat(3, 1fr); padding: 7px; gap: 4px; }
  .tool-tab { min-height: 61px; flex-direction: column; gap: 3px; font-size: 10px; }
  .tool-tab.is-active::after { bottom: 3px; }
  .tab-icon { width: 23px; height: 23px; border-radius: 7px; font-size: 10px; }
  .tool-panels { padding: 30px 20px 32px; }
  .panel-copy { gap: 12px; margin-bottom: 26px; }
  .panel-copy h3 { font-size: 20px; }
  .panel-copy p { font-size: 11px; }
  input, select { height: 52px; }
  .field-row { align-items: stretch; flex-direction: column; }
  .field-arrow { display: none; }
  .triple-row { gap: 8px; }
  .triple-row .field:first-child, .triple-row .field:last-child { flex: .9; }
  .result-card { padding: 22px 20px; }
  .result-main strong { font-size: 34px; }
  .quick-section { padding-top: 54px; }
  .quick-heading { align-items: flex-start; }
  .quick-heading > p { display: none; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick-card { min-height: 176px; padding: 18px; border-radius: 18px; }
  .quick-arrow { top: 18px; right: 18px; }
  .quick-title { font-size: 15px; }
  .quick-copy { line-height: 1.5; }
  .info-section { padding: 54px 0 75px; }
  .footer-inner { padding: 40px 0 32px; align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-nav { gap: 15px 18px; }
  .legal-hero { padding: 64px 20px 42px; }
  .legal-hero p { max-width: 290px; line-height: 1.7; }
  .legal-content { width: min(100% - 28px, 820px); padding: 38px 0 74px; }
  .legal-summary, .legal-summary-two { grid-template-columns: 1fr; gap: 8px; }
  .legal-summary div { padding: 15px 16px; }
  .legal-toc { margin: 28px 0 38px; padding: 19px 20px; }
  .legal-toc ol { columns: 1; }
  .legal-callout { padding: 18px; }
  .legal-table { min-width: 620px; }
  .legal-contact { grid-template-columns: 1fr; }
  .legal-contact div + div { border-left: 0; border-top: 1px solid #e7ebe4; }
  .footer-bottom { align-items: flex-start; gap: 12px; }
  .legal-footer-links { flex-direction: column; align-items: flex-end; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
