/* ==========================================================================
   piperspin-welcome-bonus.de — stylesheet
   Palette: ocean blue + emerald green
   Fonts: Outfit (display), Inter (text)
   ========================================================================== */

:root {
  /* Brand: blue */
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --blue-200: #bcd3ff;
  --blue-300: #8fb4ff;
  --blue-400: #4d8dff;
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --blue-800: #15306f;
  --blue-900: #0b1f4d;
  --blue-950: #06122e;

  /* Brand: green */
  --green-50: #e9fbf3;
  --green-100: #c9f4e0;
  --green-300: #6ee7b7;
  --green-400: #34d399;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;

  --mint: #7cf0c4;
  --sky: #7dd3fc;

  /* Neutrals */
  --ink: #0d1b33;
  --ink-soft: #33435f;
  --muted: #64748b;
  --line: #dde6f3;
  --line-strong: #c5d3e8;
  --paper: #ffffff;
  --bg: #f4f8fd;
  --bg-alt: #eaf2fb;

  --grad-brand: linear-gradient(120deg, var(--blue-400) 0%, #22b8cf 50%, var(--green-400) 100%);
  --grad-cta: linear-gradient(135deg, #2bd598 0%, var(--green-500) 45%, var(--green-600) 100%);
  --grad-blue: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  --grad-dark: radial-gradient(1100px 560px at 88% -12%, rgba(37, 99, 235, .45), transparent 60%),
               radial-gradient(900px 520px at -8% 112%, rgba(16, 185, 129, .32), transparent 60%),
               linear-gradient(160deg, #0b1f4d 0%, #06122e 100%);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 77, .06), 0 2px 10px rgba(11, 31, 77, .05);
  --shadow: 0 14px 34px -14px rgba(11, 31, 77, .28);
  --shadow-cta: 0 10px 26px -8px rgba(16, 185, 129, .65);

  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; color: var(--ink); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: inherit; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 28px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue-500); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--green-500);
}
.hero .text-gradient, .side-offer .text-gradient, .page-hero .text-gradient, .site-header .text-gradient, .site-footer .text-gradient {
  background: linear-gradient(120deg, var(--sky) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .8em; --pad-x: 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  border-radius: 14px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cta { background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-cta); text-shadow: 0 1px 1px rgba(4, 80, 56, .35); }
.btn--cta:hover { color: #fff; filter: saturate(1.1) brightness(1.04); box-shadow: 0 16px 32px -8px rgba(16, 185, 129, .75); }
.btn--primary { background: var(--grad-blue); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { color: var(--green-500); }
.btn--sm { --pad-y: .6em; --pad-x: 1.1em; font-size: .88rem; border-radius: 12px; }
.btn--lg { --pad-y: 1em; --pad-x: 1.7em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }

.link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--mint); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-950); color: #c6d6f2; font-size: .8125rem; line-height: 1.45; }
.topbar__inner { display: flex; align-items: center; gap: 10px; padding-block: 7px; }
.topbar a { color: var(--mint); }
.age-badge {
  display: inline-grid; place-items: center; flex-shrink: 0;
  min-width: 2.2em; height: 2.2em; padding: 0 .3em; border-radius: 999px;
  background: var(--green-500); color: #fff; font-weight: 800; font-size: .75rem; font-family: var(--font-display);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 31, 77, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(125, 211, 252, .14);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo img { width: 42px; height: 42px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: #dbe7ff; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav-list a:hover { background: rgba(125, 211, 252, .12); color: var(--mint); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blue-900); border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .45);
    display: none; margin: 0;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; padding: 12px 20px 20px; gap: 2px; }
  .nav-list a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .logo { font-size: 1.15rem; }
  .logo img { width: 36px; height: 36px; }
  .header-cta { font-size: .75rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-dark); color: #dbe7ff; padding: 60px 0 84px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(125, 211, 252, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -260px;
  border-radius: 50%; border: 1px solid rgba(124, 240, 196, .18);
  box-shadow: 0 0 0 60px rgba(124, 240, 196, .03), 0 0 0 120px rgba(125, 211, 252, .03);
}
.hero h1 { color: #fff; }
.hero p { color: #c6d6f2; max-width: 62ch; }
.hero strong { color: #fff; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(124, 240, 196, .1); border: 1px solid rgba(124, 240, 196, .35);
  color: var(--mint); font-size: .82rem; font-weight: 700;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero .btn--ghost { color: #fff; border-color: rgba(219, 231, 255, .4); }
.hero .btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 20px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-500); color: #fff; stroke-width: 3; }

.hero__aside { display: grid; gap: 20px; justify-items: center; }
.seal-card { margin: 0; text-align: center; }
.seal { width: min(250px, 70vw); height: auto; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .45)); }
.seal__ring { transform-origin: 150px 150px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-card__motto { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.15rem; }
.seal-card__sub { margin: 0; color: #9fb5dc; font-size: .875rem; }

.bonus-card {
  width: 100%; max-width: 440px; padding: 2px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-400), var(--green-400)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.bonus-card__inner { background: #fff; color: var(--ink); border-radius: calc(var(--radius-lg) - 2px); padding: 26px 24px 20px; text-align: center; }
.bonus-card__label {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-600); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.bonus-card__amount { margin: 12px 0 6px; font-size: clamp(1.8rem, 1.35rem + 1.6vw, 2.4rem); font-weight: 800; color: var(--blue-900); }
.bonus-card__amount .text-gradient { display: block; font-size: .7em; }
.hero .bonus-card__sub, .bonus-card__sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.bonus-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.bonus-facts div { background: var(--bg-alt); border-radius: 12px; padding: 10px 6px; }
.bonus-facts dt { font-size: .72rem; color: var(--muted); font-weight: 600; }
.bonus-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--blue-600); }
.hero .small-print, .small-print { margin: 12px 0 0; font-size: .74rem; line-height: 1.5; color: var(--muted); }
.small-print a { color: var(--muted); }

/* ---------- Sections / stats ---------- */
.section { padding-block: 56px; }
.section--tight { padding-block: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--blue-900); line-height: 1.2; }
.stat__label { display: block; font-size: .85rem; color: var(--muted); }
.icon-badge {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), var(--green-100)); color: var(--blue-600);
}
.icon-badge .icon { width: 24px; height: 24px; }

