:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f4;
  color: #17201b;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px clamp(18px, 5vw, 78px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.12);
  background: rgba(245, 246, 244, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
  font-weight: 900;
  line-height: 1.5;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  row-gap: 8px;
  min-width: 0;
  color: #4e5d56;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding: 72px clamp(24px, 6vw, 88px) 42px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(16, 30, 24, 0.92), rgba(16, 30, 24, 0.62)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=85") center / cover;
  color: #fffdf7;
}

.hero__content {
  max-width: 760px;
  z-index: 1;
}

.hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero__actions,
.button,
.button-row {
  display: flex;
  align-items: center;
}

.hero__actions,
.button-row {
  gap: 12px;
  flex-wrap: wrap;
}

.hero__actions {
  margin-top: 32px;
}

.button {
  min-height: 44px;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(23, 32, 27, 0.16);
  border-radius: 8px;
  background: #fffdf7;
  color: #17201b;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button--primary {
  border-color: #d84e2f;
  background: #d84e2f;
  color: #fffdf7;
}

.hero__media {
  display: flex;
  justify-content: center;
  z-index: 1;
}

.terminal {
  width: min(100%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 12, 9, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.terminal__bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d84e2f;
}

.terminal__bar span:nth-child(2) {
  background: #e3bc42;
}

.terminal__bar span:nth-child(3) {
  background: #46b386;
}

.terminal__line {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.terminal__line.good {
  color: #8ee6b8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #d84e2f;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee6b8;
}

.band,
.layout {
  padding: 54px clamp(20px, 5vw, 78px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  background: #17201b;
  color: #fffdf7;
}

.metrics > div {
  padding: 28px;
  background: #22352b;
}

.metric__value,
.metric__label {
  display: block;
}

.metric__value {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 850;
}

.metric__label {
  margin-top: 6px;
  color: #b9c9bd;
}

.ops {
  background: #eef3f0;
}

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

.ops-card,
.panel,
.article-card,
.program-card,
.product-card,
.lead-magnet-card,
.download-card,
.email-card,
.queue__item,
.offer {
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.ops-card {
  min-height: 116px;
  padding: 20px;
}

.ops-card span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}

.ops-card p {
  margin: 8px 0 0;
  color: #58665d;
}

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

.panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.panel--dark {
  background: #17201b;
  color: #fffdf7;
}

.panel h2,
.section-title h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.panel p {
  line-height: 1.65;
}

.controls {
  display: grid;
  gap: 18px;
  margin: 20px 0 26px;
}

.control {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 0.9fr) 112px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  font-weight: 700;
}

.control > * {
  min-width: 0;
}

input[type="range"] {
  accent-color: #d84e2f;
  width: 100%;
}

input[type="number"],
input[type="email"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(23, 32, 27, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.checklist span {
  display: grid;
  place-items: center;
  min-height: 24px;
  border-radius: 6px;
  background: #294236;
  color: #8ee6b8;
  font-size: 0.72rem;
  font-weight: 900;
}

.article-grid,
.program-grid,
.product-grid,
.lead-magnet-grid,
.download-grid,
.email-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

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

.readiness-meter {
  width: 100%;
  height: 14px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(23, 32, 27, 0.12);
}

.readiness-meter div {
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: #17603d;
  transition: width 240ms ease;
}

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

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.kpi-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.deployment-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.kpi-card span {
  display: block;
  color: #58665d;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.deployment-card span {
  display: block;
  color: #58665d;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.kpi-card strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.25;
}

.deployment-card strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  line-height: 1.35;
}

.deployment-card a {
  color: #d84e2f;
}

.path-card {
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 20px;
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.layout > *,
.article-grid > *,
.program-grid > *,
.product-grid > *,
.lead-magnet-grid > *,
.download-grid > *,
.email-grid > *,
.path-grid > *,
.readiness-grid > *,
.kpi-grid > *,
.deployment-grid > *,
.ops-grid > * {
  min-width: 0;
}

.path-card--top {
  border-color: rgba(216, 78, 47, 0.48);
  box-shadow: inset 0 4px 0 #d84e2f;
}

.path-card span {
  color: #d84e2f;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.path-card h3 {
  margin: 10px 0;
}

.path-card p {
  margin: 0;
  color: #58665d;
  line-height: 1.55;
}

.path-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.path-card dl div {
  display: grid;
  gap: 3px;
}

.path-card dt {
  color: #58665d;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.path-card dd {
  margin: 0;
  font-weight: 850;
}

.readiness-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.readiness-card span {
  font-size: 0.75rem;
  font-weight: 900;
}

.readiness-card--pass span {
  color: #17603d;
}

.readiness-card--fail span {
  color: #d84e2f;
}

.readiness-card h3 {
  margin: 8px 0;
}

.readiness-card p {
  margin: 0;
  color: #58665d;
  line-height: 1.5;
}

.program-facts {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.program-facts div {
  display: grid;
  gap: 4px;
}

.program-facts dt {
  color: #58665d;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 760;
}

.program-facts a {
  color: #d84e2f;
}

.table-wrap {
  width: 100%;
  margin: 18px 0 24px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  border: 1px solid rgba(23, 32, 27, 0.13);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #eef3f0;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faq-list details {
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #fffdf7;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 14px 14px;
  color: #58665d;
}

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

.article-card,
.program-card,
.product-card,
.lead-magnet-card,
.download-card,
.email-card {
  display: block;
  min-height: 178px;
  padding: 18px;
}

.article-card span,
.program-card span,
.product-card span,
.lead-magnet-card span,
.download-card span,
.email-card span {
  color: #17603d;
  font-weight: 850;
}

.article-card h3,
.program-card h3,
.product-card h3,
.lead-magnet-card h3,
.download-card h3,
.email-card h3 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
}

.article-card p,
.program-card p,
.product-card p,
.lead-magnet-card p,
.download-card p,
.email-card p,
.queue__item p,
.offer p,
.offer span,
.notice {
  margin: 0;
  color: #58665d;
}

.email-card pre {
  max-height: 320px;
  margin: 14px 0 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #17201b;
  font: 0.88rem/1.55 "SFMono-Regular", Consolas, monospace;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: #d84e2f;
  font-weight: 850;
}

.queue {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.queue__item {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 16px;
}

.queue__item h3,
.offer h3 {
  margin: 0 0 6px;
}

.queue__item a {
  color: #d84e2f;
  font-weight: 850;
}

.score {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #e8f5ee;
  color: #17603d;
  font-weight: 900;
}

.offers {
  display: grid;
  gap: 10px;
}

.offer {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
}

.lead label {
  display: grid;
  gap: 8px;
  margin: 24px 0 14px;
  font-weight: 800;
}

.lead select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(23, 32, 27, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffdf7;
  font: inherit;
}

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

.lead-hero__panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: #17201b;
  color: #fffdf7;
}

.lead-hero__panel h2 {
  margin: 10px 0 20px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.saved {
  color: #17603d;
  font-weight: 800;
}

.notice {
  margin-top: 16px;
  font-weight: 750;
}

.footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 78px);
  border-top: 1px solid rgba(23, 32, 27, 0.13);
  color: #58665d;
}

.footer a {
  color: #17201b;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .layout,
  .metrics,
  .ops-grid,
  .kpi-grid,
  .deployment-grid,
  .readiness-grid,
  .article-grid,
  .program-grid,
    .product-grid,
    .lead-magnet-grid,
    .download-grid,
    .email-grid,
    .lead-hero,
    .path-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero__media {
    order: 2;
  }

  .control {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .topbar nav {
    flex-wrap: wrap;
  }

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