@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* Same palette as the app's dark theme: the sunset stripe is the signature. */
:root {
  --bg: #16131a;
  --surface: #221d27;
  --surface-2: #2e2834;
  --line: #34303b;
  --text: #f5f0ec;
  --muted: #b7aeb8;
  --stripe-1: #ffb347;
  --stripe-2: #ff6a5c;
  --stripe-3: #e2458f;
  --done: #5ee0a0;
  --warn: #ff9f43;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--stripe-1); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--stripe-1); outline-offset: 3px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand svg { width: 40px; height: auto; }
.top-cta { color: var(--text); text-decoration: none; font-weight: 500; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.top-cta:hover { border-color: var(--stripe-2); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stripe-2); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 18px; }
h1 .grad { background: linear-gradient(90deg, #ff9a4d, #ff5f6d 55%, #e2458f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; }
.lede strong { color: var(--text); font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 17px 'Space Grotesk', system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: linear-gradient(90deg, #ff9a4d, #ff5f6d 55%, #e2458f); color: #1a1017; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.phone { justify-self: center; width: min(320px, 80vw); border-radius: 36px; padding: 10px; background: #0d0b10; box-shadow: 0 30px 80px -30px rgb(226 69 143 / 0.45), 0 0 0 1px var(--line); }
.phone img { border-radius: 28px; }

/* Stripe divider: the app's horizon cuts */
.stripe { height: 18px; background:
  linear-gradient(var(--stripe-1), var(--stripe-1)) 0 0 / 100% 3px no-repeat,
  linear-gradient(var(--stripe-2), var(--stripe-2)) 0 7px / 100% 4px no-repeat,
  linear-gradient(var(--stripe-3), var(--stripe-3)) 0 14px / 100% 4px no-repeat; opacity: 0.9; }

/* Who it's for */
.who { padding: 64px 0 24px; text-align: center; }
.who h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.who p { color: var(--muted); max-width: 60ch; margin: 14px auto 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; padding: 48px 0 72px; }
.feature { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.feature .shot { border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.feature .shot img { width: 100%; height: auto; }
.feature h3 { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.feature p { color: var(--muted); }
.feature-text-only { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.feature-text-only h3 { font-size: 19px; margin-bottom: 6px; }
.feature-text-only h3::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 12px; background: var(--stripe-2); }
.feature-text-only p { color: var(--muted); font-size: 16px; }

/* Join */
.join { padding: 64px 0; }
.join-card { background: var(--surface); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.join h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.join .lede { font-size: 18px; margin-top: 12px; }
form { display: grid; gap: 14px; }
label span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
input[type='email'] { width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 16px; font: inherit; }
input[type='email']:focus { border-color: var(--stripe-2); outline: none; }
fieldset { border: 0; }
legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roles label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.roles label:has(input:checked) { border-color: var(--stripe-2); background: var(--surface-2); }
.roles input, .consent input { accent-color: var(--stripe-2); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; min-height: 1.5em; }
.msg.ok { color: var(--done); }
.msg.err { color: var(--warn); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 720px; padding: 24px 0 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 20px; margin-top: 6px; }
.doc strong { color: var(--text); font-weight: 500; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .lede { max-width: none; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .feature { grid-template-columns: 140px 1fr; gap: 18px; }
  .feature-text-only { grid-template-columns: 1fr; gap: 24px; }
  .join-card { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .roles { grid-template-columns: 1fr; }
  .top-cta { padding: 8px 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 120ms ease, filter 120ms ease; }
  .btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
}
.feature .shot.crop img { width: 100%; height: auto; aspect-ratio: 390 / 330; object-fit: cover; object-position: top left; }
