:root {
  --ink: #111318;
  --muted: #5f6877;
  --subtle: #8791a1;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --soft-strong: #edf1f7;
  --night: #0d1117;
  --night-2: #171d26;
  --accent: #0f766e;
  --accent-2: #2f6df6;
  --gold: #c9822b;
  --shadow: 0 24px 80px rgba(17, 19, 24, 0.12);
  --shadow-soft: 0 12px 34px rgba(17, 19, 24, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 109, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 34%, #f7f9fc 100%);
  letter-spacing: 0;
}

body::selection {
  background: rgba(15, 118, 110, 0.18);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 233, 239, 0.7);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(17, 19, 24, 0.08);
}

.nav,
.section,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 164px;
  height: auto;
}

.footer-icon {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.06);
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 19, 24, 0.16);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 112px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 58px;
  align-items: center;
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 740px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.03;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy,
.section-heading p,
.reality-copy p,
.cta-copy p,
.founder-panel p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #263244);
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button-secondary:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 19, 24, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-shell {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0d1117, #1c2430);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}

.dashboard-topbar,
.dashboard-grid,
.queue-card {
  position: relative;
  z-index: 1;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 14px;
  color: #b8c2d2;
  font-size: 12px;
  font-weight: 700;
}

.window-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: #6d7684;
}

.dashboard-status {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

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

.metric-card,
.queue-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.metric-card {
  min-height: 152px;
  padding: 18px;
}

.metric-card.dark {
  color: #fff;
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.28), rgba(255, 255, 255, 0.08));
}

.metric-card.accent {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), #123b44);
}

.metric-card.wide {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.metric-label,
.result-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
}

.dark .metric-label,
.accent .metric-label,
.dark small,
.accent small {
  color: rgba(255, 255, 255, 0.7);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}

.metric-card small {
  color: var(--muted);
  font-weight: 700;
}

.bar-stack {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 94px;
  min-width: 150px;
}

.bar-stack span {
  display: block;
  width: 20px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent-2), #9ec1ff);
}

.queue-card {
  margin-top: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.queue-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #e8edf5;
  font-size: 14px;
}

.queue-row + .queue-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-type {
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.missed {
  color: #ffe4df;
  background: rgba(214, 68, 48, 0.22);
}

.delay {
  color: #fff0d9;
  background: rgba(201, 130, 43, 0.24);
}

.follow {
  color: #dcfff8;
  background: rgba(15, 118, 110, 0.26);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.calculator-form,
.lead-form {
  display: grid;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:hover {
  border-color: #d4d9e3;
  background: #fdfefe;
}

input:focus {
  border-color: rgba(47, 109, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.12);
}

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

.result-card {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.result-card strong {
  display: block;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.primary-result {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(47, 109, 246, 0.42), transparent 55%),
    linear-gradient(145deg, #10141b, #202b3a);
}

.primary-result span {
  color: rgba(255, 255, 255, 0.72);
}

.calc-note {
  grid-column: span 2;
  margin: 0;
  padding: 2px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.reality {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: 44px;
  align-items: start;
}

.reality-copy {
  position: sticky;
  top: 112px;
}

.leak-grid {
  display: grid;
  gap: 16px;
}

.leak-card,
.process-step,
.founder-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 44px rgba(17, 19, 24, 0.07);
}

.leak-card {
  padding: 28px;
}

.leak-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.leak-card p,
.process-step p,
.footer p,
.form-note {
  color: var(--muted);
  line-height: 1.6;
}

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

.process-step {
  padding: 24px;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 36px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.founder-panel {
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 48%),
    #fff;
}

.founder-panel h2 {
  max-width: 860px;
}

.founder-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.cta-copy {
  padding-top: 18px;
}

.lead-form {
  padding: 24px;
}

.lead-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.form-note.success {
  color: var(--accent);
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .calculator,
  .reality,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    gap: 42px;
  }

  .dashboard-shell {
    max-width: 680px;
  }

  .reality-copy {
    position: static;
  }

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

@media (max-width: 680px) {
  .nav,
  .section,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 64px;
  }

  .brand-logo {
    width: 140px;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy,
  .section-heading p,
  .reality-copy p,
  .cta-copy p,
  .founder-panel p {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .dashboard-grid,
  .calculator-results,
  .process-list {
    grid-template-columns: 1fr;
  }

  .metric-card.wide,
  .primary-result,
  .calc-note {
    grid-column: auto;
  }

  .metric-card.wide {
    align-items: start;
    flex-direction: column;
  }

  .queue-row {
    grid-template-columns: 76px 1fr;
  }

  .queue-row strong {
    grid-column: 2;
  }

  .calculator,
  .founder-panel,
  .lead-form {
    padding: 18px;
  }

  .result-card {
    min-height: 138px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
