:root {
  --ink: #071023;
  --muted: #536173;
  --line: #d9dee8;
  --surface: #f8fafc;
  --white: #ffffff;
  --purple: #5900ff;
  --teal: #0f8b8d;
  --green: #10a66d;
  --amber: #d97706;
  --soft-purple: #f2edff;
  --soft-teal: #e8f7f6;
  --soft-green: #eaf8f0;
  --soft-amber: #fff4e5;
  --shadow: 0 18px 50px rgba(7, 16, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Source Sans Pro", Arial, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 48px;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 56px 64px 36px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.lede {
  max-width: 590px;
  color: var(--muted);
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
}

.hero-visual {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 64px 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal-strip div {
  padding: 24px;
  background: var(--white);
}

.signal-strip span,
.cost-readout span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  font-size: 19px;
}

.section {
  padding: 72px 64px;
  border-top: 1px solid var(--line);
}

.two-col,
.split,
.questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 48px;
  align-items: start;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 19px;
}

.quote-panel,
.calculator,
.people-grid article,
.guard-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote-panel {
  padding: 30px;
  border-top: 8px solid var(--teal);
}

.quote-panel span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-panel p {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

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

.people-grid article {
  min-height: 220px;
  padding: 26px;
}

.accent {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 26px;
}

.purple {
  background: var(--purple);
}

.teal {
  background: var(--teal);
}

.green {
  background: var(--green);
}

.teal-text {
  color: var(--teal);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tab-panel {
  min-height: 300px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--purple);
  box-shadow: var(--shadow);
}

.tab-panel ul {
  padding-left: 22px;
}

.calculator {
  padding: 28px;
  border-top: 8px solid var(--green);
}

.calculator label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0;
  color: var(--ink);
  font-weight: 800;
}

.calculator input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--purple);
}

.calculator output {
  color: var(--purple);
}

.cost-readout {
  margin: 26px 0 16px;
  padding: 22px;
  background: var(--ink);
  color: var(--white);
}

.cost-readout strong {
  display: block;
  font-size: 36px;
}

.flow-section {
  background: var(--white);
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.flow div {
  min-height: 160px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 8px solid var(--purple);
}

.flow div:nth-child(2),
.flow div:nth-child(4) {
  border-top-color: var(--teal);
}

.flow div:nth-child(5) {
  border-top-color: var(--amber);
}

.flow strong {
  display: block;
  margin-bottom: 24px;
  color: var(--purple);
  font-size: 34px;
}

.flow span {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.flow small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.questions {
  align-items: stretch;
}

.questions > div {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.questions ol {
  padding-left: 24px;
}

.questions li + li {
  margin-top: 14px;
}

.guardrails {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 48px;
  align-items: start;
}

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

.guard-grid article {
  padding: 24px;
  border-top: 8px solid var(--teal);
}

.guard-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.guard-grid article:nth-child(4) {
  border-top-color: var(--amber);
}

.source-band {
  background: var(--ink);
  color: var(--white);
}

.source-band h2,
.source-band li,
.source-band p {
  color: var(--white);
}

.source-band ul {
  max-width: 980px;
  padding-left: 24px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    padding: 0 22px;
  }

  nav {
    display: none;
  }

  .hero,
  .two-col,
  .split,
  .questions,
  .guardrails {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 22px 30px;
  }

  .signal-strip,
  .people-grid,
  .guard-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin: 0 22px 32px;
  }

  .section {
    padding: 52px 22px;
  }
}
