/* AstroSeeke landers -- the Lovable theme (src/index.css + tailwind tokens), written out by hand.
   Colours are the same HSL tokens; classes carry the names the designs used. */

:root {
  --background: 240 20% 4%;
  --foreground: 240 10% 90%;
  --card: 240 18% 8%;
  --primary: 270 60% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 20% 14%;
  --muted: 240 15% 12%;
  --muted-foreground: 240 8% 55%;
  --accent: 45 80% 60%;
  --accent-foreground: 240 20% 4%;
  --border: 240 15% 18%;
  --radius: 0.75rem;
  --mystic-purple: 270 60% 55%;
  --mystic-deep: 250 40% 20%;
  --mystic-glow: 270 80% 70%;
  --mystic-gold: 45 80% 60%;
  --mystic-blue: 220 60% 30%;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ── theme pieces ──────────────────────────────────────────────────────────── */
.mystic-gradient {
  background: linear-gradient(135deg, hsl(var(--mystic-deep)), hsl(var(--background)), hsl(var(--mystic-blue)));
}
.glass-card {
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
}
.text-gradient-gold, .text-gradient-purple {
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.text-gradient-gold { background-image: linear-gradient(135deg, hsl(var(--mystic-gold)), hsl(45 90% 75%)); }
.text-gradient-purple { background-image: linear-gradient(135deg, hsl(var(--mystic-purple)), hsl(var(--mystic-glow))); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(270 60% 55% / 0.3); }
  50% { box-shadow: 0 0 40px hsl(270 60% 55% / 0.6); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes flip-in { from { transform: rotateY(180deg); opacity: 0; } to { transform: none; opacity: 1; } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.fade-up { animation: fade-up .5s ease-out both; }
.fade-in { animation: fade-in .4s ease-out both; }
.pop { animation: pop .5s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

.starfield { position: fixed; inset: 0; pointer-events: none; z-index: 0; width: 100%; height: 100%; }
.page { position: relative; min-height: 100vh; overflow: hidden; }
.page > * { position: relative; z-index: 1; }
.wrap { margin: 0 auto; padding: 0 1rem; width: 100%; }
.wrap-2xl { max-width: 42rem; } .wrap-3xl { max-width: 48rem; } .wrap-4xl { max-width: 56rem; }
.wrap-5xl { max-width: 64rem; } .wrap-6xl { max-width: 72rem; }

.muted { color: hsl(var(--muted-foreground)); }
.accent { color: hsl(var(--accent)); }
.glow { color: hsl(var(--mystic-glow)); }
.cinzel { font-family: var(--font-display); }
.cormorant { font-family: var(--font-body); }
.italic { font-style: italic; }
.center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { font-family: var(--font-display); font-size: .75rem; text-transform: uppercase; letter-spacing: .3em; color: hsl(var(--accent) / .7); }
.xs { font-size: .75rem; } .sm { font-size: .875rem; } .lg { font-size: 1.125rem; }

.back { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: hsl(var(--muted-foreground)); text-decoration: none; }
.back:hover { color: hsl(var(--foreground)); }
.back .icon { width: 1rem; height: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: calc(var(--radius) - 2px); padding: .75rem 2rem;
  font-family: var(--font-ui); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: opacity .15s, background-color .15s, filter .15s;
}
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / .9); }
.btn-accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-weight: 700; }
.btn-accent:hover { background: hsl(var(--accent) / .9); }
.btn-block { width: 100%; }
.btn-lg { height: 3.5rem; font-size: 1.125rem; font-family: var(--font-display); }
.btn-glow { background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--mystic-glow))); color: #fff; box-shadow: 0 0 30px hsl(270 60% 55% / .6); }
.btn-glow:hover { opacity: .9; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-icon { padding: 0; width: 2.5rem; height: 2.5rem; flex-shrink: 0; }

.pill { display: inline-block; padding: .25rem .625rem; border-radius: 999px; font-size: .75rem; font-family: var(--font-ui); font-weight: 500; background: hsl(var(--accent) / .3); }
.badge { display: inline-block; padding: .375rem 1rem; border-radius: 999px; background: hsl(var(--accent) / .2); border: 1px solid hsl(var(--accent) / .4); color: hsl(var(--accent)); font-family: var(--font-ui); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.avatar { border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-empty { background: hsl(var(--primary) / .2); display: flex; align-items: center; justify-content: center; }
.online-dot { position: absolute; bottom: 0; right: 0; width: .75rem; height: .75rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px hsl(var(--background)); }
.stars { display: inline-flex; gap: 1px; color: hsl(var(--accent)); }
.stars .icon { width: .75rem; height: .75rem; fill: currentColor; }

/* ── homepage (mystic picker) ──────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 4rem 1rem; text-align: center; }
.hero-inner { width: 100%; max-width: 72rem; display: flex; flex-direction: column; gap: 1.5rem; animation: fade-up 1s ease-out both; }
.moon { position: relative; display: inline-block; margin: 0 auto .5rem; animation: spin 20s linear infinite; }
.moon .icon-moon { width: 4rem; height: 4rem; color: hsl(var(--mystic-glow)); }
.moon .icon-stars { position: absolute; top: -.5rem; right: -.5rem; width: 1.75rem; height: 1.75rem; color: hsl(var(--accent)); }
.hero h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.15; text-wrap: balance; }
.hero .lead { font-size: 1.125rem; font-style: italic; color: hsl(var(--foreground) / .8); max-width: 42rem; margin: 0 auto; }
.pick-label { font-family: var(--font-display); font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--accent) / .7); margin: 2.5rem 0 1.5rem; }
.persona-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.persona-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 1rem; padding: 1.5rem; text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s; animation: pop .4s ease-out both;
}
.persona-card:hover { transform: scale(1.02); border-color: hsl(var(--primary) / .4); }
.persona-card .avatar { width: 8rem; height: 8rem; margin-bottom: 1rem; box-shadow: 0 0 0 2px hsl(var(--primary) / .3), 0 10px 15px -3px hsl(var(--primary) / .2); transition: box-shadow .2s; }
.persona-card:hover .avatar { box-shadow: 0 0 0 2px hsl(var(--primary) / .6), 0 10px 15px -3px hsl(var(--primary) / .2); }
.persona-card h3 { font-size: 1.25rem; font-weight: 600; color: hsl(var(--accent)); line-height: 1.2; }
.persona-card .tags { display: flex; flex-wrap: wrap; gap: .375rem; justify-content: center; margin-top: .75rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } .hero .lead { font-size: 1.5rem; } .persona-grid { grid-template-columns: repeat(2, 1fr); } .persona-card .avatar { width: 9rem; height: 9rem; } }
@media (min-width: 1024px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .persona-grid { grid-template-columns: repeat(6, 1fr); } }

/* ── chat (mystic + chatflow share the mechanics) ──────────────────────────── */
.chat-page { display: flex; flex-direction: column; min-height: 100vh; }
.chat-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: hsl(var(--background) / .4); border-bottom: 1px solid hsl(var(--primary) / .1); }
.chat-header .row { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; }
.chat-header .back-btn { background: none; border: 0; color: hsl(var(--foreground) / .6); padding: 0; display: flex; }
.chat-header .back-btn .icon { width: 1.25rem; height: 1.25rem; }
.chat-header .avatar { width: 2.75rem; height: 2.75rem; box-shadow: 0 0 0 2px hsl(var(--primary) / .3); }
.chat-header .who { flex: 1; min-width: 0; }
.chat-header .who b { display: block; font-family: var(--font-display); color: hsl(var(--accent)); line-height: 1.2; }
.chat-header .who span { font-size: .75rem; color: hsl(var(--foreground) / .6); display: flex; align-items: center; gap: .25rem; }
.chat-header .who .stars { color: hsl(var(--accent)); }
.chat-main { flex: 1; width: 100%; padding: 1.5rem 1rem; }
.day-label { text-align: center; font-size: .75rem; color: hsl(var(--foreground) / .4); margin-bottom: 1rem; }
.messages { display: flex; flex-direction: column; gap: .5rem; }
.msg { display: flex; animation: fade-up .3s ease-out both; }
.msg.user { justify-content: flex-end; }
.bubble { max-width: 80%; padding: .625rem 1rem; border-radius: 1rem; font-size: 15px; line-height: 1.35; }
.msg.bot .bubble { border-bottom-left-radius: .375rem; }
.msg.user .bubble { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-bottom-right-radius: .375rem; }
.typing { display: flex; gap: .25rem; padding: .75rem 1rem; border-radius: 1rem; border-bottom-left-radius: .375rem; }
.typing i { width: .5rem; height: .5rem; border-radius: 50%; background: hsl(var(--accent) / .7); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.options { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; animation: fade-up .3s ease-out both; }
.options button { padding: .5rem 1rem; border-radius: 999px; background: none; border: 1px solid hsl(var(--accent) / .5); color: hsl(var(--accent)); font-family: var(--font-ui); font-size: .875rem; font-weight: 500; transition: background .15s; }
.options button:hover { background: hsl(var(--accent) / .1); }
.cta-card { margin-top: 2rem; border-radius: 1rem; padding: 1.5rem; text-align: center; animation: fade-up .5s ease-out both; }
.cta-card .to { font-size: .875rem; color: hsl(var(--foreground) / .6); margin-bottom: .25rem; }
.cta-card .kw { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.cta-card .fine { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: hsl(var(--foreground)); margin-top: 1rem; }

/* ── terms at the call to action: only where the visitor is asked to text, nowhere else.
   Arial, 10 pt, full colour, no animation. */
.comp-voorwaarden { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.5; color: hsl(var(--foreground)); text-align: left; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.comp-voorwaarden .comp-titel { font-weight: 700; margin: 0; }
.comp-voorwaarden a { text-decoration: underline; }
.flow .comp-voorwaarden { color: #334155; }
/* Desktop: after the heading the terms run on as one paragraph, no breaks between the sentences. */
@media (min-width: 1024px) {
  .comp-voorwaarden { display: block; }
  .comp-voorwaarden .comp-titel { margin: 0 0 .25rem; }
  .comp-voorwaarden p:not(.comp-titel) { display: inline; margin: 0; }
  .comp-voorwaarden p:not(.comp-titel) + p::before { content: " "; }
}
/* The terms appear with the button, not before: while the button card is hidden, so is
   the block after it. */
.cta-card[hidden] + .comp-voorwaarden, .runes-cta[hidden] + .comp-voorwaarden, .sim:has(.sim-done[hidden]) + .comp-voorwaarden { display: none; }
[hidden] { display: none !important; }

/* ── footer ────────────────────────────────────────────────────────────────── */
.site-footer { margin-top: 2rem; border-top: 1px solid hsl(var(--primary) / .1); background: hsl(var(--background) / .4); }

.site-footer .wrap { padding: 2rem 1.5rem; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: hsl(var(--foreground)); line-height: 1.6; display: flex; flex-direction: column; gap: 0; }
.site-footer .head { font-weight: normal; margin-bottom: 1.6em; }
.site-footer a { text-decoration: underline; }
.site-footer .dim { opacity: 1; }
.mini-footer { text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: hsl(var(--foreground)); border-top: 1px solid hsl(var(--border) / .2); padding-top: 1.5rem; }

/* ── persona landing (/s) + chat simulation ────────────────────────────────── */
.stack { display: flex; flex-direction: column; gap: 4rem; padding-top: 3rem; padding-bottom: 3rem; }
.persona-hero { text-align: center; margin-bottom: 2.5rem; animation: fade-up .5s ease-out both; }
.persona-hero .avatar-empty { width: 6rem; height: 6rem; border-radius: 50%; margin: 0 auto 1rem; }
.persona-hero .avatar-empty .icon { width: 3rem; height: 3rem; color: hsl(var(--mystic-glow)); }
.persona-hero h1 { font-size: 2.25rem; }
.persona-hero p { font-size: 1.125rem; font-style: italic; color: hsl(var(--foreground) / .7); margin-top: .75rem; }
.sim { border-radius: 1rem; overflow: hidden; max-width: 28rem; width: 100%; margin: 0 auto; }
.sim-head { background: linear-gradient(90deg, hsl(var(--mystic-deep)), hsl(var(--mystic-blue))); padding: 1rem; display: flex; align-items: center; gap: .75rem; }
.sim-head .orb { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: hsl(var(--primary) / .3); display: flex; align-items: center; justify-content: center; }
.sim-head .orb .icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--mystic-glow)); }
.sim-head b { font-family: var(--font-display); font-size: .875rem; font-weight: 600; display: block; }
.sim-head span { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.sim-body { padding: 1rem; display: flex; flex-direction: column; gap: .75rem; min-height: 200px; max-height: 300px; overflow-y: auto; }
.sim-body .bubble { font-size: .875rem; }
.sim-body .msg.user .bubble { background: hsl(var(--primary) / .2); color: hsl(var(--foreground)); }
.sim-form { padding: 1rem; display: flex; gap: .5rem; border-top: 1px solid hsl(var(--border) / .3); }
.sim-form input { flex: 1; min-width: 0; background: hsl(var(--secondary) / .5); border: 1px solid hsl(var(--border) / .3); border-radius: calc(var(--radius) - 2px); padding: .5rem .75rem; color: hsl(var(--foreground)); font-family: var(--font-ui); font-size: .875rem; }
.sim-form input::placeholder { color: hsl(var(--muted-foreground)); }
.sim-done { padding: 1rem; text-align: center; display: flex; flex-direction: column; gap: .5rem; background: linear-gradient(90deg, hsl(var(--mystic-deep)), hsl(var(--secondary))); animation: fade-up .4s ease-out both; }
.sim-done .t { font-size: .875rem; font-weight: 600; }
.sim-done .s { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.sim-done .s b { color: hsl(var(--accent)); }
.sim-done .kw { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: .25rem 0 .75rem; }
.sim-done .btn { margin-top: .25rem; }
.sim-done .p { font-size: .75rem; color: hsl(var(--muted-foreground) / .7); }

/* ── bold ──────────────────────────────────────────────────────────────────── */
.bold-hero { text-align: center; margin-top: 2rem; animation: pop .5s ease-out both; }
.bold-hero h1 { font-size: 3rem; font-weight: 700; line-height: 1; margin: 1.5rem 0 1rem; }
.bold-hero .with { font-size: 1.5rem; color: hsl(var(--foreground) / .9); margin-bottom: .5rem; }
.bold-hero .bio { color: hsl(var(--muted-foreground)); max-width: 28rem; margin: 0 auto; }
.bold-cta { margin-top: 2.5rem; border-radius: 1rem; padding: 2rem; text-align: center; animation: fade-up .5s .3s ease-out both; }
.bold-cta .send { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--accent)); margin-bottom: .75rem; }
.bold-cta .kw { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.bold-cta .fine { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: hsl(var(--foreground)); margin-top: 1rem; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.feature-row div { border-radius: .75rem; padding: 1rem; text-align: center; font-size: .75rem; }
.feature-row .icon { width: 1.5rem; height: 1.5rem; color: hsl(var(--mystic-glow)); margin: 0 auto .5rem; display: block; }
.variant-tag { margin-top: 2rem; text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground) / .5); }
@media (min-width: 768px) { .bold-hero h1 { font-size: 4.5rem; } .bold-cta .kw { font-size: 3rem; } }

/* ── storytelling ──────────────────────────────────────────────────────────── */
.story h1 { font-size: 2.25rem; line-height: 1.15; margin: 1rem 0 1.5rem; text-wrap: balance; }
.story .lead { font-size: 1.25rem; font-style: italic; color: hsl(var(--foreground) / .8); line-height: 1.6; }
.story h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.story h2.sm { font-size: 1.25rem; margin-bottom: 1.5rem; }
.story .bio { font-size: 1.125rem; color: hsl(var(--foreground) / .8); line-height: 1.6; }
.reviews { display: flex; flex-direction: column; gap: 1rem; }
.review { border-radius: .75rem; padding: 1.25rem; }
.review .icon-quote { width: 1rem; height: 1rem; color: hsl(var(--accent)); margin-bottom: .5rem; display: block; }
.review p { font-style: italic; color: hsl(var(--foreground) / .9); }
.review .by { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .story h1 { font-size: 3rem; } }

/* ── runes ─────────────────────────────────────────────────────────────────── */
.runes-page { overflow: hidden; }
.runes-glow-1, .runes-glow-2 { position: absolute; pointer-events: none; border-radius: 50%; z-index: 0; }
.runes-glow-1 { top: -8rem; right: -8rem; width: 600px; height: 600px; background: rgb(252 211 77 / .2); filter: blur(64px); }
.runes-glow-2 { top: 2.5rem; right: 2.5rem; width: 18rem; height: 18rem; background: linear-gradient(135deg, rgb(253 230 138 / .4), rgb(245 158 11 / .1)); filter: blur(40px); }
.runes-header { background: hsl(var(--background) / .8); backdrop-filter: blur(8px); border-bottom: 1px solid hsl(var(--border) / .3); }
.runes-header .row { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; }
.runes-header .brand { font-family: var(--font-display); letter-spacing: .3em; font-size: .75rem; color: hsl(var(--accent)); }
.runes-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 4rem; }
.runes-hero .portrait { position: relative; }
.runes-hero .avatar { width: 10rem; height: 10rem; box-shadow: 0 0 0 4px hsl(var(--accent) / .4), 0 0 60px hsl(45 80% 60% / .4); }
.runes-hero .avatar-empty .icon { width: 3rem; height: 3rem; color: hsl(var(--mystic-glow)); }
.runes-hero .portrait .online-dot { bottom: .5rem; right: .5rem; width: 1.25rem; height: 1.25rem; box-shadow: 0 0 0 4px hsl(var(--background)); }
.runes-hero .nameplate { position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%); padding: .25rem 1rem; border-radius: 999px; background: hsl(var(--background)); border: 1px solid hsl(var(--accent) / .5); white-space: nowrap; }
.runes-hero .nameplate p { font-family: var(--font-display); font-size: .875rem; color: hsl(var(--accent)); }
.runes-hero h1 { margin-top: 2.5rem; font-size: 1.875rem; font-weight: 700; line-height: 1.15; }
.runes-hero .moonline { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .375rem 1rem; border-radius: 999px; background: hsl(var(--background) / .6); border: 1px solid hsl(var(--border) / .4); font-style: italic; color: hsl(var(--foreground) / .9); }
.runes-hero .moonline .icon { width: 1rem; height: 1rem; color: #fcd34d; }
.runes-intro { margin-top: 3rem; border-radius: 1rem; padding: 1.5rem; position: relative; }
.runes-intro .mini { position: absolute; left: -1rem; top: -1rem; width: 3rem; height: 3rem; box-shadow: 0 0 0 2px hsl(var(--accent) / .4); background: hsl(var(--background)); }
.runes-intro p { font-size: 1.125rem; color: hsl(var(--foreground) / .9); line-height: 1.6; }
.runes-intro .q { margin-top: .75rem; font-weight: 600; color: hsl(var(--foreground)); }
.runes-intro .time { text-align: right; font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .5rem; }
.runes-form { margin-top: 1.5rem; border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; animation: fade-up .5s ease-out both; }
.runes-form textarea { width: 100%; resize: none; background: hsl(var(--background) / .6); border: 1px solid hsl(var(--border) / .4); border-radius: calc(var(--radius) - 2px); padding: .75rem; color: hsl(var(--foreground)); font-family: var(--font-body); font-size: 1.125rem; }
.runes-form textarea::placeholder { color: hsl(var(--muted-foreground)); }
.runes-form .free { text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.runes-stage { margin-top: 2.5rem; animation: fade-in .4s ease-out both; }
.runes-stage .label { text-align: center; font-family: var(--font-display); font-size: .875rem; text-transform: uppercase; letter-spacing: .3em; color: hsl(var(--accent) / .8); margin-bottom: 1.5rem; }
.rune-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; perspective: 1000px; }
.rune { aspect-ratio: 3 / 4; border-radius: 1rem; background: linear-gradient(135deg, hsl(var(--mystic-deep)), hsl(var(--secondary)), hsl(var(--background))); border: 1px solid hsl(var(--accent) / .4); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .75rem; box-shadow: 0 0 40px hsl(45 80% 60% / .25); opacity: .6; transform: rotateY(180deg); }
.rune .face { display: none; text-align: center; }
.rune .glyph { font-family: var(--font-display); font-size: 3rem; color: hsl(var(--accent)); }
.rune .rn { margin-top: .75rem; font-family: var(--font-display); font-size: .875rem; }
.rune .rm { font-size: .75rem; font-style: italic; color: hsl(var(--muted-foreground)); }
.rune .back-icon { width: 2rem; height: 2rem; color: hsl(var(--mystic-glow)); }
.rune-grid.revealed .rune { animation: flip-in .6s ease-out both; opacity: 1; transform: none; }
.rune-grid.revealed .rune:nth-child(2) { animation-delay: .4s; } .rune-grid.revealed .rune:nth-child(3) { animation-delay: .8s; }
.rune-grid.revealed .rune .face { display: block; } .rune-grid.revealed .rune .back-icon { display: none; }
.runes-cta { margin-top: 2.5rem; border-radius: 1rem; padding: 1.5rem; text-align: center; display: flex; flex-direction: column; gap: 1rem; animation: fade-up .5s ease-out both; }
.runes-cta .say { font-size: 1.125rem; font-style: italic; color: hsl(var(--foreground) / .9); }
.runes-cta .kw { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; }
.runes-cta .send { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--accent)); margin-bottom: .5rem; }
.runes-cta .fine { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .runes-hero h1 { font-size: 3rem; } .rune-grid { gap: 1.5rem; } .rune .glyph { font-size: 3.75rem; } .runes-cta .kw { font-size: 2.25rem; } }

