/* =========================================================================
   KORYVIQ marketing site — design system + layout
   Self-contained, no external requests. Light theme primary, two dark
   sections (How it works, Privacy & Security) per brand direction.
   ========================================================================= */

@font-face{
  font-family:'Inter';
  src:url('../fonts/InterVariable.woff2') format('woff2');
  font-weight:300 900;
  font-style:normal;
  font-display:swap;
}

:root{
  /* Brand colours */
  --navy-900:#011642;
  --navy-800:#00235C;
  --blue-700:#0133BA;
  --blue-500:#0186FF;
  --cyan-400:#00BFFE;
  --slate-600:#495779;
  --mist-50:#F4F8FD;

  --bg:#FFFFFF;
  --bg-alt:var(--mist-50);
  --text:#0B1830;
  --text-2:var(--slate-600);
  --text-3:#5A6688; /* darkened from a lighter slate to clear WCAG AA 4.5:1 on white */
  --line:#E3E9F4;
  --line-strong:#CBD6EA;
  --surface:#FFFFFF;
  --surface-2:var(--mist-50);

  --on-dark:#F4F8FD;
  --on-dark-2:#AAB8D6;
  --on-dark-line:rgba(244,248,253,.14);
  --on-dark-surface:#0A1E52;

  --safe:#12876B;
  --attention:#B8770C;
  --danger:#C23B3B;

  --r-sm:10px; --r-md:16px; --r-lg:22px; --r-xl:28px; --r-pill:999px;
  --shadow-1:0 1px 2px rgba(1,22,66,.06), 0 6px 20px rgba(1,22,66,.08);
  --shadow-2:0 20px 60px rgba(1,22,66,.16);
  --ease:cubic-bezier(.22,.61,.36,1);
  --maxw:1180px;
}

@media (prefers-color-scheme: dark){
  /* The site's primary theme stays light for brand consistency (per brief);
     we only soften pure white slightly to reduce glare on dark-mode systems. */
  :root{ --bg:#FCFDFF; }
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4,p,figure{margin:0;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
input,select,textarea{font:inherit;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
section{position:relative;}

/* ---------- Skip link & focus ---------- */
.skip-link{
  position:absolute;inset-inline-start:16px;top:-60px;z-index:200;
  background:var(--navy-900);color:#fff;padding:12px 18px;border-radius:var(--r-sm);
  transition:top .18s var(--ease);
}
.skip-link:focus{top:16px;}

:focus-visible{outline:3px solid var(--blue-500);outline-offset:3px;border-radius:6px;}
.dark :focus-visible, .site-footer :focus-visible{outline-color:var(--cyan-400);}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:50px;padding:0 26px;border-radius:var(--r-pill);
  font-weight:600;font-size:15.5px;white-space:nowrap;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),background-color .18s var(--ease),color .18s var(--ease),border-color .18s var(--ease);
  border:1.5px solid transparent;
}
/* navy text on the vivid blue/cyan gradient — white text here fails WCAG AA
   (as low as 2.1:1 near the cyan end); navy-900 keeps >=4.9:1 across the gradient. */
.btn-primary{background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));color:var(--navy-900);box-shadow:0 10px 28px rgba(1,134,255,.28);}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(1,134,255,.36);}
.btn-secondary{background:var(--surface);color:var(--navy-800);border-color:var(--line-strong);}
.btn-secondary:hover{border-color:var(--blue-500);color:var(--blue-700);}
.btn-ghost-dark{background:rgba(244,248,253,.08);color:var(--on-dark);border-color:var(--on-dark-line);}
.btn-ghost-dark:hover{background:rgba(244,248,253,.14);}
.btn-sm{height:42px;padding:0 20px;font-size:14.5px;}
.btn svg{width:18px;height:18px;flex:0 0 auto;}

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px;gap:20px;}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.brand img{height:30px;width:auto;}
.brand .brand-name{font-weight:800;font-size:19px;letter-spacing:.01em;color:var(--blue-500);}
/* The name in type, same as the apps: blue letters, a dark-blue Q (Peter, 2026-09-27). */
.brand .brand-q{color:var(--navy-900);}
.nav-links{display:flex;align-items:center;gap:16px;font-size:14px;color:var(--text-2);flex:1;padding-inline-start:12px;}
.nav-links a{font-weight:600;white-space:nowrap;transition:color .16s var(--ease);}
/* Nine links since the parent guides joined the menu (2026-11-15): the menu is compact, the mobile
   menu starts at 1210px (with the Facts link the French menu needs 1201px), and the header CTA shows only where links
   and CTA fit together (French needs 1333px); the hero's own CTA is right below. */
