/* Cyberstap website. Design tokens follow the app (apps/mobile/src/theme/tokens.ts).
   No external resources: the font is self-hosted, every asset comes from this host. */

@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #F6F8FB;
  --bg-2: #EEF3F8;
  --surface: #FFFFFF;
  --ink: #0F1720;
  --muted: #4A5568;
  --line: #D9E0E8;
  --primary: #0B5FA5;
  --primary-deep: #063D6B;
  --primary-ink: #FFFFFF;
  --soft: #E3EEF8;
  --charli: #F5A623;
  --shield: #2E9E5B;
  --shield-soft: #E4F3EA;
  --danger-soft: #FBE9E7;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 32, .06), 0 12px 32px -12px rgba(15, 23, 32, .18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 61, 107, .45);
  --measure: 60ch;
  --phone-bg: #F4F6F8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --bg-2: #0F1828;
    --surface: #131D2E;
    --ink: #E8EEF5;
    --muted: #A7B3C2;
    --line: #26344A;
    --primary: #5AA9EC;
    --primary-deep: #0B5FA5;
    --primary-ink: #06111E;
    --soft: #17304A;
    --shield-soft: #163526;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { color-scheme: light dark; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-inline: 20px;
}
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--charli); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  margin-inline: -20px; padding-inline: 20px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.site-nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-weight: 700; font-size: .98rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.site-nav .pill { background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 999px; }
.site-nav .pill:hover { background: var(--primary-deep); color: #fff; }
@media (max-width: 720px) { .site-nav a:not(.pill) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); background: var(--primary-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .6; cursor: default; }
.btn svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding-block: 64px 72px;
}
.hero::before {
  content: ""; position: absolute; inset: -40px -20vw auto -20vw; height: 520px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 320px at 18% 20%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%),
    radial-gradient(520px 320px at 85% 10%, color-mix(in srgb, var(--charli) 18%, transparent), transparent 70%);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; margin: 14px 0 18px; }
.hero h1 .accent { color: var(--primary); }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 34ch; margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .note { width: 100%; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: .92rem;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--shield); }
.chip .dot.blue { background: var(--primary); }
.chip .dot.gold { background: var(--charli); }

/* Phone mockup */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  width: 300px; background: #0E1420; border-radius: 42px; padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: rotate(-4deg);
}
.phone .screen {
  background: var(--phone-bg); color: #1B1B1F; border-radius: 32px; overflow: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 13.5px; line-height: 1.35;
  display: grid; grid-template-rows: auto 1fr auto; height: 560px;
}
.phone .status { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-weight: 700; font-size: 12px; }
.phone .body { padding: 10px 14px 14px; display: grid; gap: 12px; align-content: start; }
.phone .bubble { display: flex; gap: 8px; align-items: flex-start; }
.phone .bubble img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #0B5FA5; }
.phone .card { background: #E3EEF8; border: 2px solid #0B5FA5; border-radius: 12px; padding: 10px 12px; flex: 1; }
.phone .big { border: 2px solid #0B5FA5; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.phone .big.primary { background: #0B5FA5; color: #fff; }
.phone .big.secondary { background: #fff; color: #0B5FA5; }
.phone .big b { font-size: 15px; }
.phone .big span { font-size: 12px; }
.phone .tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid #C9CDD3; padding: 10px 0 12px; font-size: 11px; font-weight: 700; color: #4A4D55; text-align: center; }
.phone .tabs .on { color: #0B5FA5; }
.float {
  position: absolute; right: -6px; bottom: 54px; width: 250px;
  background: var(--surface); border: 2px solid var(--charli); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); font-size: .95rem;
}
.float .eyebrow { color: var(--muted); font-size: .72rem; }
.float b { display: block; font-size: 1.05rem; margin: 4px 0; }
.float p { color: var(--muted); font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .stage { animation-delay: .12s; }
  .float { animation: rise .7s .35s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Bento */
.section { padding-block: 40px; }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin: 10px 0 10px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.35rem; font-weight: 800; }
.tile p { color: var(--muted); }
.tile .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.tile.vangnet { grid-column: span 4; }
.tile.vangnet .icon { background: var(--soft); }
.tile.privacy { grid-column: span 2; background: linear-gradient(160deg, var(--primary-deep), #0B5FA5); color: #fff; border: 0; }
.tile.privacy h3, .tile.privacy p { color: #fff; }
.tile.privacy ul { margin: 6px 0 0; padding-left: 1.1em; color: #EAF2FA; }
.tile.privacy a { color: #fff; }
.tile.verhalen { grid-column: span 3; grid-template-columns: 1fr 120px; align-items: center; }
.tile.verhalen img { width: 120px; height: 150px; object-fit: cover; object-position: top; border-radius: 14px; grid-row: 1 / span 3; }
.tile.verhalen .icon { background: #FFF3D6; }
.tile.nieuws { grid-column: span 3; }
.tile.nieuws .icon { background: var(--shield-soft); }
.tile.senior { grid-column: span 6; grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
.tile.senior img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--primary); }
.tile.senior .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.tile.senior .row span { background: var(--soft); color: var(--primary); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9rem; }
.steps { display: grid; gap: 8px; margin-top: 8px; }
.steps div { display: flex; gap: 12px; align-items: center; background: var(--bg-2); border-radius: var(--radius-sm); padding: 10px 12px; font-weight: 700; }
.steps i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-size: .85rem; flex: none; }
.news-demo { background: var(--bg-2); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 6px; margin-top: 6px; }
.news-demo .src { font-size: .8rem; color: var(--muted); font-weight: 700; }
.news-demo .act { border-left: 3px solid var(--shield); padding-left: 10px; color: var(--ink); }
.news-demo .act b { color: var(--shield); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 14px; max-width: var(--measure); }

/* CTA band */
.band {
  margin-block: 40px 16px; border-radius: 28px; padding: 44px 32px;
  background: linear-gradient(135deg, var(--primary-deep), #0B5FA5 60%, #1E7B4B);
  color: #fff; display: grid; gap: 14px; justify-items: start;
}
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: #fff; }
.band p { color: #EAF2FA; max-width: 48ch; }
.band .btn-primary { background: #fff; color: var(--primary-deep); }
.band .btn-primary:hover { background: #EAF2FA; color: var(--primary-deep); }

/* Prose pages */
.prose { max-width: var(--measure); padding-block: 40px 56px; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.prose h2 { font-size: 1.35rem; font-weight: 800; margin: 34px 0 8px; }
.prose p, .prose li { margin-bottom: 12px; color: var(--ink); }
.prose ul { padding-left: 1.2em; margin: 0 0 12px; }
.prose .updated { color: var(--muted); font-size: .95rem; }
.prose strong.big { font-size: 1.35rem; display: block; margin-bottom: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 26px 44px; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .stage { min-height: auto; padding: 24px 0 40px; }
  .tile.vangnet, .tile.privacy, .tile.verhalen, .tile.nieuws { grid-column: span 6; }
  .tile.verhalen { grid-template-columns: 1fr 110px; }
}
@media (max-width: 560px) {
  .phone { width: 270px; }
  .phone .screen { height: 520px; }
  .float { width: 220px; right: 0; bottom: 20px; }
  .tile.senior { grid-template-columns: 1fr; }
  .band { padding: 32px 22px; }
}
