@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-tight-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-tight-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }

:root {
  --ink: #0B0B0C;
  --paper: #FAFAF8;
  --grey: #9A9A9E;
  --grey-dim: #6E6E73;
  --line: rgba(250,250,248,0.14);
  --accent: #5BC48C;
  --display: 'Inter Tight', Inter, system-ui, -apple-system, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand svg { width: 26px; height: 26px; display: block; }
.brand span { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.04em; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.foot nav { display: flex; gap: 28px; }
.foot a { color: var(--grey); text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* forms */
form.signup { display: flex; gap: 10px; max-width: 520px; }
form.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
input[type=email] {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 18px;
  border-radius: 6px; border: 1px solid rgba(250,250,248,0.28);
  background: rgba(11,11,12,0.55); color: var(--paper);
  font: 500 15px/1 var(--body);
  backdrop-filter: blur(6px);
}
input[type=email]::placeholder { color: var(--grey); }
input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button {
  flex: 0 0 auto; height: 52px; padding: 0 24px;
  border-radius: 6px; border: 0; cursor: pointer;
  background: var(--paper); color: var(--ink);
  font: 500 15px/1 var(--body);
}
button:hover { background: #ffffff; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: default; }
.status { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--grey); min-height: 1.5em; }
.status.ok { color: var(--accent); }
.status.err { color: #F0A3A3; }
@media (max-width: 560px) {
  form.signup { flex-direction: column; }
  button { width: 100%; }
}

/* hero (index) */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4.5vw, 64px) clamp(28px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
}
.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.52) 45%, rgba(11,11,12,0.22) 100%),
    linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.08) 40%, rgba(11,11,12,0.5) 100%);
}
.content { max-width: 880px; display: flex; flex-direction: column; gap: clamp(24px, 3.5vw, 40px); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--accent); margin: 0 0 18px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 7.2vw, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.sub { margin: 20px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #C9C9CC; max-width: 560px; }
@media (prefers-reduced-motion: reduce) {
  .bg { display: none; }
  .hero { background: var(--ink) url(/assets/poster.jpg) center / cover no-repeat; }
}

/* prose pages (privacy) */
.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4.5vw, 64px) clamp(28px, 4vw, 56px);
}
.prose { max-width: 720px; margin: clamp(40px, 8vw, 96px) 0 clamp(56px, 10vw, 120px); flex-grow: 1; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.prose .meta { color: var(--grey); font-size: 14px; margin: 0 0 40px; }
.prose h2 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: #D6D6D8; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 0 0 6px; }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--grey-dim); }
.prose a:hover { text-decoration-color: var(--paper); }
.prose .ph { color: var(--accent); }
.prose .unsub { margin-top: 12px; }
