/* TableClaim publieke site. Palet uit de app: cherry, columbia blue, blush,
   donkere chocolade. Kaarten en panelen zijn plat en vierkant; alleen pills
   zijn rond. Geen tracking, geen externe stylesheets behalve Cloudflare
   Turnstile (dat door site.js wordt geladen wanneer de formulieren aan staan). */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_900Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif_400Regular_Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono_400Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #c8d9ec;
  --bg-deep: #b4cbe8;
  --surface: #f2d6ce;
  --text: #3d2722;
  --muted: rgba(61, 39, 34, 0.72);
  --faint: rgba(61, 39, 34, 0.56);
  --line: rgba(61, 39, 34, 0.18);
  --tint: rgba(61, 39, 34, 0.08);
  --action: #8e1825;
  --action-press: #5e0f17;
  --on-action: #f2d6ce;
  --deep: #241611;
  --pill: 999px;
  --max: 1080px;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mark: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%) no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--action); }
a:hover { color: var(--action-press); }

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 12px 16px;
}
.skip-link:focus { left: 0; z-index: 10; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(242, 214, 206, 0.35);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark.small { font-size: 1.3rem; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-bottom-color: var(--action);
  color: var(--action);
}

main { display: block; }

.hero { padding: 40px 0 28px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
h1 {
  font-weight: 900;
  font-size: clamp(2.1rem, 8vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; }

.lead { font-size: 1.12rem; margin: 0 0 18px; }
.note { color: var(--muted); font-size: 0.94rem; margin: 14px 0 0; }
.hint { color: var(--muted); font-size: 0.86rem; margin: 6px 0 0; }

.section { padding: 34px 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 22px;
}
.card.tint, .card--tint {
  background: var(--tint);
}

.hero-grid, .two-col {
  display: grid;
  gap: 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pill.primary {
  background: var(--action);
  color: var(--on-action);
}
.pill.primary:hover { background: var(--action-press); color: var(--on-action); }
.pill.ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.pill.ghost:hover { background: var(--surface); border-color: var(--action); color: var(--action-press); }
.pill.status {
  background: var(--tint);
  color: var(--muted);
  cursor: default;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.92rem;
}
button.pill:disabled {
  background: var(--tint);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

.plain-list { margin: 0; padding-left: 20px; }
.plain-list li { margin: 6px 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 8px;
}

.form { margin: 0; }
.form-title { margin-top: 0; }
.field { margin: 0 0 16px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input[type="email"],
.field input[type="text"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { border-color: var(--action); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--action);
  border-width: 2px;
}
.field-error {
  color: var(--action-press);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 6px 0 0;
}
.field-check { display: flex; gap: 12px; align-items: flex-start; }
.field-check input { width: 22px; height: 22px; margin: 3px 0 0; flex: 0 0 auto; }
.field-check label { font-weight: 400; margin: 0; }

.turnstile { margin: 0 0 16px; }

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-weight: 600;
}
.form-status[data-state="error"] { color: var(--action-press); }
.form-status[data-state="ok"] { color: var(--deep); }
.form-status[data-state="unavailable"] { color: var(--muted); font-weight: 400; }

.app-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.app-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.app-row p { margin: 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 28px 0 40px;
}
.footer-inner { display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text); font-weight: 600; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .two-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-inner .note { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