@media (min-width:1211px) and (max-width:1399px){
  .nav-right .btn-sm.cta-desktop{display:none;}
}
@media (min-width:1400px){
  .site-header .wrap{max-width:1400px;}
}
.nav-links a:hover{color:var(--navy-900);}
.nav-right{display:flex;align-items:center;gap:14px;flex:0 0 auto;}
/* Language picker: a native <details> disclosure (no JavaScript needed; main.js only closes it on
   outside click / Escape). Lists every built language by its native name. */
.lang-picker{position:relative;font-size:14px;font-weight:700;}
.lang-picker summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px 0 16px;
  border:1.5px solid var(--line-strong);border-radius:var(--r-pill);color:var(--text-2);background:var(--surface);
  transition:border-color .16s var(--ease),color .16s var(--ease);
}
.lang-picker summary::-webkit-details-marker{display:none;}
.lang-picker summary:hover,.lang-picker[open] summary{border-color:var(--blue-500);color:var(--navy-900);}
.lang-picker summary .chev{width:16px;height:16px;transition:transform .2s var(--ease);}
.lang-picker[open] summary .chev{transform:rotate(180deg);}
.lang-menu{
  position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:120;min-width:216px;
  max-height:min(72vh,440px);overflow:auto;padding:6px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-2);
}
.lang-menu a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border-radius:var(--r-sm);font-weight:600;font-size:15px;color:var(--text);}
.lang-menu a:hover{background:var(--surface-2);color:var(--navy-900);}
.lang-menu a[aria-current="true"]{background:var(--navy-900);color:#fff;}
.lang-menu .lang-code{font-size:12px;font-weight:800;letter-spacing:.06em;opacity:.6;}

.menu-btn{display:none;width:44px;height:44px;border-radius:var(--r-sm);align-items:center;justify-content:center;}
.menu-btn svg{width:22px;height:22px;}

@media (max-width:1210px){
  .nav-links{display:none;position:fixed;inset:76px 0 0 0;background:var(--bg);flex-direction:column;align-items:flex-start;gap:2px;padding:18px 24px 28px;overflow:auto;border-top:1px solid var(--line);}
  .nav-links.open{display:flex;}
  .nav-links a{width:100%;padding:14px 4px;border-bottom:1px solid var(--line);font-size:17px;}
  .menu-btn{display:inline-flex;}
  .nav-right .btn-sm.cta-desktop{display:none;}
}

/* ---------- Eyebrow / section headers ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-700);}
.dark .eyebrow{color:var(--cyan-400);}
.section-head{max-width:720px;margin:0 0 44px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
h2.h-lg{font-size:clamp(28px,4vw,40px);line-height:1.16;letter-spacing:-.01em;font-weight:800;color:var(--navy-900);margin-top:10px;text-wrap:balance;}
.dark h2.h-lg{color:#fff;}
.section-head p{margin-top:14px;font-size:17px;color:var(--text-2);line-height:1.6;}
.dark .section-head p{color:var(--on-dark-2);}

/* ---------- Hero ---------- */
.hero{
  padding:64px 0 88px;
  background:
    radial-gradient(1000px 560px at 86% -10%,rgba(0,191,254,.16),transparent 60%),
    radial-gradient(760px 480px at 6% 10%,rgba(1,51,186,.10),transparent 55%),
    var(--bg);
  overflow:hidden;
}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}
.status-badge{
  display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;
  color:var(--blue-700);background:rgba(1,134,255,.09);border:1px solid rgba(1,134,255,.22);
  padding:8px 14px;border-radius:var(--r-pill);
}
.status-badge .dot{width:7px;height:7px;border-radius:50%;background:var(--blue-500);flex:0 0 auto;}
.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.06;letter-spacing:-.015em;font-weight:800;color:var(--navy-900);margin:20px 0 18px;}
.hero .lede{font-size:19px;line-height:1.6;color:var(--text-2);max-width:52ch;}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px;}
.hero-platform-note{margin-top:22px;display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text-3);max-width:46ch;}
.hero-platform-note svg{width:18px;height:18px;flex:0 0 auto;margin-top:1px;color:var(--blue-500);}

.hero-art{position:relative;display:flex;align-items:center;justify-content:center;}

/* ---------- Phone frames around real app screens ----------
   Screens: assets/img/app/ (600x1298, generated — see README "App screens"). The frame is
   pure CSS so it stays crisp at any density; percent radii keep it in proportion at any size. */
