
:root{--bg:#f5f7fa;--card:#fff;--ink:#172033;--muted:#667085;--line:#d7dee8;--brand:#174a7a;--brand2:#226ba9;--soft:#edf4fb;--good:#087a47;--radius:16px;--shadow:0 10px 28px rgba(22,42,66,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
a{color:var(--brand2);text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.nav{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:850;color:var(--brand);font-size:1.18rem;letter-spacing:-.02em}.navlinks{display:flex;gap:18px;font-size:.93rem}
.hero{padding:52px 0 20px}.eyebrow{font-size:.76rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--brand2)}h1{font-size:clamp(2rem,5vw,3.65rem);line-height:1.04;letter-spacing:-.045em;margin:.4rem 0 .9rem}.lead{font-size:1.08rem;color:var(--muted);max-width:790px}
.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,1fr);gap:22px;align-items:start;margin:26px 0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.calc,.results,.content-card,.tool-card{padding:24px}
.field{margin:0 0 15px}.field label{display:block;font-weight:750;font-size:.88rem;margin-bottom:6px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
input,select{width:100%;padding:12px 13px;border:1px solid #bcc8d6;border-radius:10px;background:#fff;font:inherit;color:var(--ink)}input:focus,select:focus{outline:3px solid #dcebf8;border-color:var(--brand2)}
button,.button{display:inline-block;border:0;border-radius:10px;background:var(--brand);color:#fff;font-weight:800;padding:13px 18px;cursor:pointer;text-align:center}button{width:100%;font-size:1rem}.button:hover,button:hover{background:var(--brand2);text-decoration:none}.helper,.small{font-size:.79rem;color:var(--muted)}.helper{margin-top:6px}
.big-result{background:var(--soft);padding:20px;border-radius:14px;margin-bottom:14px}.big-result .label{font-size:.8rem;color:var(--muted);font-weight:750}.big-result .amount{font-size:2.5rem;font-weight:900;color:var(--brand);letter-spacing:-.045em}.big-result .period{color:var(--muted)}
.row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:9px 0}.row:last-child{border-bottom:0}.row span:last-child{font-weight:750;text-align:right}.good{color:var(--good)}.muted{color:var(--muted)}
.bar{height:11px;background:#e7ecf2;border-radius:999px;overflow:hidden;margin-top:14px}.bar>span{display:block;height:100%;background:var(--brand2)}.ad-slot{min-height:96px;border:1px dashed #b6c0cd;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#8a94a4;background:#fbfcfd;margin:24px 0;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.content-card h2,.tool-card h2{margin-top:0}.notice{border-left:4px solid var(--brand2);background:#eff6fc;padding:14px 16px;border-radius:8px;margin:18px 0}.warning{border-left-color:#d59a1f;background:#fff7e6}
.pills{display:flex;gap:9px;flex-wrap:wrap}.pill{padding:7px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.84rem}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.result-kpi{font-size:2rem;font-weight:900;color:var(--brand);letter-spacing:-.035em;margin-bottom:15px}.result-kpi small{display:block;font-size:.78rem;font-weight:650;color:var(--muted);letter-spacing:0}
footer{background:#102a44;color:#d9e4ef;margin-top:54px;padding:32px 0}.footergrid{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}footer a{color:#fff}
table{width:100%;border-collapse:collapse}th,td{padding:9px;border-bottom:1px solid var(--line);text-align:left}
@media(max-width:800px){.grid,.content-grid,.tool-grid{grid-template-columns:1fr}.navlinks{display:none}.hero{padding-top:34px}.two{grid-template-columns:1fr}.big-result .amount{font-size:2.15rem}}

.country-landing{padding:48px 0 28px}
.country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:32px 0}
.country-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:30px;text-align:center;color:var(--ink);transition:transform .15s ease,box-shadow .15s ease}
.country-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(22,42,66,.12);text-decoration:none}
.flag{font-size:4.2rem;line-height:1;margin-bottom:16px}
.country-card h2{margin:0 0 7px;font-size:1.55rem}
.country-card p{margin:0;color:var(--muted);font-size:.95rem}
.country-card .go{display:inline-block;margin-top:16px;font-weight:800;color:var(--brand2)}
.country-card.coming{opacity:.78}
.country-card.coming .go{color:var(--muted)}
.landing-note{max-width:780px;margin:0 auto;text-align:center;color:var(--muted)}
@media(max-width:800px){.country-grid{grid-template-columns:1fr}.country-card{padding:24px}.flag{font-size:3.5rem}}

.flag-img{width:108px;height:72px;object-fit:cover;border-radius:7px;box-shadow:0 2px 9px rgba(0,0,0,.12);display:block;margin:0 auto 18px}
.nav-flag{width:22px;height:15px;object-fit:cover;border-radius:2px;vertical-align:-2px;margin-right:5px;box-shadow:0 1px 3px rgba(0,0,0,.15)}

.state-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0}
.state-link{display:block;padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font-weight:800}
.state-link small{display:block;color:var(--muted);font-weight:500;margin-top:4px}.state-link:hover{text-decoration:none;border-color:#9cb6ce}
.error-box{display:none;background:#fff2f0;border-left:4px solid #c0392b;padding:13px 15px;border-radius:8px;margin:12px 0;color:#7c2d22}
@media(max-width:700px){.state-grid{grid-template-columns:1fr}}

/* v0.6.2 compact commercial layout */
.hero{padding:30px 0 10px}
.hero h1{margin:.25rem 0 .65rem;font-size:clamp(1.9rem,4.2vw,3.25rem)}
.hero .lead{font-size:1rem;line-height:1.45}
.ad-slot{min-height:72px;margin:16px 0}
.grid{align-items:stretch;margin:18px 0;gap:20px}
.grid>.card{height:100%}
.calc,.results{padding:20px}
.calc h2,.results h2{margin-top:0;margin-bottom:14px}
.field{margin-bottom:11px}
.field label{margin-bottom:4px}
input,select{padding:10px 12px}
button{padding:11px 16px}
.big-result{padding:16px;margin-bottom:10px}
.big-result .amount{font-size:2.2rem}
.row{padding:6px 0}
.bar{margin-top:10px}
.results .helper{margin-top:6px}
.content-grid{margin:20px 0}
.nav{min-height:62px}
.navlinks a{display:inline-flex;align-items:center;gap:4px}
.nav-flag{width:24px;height:16px;object-fit:cover;border-radius:1px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
@media(min-width:801px){
  .grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .calc,.results{min-height:410px}
}

/* v0.6.3 above-the-fold refinement */
.hero{padding:22px 0 8px}
.hero h1{font-size:clamp(1.8rem,3.8vw,3rem);margin:.18rem 0 .5rem}
.hero .lead{font-size:.96rem;line-height:1.4;max-width:760px}

.ad-slot{min-height:58px;margin:12px 0}
.grid{margin:14px 0;gap:18px;align-items:start}

.calc,.results{padding:16px}
.calc h2,.results h2{font-size:1.18rem;margin:0 0 10px}
.field{margin-bottom:8px}
.field label{font-size:.82rem;margin-bottom:3px}
input,select{padding:8px 10px;border-radius:8px}
button{padding:9px 14px}
.helper{font-size:.72rem;margin-top:4px}

.big-result{padding:11px 13px;margin-bottom:7px;border-radius:11px}
.big-result .label{font-size:.72rem}
.big-result .amount{font-size:2rem;line-height:1.05}
.big-result .period{font-size:.82rem}

.results .row{padding:4px 0;font-size:.88rem}
.results .bar{height:8px;margin-top:7px}

/* Keep detailed breakdowns below the fold instead of stretching the main result card. */
.results #regional-detail,
.results #us-detail,
.results #us-note{display:none}

/* On desktop, both main cards are exactly the same compact height. */
@media(min-width:801px){
  .grid>.card{height:360px;min-height:360px;overflow:hidden}
  .calc,.results{min-height:0}
}

/* Mobile remains natural-height. */
@media(max-width:800px){
  .grid>.card{height:auto;min-height:0;overflow:visible}
}

/* v0.6.4 — restore full information and real ad space */
.hero{padding:20px 0 7px}
.hero h1{font-size:clamp(1.8rem,3.7vw,2.95rem);margin:.15rem 0 .45rem}
.hero .lead{font-size:.95rem;line-height:1.38;max-width:780px}

/* Realistic responsive display-ad space.
   Desktop is large enough for a 728x90-style unit plus breathing room.
   Mobile remains large enough for a 320x100-style unit. */
.ad-slot{
  width:100%;
  min-height:108px;
  margin:12px 0 14px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}

/* Main calculator row: both cards equal the height of the taller card.
   No fixed height and no clipping. */
.grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:stretch;
  margin:14px 0;
}
.grid>.card{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  align-self:stretch;
}

.calc,.results{
  padding:16px;
  min-height:0 !important;
}
.calc h2,.results h2{font-size:1.18rem;margin:0 0 10px}
.field{margin-bottom:8px}
.field label{font-size:.82rem;margin-bottom:3px}
input,select{padding:8px 10px}
button{padding:9px 14px}
.helper{font-size:.72rem;margin-top:4px}

.big-result{padding:11px 13px;margin-bottom:7px}
.big-result .amount{font-size:2rem}
.results .row{padding:4px 0;font-size:.88rem}
.results .bar{height:8px;margin-top:7px}

/* Restore all result details that v0.6.3 hid. */
.results #regional-detail,
.results #us-detail,
.results #us-note{
  display:block !important;
}
.results #us-note{
  margin-top:8px;
  padding:9px 11px;
}

