:root {
  --navy-950: #0b172a;
  --navy-900: #10213b;
  --navy-700: #1f3c66;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --green-600: #059669;
  --green-100: #d1fae5;
  --amber-100: #fef3c7;
  --amber-700: #a16207;
  --stone-950: #1c1917;
  --stone-700: #44403c;
  --stone-500: #78716c;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 22px 55px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-950);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

h1 {
  max-width: 900px;
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--navy-900);
  font-size: 1.05rem;
  line-height: 1.3;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 23, 42, 0.94), rgba(31, 60, 102, 0.82)),
    repeating-linear-gradient(90deg, rgba(147, 197, 253, 0.08) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(110, 231, 183, 0.07) 0 1px, transparent 1px 120px),
    #10213b;
  background-position: center;
  background-size: cover;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar a {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__content {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 9vh 0 6vh;
}

.eyebrow {
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #86efac;
}

.subtitle {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
}

.hero__copy {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  border: 1px solid rgba(134, 239, 172, 0.34);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.section--tint {
  width: 100%;
  padding: 58px max(20px, calc((100% - 1180px) / 2));
  background: #f8fafc;
}

.section--compact {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.section__header {
  max-width: 880px;
}

.section__header h2 {
  margin-top: 10px;
}

.section__header p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--stone-700);
  font-size: 1.08rem;
}

.message-grid,
.feature-grid,
.check-grid,
.value-grid,
.comparison-grid,
.summary-grid,
.validation-grid,
.principle-grid,
.pilot-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

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

.message-grid span {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy-900);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
}

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

.card,
.workflow-card,
.milestone,
.comparison-card {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card p {
  margin-top: 10px;
  color: var(--stone-700);
}

.card--accent {
  border-top: 4px solid var(--blue-600);
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.comparison-card {
  padding: 24px;
}

.comparison-card h3 {
  font-size: 1.2rem;
}

.comparison-card ul {
  margin-top: 16px;
  padding-left: 22px;
  color: var(--stone-700);
}

.comparison-card li {
  margin-top: 8px;
}

.comparison-card--before {
  border-color: var(--amber-100);
  background: #fffbeb;
}

.comparison-card--after {
  border-color: var(--green-100);
  background: #ecfdf5;
  box-shadow: var(--shadow-strong);
}

.workflow-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.workflow-card {
  padding: 24px;
}

.flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
}

.flow li {
  position: relative;
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 14px 16px;
  background: #eff6ff;
  color: var(--navy-900);
  font-weight: 800;
}

.flow li:not(:last-child)::after {
  content: "\2193";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  color: var(--blue-600);
  font-weight: 900;
}

.check-grid,
.value-grid,
.validation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-grid span,
.value-grid span,
.validation-grid span {
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
}

.check-grid span::before,
.value-grid span::before,
.validation-grid span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green-600);
}

.validation-grid span {
  background: #eff6ff;
  border-color: var(--blue-100);
}

.example-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.example-panel div {
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 24px;
  background: #eff6ff;
}

.example-panel strong,
.example-panel span {
  display: block;
}

.example-panel span {
  margin-top: 8px;
  color: var(--navy-700);
  font-size: 1.1rem;
  font-weight: 800;
}

.callout {
  margin-top: 20px;
  border-left: 5px solid var(--green-600);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--green-100);
  color: #064e3b;
  font-weight: 800;
}

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

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

.card ul,
.milestone ul {
  margin-top: 14px;
  padding-left: 20px;
  color: var(--stone-700);
}

.card li,
.milestone li {
  margin-top: 7px;
}

.card--warning {
  border-color: var(--amber-100);
  background: #fffbeb;
}

.card--warning h3 {
  color: var(--amber-700);
}

.card--success {
  border-color: var(--green-100);
  background: #ecfdf5;
}

.card--success h3 {
  color: #047857;
}

.roadmap-completed {
  margin-top: 28px;
}

.roadmap-groups {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.roadmap-group {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.roadmap-group--agent {
  border-color: var(--blue-100);
  background: #eff6ff;
}

.roadmap-group__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.roadmap-group__header p {
  color: var(--green-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-group__header h3 {
  color: var(--navy-700);
  font-size: 1rem;
}

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

.milestone {
  min-height: 220px;
  padding: 20px;
}

.milestone p {
  color: var(--green-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.milestone h3 {
  margin-top: 10px;
}

.milestone--done {
  border-color: var(--green-100);
  background: #ecfdf5;
}

.demo-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
  counter-reset: demo;
}

.demo-list li {
  counter-increment: demo;
  border: 1px solid var(--stone-200);
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy-900);
  font-weight: 800;
}

.demo-list li::before {
  content: counter(demo);
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.85rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .message-grid,
  .feature-grid,
  .check-grid,
  .value-grid,
  .validation-grid,
  .summary-grid,
  .principle-grid,
  .pilot-grid,
  .comparison-grid,
  .workflow-layout,
  .section--split,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 76vh;
    padding: 18px;
  }

  .topbar {
    justify-content: flex-start;
  }

  .topbar a {
    padding: 7px 11px;
    font-size: 0.82rem;
  }

  .section,
  .section--tint {
    width: 100%;
    padding: 44px 18px;
  }

  .section--compact {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .roadmap,
  .example-panel {
    grid-template-columns: 1fr;
  }

  .milestone {
    min-height: 0;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 6px;
  }
}
