:root {
  --ink: #172433;
  --muted: #5b6b7c;
  --line: #dbe2ea;
  --paper: #f7f9fc;
  --navy: #1c3f66;
  --blue: #2f5c8f;
  --gold: #f2b134;
  --white: #ffffff;
  --good: #1f7a4c;
  --good-bg: #e7f5ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 36, 51, 0.1);
  background: rgba(247, 249, 252, 0.95);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  align-items: end;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  color: #fdfdfd;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 9vh 0 7vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  color: #fdfdfd;
  background: rgba(255, 255, 255, 0.16);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.band {
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

.band h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.card.soon {
  background: #f0f2f6;
  border-style: dashed;
  color: var(--muted);
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pill.live {
  background: var(--good-bg);
  color: var(--good);
}

.pill.soon {
  background: #e6e9ee;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e9eef5;
  color: var(--navy);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-row .card {
  text-align: center;
}

.quick-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quick-table th,
.quick-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.quick-table th {
  width: 34%;
  color: var(--navy);
  background: #eef2f8;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap .quick-table {
  min-width: 560px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.article.narrow {
  grid-template-columns: minmax(0, 1fr);
}

.toc {
  position: sticky;
  top: 82px;
  border-left: 3px solid var(--navy);
  padding: 14px 0 14px 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.toc a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  text-decoration: none;
}

.content h2 {
  margin-top: 36px;
}

.content h3 {
  margin-top: 24px;
}

.figure {
  margin: 24px 0;
}

.figure img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
}

.disclaimer-band {
  border-left: 4px solid var(--navy);
  background: #eef2f8;
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
}

/* Calculator widget */
.calculator {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calc-field {
  display: grid;
  gap: 6px;
}

.calc-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.calc-field input,
.calc-field select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
}

.calc-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.calc-submit {
  border: none;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 760;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

.calc-submit:hover {
  background: var(--blue);
}

.calc-result {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f7fb;
  padding: 20px;
  display: none;
}

.calc-result.is-visible {
  display: block;
}

.calc-result .amount {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 0;
}

.calc-result .amount-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.calc-result .breakdown {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.equipment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.equipment .card {
  padding: 16px;
}

.site-footer {
  background: var(--navy);
  color: #e8edf5;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-inner a {
  color: #f5d37a;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #c3d0e0;
  margin-top: 10px;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .grid.two,
  .article,
  .equipment,
  .footer-inner,
  .trust-row,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}
