/* Lorre — website. Kleuren, letters en vormen uit het Lorre design system. */

:root {
  --brand-blue: #2563d9;
  --brand-blue-dark: #1d4fb0;
  --iris-yellow: #ffc83d;
  --pupil-navy: #1b2240;
  --icon-bg: #eaf2fd;
  --hairline: #e3e9f5;
  --bg: #f2f5fc;
  --card: #ffffff;
  --muted: #465170;
  --outline: #7a859e;
  --actie-bg: #ffe9ae;
  --actie-text: #3d2b00;
  --tertiary: #8a6100;
  --secondary-container: #dce6fa;
  --primary-container: #d9e5fb;
  --child-1: #2563d9;
  --child-2: #b8327a;
  --radius-tag: 8px;
  --radius-card: 16px;
  --radius-hero: 20px;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--pupil-navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--brand-blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 16px; border-radius: var(--radius-tag); z-index: 10; }

/* Woordmerk: het oog is precies zo hoog als "rre" */
.wordmark { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: 0.5px; color: var(--brand-blue); text-decoration: none; white-space: nowrap; }
.wordmark .o { display: inline-block; width: 0.548em; height: 0.548em; margin: 0 0.031em; vertical-align: -0.01em; }
.wordmark .o img { width: 100%; height: 100%; }

/* Kop */
.top { position: sticky; top: 0; z-index: 5; background: rgba(242, 245, 252, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top nav a:not(.btn) { color: var(--pupil-navy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px; border-radius: var(--radius-tag); }
.top nav a:not(.btn):hover { background: var(--icon-bg); }

/* Knoppen: pillen, zoals in de app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn--filled { background: var(--brand-blue); color: #fff; }
.btn--filled:hover { background: var(--brand-blue-dark); }
.btn--outlined { border-color: var(--outline); color: var(--brand-blue); background: transparent; }
.btn--outlined:hover { background: var(--icon-bg); }
.btn--small { min-height: 40px; padding: 0 20px; font-size: 14px; }

/* Hero */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--brand-blue); background: var(--card); border: 1px solid var(--hairline); padding: 6px 14px 6px 8px; border-radius: 999px; }
.eyebrow img { width: 22px; height: 22px; }
h1 { font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -0.5px; margin: 20px 0 16px; }
.lead { font-size: 19px; line-height: 30px; color: var(--muted); margin: 0 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; line-height: 20px; color: var(--muted); margin: 16px 0 0; }

/* Telefoon met het overzicht (zelfde onderdelen als de app) */
.phone { justify-self: center; width: 340px; max-width: 100%; background: var(--pupil-navy); border-radius: 44px; padding: 12px; box-shadow: 0 24px 48px -16px rgba(27, 34, 64, 0.35); }
.screen { background: var(--bg); border-radius: 34px; overflow: hidden; padding: 18px 0 20px; font-size: 14px; line-height: 20px; }
.app-head { display: flex; align-items: center; padding: 0 16px 0 18px; }
.app-head .wordmark { font-size: 22px; flex: 1; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.av--md { width: 26px; height: 26px; font-size: 12.5px; margin-left: 6px; }
.c1 { background: var(--child-1); } .c2 { background: var(--child-2); }
.app-date { color: var(--muted); font-size: 13px; padding: 4px 18px 10px; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.hero-card { margin: 0 12px; border-radius: var(--radius-hero); padding: 14px 10px 10px 14px; }
.hero-card .eb { display: flex; align-items: center; gap: 6px; color: var(--brand-blue); font-size: 12px; font-weight: 600; }
.hero-card .eb img { width: 22px; height: 22px; }
.hero-card .count { font-size: 21px; line-height: 26px; font-weight: 700; margin: 6px 0 6px; }
.row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--hairline); padding: 8px 0; }
.row div { flex: 1; min-width: 0; }
.row b { display: block; font-weight: 600; font-size: 13.5px; }
.row small { display: block; color: var(--muted); font-size: 11.5px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.circle { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--outline); flex: none; background: #fff; }
.circle.on { border-color: var(--brand-blue); background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 14px 10px 4px; text-align: center; }
.week span { display: flex; flex-direction: column; align-items: center; border-radius: 12px; padding: 5px 0 4px; font-size: 10.5px; line-height: 13px; color: var(--muted); }
.week b { font-size: 13px; line-height: 17px; color: var(--pupil-navy); font-weight: 600; }
.week i { width: 5px; height: 5px; border-radius: 50%; margin-top: 2px; }
.week .today { background: var(--brand-blue); color: #fff; }
.week .today b { color: #fff; }
.week .tomorrow { background: var(--secondary-container); }
.section-t { font-size: 15px; font-weight: 700; padding: 12px 18px 6px; }
.day-h { font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 2px 18px 4px; }
.day { margin: 0 12px; padding: 10px 10px 10px 10px; display: flex; gap: 10px; align-items: flex-start; }
.badge { width: 30px; height: 30px; border-radius: 50%; background: var(--icon-bg); color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.badge svg { width: 16px; height: 16px; }
.day div { flex: 1; min-width: 0; }
.day b { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.actie { display: inline-block; background: var(--actie-bg); color: var(--actie-text); font-size: 11px; line-height: 15px; font-weight: 600; padding: 1px 7px; border-radius: 6px; }
.due { color: var(--tertiary); font-size: 11px; font-weight: 600; margin-left: 6px; }
.day small { display: block; color: var(--muted); font-size: 12px; line-height: 16px; margin-top: 2px; }
.day .src { color: var(--brand-blue); font-size: 11px; font-weight: 600; margin-top: 4px; display: block; }

/* Secties */
section { padding: 80px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
h2 { font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.3px; margin: 0 0 12px; }
.intro { font-size: 18px; line-height: 28px; color: var(--muted); margin: 0 0 40px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; }
.alt .feature { background: var(--bg); border-color: var(--bg); }
.feature .badge { width: 44px; height: 44px; margin-bottom: 16px; }
.feature .badge svg { width: 22px; height: 22px; }
.feature .badge.yellow { background: var(--actie-bg); color: var(--actie-text); }
.feature h3 { font-size: 18px; line-height: 24px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 23px; }
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { padding: 28px 24px 24px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 18px; line-height: 24px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 23px; }

.privacy { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; }
.checks li .badge { width: 32px; height: 32px; margin-top: 2px; }
.checks li .badge svg { width: 16px; height: 16px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; line-height: 23px; }

.faq { max-width: 760px; }
.faq details { padding: 0; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand-blue); border-bottom: 2px solid var(--brand-blue); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta { text-align: center; }
.cta .eye-big { width: 88px; height: 88px; margin: 0 auto 24px; }
.cta .actions { justify-content: center; }
.cta .intro { margin-left: auto; margin-right: auto; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; line-height: 21px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer .wordmark { font-size: 20px; }

/* Tablet en telefoon */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 32px; }
  h1 { font-size: 40px; line-height: 46px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .privacy { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .top nav a:not(.btn) { display: none; }
  h1 { font-size: 34px; line-height: 40px; }
  .lead { font-size: 17px; line-height: 27px; }
  h2 { font-size: 28px; line-height: 34px; }
  section { padding: 56px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