/* Keep lower ad units substantial too. */
.ad-slot + .content-grid{margin-top:16px}

@media(max-width:800px){
  .grid{grid-template-columns:1fr}
  .ad-slot{min-height:100px}
  .grid>.card{height:auto !important;overflow:visible !important}
}

/* v0.6.5 — USA landing-page hero refinement */
.usa-hero{
  text-align:center;
  padding:12px 0 4px;
}
.usa-hero h1{
  margin:0 0 7px;
  font-size:clamp(2rem,3.8vw,3rem);
  line-height:1.05;
}
.usa-hero .lead{
  max-width:1020px;
  margin:0 auto;
  text-align:center;
  font-size:.96rem;
  line-height:1.45;
}
.usa-hero + .ad-slot{
  margin-top:8px;
}
@media(min-width:1100px){
  .usa-hero .lead{
    max-width:1040px;
  }
}

/* v0.6.6 — unified page-top format */
.standard-hero{
  text-align:center;
  padding:12px 0 4px;
}
.standard-hero h1{
  margin:0 0 7px;
  font-size:clamp(2rem,3.8vw,3rem);
  line-height:1.05;
}
.standard-hero .lead{
  max-width:1040px;
  margin:0 auto;
  text-align:center;
  font-size:.96rem;
  line-height:1.45;
}
.standard-hero + .ad-slot{
  margin-top:8px;
}

