:root {
  color-scheme: light;
  --canvas: #f3f6f9;
  --paper: #ffffff;
  --text: #172033;
  --muted: #4c5b70;
  --line: #cbd5df;
  --blue: #245b93;
  --blue-dark: #174674;
  --orange: #b34b12;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.page-shell {
  max-width: 1440px;
  padding: 0 clamp(22px, 6vw, 108px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 126px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.identity img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.wordmark {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

.status {
  flex: none;
  border-left: 1px solid var(--line);
  padding-left: 22px;
  color: var(--muted);
  font-size: .95rem;
}

.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: #f7f9fb;
}

.landing-page .page-shell {
  flex: 1;
  width: min(1224px, calc(100% - 64px));
  max-width: none;
  padding: 0;
}

.landing-page .site-header { min-height: 128px; }
.landing-page .identity { gap: 12px; }
.landing-page .identity img { width: 46px; height: 46px; }

.landing-page .wordmark {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -.06em;
}

.landing-page .status {
  border: 0;
  padding: 0;
  font-size: 15px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 480px);
  justify-content: space-between;
  align-items: start;
  gap: 72px;
  width: 100%;
  padding: 40px 0 0;
}

.intro h1 {
  max-width: 650px;
  margin: 0 0 37px;
  font-size: clamp(52px, 3.45vw, 66px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.intro p {
  max-width: 610px;
  margin: 0;
  color: #344359;
  font-size: 19px;
  line-height: 1.65;
}

.intro .beta-timing {
  margin-top: 26px;
  color: var(--text);
  font-size: 18px;
  font-weight: 650;
}

.open-source {
  max-width: 610px;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid #aebbc8;
}

.open-source h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.intro .open-source p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.interest { align-self: start; }

.interest h2 {
  margin: 3px 0 7px;
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.interest-lead {
  max-width: 420px;
  margin: 0 0 31px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.field label,
.role-options legend {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  font-size: 16px;
}

.required { color: var(--orange); }
.optional { color: var(--muted); font-weight: 400; }

.field input {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 1px solid #9baec1;
  border-radius: 3px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
}

.field input:hover,
.field input:focus { border-color: var(--blue); }

.field-hint {
  margin: 5px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.role-options {
  min-width: 0;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.role-options legend { margin-bottom: 10px; }

.role-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 34px;
  cursor: pointer;
  font-size: 15.5px;
}

.role-options input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  padding: 13px 22px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
button:active { transform: translateY(1px); }

.signup-disclosure {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0 35px;
  color: var(--muted);
  font-size: .86rem;
}

.legal-page {
  max-width: 760px;
  padding: 25px 0 85px;
}

.legal-page h1 {
  margin: 0 0 15px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.legal-page h2 { margin: 36px 0 9px; font-size: 1.3rem; }
.legal-page p, .legal-page li { color: #344359; }
.legal-page ul { padding-left: 1.25em; }

@media (max-width: 900px) {
  .landing-page .page-shell {
    width: min(680px, calc(100% - 40px));
  }

  .landing-page .site-header { min-height: 95px; }
  .landing-page main { display: block; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 25px 0 60px;
  }

  .intro h1 { font-size: clamp(44px, 8vw, 62px); }
}

@media (max-width: 480px) {
  .page-shell { padding: 0 20px; }
  .site-header { min-height: 88px; gap: 12px; }
  .identity img { width: 40px; height: 40px; }
  .wordmark { font-size: 1.5rem; }
  .status { padding-left: 12px; font-size: .78rem; }

  .landing-page .identity img { width: 40px; height: 40px; }
  .landing-page .wordmark { font-size: 1.5rem; }
  .landing-page .status { font-size: .78rem; }
  .intro h1 { font-size: clamp(40px, 10vw, 48px); }
  .intro p { font-size: 17px; }
}
