:root {
  --navy: #00203F; --teal: #017670; --teal-2: #22B3A9; --lime: #D9F76F;
  --bg: #f3f6f9; --card: #ffffff; --ink: #0f1d2e; --muted: #5b6b7d; --line: #dfe6ee; --warn: #b45309;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #07121f; --card: #0d1c2e; --ink: #e8eef5; --muted: #93a4b8; --line: #1d3047; --teal: #2fd3c3; --warn: #f5b25b; color-scheme: dark; }
  :root:not([data-theme="light"]) .brand img { filter: brightness(0) invert(1); }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; }
a { color: var(--teal); }
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand span { font: 800 1.05rem Montserrat, Inter, sans-serif; color: var(--teal); padding-left: 10px; border-left: 1px solid var(--line); }
.lang { font-weight: 700; text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; color: var(--ink); background: var(--card); }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px 24px; }
.hero { text-align: center; padding: 16px 0 24px; }
.eyebrow { margin: 0 0 6px; color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
h1 { font: 800 clamp(1.7rem, 4.5vw, 2.6rem)/1.15 Montserrat, Inter, sans-serif; margin: 0 0 10px; }
.lead { max-width: 640px; margin: 0 auto; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.field small { font-weight: 400; color: var(--muted); }
input, select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
input:focus, select:focus { outline: 2px solid var(--teal-2); outline-offset: 1px; }
#basic { font-size: 1.25rem; font-weight: 700; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } }
.row .field[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: center; margin: 4px 0 10px; font-size: .92rem; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--teal); }
.check[hidden] { display: none; }
.hint { margin: -6px 0 12px; font-size: .84rem; color: var(--muted); }
.hint.warn { color: var(--warn); font-weight: 600; }
.hint.muted { margin-top: 8px; margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px; text-align: center; }
.tile.main { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile p { margin: 0; }
.tl { font-weight: 600; font-size: .9rem; }
.tn { font: 800 clamp(1.05rem, 4.6vw, 1.9rem)/1.2 Montserrat, Inter, sans-serif; margin: 6px 0 4px !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 821px) { .tn { font-size: clamp(1.3rem, 2.4vw, 1.9rem); } }
.tile.main .tn { color: var(--lime); }
.tc { font-size: .8rem; opacity: .75; }
.table h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 4px; }
.trow { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.trow b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.trow.head { font-weight: 700; font-size: 1.02rem; }
.trow.total { font-weight: 700; border-bottom: 0; }
.table .hint { margin: 10px 0 0; }
.notice { margin-top: 20px; border-left: 4px solid var(--teal-2); }
.notice h2, .cta h2 { margin: 0 0 6px; font: 700 1.15rem Montserrat, Inter, sans-serif; }
.notice p { margin: 0; color: var(--muted); }
.cta { margin-top: 20px; background: var(--navy); color: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; }
.cta p { max-width: 680px; margin: 0 auto 18px; opacity: .85; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.btn:hover { filter: brightness(1.08); }
.disclaimer { font-size: .8rem; color: var(--muted); text-align: center; max-width: 760px; margin: 18px auto 0; }
.foot { text-align: center; font-size: .82rem; color: var(--muted); padding: 18px 16px 28px; }
.foot a { color: inherit; }