/* =========================================================
   v0.7 — restrained visual polish
   Baseline structure/calculation logic remains v0.6.6.
   ========================================================= */

:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --ink:#172234;
  --muted:#66758a;
  --line:#d9e2ec;
  --brand:#164f7c;
  --brand2:#2473ad;
  --soft:#edf5fb;
  --good:#087a47;
  --radius:15px;
  --shadow:0 8px 24px rgba(24,52,81,.065);
}

body{
  background:var(--bg);
}

header{
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #dce4ed;
  box-shadow:0 1px 0 rgba(24,52,81,.02);
}

.brand{
  color:#123f66;
  letter-spacing:-.025em;
}

.navlinks a{
  color:#245b86;
  border-bottom:2px solid transparent;
  padding-bottom:4px;
  transition:color .15s ease,border-color .15s ease;
}

.navlinks a:hover{
  color:#123f66;
  text-decoration:none;
}

.navlinks a.active-country{
  color:#123f66;
  border-bottom-color:#2b79b4;
  font-weight:750;
}

.standard-hero h1,
.usa-hero h1{
  color:#172234;
  letter-spacing:-.04em;
}

.standard-hero .lead,
.usa-hero .lead{
  color:#64748b;
}

.card{
  border-color:#dbe4ed;
  box-shadow:var(--shadow);
}

.calc,.results,.content-card,.tool-card{
  background:#fff;
}

.calc h2,.results h2,.content-card h2,.tool-card h2{
  color:#172234;
}

input,select{
  border-color:#becbd8;
  background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease;
}

input:hover,select:hover{
  border-color:#9fb3c5;
}

input:focus,select:focus{
  border-color:#2d78ad;
  box-shadow:0 0 0 3px rgba(45,120,173,.11);
  outline:none;
}

button,.button{
  background:#175886;
  border-radius:9px;
  box-shadow:0 2px 5px rgba(23,88,134,.16);
  transition:background .15s ease,transform .08s ease,box-shadow .15s ease;
}

button:hover,.button:hover{
  background:#0f4771;
  box-shadow:0 4px 9px rgba(23,88,134,.18);
  text-decoration:none;
}

button:active,.button:active{
  transform:translateY(1px);
}

.big-result{
  background:#eef6fc;
  border:1px solid #e0edf7;
}

.big-result .amount{
  color:#145481;
}

.row{
  border-bottom-color:#e2e8f0;
}

.bar{
  background:#e6edf4;
}

.bar>span{
  background:#2b79b4;
}

.good{
  color:#087a47;
}

.notice{
  background:#f0f7fc;
  border-left-color:#2b79b4;
}

.warning{
  background:#fff8e8;
  border-left-color:#d39a22;
}

.ad-slot{
  background:#f8fafc;
  border-color:#cbd6e2;
  color:#8a98aa;
  border-style:dashed;
  letter-spacing:.075em;
}

