:root {
  --ink: #211733;
  --ink-soft: #544a68;
  --paper: #f5f2ff;
  --paper-2: #ebe7fb;
  --white: #fffdfc;
  --violet: #4d31ff;
  --violet-dark: #331fbf;
  --coral: #ff6c68;
  --mint: #a9f4dc;
  --yellow: #f7f064;
  --line: rgba(33, 23, 51, 0.18);
  --shadow: 0 22px 70px rgba(55, 35, 128, 0.14);
  --display: "Trebuchet MS", "Arial Black", Arial, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 8%, rgba(169, 244, 220, 0.48), transparent 23rem),
    linear-gradient(180deg, var(--paper) 0%, #faf8ff 58%, var(--paper-2) 100%);
  font-family: var(--body);
  line-height: 1.55;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 255, 0.93);
}

.nav-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50% 50% 12% 50%;
  font-size: 20px;
  transform: rotate(-5deg);
}

.brand-mark span { transform: rotate(5deg); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover { color: var(--violet); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.button.primary { color: var(--white); background: var(--violet); border-color: var(--violet); }
.button.coral { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.button.small { min-height: 44px; padding: 0 19px; font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--violet-dark);
  font-family: var(--utility);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 99px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 6px, transparent 6px 9px);
}

.hero { padding: clamp(72px, 11vw, 148px) 0 92px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
}

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

h1, h2, h3 {
  font-family: var(--display);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 { margin-bottom: 28px; font-size: clamp(58px, 8vw, 112px); font-weight: 900; }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 72px); font-weight: 900; }
h3 { margin-bottom: 12px; font-size: clamp(24px, 2.4vw, 35px); font-weight: 900; }

.hero-copy > p,
.section-lead {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
}

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

.microcopy {
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 12px;
}

.relay {
  position: relative;
  min-height: 600px;
  padding: 42px 34px;
  border: 2px solid var(--ink);
  border-radius: 40px 8px 40px 40px;
  background: var(--white);
  box-shadow: 18px 20px 0 var(--coral), var(--shadow);
}

.relay::before {
  content: "";
  position: absolute;
  inset: 80px auto 80px 82px;
  width: 6px;
  border-radius: 99px;
  background: linear-gradient(var(--mint), var(--violet), var(--coral));
}

.relay-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.relay-stage {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  border-top: 1px solid var(--line);
}

.relay-stage:last-child { border-bottom: 1px solid var(--line); }
.relay-stage::before {
  content: "";
  position: absolute;
  left: 45px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px var(--violet);
}

.relay-stage small { font-family: var(--utility); font-weight: 800; }
.relay-stage strong { font-family: var(--display); font-size: 28px; letter-spacing: -0.05em; }
.relay-stage span { color: var(--ink-soft); font-size: 14px; text-align: right; }

.proof-strip { border-block: 2px solid var(--ink); background: var(--yellow); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { min-height: 118px; padding: 28px; border-right: 1px solid rgba(33, 23, 51, 0.35); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-family: var(--display); font-size: 30px; letter-spacing: -0.05em; }
.proof-item span { color: var(--ink-soft); font-size: 14px; }

.section { padding: clamp(76px, 10vw, 132px) 0; }
.section.tint { background: rgba(255, 255, 255, 0.48); border-block: 1px solid var(--line); }
.section.dark { color: var(--white); background: var(--ink); }
.section.dark .section-lead, .section.dark p { color: #cbc2da; }

.section-heading { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .section-lead { margin-bottom: 6px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  min-height: 260px;
  padding: 30px;
  border: 2px solid var(--ink);
  border-radius: 8px 28px 28px 28px;
  background: var(--white);
}
.card:nth-child(2n) { background: var(--mint); }
.card .number { display: block; margin-bottom: 48px; font-family: var(--utility); font-size: 13px; font-weight: 800; }
.card p { color: var(--ink-soft); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--white); }
.process-step { position: relative; min-height: 250px; padding: 30px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step b { display: block; margin-bottom: 56px; color: var(--violet); font-family: var(--utility); }
.process-step p { color: var(--ink-soft); }

.quote-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  padding: clamp(38px, 6vw, 72px);
  border: 2px solid var(--ink);
  border-radius: 44px 10px 44px 44px;
  background: var(--coral);
  box-shadow: 14px 14px 0 var(--ink);
}
.quote-panel h2 { max-width: 760px; margin-bottom: 0; }

.subhero { padding: clamp(70px, 10vw, 126px) 0 76px; }
.subhero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr); gap: 70px; align-items: end; }
.subhero h1 { max-width: 880px; font-size: clamp(56px, 7vw, 96px); }

