:root {
  --ink: #0a0a0a;
  --paper: #f7f7f5;
  --white: #ffffff;
  --muted: #5f5f5a;
  --soft: #e9e9e5;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Arial Nova", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 9;
  padding: 10px 12px;
  color: var(--white);
  background: var(--ink);
  font: 700 12px "SFMono-Regular", Consolas, monospace;
}
.skip-link:focus { left: 10px; }

.topbar {
  width: min(var(--max), calc(100% - 64px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.06em;
}
.brand span span { margin-left: -.08em; color: var(--ink); font-weight: 400; }

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--soft) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .56;
}
.hero-card {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  min-height: calc(100vh - 70px);
  padding: clamp(70px, 10vw, 144px) 0 clamp(60px, 9vw, 118px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.eyebrow {
  margin: 0 0 19px;
  color: var(--ink);
  font: 700 11px/1 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: .095em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin: 0 0 27px;
  color: var(--ink);
  font-size: clamp(54px, 7vw, 102px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .92;
}
.subhead {
  max-width: 580px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: -.028em;
  line-height: 1.3;
}

.signup-card {
  width: min(520px, 100%);
  margin: clamp(58px, 12vh, 136px) 0 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: none;
}
.signup-card h2 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.058em;
  line-height: 1;
}
.signup-card p {
  max-width: 390px;
  margin: 0;
  color: #d9d9d4;
  font-size: 14px;
  line-height: 1.42;
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--white);
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: none;
}
.button:hover { color: var(--white); background: var(--ink); }
.signup-card .review-button {
  width: min(232px, 100%);
  margin: 20px 0 0 !important;
  align-self: flex-start;
}

/* Safe monochrome fallbacks for dormant page components. */
.email-form, .logo-strip, .tiles, .bottom-cta, .footer { color: var(--ink); }
.email-form { border: 2px solid var(--ink); background: var(--white); }
.email-form input { color: var(--ink); }
.email-form button { border-radius: 0; color: var(--white); background: var(--ink); }
.tiles article, .bottom-cta { border-radius: 0; color: var(--white); background: var(--ink); }
.tag { border-radius: 0; color: var(--ink); background: var(--white); }

@media (max-width: 820px) {
  .topbar { width: calc(100% - 40px); height: 62px; }
  .hero {
    width: calc(100% - 40px);
    min-height: calc(100vh - 62px);
  }
  .hero-card {
    width: 100%;
    min-height: calc(100vh - 62px);
    padding: 58px 0 52px;
  }
  h1 { max-width: 670px; font-size: clamp(51px, 13.5vw, 84px); }
  .signup-card { margin-top: 64px; }
}

@media (max-width: 440px) {
  .topbar, .hero { width: calc(100% - 32px); }
  .brand { font-size: 18px; }
  h1 { font-size: 52px; line-height: .91; }
  .subhead { font-size: 18px; }
  .signup-card { padding: 20px; }
  .signup-card .review-button { width: 100%; }
}
