/* piperspin-global.it — dark navy theme, white secondary colour */

:root {
  --bg: #071430;
  --bg-deep: #050e24;
  --bg-tint: #0a1a3d;
  --surface: #0f2250;
  --surface-2: #142b60;
  --ink: #ffffff;
  --ink-2: #c8d3ea;
  --muted: #8d9ec3;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .24);

  --white: #ffffff;
  --ice: #9cc7ff;
  --ice-soft: rgba(156, 199, 255, .14);
  --navy-ink: #071430;
  --grad-hero: radial-gradient(1000px 520px at 85% -15%, rgba(72, 128, 235, .38), transparent 62%),
               radial-gradient(760px 420px at -10% 115%, rgba(156, 199, 255, .14), transparent 60%),
               linear-gradient(180deg, #0b1d47 0%, #071430 100%);

  --ok: #6fe0b0;
  --warn: #ffb48a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 10px rgba(0, 0, 0, .18);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .2);
  --shadow-lg: 0 34px 70px -26px rgba(0, 0, 0, .75);

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Manrope", system-ui, sans-serif;

  --container: 1180px;
  --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); background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1.0625rem/1.75 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .45); }
a:hover { color: var(--ice); text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.32rem); font-weight: 700; margin-top: 1.9em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
strong { color: var(--ink); font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: var(--ice-soft); color: var(--white); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--white); color: var(--navy-ink); }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.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(--white); color: var(--navy-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--navy-ink); }