.signal-card {
  padding: 32px;
  border: 2px solid var(--ink);
  border-radius: 28px 8px 28px 28px;
  background: var(--mint);
  box-shadow: 12px 12px 0 var(--violet);
}
.signal-card .label { font-family: var(--utility); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.signal-card strong { display: block; margin: 28px 0 10px; font-family: var(--display); font-size: 42px; line-height: 0.96; letter-spacing: -0.06em; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: var(--white); }
.feature-item { min-height: 220px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item:nth-child(2n) { border-right: 0; }
.feature-item:nth-last-child(-n + 2) { border-bottom: 0; }
.feature-item code { display: block; margin-bottom: 30px; color: var(--violet); font-family: var(--utility); }
.feature-item p { color: var(--ink-soft); }

.table-map { width: 100%; border-collapse: collapse; border: 2px solid var(--ink); background: var(--white); }
.table-map th, .table-map td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.table-map th { color: var(--violet); font-family: var(--utility); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; }
.table-map tr:last-child td { border-bottom: 0; }

.timeline { border-left: 4px solid var(--violet); margin-left: 12px; }
.timeline-row { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding: 0 0 54px 38px; }
.timeline-row:last-child { padding-bottom: 0; }
.timeline-row::before { content: ""; position: absolute; left: -12px; top: 4px; width: 16px; height: 16px; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--ink); }
.timeline-row .phase { color: var(--violet); font-family: var(--utility); font-weight: 800; }
.timeline-row p { color: var(--ink-soft); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { display: flex; min-height: 430px; flex-direction: column; padding: 32px; border: 2px solid var(--ink); border-radius: 30px 8px 30px 30px; background: var(--white); }
.price-card.featured { color: var(--white); background: var(--violet); box-shadow: 12px 12px 0 var(--coral); }
.price-card .kicker { font-family: var(--utility); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.price-card h3 { margin-top: 48px; }
.price-card ul { padding-left: 20px; color: var(--ink-soft); }
.price-card.featured ul { color: #e1dcff; }
.price-card .button { margin-top: auto; }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.faq article { padding: 30px 34px 30px 0; border-bottom: 1px solid var(--line); }
.faq article:nth-child(2n) { padding-left: 34px; border-left: 1px solid var(--line); }
.faq p { color: var(--ink-soft); }

.site-footer { padding: 70px 0 38px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 0.6fr); gap: 40px; }
.footer-grid h2 { max-width: 520px; font-size: clamp(36px, 5vw, 64px); }
.footer-col strong { display: block; margin-bottom: 18px; font-family: var(--utility); color: var(--mint); font-size: 12px; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: 10px; color: #d9d0ea; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: #a99fba; font-family: var(--utility); font-size: 11px; }

@media (max-width: 920px) {
  .nav-row { grid-template-columns: auto auto; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: 18px; overflow-x: auto; }
  .nav-row > .button { justify-self: end; }
  .hero-grid, .subhero-grid, .section-heading { grid-template-columns: 1fr; }
  .relay { min-height: 520px; }
  .proof-row, .process-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(33, 23, 51, 0.35); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .card-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1200px); }
  .nav-row { gap: 12px; }
  .brand > span:last-child { display: none; }
  .nav-row > .button { min-height: 42px; padding: 0 16px; }
  .nav-links { gap: 22px; }
  .hero { padding-top: 60px; }
  h1 { font-size: clamp(52px, 18vw, 80px); }
  .relay { min-height: auto; padding: 26px 20px; border-radius: 26px 6px 26px 26px; box-shadow: 8px 10px 0 var(--coral); }
  .relay::before { left: 53px; }
  .relay-stage { grid-template-columns: 44px 1fr; }
  .relay-stage::before { left: 24px; }
  .relay-stage span { display: none; }
  .proof-row, .process-grid, .feature-list, .faq { grid-template-columns: 1fr; }
  .proof-item, .process-step, .feature-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .quote-panel { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--ink); }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .faq article:nth-child(2n) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.proto-attribution {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 46px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(20, 29, 35, 0.18);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 29, 35, 0.16);
  color: #343239;
  font: 600 14px/1.1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.proto-attribution strong {
  color: #6d43ea;
  font-weight: 750;
}
.proto-attribution-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #161b1f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}
.proto-attribution:hover,
.proto-attribution:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20, 29, 35, 0.22);
}
.proto-attribution:focus-visible {
  outline: 3px solid #6d43ea;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .proto-attribution {
    right: 8px;
    bottom: 8px;
    min-height: 42px;
    padding: 7px 11px 7px 7px;
    font-size: 13px;
  }
  .proto-attribution-mark {
    width: 26px;
    height: 26px;
  }
}