.phone{position:relative;display:flex;flex-direction:column;align-items:center;}
.phone-body{
  position:relative;width:100%;padding:3.4%;border-radius:15% / 7%;
  background:linear-gradient(150deg,#26365C,#0B1636 40%,#040A1C);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1px rgba(1,22,66,.28),
    0 34px 60px -24px rgba(1,22,66,.5),0 14px 28px -12px rgba(1,22,66,.28);
}
/* side keys */
.phone-body::before,.phone-body::after{content:"";position:absolute;right:-1.1%;width:1.4%;border-radius:0 3px 3px 0;background:#0B1636;}
.phone-body::before{top:17%;height:6%;}
.phone-body::after{top:26%;height:11%;}
.phone-screen{position:relative;overflow:hidden;aspect-ratio:600/1298;border-radius:12.5% / 5.8%;background:var(--mist-50);}
.phone-screen picture,.phone-screen img{display:block;width:100%;height:auto;}
/* punch-hole camera, centred in the app's status-bar strip */
.phone-screen::after{content:"";position:absolute;left:50%;top:1.7%;width:3.8%;aspect-ratio:1;border-radius:50%;background:#040A1C;transform:translate(-50%,-50%);z-index:3;}

/* Several screens in one phone: a calm CSS-only crossfade, 4.5 s per screen. */
.phone-screen .slide{position:absolute;inset:0;opacity:0;animation:phone-slide 13.5s var(--ease) infinite both;}
.phone-screen .slide:nth-child(1){animation-delay:-.5s;}
.phone-screen .slide:nth-child(2){animation-delay:4s;}
.phone-screen .slide:nth-child(3){animation-delay:8.5s;}
/* the child's phone answers a beat later */
.phone-child .phone-screen .slide:nth-child(1){animation-delay:-.2s;}
.phone-child .phone-screen .slide:nth-child(2){animation-delay:4.3s;}
.phone-child .phone-screen .slide:nth-child(3){animation-delay:8.8s;}
@keyframes phone-slide{
  0%{opacity:0;transform:translateY(2.5%);}
  4%,33.3%{opacity:1;transform:none;}
  37.3%,100%{opacity:0;transform:translateY(-1.5%);}
}
@media (prefers-reduced-motion: reduce){
  .phone-screen .slide{animation:none !important;}
  .phone-screen .slide:first-child{opacity:1;}
}
.phone-label{
  margin-top:14px;font-size:12.5px;font-weight:700;color:var(--navy-800);white-space:nowrap;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);padding:5px 12px;box-shadow:var(--shadow-1);
}

/* Hero: the parent's phone in front, the child's phone just behind it. */
.phones{position:relative;width:100%;max-width:440px;margin:0 auto;padding-top:2%;}
.phones::before{
  content:"";position:absolute;inset-block:4% 10%;inset-inline:0 -6%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(0,191,254,.26),rgba(1,134,255,.10) 60%,transparent);
}
.phone-parent{width:57%;z-index:2;}
.phone-child{position:absolute;inset-inline-end:0;top:11%;width:48%;z-index:1;}

/* ---------- Tour: how it works, in real app screens ---------- */
.tour{padding:96px 0;background:var(--surface-2);}
.tour-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.tour-step{display:flex;flex-direction:column;align-items:center;gap:26px;text-align:center;}
.phone-sm{width:100%;max-width:210px;}
.phone-sm .phone-body{box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1px rgba(1,22,66,.22),0 24px 44px -22px rgba(1,22,66,.45);}
.tour-meta{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-700);}
.tour-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));color:var(--navy-900);font-size:12.5px;letter-spacing:0;}
.tour-text h3{font-size:18px;font-weight:800;color:var(--navy-900);margin-top:10px;}
.tour-text p{font-size:15px;color:var(--text-2);line-height:1.6;margin:8px auto 0;max-width:30ch;}
.tour-note{margin-top:44px;text-align:center;font-size:13.5px;color:var(--text-3);}
.protect{background:var(--bg);}
.tour-text .tour-plan{margin-top:14px;font-size:12.5px;line-height:1.5;color:var(--text-3);}
.checkout{padding:96px 0;background:var(--surface-2);}
.checkout-grid{display:grid;grid-template-columns:auto minmax(0,520px);gap:64px;justify-content:center;align-items:center;}
.checkout-levers{list-style:none;margin:0;padding:0;display:grid;gap:22px;}
.checkout-levers h3{font-size:18px;font-weight:800;color:var(--navy-900);}
.checkout-levers p{font-size:15px;color:var(--text-2);line-height:1.6;margin-top:4px;}
.checkout-limits{margin-top:26px;font-size:14px;line-height:1.6;color:var(--text-2);}
.checkout-plan{margin-top:10px;font-size:12.5px;line-height:1.5;color:var(--text-3);}

