:root {
  --bg: #f5f6fb;
  --bg-2: #edf0fb;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-strong: #ffffff;
  --text: #121728;
  --muted: #5b6277;
  --line: rgba(20, 34, 72, 0.14);
  --brand: #3156ff;
  --brand-2: #18a886;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 22px 48px rgba(15, 24, 48, 0.12);
  --shadow-md: 0 10px 24px rgba(15, 24, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.56;
  overflow-x: hidden;
}

.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(49, 86, 255, 0.18), transparent 35%),
    radial-gradient(circle at 90% 14%, rgba(24, 168, 134, 0.16), transparent 36%),
    radial-gradient(circle at 56% 80%, rgba(130, 153, 255, 0.12), transparent 38%);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1,
h2 {
  font-family: "Newsreader", "Iowan Old Style", serif;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  margin-bottom: 0.5rem;
}

p,
ul {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(245, 246, 251, 0.82);
  border-bottom: 1px solid rgba(28, 40, 80, 0.12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.22rem;
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: 170ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), #5d79ff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  padding: 0.58rem 1.18rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(38, 66, 176, 0.3);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border-color: rgba(28, 40, 80, 0.16);
}

.button-quiet:hover {
  box-shadow: 0 10px 20px rgba(15, 24, 48, 0.12);
}

.hero {
  padding-top: 5.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1.2rem;
  align-items: start;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #5b6fbb;
  margin-bottom: 0.9rem;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.lead {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.75vw, 1.22rem);
  color: #2a334a;
}

.hero-actions {
  margin: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.fine-print {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 0.8rem;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.hero-visual figcaption {
  margin-top: 0.62rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-metrics {
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.hero-metrics li {
  padding: 0.88rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-metrics strong {
  display: block;
  font-size: 1.03rem;
  margin-bottom: 0.2rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.flow-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.flow-card p {
  color: #313c57;
  margin-bottom: 0;
}

.step {
  margin-bottom: 0.45rem;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  color: #5f76c4;
  font-size: 0.82rem;
}

.scenarios {
  background: linear-gradient(180deg, rgba(17, 24, 50, 0.97), rgba(14, 20, 42, 0.97));
  color: #eef2ff;
}

.scenarios .section-kicker {
  color: #92a7e6;
}

.scenarios .section-kicker::before {
  background: linear-gradient(90deg, #7ca3ff, #70d8c0);
}

.scenario-grid {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.scenario-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(126, 146, 218, 0.35);
  background: rgba(16, 24, 50, 0.86);
}

.scenario-card img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  background: rgba(7, 13, 33, 0.25);
  border-bottom: 1px solid rgba(126, 146, 218, 0.35);
}

.scenario-body {
  padding: 1rem;
}

.scenario-body h3 {
  color: #f3f6ff;
}

.scenario-body p {
  margin-bottom: 0;
}

.scenario-pair {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.62rem;
}

.scenario-item {
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(126, 146, 218, 0.32);
  background: rgba(7, 13, 33, 0.72);
  padding: 0.64rem 0.72rem;
  color: #dbe4ff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.scenario-label {
  display: block;
  width: fit-content;
  margin-bottom: 0.34rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a8b9e8;
  font-weight: 600;
}

.why-wrap {
  max-width: 1060px;
}

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

.pillars article {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
}

.pillars p {
  margin: 0;
  color: #31405c;
}

.cta {
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(87, 117, 255, 0.15), rgba(41, 184, 151, 0.12)),
    var(--surface-strong);
  box-shadow: var(--shadow-lg);
  text-align: center;
  padding: 2.25rem;
}

.cta p {
  max-width: 62ch;
  margin: 0.6rem auto 0;
  color: #33415c;
}

.site-footer {
  padding: 2rem 0 2.6rem;
}

.footer-inner {
  border-top: 1px solid rgba(20, 34, 72, 0.14);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  color: #5a647d;
}

.coming-soon-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(92vw, 460px);
}

.coming-soon-dialog::backdrop {
  background: rgba(7, 14, 32, 0.5);
  backdrop-filter: blur(3px);
}

.coming-soon-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 24px 60px rgba(9, 18, 38, 0.26);
  padding: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.coming-soon-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5f75c4;
}

.coming-soon-card h2 {
  margin: 0;
}

.coming-soon-card p {
  margin: 0;
  color: #35425f;
}

.coming-soon-card .button {
  width: fit-content;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero-grid,
  .flow-grid,
  .scenario-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    max-width: 760px;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 3.8rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-quiet {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 1.5rem 1rem;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
