:root {
  --bg: #1f2428;
  --bg-elev: #252b30;
  --text: #f4f6f8;
  --muted: #b4bec7;
  --accent: #006241;
  --accent-soft: #0f7a56;
  --border: #374149;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #1a1f23 0%, #20272c 55%, #1b2024 100%);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(24, 29, 33, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.brand {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.hero {
  padding: 88px 0 72px;
  position: relative;
}

.hero-content {
  max-width: 900px;
}

.hero-kicker {
  margin: 0 0 10px;
  color: #9ad6bf;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-brand-title {
  margin: 0 0 8px;
  color: #f2f6f9;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.hero-logo {
  display: block;
  width: min(338px, 65%);
  height: auto;
  margin: 0 0 10px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  max-width: 18ch;
}

.subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: #dde3e8;
  max-width: 58ch;
}

.hero-operational {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid #88d8bb;
  color: #f5faf8;
  font-weight: 600;
  max-width: 66ch;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #0b7b56;
}

.btn:hover,
.btn:focus-visible {
  background: #05734e;
}

.btn-secondary {
  background: transparent;
  border-color: #5a6872;
  color: #d8e0e7;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #2f373d;
}

.actions-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-muted {
  background: rgba(255, 255, 255, 0.02);
}

.section-status {
  background:
    radial-gradient(circle at top right, rgba(15, 122, 86, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.3;
}

p {
  margin: 0;
  max-width: 78ch;
  color: #e3e9ee;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.flow-step {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 14px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eef2f5;
  font-size: 0.94rem;
}

.flow-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  font-weight: 700;
}

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

.card {
  margin: 0;
  padding: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #f5f8fb;
}

.card p {
  color: var(--muted);
}

.status-card {
  max-width: 860px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20, 26, 30, 0.92), rgba(31, 39, 44, 0.96));
  border: 1px solid rgba(123, 160, 142, 0.28);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.status-label {
  margin: 0 0 12px;
  color: #9ad6bf;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: #97a4b0;
  font-size: 0.93rem;
}

.calculator-highlight {
  background:
    radial-gradient(circle at top left, rgba(0, 98, 65, 0.26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.calculator-strip {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(136, 216, 187, 0.22);
  border-radius: 18px;
  background: rgba(12, 17, 20, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.calculator-strip-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.calculator-strip-copy p {
  color: #d8e2e8;
}

.calculator-strip-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.calculator-metric {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.calculator-metric.bad {
  background: rgba(163, 45, 45, 0.18);
  border-color: rgba(242, 199, 199, 0.3);
}

.calculator-metric.good {
  background: rgba(15, 110, 86, 0.18);
  border-color: rgba(200, 234, 223, 0.3);
}

.calculator-metric-label {
  margin: 0 0 8px;
  color: #d5dbe0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calculator-metric-value {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f7fbfd;
}

.calculator-metric-note {
  margin-top: 6px;
  color: #b7c2cb;
  font-size: 0.86rem;
}

.calculator-strip-footnote {
  margin-top: 16px;
  color: #b8c3cc;
  font-size: 0.92rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-card {
  padding: 18px;
  border: 1px solid rgba(136, 216, 187, 0.2);
  border-radius: 16px;
  background: rgba(12, 17, 20, 0.58);
}

.metric-value {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  margin: 0 0 8px;
  color: #88d8bb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-note {
  color: #bac5cd;
  font-size: 0.92rem;
}

.comparison-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(136, 216, 187, 0.18);
  border-radius: 16px;
  background: rgba(12, 17, 20, 0.58);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: #f6fbfd;
  background: rgba(0, 98, 65, 0.18);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table td {
  color: #cfd8df;
}

.comparison-table td:first-child {
  color: #f1f6f8;
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: 76px;
    justify-content: flex-start;
    text-align: left;
    padding-right: 44px;
  }

  .flow-step:not(:last-child)::after {
    content: "\2193";
    right: 16px;
    top: auto;
    bottom: -18px;
    transform: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    min-height: 56px;
    gap: 14px;
    justify-content: flex-end;
    padding: 10px 0;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-logo {
    width: min(276px, 73%);
  }

  .hero {
    padding-top: 68px;
  }

  .calculator-strip {
    padding: 18px;
  }

  .calculator-strip-metrics {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts dt {
    margin-top: 8px;
  }

}


p a {
  color: #9dd3bf;
}

p a:hover,
p a:focus-visible {
  color: #c6eadc;
}
.hero-wide {
  padding: 92px 0 78px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.hero-copy,
.hero-side {
  min-width: 0;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.quote-card {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(136, 216, 187, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.quote-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #eff5f7;
}

.quote-card-accent {
  background: linear-gradient(180deg, rgba(10, 80, 60, 0.38), rgba(11, 38, 32, 0.62));
  border-color: rgba(136, 216, 187, 0.34);
}

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

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

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

.card-muted {
  background: rgba(255, 255, 255, 0.035);
}

.card-label {
  margin: 0 0 8px;
  color: #88d8bb;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.code-snippet {
  margin: 14px 0 12px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid rgba(136, 216, 187, 0.22);
  border-radius: 6px;
  background: #12191d;
  color: #eaf3ef;
  font-size: 0.92rem;
}

.code-snippet code,
.quick-facts code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.quick-facts {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 12px 18px;
  max-width: 900px;
}

.quick-facts dt {
  color: #88d8bb;
  font-weight: 700;
}

.quick-facts dd {
  margin: 0;
  color: #e3e9ee;
}

.section-intro {
  margin: 0 0 18px;
  color: #cfd7de;
}

.narrow {
  max-width: 860px;
}

.simulator-frame-wrap {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #0f1418;
}

.simulator-frame {
  display: block;
  width: 100%;
  min-height: 1180px;
  border: 0;
  background: #0f1418;
}

@media (max-width: 980px) {
  .hero-layout,
  .cards-2,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .hero-side {
    order: -1;
  }
}
