/* Tevrin — one-page site in EN (/), NL (/nl/) and IT (/it/). No external fonts, no tracking. */
:root {
  --navy: #0F1B2D;
  --navy-2: #182A44;
  --navy-3: #22385A;
  --sand: #C9A96E;
  --sand-dark: #7A5C2A;   /* sand text on light backgrounds (AA contrast) */
  --sand-soft: #F4EEE3;
  --ink: #1B2433;
  --muted: #4A5568;
  --line: #E3DED4;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--sand); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--sand-dark); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--sand); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 27, 45, .97); border-bottom: 1px solid rgba(201,169,110,.25); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(15, 27, 45, .9); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-word { font-family: var(--sans); font-weight: 600; letter-spacing: .32em; font-size: .95rem; }
.brand:hover { color: var(--white); }
.brand { margin-right: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.site-nav a { display: block; padding: 8px 12px; color: #D7DEEA; text-decoration: none; font-size: .95rem; border-radius: 8px; }
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.site-nav .nav-cta { color: var(--navy); background: var(--sand); font-weight: 600; margin-left: 6px; }
.site-nav .nav-cta:hover { background: #D8BC86; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
/* Language switcher (EN | NL | IT), always visible in the header, also on mobile */
.lang-switch { margin-left: 14px; flex: none; }
.lang-switch ul { list-style: none; display: flex; align-items: center; border: 1px solid rgba(201,169,110,.45); border-radius: 999px; padding: 2px; }
.lang-switch li + li { border-left: 1px solid rgba(201,169,110,.35); }
.lang-switch li:has(+ li > [aria-current]), .lang-switch li:has([aria-current]) + li { border-left-color: transparent; }
.lang-switch a { display: block; min-width: 36px; padding: 5px 9px; text-align: center; color: #D7DEEA; text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .08em; line-height: 1.3; border-radius: 999px; }
.lang-switch a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-switch a[aria-current="page"] { color: var(--navy); background: var(--sand); }
.lang-switch a:focus-visible { outline-offset: 1px; }
.more-lang { margin: 0; font-weight: 600; }
/* Long Dutch/Italian words: allow hyphenation/wrapping in narrow headings and cards */
:is(:lang(nl), :lang(it)) :is(h1, h2, h3, .card p, .steps p, .fee li, .fee-for, .proof li) { overflow-wrap: break-word; hyphens: auto; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

@media (max-width: 780px) {
  .nav-toggle { display: block; order: 3; margin-left: 4px; }
  .lang-switch { order: 2; margin-left: 8px; }
  .lang-switch a { padding: 8px 8px; min-width: 34px; }
  .js .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(201,169,110,.25); }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  /* without JS: show nav inline below header */
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { order: 4; width: 100%; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 4px 0 8px; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--sand); color: var(--navy); }
.btn-primary:hover { background: #D8BC86; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }
.btn-link { color: var(--sand); padding-left: 6px; padding-right: 6px; text-decoration: none; }
.btn-link:hover { color: #E3CC9F; text-decoration: underline; }
.section:not(.dark):not(.hero) .btn-primary { background: var(--navy); color: var(--white); }
.section:not(.dark):not(.hero) .btn-primary:hover { background: var(--navy-3); color: var(--white); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(201,169,110,.16), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #DCE3EE; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero-inner > h1, .hero-inner > .hero-sub { max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--sand); font-weight: 600; margin-bottom: 1.4em; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: .35em; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--white); margin-bottom: 1.1em; }
.sand { color: var(--sand); }
.hero-lede { max-width: 640px; font-size: 1.08rem; color: #C4CDDC; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 2em 0 3em; }
.proof { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(201,169,110,.35); padding-top: 22px; }
.proof li { display: flex; flex-direction: column; padding-right: 16px; }
.proof strong { font-family: var(--serif); font-size: 1.45rem; color: var(--white); font-weight: 600; }
.proof span { font-size: .9rem; color: #AEB9CB; }
@media (max-width: 700px) { .proof { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--sand-soft); }
.section.dark { background: var(--navy); color: #D3DBE7; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--sand-dark); margin-bottom: .8em; }
.section.dark .kicker { color: var(--sand); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--sand); vertical-align: middle; margin-right: 12px; }
.intro { max-width: 680px; font-size: 1.1rem; color: var(--muted); margin-bottom: 2.2em; }
.section.dark .intro { color: #BCC6D6; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards.two { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card h3 { position: relative; padding-top: 16px; }
.card h3::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 3px; background: var(--sand); border-radius: 2px; }
.card.feature h3 { padding-top: 0; }
.card.feature h3::before { display: none; }
.num { display: block; font-family: var(--serif); color: var(--sand-dark); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .05em; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--sand); font-family: var(--serif); font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Fees */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .fees { grid-template-columns: 1fr; } }
.fee { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.fee.featured { border-color: var(--sand); box-shadow: 0 0 0 1px var(--sand) inset; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--sand); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin: 0; }
.fee-for { color: #C9D6E4; font-size: .95rem; min-height: 3em; }
.price { margin: .2em 0 .3em; }
.amount { font-family: var(--serif); font-size: 2.7rem; color: var(--sand); font-weight: 600; line-height: 1; }
.unit { display: block; color: #C4CDDC; font-size: .92rem; margin-top: 6px; }
.then { color: #C9D6E4; margin-bottom: 1em; }
.fee ul { list-style: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; margin-top: 16px; }
.fee li { padding-left: 24px; position: relative; margin-bottom: 8px; font-size: .97rem; color: #C9D6E4; }
.fee li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--sand); border-bottom: 2px solid var(--sand); transform: rotate(-45deg); }
.example { margin: 2em 0 1.2em; color: #C9D6E4; max-width: 760px; }
.example strong { color: var(--white); }
.smallprint { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; max-width: 860px; }
.smallprint summary { cursor: pointer; color: var(--sand); font-weight: 600; }
.smallprint ul { margin-top: 14px; padding-left: 20px; color: #C9D6E4; font-size: .95rem; }
.smallprint li { margin-bottom: 8px; }

/* Candidates + Italian */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; margin-bottom: 1.8em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--sand-dark); border-bottom: 2px solid var(--sand-dark); transform: rotate(-45deg); }
.italiano { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--sand); border-radius: var(--radius); padding: 34px 32px; scroll-margin-top: 80px; }
.italiano h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.italiano p, .italiano li { font-size: 1rem; }
.italiano .note { font-weight: 600; color: var(--navy); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.email { font-family: var(--serif); font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 1.4em; word-break: break-word; }
.email a { text-decoration-thickness: 2px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid p { color: var(--muted); }
.privacy { background: var(--navy); color: #D3DBE7; border-radius: var(--radius); padding: 28px; }
.privacy h3 { color: var(--white); }
.privacy ul { list-style: none; }
.privacy li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: .96rem; }
.privacy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }

/* Footer */
.site-footer { background: var(--navy); color: #AEB9CB; padding: 40px 0; border-top: 1px solid rgba(201,169,110,.25); font-size: .95rem; }
.footer-inner { display: flex; gap: 24px; align-items: center; }
.footer-inner img { width: 88px; height: 88px; border-radius: 10px; flex: none; }
.site-footer p { margin: 0 0 .4em; }
.site-footer a { color: #E3D3B2; }
.site-footer a:hover { color: var(--white); }
.legal { font-size: .85rem; color: #8E9AB0; }
@media (max-width: 560px) { .footer-inner { flex-direction: column; align-items: flex-start; } }

@media print {
  .lang-switch, .site-header, .hero-actions, .nav-toggle { display: none; }
  .hero, .section.dark, .site-footer, .privacy { background: #fff !important; color: #000 !important; }
  .hero h1, .section.dark h2, .section.dark h3, .amount { color: #000 !important; }
}
.page-404 { min-height: 100vh; }
.italiano .kicker { font-size: .78rem; }
