:root {
  --background: #fdfdfd;
  --surface: #ffffff;
  --surface-soft: #eff4ff;
  --surface-blue: #d3e4fe;
  --ink: #0b1c30;
  --muted: #4c4546;
  --line: #e2e8f0;
  --line-dark: #cfc4c5;
  --black: #000000;
  --white: #ffffff;
  --blue: #0047ab;
  --blue-deep: #003a8f;
  --gold: #ffd700;
  --shadow-blue: rgba(0, 71, 171, 0.12);
  --max-width: 1200px;
  --desktop-margin: 64px;
  --mobile-margin: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

section {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: var(--desktop-margin);
  padding-right: var(--desktop-margin);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.brand {
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 18px 0 16px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--black);
  border-color: var(--black);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--black);
  border-radius: 2px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.nav-cta {
  min-height: 38px;
  background: var(--black);
  color: var(--white);
}

main {
  padding-top: 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 128px;
  padding-bottom: 128px;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--blue);
  padding: 4px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill span {
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.status-pill-light {
  background: var(--surface);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  font-size: 64px;
  line-height: 72px;
}

h2 {
  font-size: 42px;
  line-height: 50px;
}

h3 {
  font-size: 30px;
  line-height: 38px;
}

p {
  margin: 0;
}

.hero-kicker {
  max-width: 520px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.hero-copyline,
.large-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 32px var(--shadow-blue);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.note,
.section-label,
.module-index {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
}

.hero-figure,
.panel-image {
  position: relative;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  border: 1px solid var(--line);
  object-fit: contain;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 128px;
  padding-bottom: 128px;
}

.section-copy {
  display: grid;
  gap: 20px;
}

.section-copy p:not(.section-label):not(.status-pill) {
  max-width: 580px;
  color: var(--muted);
}

.panel-image {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}

.panel-image img {
  width: 100%;
  filter: grayscale(1);
}

.panel-image-tight {
  padding: 0;
  overflow: hidden;
}

.feature-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.modules {
  padding-top: 128px;
  padding-bottom: 128px;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}

.section-heading p:not(.section-label) {
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.module-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 300px;
  grid-column: span 4;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--line-dark);
}

.module-card-wide {
  grid-column: span 8;
}

.module-card-wide::before {
  background: var(--blue);
}

.module-card-gold::before {
  background: var(--gold);
}

.module-card p {
  max-width: 460px;
  color: var(--muted);
}

.trust-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.16) 1px, transparent 0) 0 0 / 40px 40px,
    var(--black);
  color: var(--white);
}

.trust-copy {
  display: grid;
  justify-items: center;
  padding-top: 128px;
  padding-bottom: 128px;
  text-align: center;
}

.trust-copy h2 {
  margin-top: 16px;
  color: var(--white);
  font-size: 64px;
  line-height: 72px;
}

.trust-copy p:not(.section-label) {
  max-width: 760px;
  margin-top: 24px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.trust-copy .section-label {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  line-height: 15px;
}

.trust-figure {
  width: min(100%, 920px);
  margin: 48px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: var(--white);
}

.trust-figure img {
  width: 100%;
  filter: grayscale(1);
}

.waitlist-form {
  width: min(100%, 760px);
  margin-top: 32px;
}

.waitlist-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.waitlist-fields input {
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0 16px;
}

.waitlist-fields input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.waitlist-fields input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.waitlist-fields button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.waitlist-status {
  min-height: 20px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 20px;
  text-transform: uppercase;
}

.waitlist-status[data-tone="success"] {
  color: var(--gold);
}

.waitlist-status[data-tone="error"] {
  color: #ffdad6;
}

.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-shell p {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-align: right;
  text-transform: uppercase;
}

.footer-links {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-shell,
  .section-shell,
  .footer-shell {
    padding-left: var(--mobile-margin);
    padding-right: var(--mobile-margin);
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  h1 {
    font-size: 56px;
    line-height: 62px;
  }

  h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .hero-figure img {
    margin-left: 0;
  }

  .modules,
  .trust-copy {
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

  .module-card,
  .module-card-wide {
    grid-column: 1;
    min-height: 240px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell p {
    text-align: left;
  }

  .waitlist-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .brand {
    font-size: 28px;
  }

  .nav-shell {
    min-height: 64px;
  }

  .nav-cta {
    min-width: 132px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-copy {
    gap: 22px;
  }

  .hero-kicker,
  .hero-copyline,
  .large-copy {
    font-size: 20px;
    line-height: 32px;
  }

  .cta-row {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-copy h2 {
    font-size: 48px;
    line-height: 56px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 27px;
  }

  .nav-cta {
    min-width: 132px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 52px;
    line-height: 58px;
  }

  .status-pill {
    width: 100%;
    justify-content: center;
    letter-spacing: 0.08em;
  }

}

@media (max-width: 360px) {
  .brand {
    font-size: 24px;
  }

  .nav-cta {
    min-width: 116px;
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 46px;
    line-height: 52px;
  }
}
