@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #17251F;
  --volt: #D6F35A;
  --track: #267052;
  --white: #FFFFFF;
  --text-2: #4A5650;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--white); font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.photo, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.photo img { object-fit: cover; object-position: 60% 50%; }
.shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(23 37 31 / .92) 0%, rgb(23 37 31 / .78) 38%, rgb(23 37 31 / .25) 70%, rgb(23 37 31 / .1) 100%),
    linear-gradient(0deg, rgb(23 37 31 / .7) 0%, rgb(23 37 31 / 0) 35%); }

.inner { width: min(1200px, 100%); margin: 0 auto; padding: 32px 40px 24px; display: grid; grid-template-rows: auto 1fr; gap: 40px; }
.logo { display: block; width: 154px; height: auto; }
.copy { align-self: center; max-width: 560px; }
.eyebrow { margin: 0 0 18px; color: var(--volt); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.2rem); line-height: .95; letter-spacing: -.035em; font-weight: 700; }
.lede { margin: 24px 0 32px; max-width: 30em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; color: rgb(255 255 255 / .88); }

.signup { max-width: 520px; }
.field { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: 0 12px 40px rgb(0 0 0 / .25); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 16px; color: var(--ink); }
.field input::placeholder { color: #7C8781; }
.field button { flex: none; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--volt); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.field button:hover { filter: brightness(.95); }
.field:focus-within { box-shadow: 0 0 0 3px var(--volt), 0 12px 40px rgb(0 0 0 / .25); }
.field button:disabled { opacity: .7; cursor: default; }
.status { min-height: 1.5em; margin: 12px 4px 0; font-size: 15px; font-weight: 700; }
.status.ok { color: var(--volt); }
.status.err { color: #FFC9B8; }
.fine { margin: 6px 4px 0; font-size: 13px; line-height: 1.5; color: rgb(255 255 255 / .72); }
.fine a { text-underline-offset: 3px; display: inline-block; padding-block: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup.done .field { display: none; }

.foot { width: min(1200px, 100%); margin: 0 auto; padding: 18px 40px 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgb(255 255 255 / .7); }

@media (max-width: 720px) {
  .inner { padding: 22px 20px 16px; gap: 28px; }
  .logo { width: 128px; }
  .shade { background: linear-gradient(0deg, rgb(23 37 31 / .96) 0%, rgb(23 37 31 / .86) 48%, rgb(23 37 31 / .45) 75%, rgb(23 37 31 / .35) 100%); }
  .photo img { object-position: 70% 50%; }
  .copy { align-self: end; }
  .field { flex-direction: column; border-radius: 22px; padding: 8px; }
  .field input { min-height: 48px; padding: 0 12px; }
  .field button { width: 100%; }
  .foot { padding: 14px 20px 22px; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  .copy { animation: rise .7s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Privacy page */
.doc { max-width: 680px; margin: 0 auto; padding: 32px 24px 64px; line-height: 1.6; }
.doc .logo { margin-bottom: 40px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 20px; }
.doc h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.doc p, .doc li { color: rgb(255 255 255 / .86); }
