/* ==========================================================================
   piperspin-europe.com — stylesheet
   Palette: white + purple
   Fonts: Outfit (display), Plus Jakarta Sans (text)
   ========================================================================== */

:root {
  /* Brand: purple */
  --purple-50: #f6f2ff;
  --purple-100: #ede5ff;
  --purple-200: #ddd0ff;
  --purple-300: #c5adff;
  --purple-400: #a77bff;
  --purple-500: #8d4dff;
  --purple-600: #7c3aed;
  --purple-700: #6a24d4;
  --purple-800: #561caa;
  --purple-900: #3f1580;
  --purple-950: #24094d;

  /* Accent */
  --orchid: #c026d3;
  --orchid-300: #f0abfc;
  --lilac: #d9c8ff;

  /* Neutrals */
  --ink: #1d1233;
  --ink-soft: #4a3f63;
  --muted: #7b7192;
  --line: #ebe4fb;
  --line-strong: #d8cbf7;
  --paper: #ffffff;
  --bg: #fcfbff;
  --bg-alt: #f4effe;

  --grad-brand: linear-gradient(115deg, var(--purple-600) 0%, var(--purple-500) 45%, var(--orchid) 100%);
  --grad-cta: linear-gradient(135deg, #9b5cff 0%, #7c3aed 45%, #6a24d4 75%, #b02ad6 100%);
  --grad-soft: linear-gradient(135deg, var(--purple-50) 0%, #fff 55%, #fbf0ff 100%);
  --grad-deep: radial-gradient(800px 420px at 100% 0%, rgba(192, 38, 211, .35), transparent 60%),
               linear-gradient(150deg, var(--purple-800) 0%, var(--purple-950) 100%);

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

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(63, 21, 128, .05), 0 4px 14px rgba(63, 21, 128, .05);
  --shadow: 0 18px 40px -18px rgba(86, 28, 170, .28);
  --shadow-cta: 0 12px 28px -10px rgba(124, 58, 237, .65);

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

/* ---------- 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.02rem;
  line-height: 1.75;
  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(--purple-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orchid); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.15rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.38rem); 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(--purple-400); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--purple-200); color: var(--purple-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@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(--purple-600); 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(--purple-600);
}
.side-offer .text-gradient, .site-footer .text-gradient, .sticky-cta .text-gradient {
  background: linear-gradient(120deg, #fff 0%, var(--orchid-300) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .8em; --pad-x: 1.45em;
  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: 1.02rem; line-height: 1.2; letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cta { background: var(--grad-cta); background-size: 180% 100%; background-position: 0 0; color: #fff; box-shadow: var(--shadow-cta); }
.btn--cta:hover { color: #fff; background-position: 100% 0; box-shadow: 0 18px 34px -10px rgba(124, 58, 237, .75); }
.btn--primary { background: var(--purple-600); color: #fff; }
.btn--primary:hover { color: #fff; background: var(--purple-700); }
.btn--ghost { background: #fff; color: var(--purple-700); border-color: var(--purple-200); }
.btn--ghost:hover { color: var(--purple-700); border-color: var(--purple-500); background: var(--purple-50); }
.btn--sm { --pad-y: .62em; --pad-x: 1.15em; font-size: .9rem; }
.btn--lg { --pad-y: 1em; --pad-x: 1.75em; font-size: 1.06rem; }
.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(--orchid-300); }

/* ---------- Top bar ---------- */
.topbar { background: var(--purple-700); color: #f1eaff; font-size: .8125rem; line-height: 1.45; }
.topbar__inner { display: flex; align-items: center; gap: 10px; padding-block: 7px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--orchid-300); }
.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: #fff; color: var(--purple-700); font-weight: 800; font-size: .75rem; font-family: var(--font-display);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.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: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.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: 999px;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav-list a:hover { background: var(--purple-50); color: var(--purple-700); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-50); border: 1px solid var(--purple-100); color: var(--purple-700); 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: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -18px rgba(63, 21, 128, .3);
    display: none; margin: 0;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; padding: 12px 16px 20px; gap: 2px; }
  .nav-list a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .logo { font-size: 1.2rem; }
  .logo img { width: 36px; height: 36px; }
  .header-cta { font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-soft); color: var(--ink-soft); padding: 64px 0 92px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 77, 255, .22), rgba(192, 38, 211, .08) 45%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(rgba(124, 58, 237, .14) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 15% 100%, #000 10%, transparent 60%); mask-image: radial-gradient(ellipse at 15% 100%, #000 10%, transparent 60%);
}
.hero h1 { color: var(--ink); }
.hero p { max-width: 62ch; }
.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: #fff; border: 1px solid var(--purple-200); box-shadow: var(--shadow-sm);
  color: var(--purple-700); font-size: .82rem; font-weight: 700;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.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: var(--ink); }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--purple-600); color: #fff; stroke-width: 3; }

.hero__aside { display: grid; gap: 20px; justify-items: center; }

.bonus-card {
  width: 100%; max-width: 440px; padding: 2px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600) 55%, var(--orchid)); box-shadow: 0 30px 60px -24px rgba(86, 28, 170, .5);
}
.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(--purple-50); color: var(--purple-700); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.bonus-card__amount { margin: 12px 0 6px; font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 800; color: var(--ink); }
.bonus-card__amount .text-gradient { display: block; font-size: .7em; }
.bonus-card__sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.hero .bonus-card__sub { color: var(--muted); }
.bonus-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.bonus-facts div { background: var(--purple-50); border-radius: 14px; 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: 1.02rem; color: var(--purple-700); }
.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: -44px; 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.4rem; color: var(--purple-800); 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: 16px;
  background: linear-gradient(135deg, var(--purple-100), #fae8ff); color: var(--purple-700);
}
.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: 1.02rem; color: var(--ink);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { transition: transform .2s ease; color: var(--purple-600); }
.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(--purple-500); font-size: .8rem; padding-top: 1px; font-family: var(--font-display); }
.toc ol a:hover { background: var(--purple-50); color: var(--purple-700); }

