:root {
  --navy: #0b1626;
  --ink: #172236;
  --muted: #68758a;
  --line: #e6eaf0;
  --paper: #fbfcfe;
  --mint: #d9f6e7;
  --green: #16835a;
  --orange: #ffb45e;
  --shadow: 0 18px 55px #10213a18;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 Inter,
    system-ui,
    sans-serif;
}
.shell {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px;
}
header {
  height: 72px;
  background: var(--navy);
  color: white;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: white;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
}
.brand b {
  display: inline-grid;
  place-items: center;
  background: var(--orange);
  color: var(--navy);
  border-radius: 9px;
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
.brand span {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
nav a {
  color: #d5deeb;
  text-decoration: none;
  font-size: 13px;
}
nav button {
  border: 1px solid #68798e;
  border-radius: 99px;
  background: none;
  color: white;
  padding: 6px 11px;
  font-weight: 700;
}
.hero {
  padding-top: 74px;
  padding-bottom: 54px;
}
.hero small,
.tools small {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: -3.4px;
  margin: 13px 0 20px;
}
.hero h1 i {
  color: var(--green);
  font-style: normal;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 32px;
}
.search {
  height: 64px;
  max-width: 760px;
  background: white;
  border: 1px solid #dfe5ed;
  box-shadow: 0 5px 18px #10213a0a;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 17px;
  gap: 13px;
}
.search strong {
  font-size: 28px;
  color: var(--green);
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 16px;
}
.search kbd {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  color: #95a0af;
}
.popular {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.popular button,
#copy {
  border: 0;
  background: var(--mint);
  color: #176744;
  border-radius: 99px;
  padding: 6px 11px;
  font-size: 12px;
  cursor: pointer;
}
.tools {
  padding-top: 24px;
  padding-bottom: 84px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.section-head h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 6px 0 25px;
}
.section-head span {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin-bottom: 22px;
}
.tabs button {
  white-space: nowrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 15px;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.tabs button.active,
.tabs button:hover {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 19px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.icon {
  font-size: 23px;
  margin-bottom: 15px;
}
.card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.card p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.card-foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
}
.card small {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.7px;
}
.guide-link {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.guide-link:hover {
  color: var(--green);
}
.band {
  background: var(--navy);
  color: white;
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.trust div {
  border-left: 1px solid #ffffff25;
  padding-left: 18px;
  color: var(--orange);
  font-size: 22px;
}
.trust h3 {
  color: white;
  font-size: 15px;
  margin: 10px 0 4px;
}
.trust p {
  color: #aebccd;
  font-size: 12px;
  margin: 0;
}
.sitefoot {
  background: #07111f;
  color: #8190a5;
  padding: 22px 0;
  font-size: 11px;
}
.sitefoot span {
  float: right;
}
.sitefoot a {
  color: #b9c5d6;
}
#modal {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 20px;
}
#modal[hidden] {
  display: none;
}
.backdrop {
  position: absolute;
  inset: 0;
  background: #061221aa;
  backdrop-filter: blur(4px);
}
.modal {
  position: relative;
  background: white;
  border-radius: 19px;
  box-shadow: 0 30px 90px #06122155;
  width: min(100%, 540px);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
}
.close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}
.modal h2 {
  font-size: 29px;
  margin: 7px 40px 8px 0;
}
.modal > small {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 1.5px;
}
.modal > p {
  color: var(--muted);
  margin: 0 0 25px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 750;
}
.field-help {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0;
}
.field input,
.field select {
  border: 1px solid #dce3ec;
  border-radius: 9px;
  padding: 11px 12px;
  font: inherit;
}
.calc {
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
  margin-top: 19px;
}
.result {
  background: var(--mint);
  color: #104e36;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}
.result b {
  font-size: 27px;
}
.result small {
  display: block;
  color: #104e36;
  margin-top: 3px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.result-actions button {
  border: 1px solid rgba(16, 78, 54, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #104e36;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  padding: 8px 10px;
}
.result-actions button:hover {
  background: #fff;
}
.modal > .modal-disclaimer {
  background: #fff8e8;
  border: 1px solid #f0dfb7;
  border-radius: 9px;
  color: #705b2c;
  font-size: 10px;
  line-height: 1.45;
  margin: 16px 0 0;
  padding: 10px 12px;
}
.modal footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 14px;
  color: #9aa5b4;
  font-size: 10px;
}
.modal footer a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}
.empty {
  text-align: center;
  padding: 60px;
  color: var(--muted);
  font-size: 34px;
}
.empty h3 {
  font-size: 18px;
  color: var(--ink);
  margin: 8px;
}
.empty p {
  font-size: 13px;
}
.legal {
  max-width: 760px;
  min-height: calc(100vh - 137px);
  padding-top: 70px;
  padding-bottom: 80px;
}
.legal > small {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.legal h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  margin: 14px 0 30px;
}
.legal p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.legal .legal-lead {
  color: var(--ink);
  font-size: 19px;
}
.legal h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 34px 0 8px;
}
.legal ul {
  color: var(--muted);
  line-height: 1.75;
}
.legal a {
  color: var(--green);
}
.legal-links {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
  padding-top: 20px;
}
.legal-links a {
  font-size: 13px;
  font-weight: 750;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px #10213a0b;
  margin: 30px 0;
  padding: 24px;
}
.contact-card span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-card > a {
  display: inline-block;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  margin: 6px 0 12px;
}
.back-link {
  color: var(--green);
  display: inline-block;
  font-weight: 750;
  margin-top: 22px;
}
.calc-detail {
  padding-bottom: 90px;
  padding-top: 32px;
}
.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 9px;
  margin-bottom: 48px;
}
.breadcrumbs a {
  color: var(--muted);
}
.calc-intro {
  max-width: 760px;
}
.calc-intro small {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.calc-intro h1 {
  font-size: clamp(40px, 7vw, 68px);
  letter-spacing: -3px;
  line-height: 1.03;
  margin: 10px 0 16px;
}
.calc-intro p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 35px;
}
.calc-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
}
.calculator-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px #10213a0b;
  padding: 26px;
}
.quick-note {
  background: var(--navy);
  border-radius: 14px;
  color: white;
  padding: 22px;
}
.quick-note strong {
  color: var(--orange);
}
.quick-note p {
  color: #b7c4d5;
  font-size: 12px;
  margin-bottom: 0;
}
.guide {
  max-width: 760px;
  padding-top: 52px;
}
.guide h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 38px 0 12px;
}
.guide > p,
.guide details p {
  color: var(--muted);
  line-height: 1.75;
}
.guide details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.guide details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.guide summary {
  cursor: pointer;
  font-weight: 750;
}
.guide-cta {
  background: var(--mint);
  border-radius: 14px;
  margin-top: 46px;
  padding: 24px;
}
.guide-cta h2 {
  margin: 0 0 4px;
}
.guide-cta p {
  color: #3f6e5a;
  margin: 0 0 12px;
}
.guide-cta a {
  color: var(--green);
  font-weight: 800;
}
.analytics-consent {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 84px;
  max-width: 430px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.analytics-consent p {
  margin: 0 0 12px;
  color: #405066;
}
.analytics-consent a {
  color: var(--green);
  font-weight: 700;
}
.analytics-consent div {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.analytics-consent button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.consent-no {
  background: #edf1f5;
  color: #405066;
}
.consent-yes {
  background: var(--green);
  color: #fff;
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding-top: 55px;
  }
  nav a {
    display: none;
  }
  .calc-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .shell {
    padding: 0 17px;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -2.3px;
  }
  .search {
    height: 58px;
  }
  .popular {
    flex-wrap: wrap;
  }
  .grid {
    gap: 9px;
  }
  .card {
    padding: 14px;
    min-height: 160px;
  }
  .trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sitefoot span {
    float: none;
    display: block;
    margin-top: 6px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 23px;
  }
  .analytics-consent {
    right: 12px;
    bottom: 84px;
    left: 12px;
    max-width: none;
  }
}
