:root {
  color-scheme: dark;
  --bg: #07080b;
  --panel: #11141a;
  --panel-strong: #171b22;
  --ink: #f7f4ec;
  --muted: #b6b0a3;
  --soft: #7e8490;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f2bd4e;
  --gold-deep: #8a5d18;
  --blue: #4ea1ff;
  --green: #37d66b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(242, 189, 78, 0.08) 0%, transparent 28%),
    linear-gradient(225deg, rgba(78, 161, 255, 0.07) 0%, transparent 30%),
    linear-gradient(180deg, #0d0e12 0%, var(--bg) 44%, #090a0c 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #0b0d12;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  gap: 0.7rem;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }

.nav-links {
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
}

.nav-links a {
  min-width: 88px;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

main {
  overflow: clip;
}

.workflow-section,
.features-section,
.reports-section,
.cta-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  width: min(1500px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(620px, 1.35fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: calc(100svh - 78px);
  padding: clamp(1rem, 3vw, 2.6rem) 0 3.5rem;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.4rem;
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.5vw, 5.15rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.lede,
.section-heading p,
.reports-copy p,
.cta-section p,
.feature-card p,
.workflow-list p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

.hero-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  width: min(760px, 100%);
  margin: clamp(1.7rem, 3vw, 2.8rem) auto 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(300px, 100%);
  min-height: 62px;
  padding: 0 1.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(242, 189, 78, 0.52);
  background: linear-gradient(135deg, #ffe08a, #d49127);
  color: #171009;
}

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

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1060px, 100%);
  margin-inline: auto;
  margin-bottom: 0;
}

.hero-stats div {
  min-width: 0;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.hero-stats dt {
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--soft);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.45;
}

.hero-product {
  position: relative;
  min-width: 0;
  justify-self: end;
  width: min(920px, 100%);
  padding-top: clamp(1.8rem, 4vw, 4.2rem);
}

.interface-frame {
  margin: 0;
  padding: 10px;
  aspect-ratio: 2876 / 1820;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.interface-frame img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.workflow-section,
.features-section,
.reports-section,
.cta-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 710px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.workflow-list li,
.feature-card,
.report-panel,
.cta-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.workflow-list li {
  min-height: 250px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.step-number,
.feature-kicker {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.feature-card {
  min-height: 270px;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card.standout {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(242, 189, 78, 0.2), rgba(78, 161, 255, 0.08)),
    var(--panel-strong);
}

.reports-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.report-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-row span {
  color: var(--muted);
}

.report-row strong {
  color: var(--ink);
  text-align: right;
}

.cta-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cta-section img {
  width: 88px;
  border-radius: 22px;
}

.cta-section h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--soft);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .reports-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 2rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-product {
    margin-top: 1.5rem;
  }

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

  .feature-card.standout {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    padding-top: 10px;
  }

  .brand,
  .nav-links {
    width: 100%;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    justify-content: space-between;
  }

  .nav-links a {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .hero-stats,
  .workflow-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.standout {
    grid-column: auto;
  }

  .report-row {
    display: block;
  }

  .report-row strong {
    display: block;
    margin-top: 0.3rem;
    text-align: left;
  }

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