/* Self-hosted (OFL, licences in /fonts) so the site makes no requests to
   Google. Schibsted Grotesk is subset to Latin; IBM Plex Mono is unmodified
   (its licence reserves the name for unmodified copies). */
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* The app's light palette (mobile/src/constants/theme.ts). */
  --background: #ECE6DC;
  --surface: #F3EEE6;
  --text: #2A2520;
  --text-secondary: #5E554B;
  /* Card outlines and table rules. */
  --border: #C9BFB0;
  --accent: #C2451A;
  --disabled: #D8CFC2;
  --disabled-text: #3E362E;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 3px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
header img { width: 44px; height: 44px; border-radius: 8px; }
/* The brand name, set like the name in the app's top bar. */
header span, header a {
  color: var(--text); text-decoration: none;
  font: 13px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
h1, h2 { font-weight: 500; letter-spacing: -0.035em; }
h1 { font-size: 44px; line-height: 1; margin: 0 0 14px; }
h2 { font-size: 26px; line-height: 1.1; margin: 36px 0 10px; }
/* The last word of the headline, as in the app's titles. */
.accent { color: var(--accent); }
p, li { color: var(--text); }
.meta { color: var(--text-secondary); margin: 0 0 24px; }
/* Ink links, orange on hover as in the app: orange text is under 4.5:1 on the background. */
a { color: var(--text); }
a:hover { color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
footer { margin-top: 48px; color: var(--text-secondary); font-size: 15px; }

/* Waitlist form */
.waitlist { margin: 32px 0; padding: 24px; }
.waitlist h2 { margin-top: 0; }
form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
form label { font: 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.optional { color: var(--text-secondary); }
form input[type="text"], form input[type="email"] {
  height: 52px; padding: 0 14px; font: inherit;
  border: 1px solid var(--text); border-radius: var(--radius); background: var(--surface); color: var(--text);
  margin-bottom: 8px;
}
form input:focus-visible, form button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hint { margin: -4px 0 8px; font-size: 14px; color: var(--text-secondary); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.check label { font: 16px/1.55 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form button {
  height: 56px; margin-top: 8px; border: 0; border-radius: var(--radius);
  background: var(--text); color: var(--surface); font: inherit; cursor: pointer;
  font-size: 18px; font-weight: 500;
}
form button:disabled { background: var(--disabled); color: var(--disabled-text); cursor: default; }
.message { min-height: 1.5em; margin: 4px 0 0; }
.message.success { color: #1E6B4A; font-weight: 600; }
.message.error { color: #A3231F; font-weight: 600; }
