@font-face {
  font-family: 'Manrope';
  src: url('/files/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/files/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2efe7;
  --paper-raised: #faf8f2;
  --ink: #171917;
  --ink-soft: #5d625b;
  --ink-faint: #858980;
  --rule: #c8c8bd;
  --rule-dark: #3b3f3a;
  --panel: #1c1f1c;
  --panel-soft: #252925;
  --panel-text: #f5f1e8;
  --accent: #3159d8;
  --accent-dark: #2445af;
  --signal: #d8fe52;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.wordmark,
.eyebrow,
.beta-label,
.portfolio-topline,
.panel-label,
.capital-strip span,
.channel-head,
.confidence,
.step-number,
.ledger-code,
.field > span,
.channels-field legend {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.wordmark {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.beta-label {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.header-link,
.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding-block: clamp(68px, 8vw, 112px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.69rem;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.7vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.lede {
  max-width: 46ch;
  margin-bottom: 30px;
  color: #40453f;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 20px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(49, 89, 216, 0.28);
  outline-offset: 3px;
}

.availability {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.portfolio {
  overflow: hidden;
  border: 1px solid #0d0e0d;
  border-radius: 7px;
  background: var(--panel);
  color: var(--panel-text);
  box-shadow: 0 24px 70px rgba(42, 43, 38, 0.16);
}

.portfolio-topline {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-dark);
  color: #adb2a9;
  font-size: 0.62rem;
}

.as-of {
  color: #7e857b;
}

.decision-frame {
  padding: 25px 24px 23px;
  border-bottom: 1px solid var(--rule-dark);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: #9fa59c;
  font-size: 0.61rem;
}

.decision-frame strong,
.recommendation strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.35;
}

.decision-frame p {
  margin: 6px 0 0;
  color: #aeb4aa;
  font-size: 0.81rem;
}

.capital-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule-dark);
}

.capital-strip div {
  padding: 16px 18px 15px;
}

.capital-strip div + div {
  border-left: 1px solid var(--rule-dark);
}

.capital-strip span {
  display: block;
  margin-bottom: 5px;
  color: #969d93;
  font-size: 0.56rem;
}

.capital-strip strong {
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) minmax(105px, 0.8fr) 78px 68px;
  align-items: center;
  min-height: 44px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--rule-dark);
  color: #dfe2da;
  font-size: 0.76rem;
}

.channel-row > span:nth-child(n + 3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.channel-head {
  min-height: 37px;
  color: #898f86;
  font-size: 0.53rem;
}

.signal {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: #747b72;
  vertical-align: 1px;
}

.signal-live {
  background: var(--signal);
}

.signal-observe {
  background: #78a3ff;
}

.signal-review {
  background: #f0af58;
}

.recommendation {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 24px 24px;
  background: var(--panel-soft);
}

.confidence {
  flex: 0 0 auto;
  border: 1px solid #4d534b;
  border-radius: 999px;
  padding: 5px 8px;
  color: #aeb4aa;
  font-size: 0.52rem;
}

.channel-band {
  border-block: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.2);
}

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

.channel-list span {
  padding: 17px 12px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.channel-list span + span {
  border-left: 1px solid var(--rule);
}

.section {
  padding-block: clamp(78px, 9vw, 118px);
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 62px;
}

.section-heading h2,
.access-copy h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.steps li {
  min-height: 235px;
  padding: 22px 28px 24px 0;
}

.steps li + li {
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}

.step-number,
.ledger-code {
  display: block;
  margin-bottom: 48px;
  color: var(--ink-faint);
  font-size: 0.62rem;
}

.steps h3,
.evidence-ledger h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.steps p,
.evidence-ledger p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.evidence-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
}

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

.compact-heading .eyebrow {
  margin-bottom: 22px;
}

.evidence-ledger {
  border-top: 1px solid var(--ink);
}

.evidence-ledger article {
  display: grid;
  grid-template-columns: 120px minmax(150px, 0.7fr) minmax(200px, 1.3fr);
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}

.evidence-ledger .ledger-code,
.evidence-ledger h3 {
  margin-bottom: 0;
}

.access-section {
  padding-block: clamp(78px, 9vw, 118px);
  background: var(--paper-raised);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(56px, 8vw, 110px);
}

.access-copy p:not(.eyebrow) {
  max-width: 47ch;
  margin-top: 24px;
  color: var(--ink-soft);
}

.access-form {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 20px;
}

.field > span,
.channels-field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.61rem;
}

input[type='email'],
input[type='text'],
select,
textarea {
  width: 100%;
  border: 1px solid #b7b9af;
  border-radius: 4px;
  background: #fffef9;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8b8e86;
}

.channels-field {
  margin: 0 0 21px;
  padding: 0;
  border: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.checkbox-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-footer p,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.form-status {
  margin-bottom: 18px;
  border-left: 3px solid var(--accent);
  padding: 9px 12px;
  background: rgba(49, 89, 216, 0.07);
}

.site-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.site-footer span:nth-child(2) {
  margin-left: auto;
}

.legal-main {
  width: min(780px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(64px, 9vw, 110px);
}

.legal-main h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.legal-meta,
.legal-intro,
.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.legal-meta {
  margin-bottom: 44px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
}

.legal-intro {
  margin-bottom: 60px;
  font-size: 1.08rem;
}

.legal-section {
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.thanks-main {
  min-height: calc(100vh - 156px);
  display: grid;
  place-items: center;
  padding-block: 70px;
}

.thanks-panel {
  width: min(720px, calc(100% - 30px));
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}

.thanks-panel h1 {
  max-width: 620px;
}

.thanks-panel p {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

  .portfolio {
    max-width: 720px;
  }

  .evidence-section {
    gap: 58px;
  }

  .access-grid {
    gap: 54px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 62px;
  }

  .beta-label {
    display: none;
  }

  .hero {
    gap: 48px;
    padding-block: 58px 68px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .portfolio {
    margin-inline: -7px;
  }

  .capital-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .capital-strip div {
    padding-inline: 12px;
  }

  .channel-row {
    grid-template-columns: minmax(118px, 1.3fr) minmax(84px, 0.9fr) 58px;
    padding-inline: 12px;
  }

  .channel-row > span:last-child {
    display: none;
  }

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

  .channel-list {
    grid-template-columns: 1fr 1fr;
  }

  .channel-list span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .channel-list span:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .section-heading .eyebrow {
    margin-bottom: 22px;
  }

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

  .steps li {
    min-height: 0;
    padding: 22px 0 30px;
    border-bottom: 1px solid var(--rule);
  }

  .steps li + li {
    border-left: 0;
    padding-left: 0;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .evidence-ledger article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .evidence-ledger .ledger-code {
    margin-bottom: 8px;
  }

  .field-row,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

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

  .form-footer .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 24px;
  }

  .site-footer span:nth-child(2) {
    margin-left: 0;
  }

  .legal-main {
    width: min(100% - 30px, 780px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
