/* Landingspagina sipapp.eu/start. Ontwerp: "sip landingspagina" (Claude Design, versie 13).
   Eigen stylesheet: de pagina deelt de lettertypes met de rest van de site, maar niet de rest van site.css.
   Lettertypes komen van deze site (SIL Open Font License), dus een bezoek stuurt niets naar Google. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("/assets/fonts/dm-sans-latin-opsz-normal.woff2") format("woff2"); }

:root {
  --bg: #F4E8D2;
  --surface: #EDE0C4;
  --surface-2: #E2D3B2;
  --muted: #8A7060;
  --text: #180D2B;
  --text-2: #4A3568;
  --gold: #C49040;
  --gold-light: #DEAD73;
  --gold-ink: #180D2B;
  --gold-wash: rgba(196, 144, 64, 0.10);
  --green: #1A8A6A;
  --heat-1: #3D2660;
  --heat-2: #6B3A9E;
  --heat-3: #8B4DB0;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --pill-bg: rgba(90, 77, 110, 0.18);
  --pill-fg: #4A3E5E;
  --error: #8E2A3F;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #110B1C;
    --surface: #1E1530;
    --surface-2: #2C2040;
    --muted: #8A7AA0;
    --text: #F2E6C8;
    --text-2: #C8B4E0;
    --green: #1AAA82;
    --gold-ink: #110B1C;
    --pill-bg: rgba(138, 122, 160, 0.22);
    --pill-fg: #C8B4E0;
    --error: #F0A0B0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #110B1C;
  --surface: #1E1530;
  --surface-2: #2C2040;
  --muted: #8A7AA0;
  --text: #F2E6C8;
  --text-2: #C8B4E0;
  --green: #1AAA82;
  --gold-ink: #110B1C;
  --pill-bg: rgba(138, 122, 160, 0.22);
  --pill-fg: #C8B4E0;
  --error: #F0A0B0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: var(--gold-light); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

.logo-dark { display: none; }
.logo-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: block; }
  :root:not([data-theme="light"]) .logo-light { display: none; }
}
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
.logo { width: auto; max-width: none; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 12px 16px; background: var(--gold); color: var(--gold-ink); border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; color: var(--gold-ink); }

/* Gedeelde bouwstenen */
.page { width: 100%; background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: clip; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
p { margin: 0; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
a.btn-primary:hover, .btn-primary:hover { color: var(--gold-ink); background: var(--gold-light); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.link-plain { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--text); }

/* Header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.site-head .brand { display: block; text-decoration: none; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--muted); border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; }

/* Statusmelding na bevestigen, afmelden of een fout */
.notice { display: none; margin-top: 8px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--gold); border-radius: 10px; font-size: 15px; line-height: 1.5; }
.notice.show { display: block; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 96px); }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; }
.hero .lead { max-width: 52ch; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.small-note { font-size: 12px; color: var(--text-2); }

/* Voorbeeld van de app, met voorbeeldgegevens */
.preview { flex: 0 1 340px; min-width: 0; width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.phone { background: var(--surface); border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 16px; }
.phone-block { display: flex; flex-direction: column; gap: 8px; }
.phone .tiny-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.big-number { display: flex; align-items: baseline; gap: 8px; }
.big-number .n { font-size: 56px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.big-number .of { font-size: 20px; color: var(--gold); font-variant-numeric: tabular-nums; }
.status { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--green); }
.status .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); display: block; }
.bar { height: 2px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.bar > div { width: 55%; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #C49040, #DEAD73); }
.stats { display: flex; gap: 5px; }
.stat { flex: 1; min-width: 0; background: var(--surface-2); border-radius: 8px; padding: 7px 8px; }
.stat .k { font-size: 8px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); margin-bottom: 2px; }
.stat .v { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat .v.good { color: var(--green); }
.week { display: flex; gap: 6px; }
.day { width: 22px; height: 22px; border-radius: 5px; background: var(--surface-2); }
.day.h1 { background: var(--heat-1); }
.day.h2 { background: var(--heat-2); }
.day.h3 { background: var(--heat-3); }
.day.today { background: var(--gold); color: var(--gold-ink); font-size: 8px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.day.future { width: 20px; height: 20px; background: transparent; border: 1px dashed var(--surface-2); }
.log-list { display: flex; flex-direction: column; gap: 4px; }
.log-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 5px 0; }
.log-row + .log-row { border-top: 0.5px solid var(--surface-2); }
.log-row .left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.log-row .note { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-row .time { font-size: 9px; color: var(--text-2); flex-shrink: 0; }
.pill { padding: 2px 7px; border-radius: 6px; background: var(--pill-bg); color: var(--pill-fg); font-size: 9px; font-weight: 500; white-space: nowrap; }
.pill.lg { padding: 6px 14px; font-size: 13px; }
.example { font-size: 11px; color: var(--text-2); }

/* Secties */
.section { padding-block: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 280px; min-width: 0; background: var(--surface); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card .icon { width: 40px; height: 40px; border-radius: 999px; background: var(--gold-wash); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.card h3 { font-size: 22px; line-height: 1.2; }
.card p, .step p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.steps { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 0.5px solid var(--muted); padding-top: 20px; }
.step .num { font-size: 40px; font-weight: 300; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.step h3 { font-family: var(--font-body); font-size: 17px; font-weight: 500; line-height: 1.2; }
.split { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px 64px; }
.split > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split .pills { flex: 1 1 320px; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.split p.body { max-width: 48ch; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.why { border-top: 0.5px solid var(--muted); }
.why .copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Aanmelden */
.signup-box { background: var(--surface); border-radius: 18px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.signup-box .intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup-box h2 { font-size: clamp(26px, 3.2vw, 36px); }
.signup-box .intro p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.signup-form { flex: 1 1 320px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.signup-form input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 16px; background: var(--bg); color: var(--text); border: 1px solid var(--muted); border-radius: 10px; font-family: inherit; font-size: 16px; }
.signup-form input[aria-invalid="true"] { border-color: var(--error); }
.signup-form .fine { flex: 1 1 100%; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.signup-form .fine a { color: var(--text-2); }
.field-error { flex: 1 1 100%; margin: 0; min-height: 0; font-size: 14px; line-height: 1.4; color: var(--error); }
.field-error:empty { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: none; flex: 1 1 320px; font-size: 16px; line-height: 1.55; color: var(--text); }
.thanks.show { display: block; }

/* Voetnoot */
.site-foot { padding-block: 24px 56px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; border-top: 0.5px solid var(--muted); }
.site-foot .help { flex: 1 1 360px; min-width: 0; max-width: 62ch; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.site-foot nav { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; font-size: 13px; }
.site-foot nav a, .site-foot .contact a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; }
.site-foot .legal { flex: 1 1 100%; text-align: center; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.site-foot .legal a { color: var(--text-2); }