/* ---------- Problem ---------- */
.problem{padding:88px 0;background:var(--bg);}
.problem-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.problem-card{
  background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:28px;display:flex;flex-direction:column;gap:14px;
}
.problem-card .ic{width:44px;height:44px;border-radius:var(--r-sm);background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.problem-card .ic svg{width:22px;height:22px;color:#fff;}
.problem-card h3{font-size:18px;font-weight:700;color:var(--navy-900);}
.problem-card p{font-size:15px;color:var(--text-2);line-height:1.6;}

/* ---------- How it works (DARK section) ---------- */
.how{padding:96px 0;background:radial-gradient(1100px 600px at 90% 0%,rgba(0,191,254,.14),transparent 60%),linear-gradient(180deg,var(--navy-900),#010F31);color:var(--on-dark);}
.how .eyebrow{color:var(--cyan-400);}
.how h2{color:#fff;}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px;position:relative;}
.step{
  background:rgba(244,248,253,.05);border:1px solid var(--on-dark-line);border-radius:var(--r-lg);
  padding:26px 22px;display:flex;flex-direction:column;gap:12px;
}
.step .num{font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--cyan-400);}
.step h3{font-size:17px;font-weight:700;color:#fff;}
.step p{font-size:14.5px;color:var(--on-dark-2);line-height:1.6;}
.step-example{
  margin-top:34px;background:rgba(244,248,253,.06);border:1px solid var(--on-dark-line);
  border-radius:var(--r-lg);padding:22px 26px;display:flex;gap:16px;align-items:flex-start;
}
.step-example svg{width:26px;height:26px;flex:0 0 auto;color:var(--cyan-400);margin-top:2px;}
.step-example p{font-size:15.5px;color:var(--on-dark-2);line-height:1.65;}
.step-example strong{color:#fff;}

/* ---------- Modules ---------- */
.modules{padding:96px 0;background:var(--bg);}
.module-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.module-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:26px;display:flex;flex-direction:column;gap:12px;transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease);
}
.module-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-1);transform:translateY(-2px);}
.module-card .ic{width:42px;height:42px;border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;}
.module-card .ic svg{width:22px;height:22px;color:var(--blue-700);}
.module-card h3{font-size:16.5px;font-weight:700;color:var(--navy-900);}
.module-card p{font-size:14px;color:var(--text-2);line-height:1.6;}
.module-card .plat{font-size:12px;font-weight:700;color:var(--blue-700);background:rgba(1,134,255,.08);border-radius:var(--r-pill);padding:4px 10px;align-self:flex-start;}

/* ---------- Age modes ---------- */
.agemodes{padding:96px 0;background:var(--surface-2);}
.age-track{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;margin-top:16px;}
.age-track::before{content:"";position:absolute;top:26px;left:6%;right:6%;height:2px;background:linear-gradient(90deg,var(--blue-500),var(--cyan-400));opacity:.35;}
.age-step{padding:0 14px;text-align:start;}
.age-dot{width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));margin-bottom:34px;position:relative;box-shadow:0 0 0 6px var(--surface-2);}
.age-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:22px;height:100%;}
.age-card .range{font-size:12.5px;font-weight:800;color:var(--blue-700);letter-spacing:.04em;}
.age-card h3{font-size:19px;font-weight:800;color:var(--navy-900);margin-top:6px;}
.age-card p{font-size:14px;color:var(--text-2);margin-top:10px;line-height:1.6;}

