:root {
  --ink: #0d1b2a;
  --muted: #657386;
  --line: #dde6ef;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #2563eb;
  --green: #00c2a8;
  --cyan: #22d3ee;
  --gold: #b7791f;
  --shadow: 0 24px 70px rgba(13, 27, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 230, 239, 0.76);
  background: rgba(247, 250, 252, 0.82);
  backdrop-filter: blur(20px);
}

.brand,
.site-nav nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav nav a:hover {
  color: var(--blue);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  padding: 118px clamp(22px, 5vw, 72px) 78px;
  overflow: hidden;
  background:
    linear-gradient(rgba(13, 27, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 42, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.11), transparent 30%),
    radial-gradient(circle at 92% 28%, rgba(0, 194, 168, 0.12), transparent 30%),
    #fbfcfe;
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 950px;
  font-size: clamp(34px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.46;
  font-weight: 650;
}

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

.hero-actions a,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
}

.primary,
.waitlist-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.command-panel {
  border: 1px solid rgba(221, 230, 239, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  padding: clamp(22px, 3vw, 34px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

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

.panel-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.panel-top strong {
  margin-top: 5px;
  font-size: 20px;
}

.panel-top b {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.12);
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.command-box {
  padding: 22px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.24;
  font-weight: 850;
}

.agent-feed {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.agent-feed div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  animation: agentGlow 2.6s ease-in-out infinite;
}

.agent-feed div:nth-child(2) { animation-delay: 0.3s; }
.agent-feed div:nth-child(3) { animation-delay: 0.6s; }
.agent-feed div:nth-child(4) { animation-delay: 0.9s; }
.agent-feed div:nth-child(5) { animation-delay: 1.2s; }

.agent-feed i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.positioning {
  padding: 0 clamp(22px, 5vw, 72px) 92px;
}

.positioning div {
  display: grid;
  grid-template-columns: 0.35fr 0.75fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.positioning span {
  color: #8ee3c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.positioning strong {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.05;
}

.positioning p {
  margin-bottom: 0;
  color: #b9c4d4;
  font-size: 18px;
  line-height: 1.45;
}

.section {
  padding: 96px clamp(22px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.problem-grid,
.workflow-grid,
.agent-grid,
.model-grid,
.rail-card,
.trust-list {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(5, 1fr);
}

.problem-grid article,
.workflow-grid article,
.agent-grid article,
.rail-card div,
.trust-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(13, 27, 42, 0.055);
}

.problem-grid article {
  min-height: 210px;
  padding: 22px;
}

.problem-grid strong,
.workflow-grid strong,
.agent-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.12;
}

.problem-grid p,
.workflow-grid p,
.agent-grid p,
.settlement-copy p,
.rwa-panel p,
.trust-statement p,
.waitlist-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
}

.solution {
  background: #fff;
}

.solution-card {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: clamp(30px, 6vw, 76px);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 194, 168, 0.14), transparent 28%),
    linear-gradient(135deg, #f7fbff, #ffffff);
  border: 1px solid var(--line);
}

.solution-card p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 650;
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-grid article {
  min-height: 190px;
  padding: 24px;
}

.workflow-grid article:first-child,
.workflow-grid article:last-child {
  background: var(--ink);
}

.workflow-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.workflow-grid article:first-child span,
.workflow-grid article:last-child span,
.workflow-grid article:first-child strong,
.workflow-grid article:last-child strong {
  color: #fff;
}

.workflow-grid article:first-child p,
.workflow-grid article:last-child p {
  color: #b9c4d4;
}

.agents {
  background: #fff;
}

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

.agent-grid article {
  min-height: 210px;
  padding: 20px;
}

.agent-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 9px;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 900;
}

.settlement {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 44px;
  align-items: center;
}

.settlement-copy p {
  max-width: 620px;
  margin-top: 24px;
  font-size: 20px;
}

.rail-card {
  grid-template-columns: repeat(2, 1fr);
}

.rail-card div {
  min-height: 108px;
  padding: 22px;
}

.rail-card strong,
.rail-card span {
  display: block;
}

.rail-card strong {
  margin-bottom: 10px;
  font-size: 26px;
}

.rail-card span {
  color: var(--muted);
  font-weight: 650;
}

.rwa {
  padding-top: 0;
}

.rwa-panel {
  padding: clamp(34px, 6vw, 78px);
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.rwa-panel h2 {
  max-width: 980px;
}

.rwa-panel p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 24px;
  color: #b9c4d4;
  font-size: 22px;
}

.trust {
  background: #fff;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 26px;
}

.trust-statement {
  padding: 34px;
  border-radius: 12px;
  background: #eff8f6;
  border: 1px solid #bcebdc;
}

.trust-statement strong {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

.trust-list {
  grid-template-columns: repeat(2, 1fr);
}

.trust-list span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}

.waitlist {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 46px;
  align-items: start;
}

.waitlist-copy {
  position: sticky;
  top: 110px;
}

.waitlist-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 22px;
  font-size: 20px;
}

.waitlist-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.waitlist-form label {
  display: grid;
  gap: 8px;
}

.waitlist-form label:nth-child(5),
.waitlist-form button {
  grid-column: 1 / -1;
}

.waitlist-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.waitlist-form button {
  cursor: pointer;
}

.vision {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 108px 22px 120px;
  background: var(--ink);
  color: #fff;
}

.vision img {
  width: 76px;
  height: 76px;
  margin-bottom: 36px;
}

.vision p {
  max-width: 860px;
  color: #b9c4d4;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 850;
}

.vision h2 {
  max-width: 980px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(22px, 5vw, 72px);
  background: #07111d;
  color: #b9c4d4;
  font-size: 14px;
  font-weight: 650;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: #fff;
}

.footer nav {
  display: inline-flex;
  gap: 18px;
}

@keyframes agentGlow {
  0%, 100% {
    border-color: var(--line);
    transform: translateY(0);
  }

  50% {
    border-color: rgba(0, 194, 168, 0.45);
    transform: translateY(-2px);
  }
}

@media (max-width: 1180px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .agent-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .site-nav nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .settlement,
  .trust-layout,
  .waitlist,
  .positioning div {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .workflow-grid,
  .problem-grid,
  .agent-grid,
  .rail-card,
  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .waitlist-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 18px;
  }

  .brand span {
    font-size: 16px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .section {
    padding: 72px 18px;
  }

  .hero {
    padding: 110px 18px 58px;
  }

  .workflow-grid,
  .problem-grid,
  .agent-grid,
  .rail-card,
  .trust-list,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form label:nth-child(5),
  .waitlist-form button {
    grid-column: auto;
  }

  .positioning,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer {
    display: grid;
  }

  .footer nav {
    flex-wrap: wrap;
  }
}
