:root {
  color-scheme: dark;
  --page: #090c0b;
  --page-2: #0d1210;
  --panel: #121915;
  --panel-2: #17211d;
  --panel-3: #202820;
  --line: #314039;
  --line-soft: rgba(201, 222, 202, 0.16);
  --text: #f5f8ef;
  --muted: #aab5a7;
  --muted-2: #7f8d80;
  --lime: #9cf06d;
  --cyan: #55dac8;
  --coral: #ff756d;
  --amber: #f3c85d;
  --blue: #83a8ff;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

body.landing-page a {
  color: inherit;
  text-decoration: none;
}

body.landing-page button,
body.landing-page input,
body.landing-page textarea {
  font: inherit;
}

.landing-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 12, 11, 0.82);
  backdrop-filter: blur(18px);
}

.brand-link,
.landing-nav-links,
.hero-actions,
.hero-proof,
.analysis-toolbar,
.landing-footer {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--lime);
  color: #071006;
  font-weight: 950;
}

.landing-nav-links {
  justify-content: center;
  gap: 8px;
}

.landing-nav-links a,
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
}

.landing-nav-links a:hover,
.nav-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  color: #071006;
  background: var(--lime);
  border: 1px solid rgba(7, 16, 6, 0.12);
  box-shadow: inset 0 -1px 0 rgba(7, 16, 6, 0.22), 0 10px 26px rgba(156, 240, 109, 0.18);
  font-weight: 900;
  text-shadow: none;
}

.nav-cta:hover {
  color: #071006;
  background: #b7ff8a;
}

.hero-section {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px 32px 54px;
  border-bottom: 1px solid var(--line-soft);
  background: #070a09;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background: rgba(4, 7, 6, 0.42);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-left: max(0px, calc((100% - 1180px) / 2));
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content h1 {
  max-width: 820px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #d4ddd0;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
}

.primary-link {
  background: var(--lime);
  color: #071006;
  border: 1px solid var(--lime);
  box-shadow: inset 0 -1px 0 rgba(7, 16, 6, 0.22), 0 14px 34px rgba(156, 240, 109, 0.16);
  text-shadow: none;
}

.primary-link:hover {
  background: #b7ff8a;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(18, 25, 21, 0.78);
}

.secondary-link:hover {
  border-color: var(--cyan);
}

.inline-cta,
.plan-cta {
  min-height: 42px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: #071006;
  background: var(--lime);
  border: 1px solid var(--lime);
  font-weight: 900;
  text-shadow: none;
}

.inline-cta {
  margin-top: 8px;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(8, 12, 10, 0.66);
  color: var(--muted);
}

.hero-proof strong {
  color: var(--text);
}

.hero-dashboard {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 76px;
  width: 390px;
  border: 1px solid rgba(201, 222, 202, 0.22);
  border-radius: 8px;
  background: rgba(13, 18, 16, 0.72);
  box-shadow: 0 24px 90px var(--shadow);
  backdrop-filter: blur(18px);
  padding: 16px;
}

.hero-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}

.hero-dashboard-top strong {
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.hero-metrics span {
  display: grid;
  gap: 2px;
  min-height: 76px;
  align-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics strong {
  color: var(--text);
  font-size: 24px;
}

.hero-bars {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.hero-bars span {
  position: relative;
  min-height: 34px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

.hero-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

.hero-bars b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-left: 12px;
  color: #071006;
  font-size: 12px;
}

.section-band {
  padding: 86px 32px;
  border-bottom: 1px solid var(--line-soft);
}

.proof-band,
.install-section,
.faq-section {
  background: var(--page-2);
}

.proof-band {
  padding-top: 34px;
}

.product-section,
.pricing-section {
  background: #0b0f0d;
}

.proof-grid,
.feature-grid,
.pricing-grid,
.step-list,
.analysis-section,
.beta-section,
.trust-section,
.faq-list,
.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.proof-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--page-2);
}

.proof-grid span,
.feature-index,
.plan-name {
  color: var(--muted-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.proof-grid h2,
.feature-card h3,
.step-list h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.proof-grid p,
.feature-card p,
.step-list p,
.section-heading p,
.analysis-copy p,
.warning-panel p,
.faq-list p,
.price-card p,
.beta-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.section-heading h2,
.analysis-copy h2,
.beta-section h2,
.warning-panel h2 {
  max-width: 830px;
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
}

.section-heading p {
  max-width: 760px;
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.price-card,
.step-list li,
.warning-panel,
.analysis-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
}

.feature-card:nth-child(2) {
  background: #151c1f;
}

.feature-card:nth-child(3) {
  background: #181b22;
}

.feature-card:nth-child(4) {
  background: #1d1a16;
}

.analysis-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(520px, 1.34fr);
  gap: 28px;
  align-items: start;
  background: #080b0c;
}

.analysis-copy {
  display: grid;
  gap: 18px;
}

.analysis-copy h2 {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #dce5d8;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.analysis-visual {
  min-height: 640px;
  overflow: hidden;
  background: #0b100d;
  padding: 14px;
}

.analysis-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.analysis-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.analysis-controls label span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--text);
  background: #101610;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.analysis-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 8px;
  margin-bottom: 10px;
}