/* ---------- Transparency (does / doesn't) ---------- */
.transparency{padding:96px 0;background:var(--bg);}
.trans-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.trans-card{border-radius:var(--r-lg);padding:30px;border:1px solid var(--line);}
.trans-card.does{background:linear-gradient(180deg,rgba(1,134,255,.06),rgba(0,191,254,.03));}
.trans-card.doesnot{background:var(--surface-2);}
.trans-card h3{font-size:19px;font-weight:800;color:var(--navy-900);display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.trans-card h3 svg{width:22px;height:22px;flex:0 0 auto;}
.trans-card.does h3 svg{color:var(--safe);}
.trans-card.doesnot h3 svg{color:var(--danger);}
.trans-list{display:flex;flex-direction:column;gap:13px;}
.trans-list li{display:flex;gap:10px;font-size:15px;color:var(--text-2);line-height:1.55;align-items:flex-start;}
.trans-list svg{width:18px;height:18px;flex:0 0 auto;margin-top:2px;}
.trans-card.does .trans-list svg{color:var(--safe);}
.trans-card.doesnot .trans-list svg{color:var(--danger);}

/* ---------- Platform honesty ---------- */
.platforms{padding:96px 0;background:var(--surface-2);}
.plat-status{
  display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-md);padding:16px 20px;margin-bottom:36px;font-size:15px;font-weight:600;color:var(--navy-900);max-width:640px;
}
.plat-status svg{width:22px;height:22px;color:var(--blue-500);flex:0 0 auto;}
.plat-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;align-items:start;}
.plat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px;}
.plat-card.android{border-color:rgba(1,134,255,.25);box-shadow:0 0 0 1px rgba(1,134,255,.06) inset;}
.plat-card h3{font-size:19px;font-weight:800;color:var(--navy-900);display:flex;align-items:center;gap:10px;}
.plat-card h3 svg{width:24px;height:24px;color:var(--blue-700);}
.plat-card > p.lede{margin-top:10px;font-size:14.5px;color:var(--text-2);line-height:1.6;}
.plat-list{margin-top:18px;display:flex;flex-direction:column;gap:14px;}
.plat-list li{display:flex;gap:10px;font-size:14.5px;color:var(--text-2);line-height:1.55;}
.plat-list svg{width:18px;height:18px;flex:0 0 auto;margin-top:2px;color:var(--safe);}
.plat-card.ios{background:var(--surface-2);}
.plat-card.ios p{font-size:14.5px;color:var(--text-2);line-height:1.65;margin-top:10px;}
.plat-card.ios h3 svg{color:var(--text-3);}