/* ---------- Buttons (white on navy) ---------- */
.btn {
  --btn-pad: .85em 1.55em;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--btn-pad);
  border: 0; border-radius: 12px;
  background: var(--white); color: var(--navy-ink);
  font: 800 1rem/1.2 var(--font-body);
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(156, 199, 255, .55), inset 0 -2px 0 rgba(7, 20, 48, .12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { color: var(--navy-ink); background: #eaf3ff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(156, 199, 255, .7), inset 0 -2px 0 rgba(7, 20, 48, .12); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --btn-pad: .6em 1.15em; font-size: .92rem; border-radius: 10px; }
.btn--lg { --btn-pad: 1.02em 1.85em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 14, 36, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo img { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 1.28rem/1 var(--font-head); color: var(--white); letter-spacing: -.02em; }
.logo__name span { color: var(--ice); }
.logo__tag { font: 700 .6rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .94rem; text-decoration: none; transition: background .15s, color .15s; }
.nav__link:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.nav__cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { content: ""; top: -6px; }
.nav-toggle__bars::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 22px; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 2px; margin-bottom: 14px; }
  .nav__link { padding: 12px 14px; font-size: 1.02rem; }
  .nav__cta { display: flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) { .header-actions .btn { display: none; } .logo__tag { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 26px 0 60px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--line);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.hero > .container { position: relative; z-index: 1; }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

/* Author byline — top right of the content */
.byline {
  display: inline-flex; align-items: center; gap: 12px; margin-left: auto;
  padding: 8px 18px 8px 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.byline__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--navy-ink); font: 800 .92rem/1 var(--font-head); letter-spacing: .02em; flex: none; }
.byline__text { display: flex; flex-direction: column; line-height: 1.25; }
.byline__role { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.byline__name { font: 700 1rem/1.25 var(--font-head); color: var(--white); }
.byline__date { font-size: .8rem; color: var(--muted); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero h1 { margin-bottom: .45em; }
.text-accent { color: var(--ice); }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--white); font-size: .78rem; font-weight: 700; line-height: 1.3; }
.badge--ok { color: var(--ok); border-color: rgba(111, 224, 176, .3); background: rgba(111, 224, 176, .08); }
.badge--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--age { color: var(--warn); border-color: rgba(255, 180, 138, .3); background: rgba(255, 180, 138, .08); }

/* Bonus card — white card on the navy hero */
.bonus-card {
  position: relative; padding: 30px 28px 24px;
  background: var(--white); color: #3a4a6b; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5);
}
.bonus-card a:not(.btn) { color: #1d3f8a; text-decoration-color: rgba(29, 63, 138, .4); }
.bonus-card__ribbon { position: absolute; top: -14px; right: 22px; padding: 6px 14px; border-radius: 999px; background: var(--navy-ink); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 0 3px var(--white); }
.bonus-card__label { font: 800 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #6a7a9b; margin: 6px 0 8px; }
.bonus-card__amount { font: 800 clamp(2.8rem, 6vw, 3.6rem)/1 var(--font-head); color: var(--navy-ink); margin: 0 0 6px; letter-spacing: -.04em; }
.bonus-card__amount span { color: #2f63c9; }
.bonus-card__extra { font-weight: 800; color: #1d3f8a; margin-bottom: 20px; }
.bonus-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.bonus-card__facts li { padding: 12px 6px; text-align: center; background: #f1f5fc; border: 1px solid #e0e7f4; border-radius: 12px; font-size: .78rem; color: #6a7a9b; line-height: 1.3; }
.bonus-card__facts strong { display: block; font: 800 1.12rem/1.2 var(--font-head); color: var(--navy-ink); margin-bottom: 2px; }
.bonus-card__code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; margin-bottom: 16px; border: 1.5px dashed #b8c8e6; border-radius: 12px; background: #f7f9fe; font-size: .9rem; font-weight: 700; color: #3a4a6b; }
.bonus-card__code code { background: none; padding: 0; font-weight: 800; letter-spacing: .06em; color: var(--navy-ink); }
.bonus-card .btn { background: var(--navy-ink); color: var(--white); box-shadow: 0 12px 26px -12px rgba(7, 20, 48, .7); }
.bonus-card .btn:hover { background: #12306e; color: var(--white); }
.bonus-card__terms { margin: 14px 0 0; font-size: .76rem; line-height: 1.5; color: #6a7a9b; text-align: center; }

/* ---------- Stats + TOC ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: -30px 0 0; padding: 0; position: relative; z-index: 2; }
.stat { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat__value { display: block; font: 800 1.65rem/1.1 var(--font-head); color: var(--white); }
.stat__label { font-size: .88rem; color: var(--muted); }

.page-toc { margin: 34px 0 10px; padding: 22px 24px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); }
.page-toc__title { font: 800 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.page-toc ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.page-toc li { counter-increment: toc; }
.page-toc a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.page-toc a::before { content: counter(toc, decimal-leading-zero); font-size: .7rem; font-weight: 800; color: var(--ice); opacity: .8; }
.page-toc a:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section__head { max-width: 800px; margin-bottom: 26px; }
.section__head > p { font-size: 1.08rem; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ice); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--white); }
.prose { max-width: 820px; }
.prose > h3:first-child { margin-top: 0; }
.prose h3 { position: relative; padding-left: 16px; }
.prose h3::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: var(--white); }

.dot-list { list-style: none; padding: 0; }
.dot-list li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.dot-list li::before { content: ""; position: absolute; left: 5px; top: .66em; width: 8px; height: 8px; border-radius: 2px; background: var(--white); transform: rotate(45deg); }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 13px 16px 13px 60px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--white); color: var(--navy-ink); font: 800 .9rem/1 var(--font-head); }

.callout { display: flex; gap: 14px; padding: 16px 18px; margin: 0 0 1.2em; background: var(--ice-soft); border: 1px solid rgba(156, 199, 255, .28); border-radius: 14px; color: var(--ink); }
.callout::before { content: "i"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--navy-ink); font: 800 .9rem/1 var(--font-head); }
.callout p { margin: 0; }

/* Tables */
.table-wrap { margin: 0 0 1.3em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 440px; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--white); color: var(--navy-ink); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.table tbody th { color: var(--white); font-weight: 700; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.table tbody tr:hover { background: rgba(255, 255, 255, .06); }
.table .is-total { background: rgba(156, 199, 255, .12) !important; }
.table .is-total > * { color: var(--white); font-weight: 800; }

.cta-row { margin-top: 28px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 18px 58px 18px 22px; font: 700 1.04rem/1.4 var(--font-head); color: var(--white); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--white); color: var(--navy-ink); font: 800 1.15rem/1 var(--font-body); }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 22px 18px; }
.faq__answer p:last-child { margin: 0; }

/* Author box */
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; margin: 56px 0; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.author-box__avatar { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--navy-ink); font: 800 1.15rem/1 var(--font-head); }
.author-box__name { margin: 0; font: 800 1.12rem/1.3 var(--font-head); color: var(--white); }
.author-box__meta { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 30px; background: var(--bg-deep); border-top: 1px solid var(--line); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 42ch; }
.footer-col h2 { font: 800 .78rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-link-btn { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--white); text-decoration: underline; }
.footer-link-btn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.footer-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; padding: 18px 0; border-block: 1px solid var(--line); }
.footer-rg a { color: var(--ink-2); font-weight: 600; }
.footer-legal { margin-top: 20px; font-size: .84rem; color: var(--muted); }
.footer-legal p { margin-bottom: .8em; }
.footer-legal a { color: var(--ink-2); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .25s ease; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.sticky-cta__text strong { display: block; font: 800 1rem/1.2 var(--font-head); color: var(--white); }
@media (max-width: 767px) { .sticky-cta { display: flex; } body { padding-bottom: 84px; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 150; left: 16px; bottom: 16px; max-width: 420px; padding: 20px 22px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .4em; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .cookie-banner { left: 12px; right: 12px; bottom: 96px; max-width: none; } }

/* ---------- Legal pages ---------- */
.page-hero { padding: 30px 0 40px; background: var(--grad-hero); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-top: 18px; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { max-width: 70ch; }
.page-hero__updated { font-size: .88rem; color: var(--muted); }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-block: 48px 64px; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 20px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.toc h2 { font: 800 .76rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--white); }
.legal__body { max-width: 780px; }
.legal__body section + section { margin-top: 36px; }
.legal__body h2 { font-size: 1.45rem; }
.legal__body h3 { font-size: 1.1rem; margin-top: 1.3em; }
.notice { padding: 14px 18px; background: rgba(255, 180, 138, .08); border-left: 4px solid var(--warn); border-radius: 10px; }
.notice p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .bonus-card { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero { padding: 18px 0 48px; }
  .hero__top { margin-bottom: 22px; }
  .byline { margin-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -24px; }
  .section { padding: 50px 0; }
  .btn--lg { width: 100%; }
  .bonus-card { padding: 28px 20px 22px; }
  .author-box { padding: 18px; }
}
@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column-reverse; align-items: flex-start; }
  .table { font-size: .9rem; }
  .table th, .table td { padding: 10px 12px; }
}
