/* inburgeringsmaatje.nl: the same identity as the app (docs/brand-direction.md): warm cream paper,
   ink green, tulip coral, leaf-shaped corners, the canal-house skyline and Tulpje. Cream also in dark mode, like the app. */
:root {
  --bg: #f2e8d5; --bg-alt: #ece0c8; --card: #f8efdf; --text: #203f35; --muted: #647060; --line: #ded3be;
  --green: #245d4c; --green-dark: #194638; --green-soft: #edf3ec; --orange: #d36a4b; --orange-dark: #a7472d; --orange-soft: #f6e2d6;
  --leaf: 26px 26px 26px 8px; --leaf-sm: 15px 15px 15px 5px; --shadow: 0 10px 30px rgba(24, 60, 53, .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: ui-sans-serif, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 850; letter-spacing: -.03em; }
h2 { font-size: clamp(27px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.ico { width: 24px; height: 24px; flex: none; }

/* Wordmark: the tulip/book mark with "inburgerings / maatje." like the app header. Always left to right. */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); direction: ltr; }
.logo .mark { width: 42px; height: 42px; flex: none; }
.logo .name { display: flex; flex-direction: column; font-size: 13px; line-height: 1.12; font-weight: 650; letter-spacing: -.15px; }
.logo .name b { font-size: 24px; font-weight: 850; letter-spacing: -1px; }
.logo .name i { font-style: normal; color: var(--orange); }
.logo.small .mark { width: 32px; height: 32px; }
.logo.small .name { font-size: 11px; }
.logo.small .name b { font-size: 19px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.menu { display: flex; gap: 24px; margin-inline-start: auto; }
.menu a { color: var(--text); text-decoration: none; font-weight: 650; font-size: 15px; }
.menu a:hover { color: var(--orange-dark); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.lang summary .ico { width: 18px; height: 18px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 6px; box-shadow: var(--shadow); min-width: 170px; }
.lang a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 650; }
.lang a:hover, .lang a[aria-current] { background: var(--green-soft); color: var(--green-dark); }
@media (max-width: 860px) { .menu { display: none; } .lang { margin-inline-start: auto; } }

/* Buttons: ink green with the app's raised bottom edge. */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 22px; border-radius: 16px; font-weight: 750; font-size: 17px; text-decoration: none; border: 1px solid transparent; }
.btn-play { background: var(--green); color: #fbf8f0; box-shadow: 0 4px 0 var(--green-dark); }
.btn-play:hover { filter: brightness(1.08); }
.btn-play.is-soon { cursor: default; }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--card); }
.btn-ghost .ico { width: 20px; height: 20px; }
[dir="rtl"] .btn-ghost .ico { transform: scaleX(-1); }

/* Hero */
.hero { position: relative; padding: 60px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero-text { padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: var(--orange-dark); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-weight: 650; font-size: 15px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks .ico { width: 18px; height: 18px; color: var(--green); }
.hero-art { position: relative; justify-self: center; padding-inline-end: 70px; }
.hero-art::before { content: ''; position: absolute; inset: 40px -40px -20px 30px; background: var(--green-soft); border-radius: 50% 50% 0 0 / 34% 34% 0 0; z-index: -1; }
.mascot { position: absolute; width: 150px; inset-inline-end: -14px; bottom: 30px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.16)); }
.hero .skyline { margin-top: -2px; }
@media (max-width: 860px) {
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 8px; }
  .hero-art { padding-inline-end: 44px; }
  .mascot { width: 110px; }
}

/* Canal-house skyline (the app's signature detail), drawn by build.mjs. */
.skyline { display: block; width: 100%; height: 46px; color: var(--green); }
.skyline.soft { color: color-mix(in srgb, var(--green) 14%, var(--bg)); }

/* Phone frame around the app screenshots */
.phone { width: 290px; aspect-ratio: 390 / 844; border-radius: 42px; padding: 10px; background: #17302a; box-shadow: var(--shadow), 0 0 0 2px #2f4a42 inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.phone.small { width: 196px; border-radius: 32px; padding: 7px; }
.phone.small img { border-radius: 26px; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin: 0 0 10px; }
.intro { color: var(--muted); font-size: 18px; max-width: 42em; margin-top: 0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf); padding: 28px; box-shadow: var(--shadow); overflow: hidden; }
.step::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--orange); }
.step-2::before { background: var(--green); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); margin-bottom: 14px; }
.step-2 .tag { background: var(--green-soft); color: var(--green); }
.step p { color: var(--muted); margin: 0 0 12px; }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step li { display: flex; gap: 10px; align-items: flex-start; }
.step li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--green); }
.skip-note { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 14px 18px; border-radius: var(--leaf-sm); background: var(--green-soft); font-weight: 650; }
.skip-note .ico { color: var(--green); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf); padding: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--leaf-sm); background: var(--green-soft); color: var(--green); margin-bottom: 16px; }
.card.highlight { background: var(--green); border-color: var(--green); color: #fbf8f0; }
.card.highlight p { color: color-mix(in srgb, #fbf8f0 82%, transparent); }
.card.highlight .card-icon { background: color-mix(in srgb, #fbf8f0 14%, transparent); color: #ffbc98; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 22px; overflow-x: auto; padding: 20px 4px 14px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; scroll-snap-align: start; text-align: center; }
.shots figcaption { margin: 14px auto 0; font-weight: 650; color: var(--muted); font-size: 15px; max-width: 196px; }

.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.lang-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lang-pills li { padding: 10px 16px; border-radius: 16px 16px 16px 5px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.lang-pills li.soon { border-style: dashed; color: var(--muted); font-weight: 600; background: transparent; }
@media (max-width: 760px) { .langs { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; max-width: 860px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf); padding: 28px; }
.plan-premium { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan h3 { display: flex; align-items: center; gap: 8px; }
.plan h3 .ico { color: var(--orange); }
.plan-price { font-size: 22px; font-weight: 850; color: var(--green); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--green); }
.note { color: var(--muted); font-size: 15px; margin-top: 16px; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 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(--orange-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.final { padding-bottom: 0; }
.final-box { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; background: var(--green); color: #fbf8f0; border-radius: 32px 32px 32px 10px; padding: 36px 40px 82px; }
.final-box img { width: 140px; flex: none; position: relative; z-index: 1; }
.final-box > div { position: relative; z-index: 1; }
.final-box p { font-size: 18px; opacity: .9; margin: 0; }
.final-box .btn-play { background: #fbf8f0; color: var(--green-dark); box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.final-box .skyline { position: absolute; inset: auto 0 0; color: var(--green-dark); }
@media (max-width: 640px) { .final-box { flex-direction: column; text-align: center; padding: 28px 22px 80px; } .final-box .actions { justify-content: center; } }

/* Footer */
.foot { padding: 34px 0 40px; margin-top: 76px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--text); font-weight: 650; text-decoration: none; }
.foot nav a:hover { color: var(--orange-dark); }
.disclaimer, .copy { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.copy { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
