:root {
  --accent: #7cc242;
  --ink: #141414;
  --muted: #5f665d;
  --soft: #f7f8f4;
  --mist: #eef3f1;
  --line: #e1e5dd;
  --dark: #0b0f0c;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.page { min-height: 100vh; overflow: hidden; }
.wrap { width: min(1152px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - 48px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  background: rgba(247, 248, 244, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 99px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.login { color: var(--muted); padding: 10px 8px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.button.light {
  background: transparent;
  color: var(--ink);
  border-color: #cfd5cc;
}
.button.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #071006;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .18)),
    radial-gradient(circle at 83% 18%, rgba(124, 194, 66, .13), transparent 31%),
    var(--soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 58px;
  align-items: center;
  padding: 72px 0 54px;
}
.hero-simple { padding: 72px 0 54px; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 16px 0 0;
  max-width: 780px;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: 0;
}
h2 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}
h3 { margin: 0; font-size: 20px; line-height: 1.24; }
.hero-copy,
.section-copy,
.body-copy,
.card p,
.footer-inner,
.form-note,
.legal p,
.legal li,
.status-copy {
  font-family: "DM Sans", system-ui, sans-serif;
}
.hero-copy {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.hero-media {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 26px 80px rgba(20, 20, 20, .08);
}
.hero-media img { width: 100%; border-radius: 3px; }
.relay-graphic img { aspect-ratio: 1672 / 941; object-fit: contain; }
.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 2px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.media-caption strong { color: var(--ink); font-family: "Space Grotesk", system-ui, sans-serif; }

.section { padding: 76px 0; }
.section.white {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.dark {
  background: var(--dark);
  color: var(--white);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .62fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 38px;
}
.section-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.dark .section-copy { color: rgba(255,255,255,.58); }
.body-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .7fr);
  gap: 34px;
  align-items: stretch;
}
.image-panel {
  border-radius: 6px;
  background: #f8f7f2;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(20, 20, 20, .1);
}
.image-panel.relay-graphic {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.image-panel.dark { background: var(--dark); border-color: #1f2a21; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.card.soft { background: var(--soft); }
.card.dark {
  background: var(--dark);
  color: var(--white);
  border-color: rgba(255,255,255,.12);
}
.card h3 { margin: 18px 0 0; }
.card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}
.card.dark p { color: rgba(255,255,255,.58); }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(124, 194, 66, .12);
  border: 1px solid rgba(124, 194, 66, .28);
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}
.metric {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 31px; line-height: 1; }
.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.contact-item .eyebrow { display: block; margin-bottom: 8px; }
.contact-item a,
.contact-item span:not(.eyebrow) {
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.58;
}

.form-panel,
.calculator-panel,
.legal-panel,
.status-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 28px;
}
.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form-intro h2 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.16;
}
.form-intro p {
  margin: 10px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.62;
}
.contact-mode {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
}
.contact-mode button {
  min-height: 38px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 18px;
}
.contact-mode button.active {
  background: var(--ink);
  color: var(--white);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field.full { grid-column: 1 / -1; }
label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(124, 194, 66, .8);
  box-shadow: 0 0 0 3px rgba(124, 194, 66, .14);
}
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; }

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .56fr);
  gap: 24px;
  align-items: start;
}
.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 14px;
  align-items: center;
}
input[type="range"] { padding: 0; accent-color: var(--accent); background: transparent; }
.result-list {
  display: grid;
  gap: 12px;
}
.result {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}
.result strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  overflow-wrap: anywhere;
}
.result span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
}
.recommended {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.recommended strong {
  font-size: 26px;
  line-height: 1.12;
}
.recommended span { color: rgba(255,255,255,.58); }

.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after { content: "-"; }
details p {
  max-width: 780px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.72;
}

.legal {
  display: grid;
  gap: 18px;
}
.legal-panel h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.legal-panel h3 {
  margin-top: 24px;
  font-size: 18px;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}
.legal ul { padding-left: 22px; }
.legal a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(124,194,66,.55); }
.policy-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.policy-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  padding: 16px;
  text-decoration: none !important;
}
.policy-link strong { display: block; color: var(--ink); font-size: 15px; }
.policy-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.policy-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
.policy-table th,
.policy-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.policy-table th {
  color: var(--ink);
  background: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.policy-table tr:last-child td { border-bottom: 0; }
.policy-table td:first-child { font-weight: 700; color: var(--ink); }

.status-hero-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 24px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124,194,66,.12);
  color: #3f8620;
  font-size: 12px;
  font-weight: 800;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.region {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.region span:first-child { font-weight: 700; }

.cta {
  padding: 70px 0;
  background: var(--dark);
  color: var(--white);
}
.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}
.cta h2 { color: var(--white); }
.cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, .58);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .button.light {
  border-color: rgba(255, 255, 255, .18);
  color: var(--white);
  background: transparent;
}

footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) max-content;
  align-items: start;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner img { width: 82px; }
.footer-inner > a:last-child {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 10px 24px;
}
.footer-links a { line-height: 1.35; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .section-head, .split, .contact-grid, .calculator-grid, .cta-box {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  .hero-grid, .hero-simple { padding-top: 52px; }
  .hero-media { max-width: 560px; }
  .card-grid, .card-grid.two, .card-grid.four, .metric-grid, .region-grid, .policy-links { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-inner {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .footer-inner > a:last-child {
    grid-column: 2;
  }
  .footer-links {
    justify-content: start;
    grid-template-columns: repeat(3, max-content);
  }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(100% - 32px, 1152px); }
  .nav { height: auto; }
  .nav-inner { min-height: 66px; }
  .login { display: none; }
  .nav-actions .button { min-height: 38px; padding: 0 16px; font-size: 13px; }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .hero-grid, .hero-simple, .section { padding-top: 44px; padding-bottom: 44px; }
  .card-grid, .card-grid.two, .card-grid.four, .metric-grid, .region-grid, .form-grid, .policy-links { grid-template-columns: 1fr; }
  .form-intro { grid-template-columns: 1fr; }
  .contact-mode { width: 100%; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .range-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > a:last-child { grid-column: auto; }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}