/* ---------- Layout: sidebar + content ---------- */
.layout { display: grid; gap: 32px; padding-block: 48px 72px; }
@media (min-width: 1024px) { .layout { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; } }
.sidebar { display: grid; gap: 16px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; scrollbar-width: thin; } }

.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--blue-900);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { transition: transform .2s ease; color: var(--green-500); }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { margin: 0; padding: 0 10px 14px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a {
  display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px;
  color: var(--ink-soft); text-decoration: none; font-size: .9rem; line-height: 1.4;
}
.toc ol a::before { content: counter(toc, decimal-leading-zero); font-weight: 800; color: var(--green-500); font-size: .8rem; padding-top: 1px; font-family: var(--font-display); }
.toc ol a:hover { background: var(--blue-50); color: var(--blue-600); }

.side-offer {
  padding: 22px 20px; border-radius: var(--radius); text-align: center; color: #fff;
  background: var(--grad-dark); box-shadow: var(--shadow);
}
.side-offer p { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.25; margin-bottom: 14px; }
.side-offer .text-gradient { display: block; }
.side-offer small { display: block; margin-top: 10px; color: #9fb5dc; font-size: .75rem; }
@media (max-width: 1023px) { .side-offer { display: none; } }

/* ---------- Article content ---------- */
.content { min-width: 0; }
.content > section {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px); margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.content h2 { position: relative; padding-left: 20px; }
.content h2::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 6px; border-radius: 4px;
  background: linear-gradient(180deg, var(--blue-500), var(--green-400));
}
.content h3 { margin-top: 1.6em; color: var(--blue-800); }
.content p, .content li { color: var(--ink-soft); }
.content strong { color: var(--ink); }
.content ul:not([class]) { list-style: none; padding-left: 0; margin: 0 0 1.2em; }
.content ul:not([class]) li { position: relative; padding-left: 30px; margin-bottom: .5em; }
.content ul:not([class]) li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--green-100);
}

/* Byline: top of content, right side */
.byline { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.byline__card {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  text-align: right;
}
.byline__text { display: grid; line-height: 1.3; }
.byline__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.byline__name { font-family: var(--font-display); font-weight: 700; color: var(--blue-900); font-size: 1.02rem; }
.byline__date { font-size: .78rem; color: var(--muted); }
.byline__avatar, .author__avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35);
}

/* Tables */
.table-wrap {
  margin: 1.2em 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; min-width: 480px; }
