:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6972;
  --soft: #f4f1ea;
  --line: #d8ddd9;
  --teal: #0f766e;
  --green: #4f7f31;
  --gold: #b37a13;
  --red: #a33a31;
  --shadow: 0 24px 80px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfaf7;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(216, 221, 217, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #ece8df;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 75px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px) 42px;
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10.5em;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.4vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-lede,
.section-heading p,
.panel-header p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

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

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin: 32px 0 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 38, 0.06);
}

.status-strip div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-strip dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.beta-panel {
  align-self: stretch;
  padding: clamp(20px, 4vw, 34px);
  background: #172026;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.beta-panel .eyebrow,
.panel-header p,
.intake-form .form-note {
  color: #cbd5d5;
}

.panel-header {
  margin-bottom: 22px;
}

.intake-form {
  display: grid;
  gap: 12px;
}

.intake-form label {
  font-size: 0.84rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #d9e2e2;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.result-panel {
  margin-top: 8px;
  padding: 16px;
  border-left: 4px solid #65c18c;
  background: rgba(255, 255, 255, 0.08);
}

.result-panel[data-tone="error"] {
  border-left-color: #f87171;
}

.result-panel[data-tone="warn"] {
  border-left-color: #fbbf24;
}

.result-panel strong {
  display: block;
  margin-bottom: 4px;
}

.result-panel code {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: #f2e6c9;
}

.result-action {
  width: fit-content;
  margin-top: 12px;
  background: #fff;
  color: var(--ink);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 32px;
}

.section-heading p {
  margin-bottom: 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal-grid article {
  min-height: 250px;
  padding: 24px;
  background: #fff;
}

.signal-grid span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--gold);
  font-weight: 900;
}

.signal-grid p,
.flow-list span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  max-width: 1408px;
  margin: 0 auto;
}

.section-heading.compact {
  display: block;
  margin: 0;
}

.flow-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 22px;
  background: #fff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 64px);
  background: #10171c;
  color: #d9e2e2;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12em;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 3rem;
  }

  .status-strip,
  .signal-grid,
  .flow-list li {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip div:last-child {
    border-bottom: 0;
  }

  .signal-grid article {
    min-height: 210px;
  }
}