.content-card h2{
  font-size:1.12rem;
  margin-bottom:10px;
}

.content-card p{
  color:#36475b;
}

.country-card{
  border-color:#dbe4ed;
  box-shadow:0 8px 22px rgba(24,52,81,.055);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.country-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(24,52,81,.09);
  border-color:#c7d6e3;
}

.country-card h2{
  color:#172234;
}

.country-card .go{
  color:#17639a;
}

.state-link{
  border-color:#dbe4ed;
  box-shadow:0 3px 10px rgba(24,52,81,.035);
  transition:border-color .15s ease,transform .12s ease,box-shadow .15s ease;
}

.state-link:hover{
  border-color:#a8bfd1;
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(24,52,81,.06);
}

.pill{
  border-color:#d8e2ec;
  background:#fbfdff;
}

footer{
  background:#123552;
}

/* Keep the polish restrained on smaller screens */
@media(max-width:800px){
  .navlinks a{
    padding-bottom:2px;
  }
}

/* =========================================================
   v0.7.1 — more visible, still restrained visual polish
   ========================================================= */

body{
  background:#eef3f8;
}

/* Make the top bar visibly more finished */
header{
  border-top:4px solid #164f7c;
  box-shadow:0 2px 10px rgba(24,52,81,.055);
}

.brand{
  font-size:1.06rem;
  font-weight:800;
}

/* Give the hero a clearer visual identity without adding clutter */
.standard-hero,
.usa-hero{
  background:#f7fbfe;
  border:1px solid #dbe7f0;
  border-radius:16px;
  padding:18px 24px 14px;
  margin-top:14px;
  box-shadow:0 5px 16px rgba(24,52,81,.035);
}

.standard-hero h1,
.usa-hero h1{
  color:#123f66;
}

.standard-hero .lead,
.usa-hero .lead{
  color:#52677d;
}

/* Stronger distinction between entry and result cards */
.calc{
  border-top:4px solid #9eb7cb;
}

.results{
  border-top:4px solid #1f6fa5;
}

.big-result{
  background:#e8f3fb;
  border:1px solid #cfe2f0;
}

.big-result .amount{
  color:#0f4f7c;
  font-size:2.15rem;
}

/* Buttons are more obviously interactive */
button,.button{
  background:#145f93;
  border-radius:9px;
  font-weight:800;
}

button:hover,.button:hover{
  background:#0e4e7b;
}

/* Make ad areas visibly intentional, but still neutral */
.ad-slot{
  background:#f6f9fc;
  border:1px dashed #b8c8d6;
  color:#7f8ea0;
}

/* Homepage country cards now show a subtle country accent */
.country-grid .country-card:nth-child(1){
  border-top:4px solid #d52b1e;
}
.country-grid .country-card:nth-child(2){
  border-top:4px solid #23427a;
}
.country-grid .country-card:nth-child(3){
  border-top:4px solid #3c3b6e;
}

.country-card{
  background:#fff;
}

.country-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(24,52,81,.10);
}

/* Supporting content should recede slightly */
.content-card{
  background:#fbfdff;
}

.content-card h2{
  color:#1b3e5c;
}

/* Slightly stronger state-page cards */
.state-link{
  background:#fff;
}
.state-link:hover{
  border-color:#7fa4bf;
}

/* Active country is now much easier to see */
.navlinks a.active-country{
  color:#0f4f7c;
  border-bottom:3px solid #1f6fa5;
  font-weight:800;
}

/* Analytics consent controls (v0.7.3) */
.npat-consent{position:fixed;left:0;right:0;bottom:0;z-index:9999;padding:14px;background:rgba(15,39,64,.97);color:#fff;box-shadow:0 -6px 24px rgba(0,0,0,.18)}
.npat-consent-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:18px;justify-content:space-between}
.npat-consent-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.45}
.npat-consent-copy strong{font-size:1rem}.npat-consent-copy span{font-size:.92rem;color:#eef5fb}.npat-consent-copy a{color:#fff;text-decoration:underline;font-size:.9rem}
.npat-consent-actions{display:flex;gap:10px;flex:0 0 auto}.npat-consent button{border-radius:8px;padding:10px 16px;font-weight:700;cursor:pointer}
.npat-consent-primary{border:1px solid #fff;background:#fff;color:#0f4f7c}.npat-consent-secondary{border:1px solid #c8d8e6;background:transparent;color:#fff}
.npat-cookie-preferences{border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0;margin-left:8px}
@media (max-width:760px){.npat-consent-inner{align-items:stretch;flex-direction:column}.npat-consent-actions{width:100%}.npat-consent-actions button{flex:1}.npat-cookie-preferences{margin-left:0;margin-top:6px}}