.analysis-summary-grid article {
  display: grid;
  align-content: start;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.analysis-summary-grid span,
.analysis-summary-grid small {
  color: var(--muted);
}

.analysis-summary-grid strong {
  margin-top: 4px;
  font-size: 15px;
}

.analysis-summary-grid b {
  margin-top: 5px;
  color: var(--lime);
  font-size: 30px;
  line-height: 1;
}

.analysis-summary-grid .compare-time {
  color: var(--cyan);
}

.analysis-summary-grid .delta-time {
  color: var(--coral);
  font-size: 26px;
}

.analysis-summary-grid small {
  margin-top: 7px;
}

.preview-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101610;
  overflow: hidden;
}

.preview-panel + .preview-panel {
  margin-top: 10px;
}

.preview-panel-header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.preview-panel-header h3 {
  margin: 0;
  font-size: 14px;
}

.preview-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.preview-legend span,
.preview-zoom {
  color: var(--muted);
}

.preview-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.preview-legend .legend-compare::before {
  background: var(--cyan);
}

.preview-legend .legend-losing::before {
  background: var(--coral);
}

.preview-legend .legend-neutral::before {
  background: var(--amber);
}

.preview-legend .legend-gaining::before {
  background: var(--lime);
}

.map-preview canvas,
.chart-preview canvas {
  display: block;
  width: 100%;
}

.map-preview canvas {
  height: 260px;
}

.chart-preview canvas {
  height: 160px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 230px;
  padding: 24px;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #071006;
  background: var(--amber);
  font-weight: 950;
}

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

.price-card {
  min-height: 250px;
  padding: 26px;
}

.price-card strong {
  display: block;
  margin: 20px 0 12px;
  font-size: 42px;
  line-height: 1;
}

.price-card .plan-cta {
  margin-top: 22px;
}

.featured-plan {
  background: #1c2a22;
  border-color: #55744e;
}

.featured-plan .plan-name {
  color: var(--lime);
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #101511;
}

.beta-section div {
  display: grid;
  gap: 14px;
}

.beta-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.beta-link {
  min-width: 250px;
}

.email-fallback {
  color: var(--muted);
  font-weight: 800;
}

.email-fallback:hover {
  color: var(--text);
}

.trust-section {
  background: #080b0c;
}

.warning-panel {
  width: min(980px, 100%);
  padding: 30px;
  background: #181512;
  border-color: rgba(243, 200, 93, 0.36);
}

.warning-panel p + p {
  margin-top: 14px;
}

.warning-panel .section-kicker {
  color: var(--amber);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  padding: 0 18px 18px;
}

.landing-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  color: var(--muted-2);
  background: #070a09;
}

@media (max-width: 1120px) {
  .hero-dashboard {
    display: none;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analysis-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .landing-nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-section {
    min-height: 86vh;
    padding: 104px 20px 52px;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-band {
    padding: 68px 20px;
  }

  .proof-grid,
  .feature-grid,
  .pricing-grid,
  .step-list,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .analysis-copy h2,
  .beta-section h2,
  .warning-panel h2 {
    font-size: 34px;
  }

  .analysis-visual {
    min-height: 0;
  }

  .analysis-controls,
  .analysis-summary-grid {
    grid-template-columns: 1fr;
  }

  .map-preview canvas {
    height: 230px;
  }

  .chart-preview canvas {
    height: 150px;
  }

  .beta-actions,
  .beta-link {
    width: 100%;
  }

  .beta-actions {
    justify-items: stretch;
  }

  .email-fallback {
    text-align: center;
  }

  .landing-footer {
    display: grid;
    justify-content: start;
  }
}

@media (max-width: 520px) {
  .brand-link span:last-child {
    display: none;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-copy,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link,
  .inline-cta,
  .plan-cta {
    width: 100%;
  }

  .proof-grid article,
  .feature-card,
  .price-card,
  .step-list li,
  .warning-panel {
    padding: 22px;
  }
}

body.landing-page .nav-cta,
body.landing-page .primary-link,
body.landing-page .inline-cta,
body.landing-page .plan-cta {
  color: #071006 !important;
}
