:root {
  color-scheme: light;
  --ink: #162126;
  --muted: #5d6a70;
  --paper: #f7f8f5;
  --white: #ffffff;
  --charcoal: #111a1f;
  --steel: #2f6f8f;
  --steel-dark: #1e536d;
  --gold: #c89435;
  --line: rgba(22, 33, 38, 0.12);
  --shadow: 0 24px 80px rgba(17, 26, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 26, 31, 0.78), rgba(17, 26, 31, 0.08));
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--charcoal);
  background: var(--gold);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.nav-links {
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a,
.header-login {
  opacity: 0.9;
}

.nav-links a:hover,
.header-login:hover {
  opacity: 1;
}

.header-login {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 780px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px clamp(20px, 6vw, 90px) 58px;
  color: var(--white);
  background: #10191f;
}

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

.hero-shade {
  background:
    radial-gradient(circle at 72% 32%, rgba(47, 111, 143, 0.45), transparent 28%),
    linear-gradient(90deg, rgba(17, 26, 31, 0.94), rgba(17, 26, 31, 0.72) 48%, rgba(17, 26, 31, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #f1bd56;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--steel-dark);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 7.4rem);
  line-height: 0.9;
  font-weight: 800;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.1rem, 4.4vw, 4.3rem);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--charcoal);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--steel-dark);
  border-color: rgba(47, 111, 143, 0.34);
  background: var(--white);
}

.dark-button {
  color: var(--white) !important;
  background: var(--steel-dark) !important;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.summary-band,
.features-band,
.proof-band,
.cta-band {
  padding: clamp(70px, 9vw, 120px) 0;
}

.summary-band {
  background: var(--white);
}

.features-band {
  background: #edf2f1;
}

.proof-band {
  background: var(--paper);
}

.cta-band {
  background: var(--white);
}

.dashboard-layout,
.proof-layout,
.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.section-copy p,
.cta-layout p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: 8px;
  background: #fafdff;
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #17242b;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 18px;
}

.preview-panel {
  min-height: 146px;
  padding: 18px;
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.preview-panel.wide {
  grid-row: span 2;
}

.panel-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.queue-row strong {
  color: var(--steel-dark);
  font-size: 0.82rem;
}

.queue-row.active {
  color: var(--white);
  margin: 0 -10px;
  padding: 12px 10px;
  border-top: 0;
  border-radius: 8px;
  background: var(--steel-dark);
}

.queue-row.active strong {
  color: #cbe7f3;
}

.queue-row.response {
  background: #eaf6fb;
  margin: 0 -10px;
  padding: 12px 10px;
  border-radius: 8px;
}

.metric {
  color: var(--steel-dark);
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 800;
}

.metric.warning {
  color: #b1612d;
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(22, 33, 38, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

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

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 33, 38, 0.08);
  font-weight: 700;
}

.cta-layout {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.contact-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 60px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .dashboard-layout,
  .proof-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-login {
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 640px;
    padding: 104px 20px 56px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.4rem);
  }

  .button {
    width: 100%;
  }

  .preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .preview-panel.wide {
    grid-row: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