/* ---------- Privacy & Security principles (DARK section) ---------- */
.security{padding:96px 0;background:radial-gradient(1000px 560px at 8% 0%,rgba(0,191,254,.12),transparent 60%),linear-gradient(180deg,#010F31,var(--navy-900));color:var(--on-dark);}
.security .eyebrow{color:var(--cyan-400);}
.security h2{color:#fff;}
.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px;}
.principle-card{background:rgba(244,248,253,.05);border:1px solid var(--on-dark-line);border-radius:var(--r-lg);padding:24px;}
.principle-card .ic{width:40px;height:40px;border-radius:var(--r-sm);background:rgba(0,191,254,.14);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.principle-card .ic svg{width:20px;height:20px;color:var(--cyan-400);}
.principle-card h3{font-size:16px;font-weight:700;color:#fff;}
.principle-card p{font-size:14px;color:var(--on-dark-2);margin-top:8px;line-height:1.6;}

/* ---------- Pricing ---------- */
.pricing{padding:96px 0;background:var(--bg);}
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;}
.price-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:30px;display:flex;flex-direction:column;gap:16px;position:relative;
}
.price-card.price-featured{
  border:1.5px solid var(--blue-500);box-shadow:var(--shadow-2);
  background:linear-gradient(180deg,rgba(1,134,255,.06),var(--surface) 45%);
}
.price-badge{
  position:absolute;top:-13px;inset-inline-start:28px;background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));
  color:var(--navy-900);font-size:12px;font-weight:800;letter-spacing:.02em;padding:6px 14px;
  border-radius:var(--r-pill);box-shadow:0 6px 16px rgba(1,134,255,.32);
}
.price-head h3{font-size:19px;font-weight:800;color:var(--navy-900);}
.price-amount{margin-top:10px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;}
.amount-main{font-size:28px;font-weight:800;color:var(--navy-900);letter-spacing:-.01em;}
.amount-period{font-size:14px;font-weight:600;color:var(--text-2);margin-inline-start:2px;}
.amount-alt{font-size:13.5px;font-weight:600;color:var(--text-3);}
.price-scope{margin-top:8px;font-size:14px;color:var(--text-2);font-weight:600;}
.price-includes{font-size:13px;font-weight:800;color:var(--blue-700);text-transform:uppercase;letter-spacing:.04em;}
.price-list{display:flex;flex-direction:column;gap:11px;}
.price-list li{display:flex;gap:10px;font-size:14.5px;color:var(--text-2);line-height:1.55;align-items:flex-start;}
.price-list svg{width:17px;height:17px;flex:0 0 auto;margin-top:2px;color:var(--safe);}
.price-soon-heading{margin-top:4px;}
.soon-pill{
  display:inline-flex;align-items:center;font-size:11px;font-weight:800;letter-spacing:.03em;
  text-transform:uppercase;color:var(--text-3);background:var(--surface-2);border:1px solid var(--line-strong);
  border-radius:var(--r-pill);padding:4px 10px;
}
.price-list-soon li{color:var(--text-3);font-size:13.5px;padding-inline-start:2px;}
.price-trial{margin-top:auto;padding-top:6px;font-size:14.5px;font-weight:700;color:var(--navy-900);}
.price-featured .btn{margin-top:4px;justify-content:center;}
.price-worth{margin-top:40px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px;}
.price-worth h3{font-size:21px;font-weight:800;color:var(--navy-900);}
.worth-intro{margin-top:8px;font-size:15px;color:var(--text-2);max-width:64ch;}
.worth-rows{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.worth-row{display:flex;flex-direction:column;gap:10px;padding-top:16px;border-top:2px solid var(--blue-500);}
.worth-price{display:flex;flex-direction:column;gap:2px;}
.worth-price strong{font-size:22px;font-weight:800;color:var(--navy-900);letter-spacing:-.01em;}
.worth-price span{font-size:13px;font-weight:700;color:var(--blue-700);}
.worth-get{font-size:14.5px;color:var(--text-2);line-height:1.55;}
.worth-fact{font-size:14.5px;color:var(--navy-900);font-weight:600;line-height:1.55;}
.worth-src{font-weight:500;color:var(--text-3);font-size:13px;}
.worth-note{margin-top:22px;font-size:13.5px;color:var(--text-3);}
.worth-links{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14.5px;font-weight:700;}
.worth-links a{color:var(--blue-700);text-decoration:underline;text-underline-offset:3px;}
@media (max-width:900px){.worth-rows{grid-template-columns:1fr;}.price-worth{padding:22px;}}
.price-note{margin-top:28px;text-align:center;font-size:13px;color:var(--text-3);}

/* ---------- Early access CTA ---------- */
.early-access{padding:88px 0;background:var(--bg);}
.ea-card{
  border-radius:var(--r-xl);padding:56px;text-align:center;
  background:linear-gradient(135deg,var(--navy-900),var(--blue-700) 70%,var(--blue-500));
  color:#fff;box-shadow:var(--shadow-2);position:relative;overflow:hidden;
}
.ea-card::after{content:"";position:absolute;inset:0;background:radial-gradient(480px 260px at 85% -10%,rgba(0,191,254,.4),transparent 60%);pointer-events:none;}
.ea-card h2{position:relative;font-size:clamp(26px,3.6vw,34px);font-weight:800;max-width:640px;margin:0 auto;}
.ea-card p{position:relative;margin:16px auto 0;max-width:56ch;color:var(--on-dark-2);font-size:16px;line-height:1.6;}
.ea-card .hero-cta{position:relative;justify-content:center;margin-top:30px;}
.ea-note{position:relative;margin-top:18px;font-size:13px;color:var(--on-dark-2);}

/* ---------- FAQ ---------- */
.faq{padding:96px 0;background:var(--surface-2);}
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 22px;font-weight:700;font-size:16px;color:var(--navy-900);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .chev{width:20px;height:20px;flex:0 0 auto;color:var(--blue-500);transition:transform .2s var(--ease);}
.faq-item[open] summary .chev{transform:rotate(180deg);}
.faq-item .faq-a{padding:0 22px 22px;font-size:15px;color:var(--text-2);line-height:1.65;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-900);color:var(--on-dark-2);padding:64px 0 32px;}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:40px;border-bottom:1px solid var(--on-dark-line);}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.footer-brand img{height:26px;}
.footer-brand span{font-weight:800;color:#fff;font-size:17px;}
.footer-tagline{font-size:14.5px;line-height:1.6;max-width:32ch;}
.footer-col h4{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;margin-bottom:14px;}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{font-size:14.5px;transition:color .16s var(--ease);}
.footer-col a:hover{color:#fff;}
.footer-col .col-intro{font-size:14px;margin-bottom:12px;}
.footer-note{opacity:.75;}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding-top:26px;font-size:13px;}
.footer-legal{display:flex;gap:18px;flex-wrap:wrap;}

/* ---------- Privacy / 404 pages ---------- */
.page-hero{padding:64px 0 20px;background:var(--bg);}
.page-hero .eyebrow{margin-bottom:14px;}
.page-hero h1{font-size:clamp(30px,4.4vw,44px);font-weight:800;color:var(--navy-900);letter-spacing:-.01em;}
.page-hero .updated{margin-top:12px;font-size:14px;color:var(--text-3);}
.prose{padding:40px 0 96px;background:var(--bg);}
.prose-inner{max-width:760px;}
.prose-inner h2{font-size:22px;font-weight:800;color:var(--navy-900);margin:40px 0 14px;}
.prose-inner h2:first-child{margin-top:0;}
.prose-inner p{font-size:16px;color:var(--text-2);line-height:1.75;margin-bottom:14px;}
.prose-inner ul{margin:0 0 14px;display:flex;flex-direction:column;gap:10px;}
.prose-inner li{font-size:16px;color:var(--text-2);line-height:1.7;padding-inline-start:22px;position:relative;}
.prose-inner li::before{content:"";position:absolute;inset-inline-start:0;top:10px;width:6px;height:6px;border-radius:50%;background:var(--blue-500);}
.prose-inner a{color:var(--blue-700);font-weight:600;text-decoration:underline;text-underline-offset:3px;}

.notfound{padding:140px 0 160px;text-align:center;background:radial-gradient(900px 500px at 50% -10%,rgba(0,191,254,.14),transparent 60%),var(--bg);}
.notfound .code{font-size:clamp(64px,12vw,120px);font-weight:800;color:var(--navy-900);line-height:1;letter-spacing:-.02em;}
.notfound h1{font-size:clamp(22px,3vw,28px);font-weight:700;color:var(--navy-900);margin-top:10px;}
.notfound p{margin-top:14px;font-size:16px;color:var(--text-2);max-width:48ch;margin-left:auto;margin-right:auto;}
.notfound .hero-cta{justify-content:center;margin-top:30px;}

/* ---------- Responsive ---------- */
@media (max-width:1040px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{max-width:420px;width:100%;margin:8px auto 0;}
  .steps{grid-template-columns:repeat(2,1fr);}
  .tour-steps{grid-template-columns:repeat(2,1fr);row-gap:56px;}
  .module-grid{grid-template-columns:repeat(2,1fr);}
  .principle-grid{grid-template-columns:repeat(2,1fr)}
  .age-track{grid-template-columns:repeat(2,1fr);row-gap:28px;}
  .age-track::before{display:none;}
  .plat-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;row-gap:32px;}
}
@media (max-width:720px){
  .price-grid{grid-template-columns:1fr;}
  .price-badge{inset-inline-start:22px;}
}
@media (max-width:680px){
  .checkout{padding:64px 0;}
  .checkout-grid{grid-template-columns:1fr;gap:32px;justify-items:center;}
  .problem-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .tour-steps{grid-template-columns:1fr;row-gap:36px;}
  .tour-step{display:grid;grid-template-columns:124px 1fr;align-items:center;gap:20px;text-align:start;}
  .tour-text p{margin-inline-start:0;}
  .module-grid{grid-template-columns:1fr;}
  .principle-grid{grid-template-columns:1fr}
  .age-track{grid-template-columns:1fr;}
  .trans-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .ea-card{padding:34px 22px;}
  .hero{padding:44px 0 64px;}
  .tour,.problem,.how,.modules,.agemodes,.transparency,.platforms,.security,.pricing,.early-access,.faq{padding:64px 0;}
}
@media (max-width:400px){
  .wrap{padding:0 16px;}
}

