/* Carved Labs: one clean page. Outfit (SIL OFL 1.1), self-hosted. */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --faint: #a3a3a3;
  --bg: #ffffff;
  --gutter: clamp(24px, 6vw, 88px);
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
}

.top { padding-top: clamp(24px, 4vw, 40px); }

.logo { display: block; height: 34px; width: auto; margin-left: -6px; }

.hero {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(64px, 12vh, 140px) 0;
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero p {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 38ch;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.hero__mark { display: none; width: clamp(180px, 20vw, 280px); height: auto; justify-self: end; }

.foot {
  padding: 28px 0 clamp(24px, 4vw, 40px);
  font-size: 14px;
  color: var(--faint);
}



/* A quiet entrance; skipped for people who prefer less motion. */
@media (prefers-reduced-motion: no-preference) {
    .hero__copy { animation: rise 900ms cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Waitlist */
.waitlist { margin-top: clamp(32px, 4vw, 48px); max-width: 460px; }
.waitlist__label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.waitlist__row { display: flex; gap: 8px; }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #dedede; border-radius: 12px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.waitlist input[type="email"]:focus { border-color: #2F4BFF; box-shadow: 0 0 0 4px rgba(47, 75, 255, .12); }
.waitlist button {
  height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 500; color: #fff; background: var(--ink);
  cursor: pointer; transition: background .15s, transform .05s;
}
.waitlist button:hover { background: #2F4BFF; }
.waitlist button:active { transform: translateY(1px); }
.waitlist button[disabled] { opacity: .6; cursor: default; }
.waitlist__note { margin-top: 12px !important; font-size: 13px !important; color: var(--faint) !important; max-width: none !important; }
.waitlist__note a, .foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.waitlist__status { margin-top: 10px !important; font-size: 15px !important; min-height: 1.5em; color: var(--ink) !important; }
.waitlist__status.is-error { color: #c4281c !important; }
.waitlist__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot { display: flex; gap: 20px; }

/* Privacy page */
.doc { max-width: 680px; padding: clamp(48px, 8vh, 96px) 0; }
.doc h1 { font-weight: 500; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 28px; }
.doc h2 { font-weight: 500; font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: #444; font-size: 17px; }
.doc ul { padding-left: 20px; }
.doc a { color: inherit; }