/* ── chatflow (the light, Inter-set variant) ───────────────────────────────── */
body.flow { background: #fff; color: #1e293b; font-family: var(--font-ui); }
.flow-page { display: flex; flex-direction: column; min-height: 100vh; }
.flow-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e2e8f0; }
.flow-header .row { max-width: 42rem; margin: 0 auto; padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; }
.flow-header .back-btn { background: none; border: 0; color: #94a3b8; padding: 0; display: flex; }
.flow-header .back-btn .icon { width: 1.25rem; height: 1.25rem; }
.flow-header .who { flex: 1; display: flex; align-items: center; gap: .75rem; min-width: 0; background: none; border: 0; text-align: left; padding: .25rem; margin: 0 -.25rem; border-radius: .5rem; color: inherit; }
.flow-header .who:hover { background: #f8fafc; }
.flow-header .avatar { width: 3rem; height: 3rem; }
.flow-header .online-dot { box-shadow: 0 0 0 2px #fff; }
.flow-header .who b { display: block; color: #0f172a; line-height: 1.2; }
.flow-header .who small { display: block; font-size: .75rem; color: #64748b; line-height: 1.2; }
.flow-header .who u { display: block; font-size: .75rem; color: #2563eb; }
.flow-icon-btn { background: none; border: 0; padding: .5rem; border-radius: 50%; color: #64748b; display: flex; }
.flow-icon-btn:hover { background: #f1f5f9; }
.flow-icon-btn .icon { width: 1.25rem; height: 1.25rem; }
.flow-desktop-back { display: none; }
.flow-grid { max-width: 72rem; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.flow-aside { display: none; }
.flow-chat { background: #fff; display: flex; flex-direction: column; }
.flow-chat-head { display: none; }
.flow-chat .chat-main { padding: 1.5rem 1rem; }
.flow-chat .day-label { color: #94a3b8; }
.flow-chat .bubble { padding: .75rem 1rem; font-size: 16px; line-height: 1.6; font-weight: 600; }
.flow-chat .msg.bot .bubble { background: #f1f5f9; color: #0f172a; }
.flow-chat .msg.user .bubble { background: #2563eb; color: #fff; }
.flow-chat .typing { background: #f1f5f9; }
.flow-chat .typing i { background: #94a3b8; }
.flow-chat .options button { border-color: #3b82f6; color: #2563eb; }
.flow-chat .options button:hover { background: #eff6ff; }
.flow-chat .cta-card { background: #f8fafc; border: 1px solid #e2e8f0; }
.flow-chat .cta-card .to { color: #64748b; }
.flow-chat .cta-card .kw { font-family: var(--font-ui); color: #0f172a; }
.flow-chat .cta-card .fine { color: #334155; }
.btn-blue { background: #3b82f6; color: #fff; } .btn-blue:hover { background: #2563eb; }
.flow-card { background: #fff; border-radius: 1.5rem; border: 1px solid #e2e8f0; padding: 2rem; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.flow-card .top { display: flex; align-items: center; gap: 1.25rem; }
.flow-card .avatar { width: 6rem; height: 6rem; box-shadow: 0 0 0 4px #eff6ff; }
.flow-card h1, .flow-card h2 { font-family: var(--font-ui); font-size: 1.5rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.flow-card .role { font-size: .875rem; color: #64748b; margin-top: .125rem; }
.flow-card .rating { display: flex; align-items: center; gap: .25rem; margin-top: .5rem; font-size: .75rem; color: #64748b; }
.flow-card .rating .icon { width: 1rem; height: 1rem; color: #fbbf24; fill: #fbbf24; }
.flow-card .bio { margin-top: 1.5rem; color: #475569; line-height: 1.6; font-size: 15px; }
.flow-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #f1f5f9; text-align: center; }
.flow-stats b { display: block; font-size: 1.125rem; font-weight: 700; color: #0f172a; }
.flow-stats span { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.flow-features { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; color: #334155; }
.flow-features div { display: flex; align-items: center; gap: .75rem; }
.flow-features .icon { width: 1rem; height: 1rem; color: #3b82f6; }
.flow-features.boxed { background: #fff; border-radius: 1rem; border: 1px solid #e2e8f0; padding: 1.25rem; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.flow-footer { margin-top: 2rem; border-top: 1px solid #e2e8f0; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.flow-footer .wrap { max-width: 72rem; padding: 2rem 1.5rem; font-size: 10pt; color: #334155; line-height: 1.6; display: flex; flex-direction: column; gap: .75rem; }
.flow-footer .head { font-weight: 600; color: #1e293b; }
.flow-footer a { text-decoration: underline; }
.flow-footer .dim { color: #475569; }
.flow-footer details summary { cursor: pointer; color: #64748b; text-decoration: underline; list-style: none; }
.flow-footer details summary::-webkit-details-marker { display: none; }
.flow-footer details > div { margin-top: .75rem; display: flex; flex-direction: column; gap: .75rem; }
.flow-footer .full { display: none; flex-direction: column; gap: .75rem; }
@media (min-width: 768px) { .flow-footer details { display: none; } .flow-footer .full { display: flex; } }
@media (min-width: 1024px) {
  body.flow { background: #f8fafc; }
  .flow-header { display: none; }
  .flow-desktop-back { display: block; max-width: 72rem; margin: 0 auto; width: 100%; padding: 1.5rem 1.5rem 0; }
  .flow-desktop-back button { background: none; border: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: #64748b; padding: 0; }
  .flow-desktop-back button:hover { color: #1e293b; }
  .flow-grid { grid-template-columns: 1.1fr 1fr; padding: 2rem 1.5rem; }
  .flow-aside { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 2rem; }
  .flow-chat { border-radius: 1.5rem; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgb(0 0 0 / .05); overflow: hidden; max-height: calc(100vh - 6rem); }
  .flow-chat-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.5rem; border-bottom: 1px solid #e2e8f0; background: #fff; }
  .flow-chat-head .who { flex: 1; display: flex; align-items: center; gap: .75rem; background: none; border: 0; text-align: left; padding: .25rem .5rem; margin: 0 -.5rem; border-radius: .5rem; color: inherit; }
  .flow-chat-head .who:hover { background: #f8fafc; }
  .flow-chat-head .avatar { width: 2.5rem; height: 2.5rem; }
  .flow-chat-head .who b { display: block; font-size: .875rem; color: #0f172a; line-height: 1.2; }
  .flow-chat-head .who small { display: block; font-size: .75rem; color: #16a34a; line-height: 1.2; }
  .flow-chat .chat-main { overflow-y: auto; padding: 1.5rem; }
}
/* profile sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: fade-in .2s ease-out both; }
.sheet { background: #fff; width: 100%; border-radius: 1.5rem 1.5rem 0 0; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); overflow: hidden; display: flex; flex-direction: column; height: calc(100dvh - 4.5rem); animation: fade-up .3s ease-out both; }
.sheet-close-float { position: fixed; right: .75rem; top: calc(env(safe-area-inset-top, 0px) + .75rem); z-index: 60; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid hsl(var(--border)); background: hsl(var(--background)); color: hsl(var(--foreground)); display: flex; align-items: center; justify-content: center; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .5); }
.sheet-close-float .icon { width: 1.5rem; height: 1.5rem; }
.sheet-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid #f1f5f9; }
.sheet-head b { font-size: .875rem; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: .5rem; }
.sheet-head button { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: #f1f5f9; color: #334155; display: flex; align-items: center; justify-content: center; }
.sheet-head button:hover { background: #e2e8f0; }
.sheet-head .icon { width: 1.25rem; height: 1.25rem; }
.sheet-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-photo { width: 100%; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: 1.5rem; }
.sheet-body .top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.online-badge { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 500; color: #15803d; background: #f0fdf4; padding: .25rem .625rem; border-radius: 999px; flex-shrink: 0; margin-top: .25rem; }
.online-badge i { width: .375rem; height: .375rem; border-radius: 50%; background: #22c55e; }
.sheet-body .flow-features { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #f1f5f9; }
@media (min-width: 640px) {
  .sheet-backdrop { align-items: center; padding: 1.5rem; }
  .sheet { max-width: 28rem; border-radius: 1.5rem; height: auto; max-height: 88vh; }
  .sheet-close-float { display: none; }
  .sheet-photo { aspect-ratio: 1; }
}

/* ── legal pages ───────────────────────────────────────────────────────────── */
body.legal { background: hsl(var(--background)); }
.legal-header { border-bottom: 1px solid hsl(var(--border) / .4); background: hsl(var(--card) / .4); backdrop-filter: blur(8px); }
.legal-header .row { max-width: 48rem; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.legal-header .brand { font-family: var(--font-display); font-size: 1.25rem; color: hsl(var(--primary)); text-decoration: none; }
.legal-header nav { display: flex; gap: 1rem; font-size: .875rem; color: hsl(var(--muted-foreground)); font-family: var(--font-ui); }
.legal-header nav a { text-decoration: none; } .legal-header nav a:hover { color: hsl(var(--foreground)); }
.legal-main { max-width: 48rem; margin: 0 auto; padding: 3rem 1.5rem; font-family: var(--font-ui); }
.legal-main h1 { font-size: 2.25rem; color: hsl(var(--primary)); margin-bottom: .5rem; }
.legal-main .updated { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }
.legal-main article { color: hsl(var(--foreground) / .9); line-height: 1.7; display: flex; flex-direction: column; gap: 1.5rem; }
.legal-main article h2 { font-size: 1.5rem; color: hsl(var(--primary)); margin: .5rem 0 -.75rem; }
.legal-main article ul { margin: 0; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.legal-main article a { color: hsl(var(--primary)); }
.legal-main footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border) / .4); font-size: .75rem; color: hsl(var(--muted-foreground)); display: flex; flex-direction: column; gap: .5rem; }

/* ── support (#549) ────────────────────────────────────────────────────────── */
body.support { background: linear-gradient(160deg, hsl(var(--mystic-deep)), hsl(var(--background)) 55%, hsl(var(--mystic-blue))); }
.support-main { position: relative; z-index: 1; max-width: 32rem; margin: 0 auto; padding: 3.5rem 1rem 4rem; font-family: var(--font-ui); }
.support-main h1 { font-size: 2.25rem; text-align: center; margin-bottom: .75rem; color: hsl(var(--accent)); }
.support-lead { text-align: center; color: hsl(var(--foreground) / .75); font-size: .95rem; line-height: 1.6; margin: 0 auto 2.25rem; max-width: 28rem; }
.support-form { border-radius: 1.25rem; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.support-form .field { display: flex; flex-direction: column; gap: .5rem; }
.support-form .hp { position: absolute; left: -9999px; }
.support-sent { border-radius: 1.25rem; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.support-form label { font-size: .9rem; font-weight: 600; color: hsl(var(--foreground)); }
.support-form .req { color: hsl(0 80% 65%); margin-left: .15rem; }
.support-form input, .support-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: hsl(var(--foreground));
  background: hsl(var(--secondary) / .7); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 2px);
  padding: .8rem 1rem; transition: border-color .15s, box-shadow .15s;
}
.support-form textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.support-form input::placeholder, .support-form textarea::placeholder { color: hsl(var(--muted-foreground)); }
.support-form input:focus, .support-form textarea:focus { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .25); }
.support-form .has-error input, .support-form .has-error textarea { border-color: hsl(0 80% 65%); }
.support-form .error { font-size: .8rem; color: hsl(0 80% 72%); }
.support-form .btn { margin-top: .5rem; }
.support .site-footer { position: relative; z-index: 1; }

/* ── variants index, unavailable ───────────────────────────────────────────── */
.vindex { padding: 3rem 0; }
.vindex h1 { font-size: 1.875rem; margin-bottom: .5rem; }
.vindex > p { color: hsl(var(--muted-foreground)); margin-bottom: 2.5rem; }
.vindex section { margin-bottom: 2.5rem; }
.vindex h2 { font-size: 1.25rem; color: hsl(var(--accent)); }
.vindex section p { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: .75rem; }
.vindex .links { display: flex; flex-wrap: wrap; gap: .5rem; }
.vindex .links a { font-size: .875rem; padding: .375rem .75rem; border-radius: calc(var(--radius) - 2px); text-decoration: none; font-family: var(--font-ui); }
.vindex .links a:hover { border-color: hsl(var(--primary) / .4); }
.centered { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.centered p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); }

/* iOS Safari zoomt in op een invoerveld met letters kleiner dan 16 px en blijft zo staan, waardoor
   de hele persona-pagina scheef stond. Dus nooit kleiner. */
.sim-form input, .runes-form textarea, .runes-form input { font-size: 16px; }

/* "Sms nu" boven het keyword: op elke kaart even groot en goed leesbaar, niet klein en vaag.
   Overschrijft de kleine varianten hierboven. */
.cta-card .to, .bold-cta .send, .runes-cta .send, .sim-done .s { font-size: 1.125rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: hsl(var(--foreground)); opacity: 1; margin-bottom: .25rem; }
.flow .cta-card .to { color: #1e293b; }