.side-offer {
  padding: 24px 20px; border-radius: var(--radius); text-align: center; color: #fff;
  background: var(--grad-deep); box-shadow: var(--shadow);
}
.side-offer p { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.25; margin-bottom: 14px; }
.side-offer .text-gradient { display: block; }
.side-offer .btn--cta { background: #fff; color: var(--purple-700); box-shadow: none; }
.side-offer .btn--cta:hover { color: var(--orchid); }
.side-offer small { display: block; margin-top: 10px; color: var(--lilac); 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(20px, 3vw, 42px); margin-bottom: 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.content > section:hover { border-color: var(--line-strong); box-shadow: 0 20px 44px -28px rgba(86, 28, 170, .45); }
.content h2 { position: relative; padding-left: 22px; }
.content h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 7px; border-radius: 6px;
  background: linear-gradient(180deg, var(--purple-500), var(--orchid));
}
.content h3 { margin-top: 1.6em; color: var(--purple-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(--purple-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' 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(--purple-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 20px;
  background: var(--paper); border: 1px solid var(--purple-100); 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(--purple-500); font-weight: 700; }
.byline__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.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(--purple-500), var(--orchid)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--purple-200);
}

/* 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: linear-gradient(90deg, var(--purple-700), var(--purple-600)); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  letter-spacing: .02em; white-space: nowrap;
}
.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: #fbf9ff; }
.data-table tbody tr:hover { background: var(--purple-50); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tr.is-total { background: var(--purple-100) !important; }
.data-table tr.is-total > * { font-weight: 800; color: var(--purple-800); }

/* 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: #fbf9ff; 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: 50%;
  background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 14px -6px rgba(124, 58, 237, .6);
}

/* 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-deep); 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: var(--lilac); }

/* Callout */
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 1.4em 0; padding: 16px 20px; border-radius: var(--radius); background: var(--purple-50); border-left: 5px solid var(--purple-500); color: var(--ink-soft); }
.callout > .icon { margin-top: .3em; color: var(--purple-600); }
.callout--success { background: #fdf4ff; border-left-color: var(--orchid); }
.callout--warning { background: #fff7ed; border-left-color: #f59e0b; }
.callout--warning > .icon { color: #d97706; }
.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(--purple-100); color: var(--purple-800); }
code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-alt); color: var(--purple-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(--purple-300); box-shadow: 0 12px 26px -16px rgba(124, 58, 237, .55); }
.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.07rem; color: var(--ink); 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(--purple-50); color: var(--purple-700);
  transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] summary .icon { transform: rotate(180deg); background: var(--purple-600); 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(--grad-soft); 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(--purple-500); font-weight: 700; }
.author__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }

/* ---------- Legal pages ---------- */
.page-hero { background: var(--grad-soft); color: var(--ink-soft); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); 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(--purple-400); }
.breadcrumb a { color: var(--purple-600); }
.page-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: var(--muted); }
.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(--ink); }
.prose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 44px); min-width: 0; }
.prose section + section { margin-top: 2em; }
.prose h2 { font-size: clamp(1.25rem, 1.08rem + .7vw, 1.6rem); }
.prose p, .prose li { color: var(--ink-soft); }
.prose address { font-style: normal; padding: 14px 18px; background: var(--purple-50); border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--grad-deep); color: #d8ccf5; padding: 56px 0 28px; font-size: .92rem; }
.site-footer .logo { color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orchid-300); }
.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: #fff; text-decoration: none; }
.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, .22); font-size: .8rem; color: #fff;
}
.rg-badge .icon { margin-left: 6px; color: var(--orchid-300); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; line-height: 1.6; }
.footer-legal a { color: var(--orchid-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; color: #b9a8e6; }

/* ---------- 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(255, 255, 255, .97); color: var(--ink); border-radius: 20px; border: 1px solid var(--purple-200);
  box-shadow: 0 18px 40px -10px rgba(63, 21, 128, .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: .92rem; line-height: 1.25; }
.sticky-cta__text small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .7rem; color: var(--muted); }
@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(63, 21, 128, .4);
  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(--ink); }
.cookie-banner__title .icon { color: var(--purple-600); width: 22px; height: 22px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (min-width: 640px) { .cookie-banner { left: 20px; bottom: 20px; } }

/* ---------- Phone mock-up in the hero ---------- */
.phone-card { margin: 0; text-align: center; position: relative; }
.phone-card::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 300px; height: 300px; transform: translate(-50%, -50%); z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(141, 77, 255, .4), rgba(192, 38, 211, .14) 45%, transparent 70%); filter: blur(12px);
}
.phone { width: min(220px, 60vw); height: auto; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(63, 21, 128, .35)); animation: float 6s ease-in-out infinite; }
.phone__glow { animation: pulse 2.6s ease-in-out infinite; transform-origin: 104px 145px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(1.15); } }
.phone-card__motto { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.phone-card__sub { margin: 0; color: var(--muted); font-size: .875rem; }

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