/* Coverly - wearecoverly.ch
   Tema: verde abete + ambra. Nessun JavaScript.
   Per cambiare i colori basta modificare le variabili qui sotto. */

:root {
  --bg: #f7f5ef;
  --bg-2: #efebe0;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --ink: #14261f;
  --ink-2: #3b4d45;
  --muted: #65756e;
  --line: #e4e0d5;
  --line-2: #d3cdbd;
  --brand: #0f4c3a;
  --brand-2: #0b3a2d;
  --brand-3: #08291f;
  --brand-soft: #dcece3;
  --brand-tint: #eef5f0;
  --accent: #e9a23b;
  --accent-2: #c98420;
  --accent-soft: #fbebcf;
  --accent-ink: #5a3a08;
  --ok: #2f8f5b;
  --no: #c2452f;
  --on-dark: #f3f6f2;
  --on-dark-muted: #b8c9bf;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(20, 38, 31, .05), 0 14px 36px -14px rgba(20, 38, 31, .2);
  --shadow-lg: 0 2px 4px rgba(20, 38, 31, .06), 0 30px 60px -24px rgba(8, 41, 31, .35);
  --font: "Inter", "SF Pro Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a15;
    --bg-2: #0a1510;
    --surface: #132620;
    --surface-2: #10211b;
    --ink: #eef3ef;
    --ink-2: #c9d4ce;
    --muted: #93a39b;
    --line: #22382f;
    --line-2: #2e4a3f;
    --brand: #39a47f;
    --brand-2: #2b8a69;
    --brand-3: #071d16;
    --brand-soft: #173b30;
    --brand-tint: #122a23;
    --accent: #f0b24f;
    --accent-2: #e9a23b;
    --accent-soft: #3b2c12;
    --accent-ink: #f7dda6;
    --ok: #4cc48a;
    --no: #e8705a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 36px -14px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -24px rgba(0, 0, 0, .7);
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; }
mark { background: var(--accent-soft); color: var(--accent-ink); padding: .05em .25em; border-radius: 4px; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow-light { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-accent { background: var(--accent); color: #1d1405; box-shadow: 0 8px 24px -10px rgba(233, 162, 59, .8); }
.btn-accent:hover { background: var(--accent-2); color: #1d1405; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--on-dark); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; }
.link-arrow .ico { width: 20px; height: 20px; transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.section-link { margin-top: 2rem; text-align: center; }

/* --------------------------------------------------------------- icons */
.ico, .ico-box { display: inline-flex; flex: none; }
.ico svg, .ico-box svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 22px; height: 22px; }
.ico-box { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem; }
.band-dark .ico-box, .band-brand .ico-box { background: rgba(255, 255, 255, .1); color: var(--accent); }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links { display: flex; gap: 1.35rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .97rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.lang { display: flex; gap: .9rem; font-size: .85rem; font-weight: 650; letter-spacing: .04em; }
.lang a { text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--brand); border-bottom: 2px solid var(--accent); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.2rem 20px 1.6rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { flex-direction: column; gap: .2rem; }
  .nav-links a { padding: .6em 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
  .lang { justify-content: flex-start; gap: 1.4rem; padding: .4rem 0; }
  .nav .btn { align-self: flex-start; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(60% 55% at 85% 10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(50% 60% at 5% 90%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 60% 100%, color-mix(in srgb, var(--brand-soft) 90%, transparent), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero::after {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 2%, 0) scale(1.06); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .lead { font-size: 1.2rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .5rem; font-size: .93rem; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: .45em; }
.ticks .ico { width: 18px; height: 18px; color: var(--ok); }
.hero-page { padding-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-demo { max-width: 560px; }
}

/* demo card */
.hero-demo { position: relative; }
.demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem 1.25rem; position: relative; z-index: 2;
}
.demo-top { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.demo-top .logo-mark { width: 22px; height: 22px; }
.demo-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.bubble { border-radius: 16px; padding: .85rem 1rem; font-size: .95rem; line-height: 1.5; }
.bubble-user { background: var(--accent-soft); color: var(--accent-ink); margin-left: 22%; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble-ai { background: var(--surface-2); border: 1px solid var(--line); margin-top: .8rem; border-bottom-left-radius: 4px; }
.bubble-ai p { margin-bottom: .6em; }
.answer { font-size: 1.05rem; color: var(--brand); }
.sources { display: grid; gap: .5rem; margin: .8rem 0 .6rem; }
.sources li { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; font-size: .85rem; }
.sources .ico { color: var(--brand); width: 20px; height: 20px; }
.sources strong { display: block; font-size: .85rem; }
.sources em { font-style: normal; color: var(--muted); font-size: .8rem; }
.demo-note { font-size: .78rem; color: var(--muted); margin: 0; font-style: italic; }
.excerpt {
  position: absolute; right: -14px; bottom: -26px; z-index: 3; width: min(62%, 300px);
  margin: 0; background: #fffdf7; color: #2a2411; border: 1px solid #ead9b6; border-radius: 12px;
  padding: .7rem .85rem .8rem; font-size: .76rem; line-height: 1.45; box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.excerpt figcaption { font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8a6a1c; margin-bottom: .3rem; }
.excerpt p { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.excerpt mark { background: #ffe29a; color: #2a2411; }
@media (max-width: 600px) { .excerpt { position: static; width: 100%; transform: none; margin-top: .8rem; } }

/* broker widget */
.portfolio { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .6rem; text-align: center; }
.stat-n { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-l { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }
.alerts { display: grid; gap: .5rem; }
.alerts li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; padding: .55rem .7rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.alerts .ico { width: 18px; height: 18px; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding-top: clamp(1rem, 3vw, 2rem); }
.section-alt { background: var(--bg-2); }
.section-narrow .container { max-width: 820px; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head .lead { margin-bottom: 0; }
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.page-head .lead { font-size: 1.2rem; }
.page-404 { padding-bottom: 5rem; }

.grid { display: grid; gap: 1.2rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.card-wide { padding: 2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.7rem; box-shadow: var(--shadow); position: relative; }
.step .num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1; margin-bottom: .9rem; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.callout { margin-top: 1.8rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink-2); }

.list { display: grid; gap: .7rem; }
.list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; margin-top: .1em; }
.list-ok .ico { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.list-no .ico { background: color-mix(in srgb, var(--no) 14%, transparent); color: var(--no); }
.card .list { margin-top: .4rem; }
.plain-list { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: disc; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { display: inline-flex; align-items: center; gap: .4em; padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .92rem; }
.chips-light li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--on-dark); }
.chips-tags li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--on-dark); font-weight: 600; }
.chips-tags .ico { width: 16px; height: 16px; color: var(--accent); }

/* dark bands */
.band-dark, .band-brand { color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark { background: linear-gradient(160deg, var(--brand-3), #0d3b2e 60%, #0f4c3a); }
.band-brand { background: linear-gradient(160deg, #0f4c3a, #156b52); }
.band-dark::before, .band-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; }
.band-dark .container, .band-brand .container { position: relative; }
.band-dark h2, .band-brand h2, .band-dark h3, .band-brand h3 { color: #fff; }
.band-dark .lead, .band-brand .lead { color: var(--on-dark); }
.band-dark a:not(.btn), .band-brand a:not(.btn) { color: var(--accent); }
.muted-light { color: var(--on-dark-muted); }
.band-brand .list .ico { background: rgba(255, 255, 255, .14); color: var(--accent); }
.band-dark .list-no .ico { background: rgba(255, 255, 255, .12); color: #ffb3a3; }
.band-brand .btn { margin-top: 1.4rem; }
.h-small { font-size: 1.15rem; margin-bottom: .3rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cats { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .15); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 1.4rem; background: var(--accent); color: #1d1405; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.tier h3 { margin-bottom: .2rem; }
.tier-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin: 0 0 .3rem; flex-wrap: wrap; }
.price .cur { font-weight: 700; color: var(--muted); font-size: 1rem; }
.price .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: .95rem; }
.tier-note { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.tier-desc { color: var(--ink-2); font-size: .97rem; }
.tier-feats { display: grid; gap: .55rem; margin: 1rem 0 1.5rem; font-size: .94rem; }
.tier-feats li { display: flex; gap: .55rem; align-items: flex-start; }
.tier-feats .ico { width: 20px; height: 20px; color: var(--ok); margin-top: .15em; }
.tier .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.table th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:nth-child(2) { font-weight: 700; color: var(--brand); font-size: 1.1rem; }
.table-note { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* faq */
.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--brand-soft); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--brand); transform: translate(-50%, -50%); transition: transform .2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: 1rem 1.3rem 1.2rem; color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.toc ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { display: inline-block; padding: .4em .9em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

/* cta band */
.cta-band { background: linear-gradient(135deg, var(--brand-3) 0%, var(--brand) 100%); color: var(--on-dark); padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 90% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 50ch; }
.cta-band .btn-row { margin: 0; }

/* prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; margin-bottom: 1em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-grid ul { display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-tag { color: var(--ink-2); max-width: 32ch; margin: 1rem 0; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.footer-mail .ico { width: 20px; height: 20px; }
.disclaimer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; max-width: 80ch; }
.copyright { color: var(--muted); font-size: .82rem; margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .btn, .card, .link-arrow .ico { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .excerpt { display: none; }
  body { background: #fff; color: #000; }
}