.data-table--kv { min-width: 0; }
.data-table--wide { min-width: 680px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th {
  background: var(--blue-900); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .02em; white-space: nowrap; border-bottom: 3px solid var(--green-400);
}
.data-table tbody th { font-weight: 700; color: var(--ink); }
.data-table tbody td { color: var(--ink-soft); }
.data-table tbody tr:nth-child(even) { background: var(--bg); }
.data-table tbody tr:hover { background: var(--green-50); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tr.is-total { background: var(--blue-50) !important; }
.data-table tr.is-total > * { font-weight: 800; color: var(--blue-700); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1em 0 1.4em; counter-reset: step; display: grid; gap: 10px; }
.steps li {
  counter-increment: step; position: relative; padding: 14px 16px 14px 62px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft);
}
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad-blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem;
}

/* CTA row / banner */
.cta-row { display: flex; justify-content: center; margin: 1.6em 0; }
.cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin: 1.6em 0; padding: 20px 24px; border-radius: var(--radius);
  background: var(--grad-dark); color: #fff;
}
.cta-banner p { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.cta-banner small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .78rem; color: #9fb5dc; }

/* Callout */
.callout { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--radius); background: var(--blue-50); border-left: 5px solid var(--blue-500); color: var(--ink-soft); }
.callout--success { background: var(--green-50); border-left-color: var(--green-500); }
.callout p:last-child { margin-bottom: 0; }

.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-soft); }
.tag--success { background: var(--green-100); color: var(--green-700); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 1em; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item[open] { border-color: var(--blue-300); box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .5); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--blue-900); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600);
  transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] summary .icon { transform: rotate(180deg); background: var(--green-500); color: #fff; }
.faq__answer { padding: 0 20px 18px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* Author box (bottom) */
.author {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 20px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
}
.author__avatar { grid-row: span 2; width: 60px; height: 60px; font-size: 1.15rem; }
.author__label { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.author__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--blue-900); }

/* ---------- Legal pages ---------- */
.page-hero { background: var(--grad-dark); color: #c6d6f2; padding: 40px 0 48px; }
.page-hero h1 { color: #fff; margin-top: 10px; }
.page-hero__lead { max-width: 70ch; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--green-400); }
.breadcrumb a { color: var(--mint); }
.page-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: #9fb5dc; }
.legal-layout { display: grid; gap: 32px; padding-block: 40px 72px; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; } .legal-layout .toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.legal-layout .toc { padding-top: 6px; }
.toc__title { margin: 0; padding: 12px 18px 6px; font-family: var(--font-display); font-weight: 700; color: var(--blue-900); }
.prose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 44px); min-width: 0; }
.prose section + section { margin-top: 2em; }
.prose h2 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
.prose p, .prose li { color: var(--ink-soft); }
.prose address { font-style: normal; padding: 14px 18px; background: var(--bg); border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--blue-950); color: #9fb5dc; padding: 56px 0 28px; font-size: .92rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--green-400)); }
.site-footer a { color: #dbe7ff; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-about p { margin: 14px 0; max-width: 40ch; }
.footer-title { font-size: .85rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links .link-btn { color: #dbe7ff; text-decoration: none; }
.footer-links .link-btn:hover { color: var(--mint); }
.rg-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rg-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: #dbe7ff;
}
.rg-badge .icon { margin-left: 6px; color: var(--green-400); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; line-height: 1.6; }
.footer-legal a { color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; color: #7088b3; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  background: rgba(11, 31, 77, .96); color: #fff; border-radius: 18px; border: 1px solid rgba(125, 211, 252, .18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  transform: translateY(150%); transition: transform .3s ease;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta img { width: 36px; height: 36px; }
.sticky-cta__text { margin: 0; flex: 1; font-family: var(--font-display); font-weight: 700; font-size: .9rem; line-height: 1.25; }
.sticky-cta__text small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .7rem; color: #9fb5dc; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (max-width: 1023px) { body.has-sticky-cta { padding-bottom: 84px; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 12px; max-width: 460px;
  padding: 20px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink-soft);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -12px rgba(11, 31, 77, .45);
  font-size: .9rem; line-height: 1.55;
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; color: var(--blue-900); }
.cookie-banner__title .icon { color: var(--green-500); width: 22px; height: 22px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-banner .btn--ghost { color: var(--blue-600); }
@media (min-width: 640px) { .cookie-banner { left: 20px; bottom: 20px; } }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .sidebar, .sticky-cta, .cookie-banner, .hero__aside, .cta-row, .cta-banner { display: none !important; }
  body { background: #fff; }
  .hero { background: none; color: #000; }
  .hero h1, .hero p { color: #000; }
}