/* ---------- Owner copy (2026-09-28): lists, highlighted lines, closing ---------- */
.mini-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;text-align:start;}
.mini-list li{position:relative;padding-inline-start:18px;font-size:14.5px;color:var(--text-2);line-height:1.5;}
.mini-list li::before{content:"";position:absolute;inset-inline-start:2px;top:.6em;width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,var(--blue-500),var(--cyan-400));}
.dark .mini-list li{color:var(--on-dark-2);}
.tour-text .mini-list{display:inline-flex;margin-top:10px;}
.emph{font-style:italic;font-weight:600;color:var(--blue-700);margin-top:10px;}
.dark .emph{color:var(--cyan-400);}
.section-head .emph{font-size:17px;}
.hero-copy p + p{margin-top:12px;}
.hero-copy .emph{font-size:17px;}
.section-outro{margin-top:28px;text-align:center;}
.section-outro .emph{font-size:18px;}
.check-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:14px 28px;max-width:900px;}
.check-grid li{display:flex;gap:10px;align-items:flex-start;font-size:16px;color:var(--text);line-height:1.5;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:14px 16px;}
.check-grid svg{width:18px;height:18px;flex:0 0 auto;margin-top:3px;color:var(--safe);}
.trans-grid.single{grid-template-columns:1fr;max-width:760px;}
.ea-card p + p{margin-top:10px;}
.ea-motto{margin-top:18px;font-size:19px;}
@media (max-width:720px){ .check-grid{grid-template-columns:1fr;} }
/* The card filled 100% plus the dot above it and ran into whatever followed the track. */
.age-step{display:flex;flex-direction:column;}
.age-card{height:auto;flex:1;}
.ea-card .emph{color:#fff;}
/* A long call to action ("Interesse in early access? Neem contact op") must wrap on a phone
   instead of widening the whole page. */
@media (max-width:520px){ .btn{white-space:normal;text-align:center;max-width:100%;} .hero-cta .btn{width:100%;justify-content:center;} }

/* ---------- Test download ---------- */
.download{padding:88px 0 0;background:var(--bg);}
.dl-card{max-width:760px;margin:0 auto;padding:40px;border-radius:var(--r-xl);background:var(--surface-2);box-shadow:var(--shadow-1);text-align:center;}
.dl-card p{margin:14px auto 0;max-width:60ch;color:var(--text-2);line-height:1.6;}
.dl-steps{margin:22px auto 0;padding-inline-start:22px;max-width:60ch;text-align:start;color:var(--text-2);line-height:1.6;}
.dl-steps li{margin-top:8px;}
.dl-card .hero-cta{justify-content:center;margin-top:26px;}
.dl-card .dl-meta{font-size:14px;color:var(--text-3);}
.dl-sha{font-size:12.5px;color:var(--text-3);overflow-wrap:anywhere;}
.dl-sha code{display:block;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}
.dl-card .dl-note{font-size:13.5px;color:var(--text-3);}
@media (max-width:640px){.dl-card{padding:28px 20px;}}

/* ---------- Right-to-left (Arabic) and script-specific type ---------- */
/* Inter has no Arabic glyphs: keep it first so the Latin brand name and digits stay Inter, and let the
   system's Arabic font draw the rest. No font download, no external request. */
:lang(ar) body,:lang(ar) button,:lang(ar) input{font-family:'Inter','Segoe UI','Noto Sans Arabic','Geeza Pro',Tahoma,sans-serif;}
:lang(ar) body{line-height:1.75;}
/* Arabic has no italic tradition: slanted Arabic reads as a rendering fault. Emphasis = weight + colour. */
:lang(ar) .emph,:lang(ar) em,:lang(ar) i{font-style:normal;}
/* Letter-spacing breaks the joined letters of cursive scripts. */
:lang(ar) *{letter-spacing:0 !important;}
/* Directional parts of the layout that logical properties cannot flip. */
[dir="rtl"] .i-dir{transform:scaleX(-1);}
/* A direction arrow behind a plain text link (guides hub, /ouders/): without a size the SVG fills
   the column. Buttons size their own icon (.btn svg). */
p > a > svg.i-dir{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.16em;margin-inline-start:.3em;}
[dir="rtl"] .age-track::before{background:linear-gradient(270deg,var(--blue-500),var(--cyan-400));}
/* Technical strings stay left-to-right inside an RTL page. */
[dir="rtl"] .dl-sha code{direction:ltr;unicode-bidi:isolate;}

/* Consent banner (assets/js/consent.js). Shown until the visitor accepts or declines. */
.consent-banner{position:fixed;inset-inline:16px;inset-block-end:16px;z-index:1000;max-width:560px;margin-inline:auto;padding:18px 20px;background:var(--surface);color:var(--text);border:1px solid var(--line-strong);border-radius:var(--r-md);box-shadow:var(--shadow-2);font-size:14px;line-height:1.5;}
.consent-title{display:block;margin-block-end:6px;font-size:15px;color:var(--navy-900);}
.consent-text{margin:0 0 14px;color:var(--text-2);}
.consent-text a{color:var(--blue-700);text-decoration:underline;}
.consent-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;}
.consent-btn{font:inherit;font-weight:600;padding:10px 18px;border-radius:var(--r-pill);border:1px solid var(--blue-700);cursor:pointer;min-height:44px;}
.consent-yes{background:var(--blue-700);color:#fff;}
.consent-no{background:transparent;color:var(--blue-700);}
.consent-btn:focus-visible,.consent-reopen:focus-visible{outline:3px solid var(--cyan-400);outline-offset:2px;}
.consent-reopen{font:inherit;font-size:13px;background:none;border:0;padding:4px 0;color:inherit;text-decoration:underline;cursor:pointer;opacity:.85;}

/* Facts page (tools/page_cijfers.py): figure cards, each with year, source and caveat. */
.fact-section{margin-block:40px;}
.fact-grid{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;}
.fact-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:18px 20px;display:flex;flex-direction:column;gap:6px;}
.fact-card p{margin:0;}
.fact-meta{font-size:13px;color:var(--text-3);font-weight:600;}
.fact-num{font-size:34px;line-height:1.1;font-weight:800;color:var(--blue-700);overflow-wrap:anywhere;}
.fact-label{font-size:15px;color:var(--text);}
.fact-note{font-size:13px;color:var(--text-3);}
.fact-src{font-size:13px;margin-block-start:auto !important;padding-block-start:8px;}
.fact-src a{color:var(--blue-700);text-decoration:underline;overflow-wrap:anywhere;}
.fact-howto{margin-block:24px;}
