:root {
  --bg: #0a0b0a;
  --bg-2: #111311;
  --surface: #161916;
  --surface-2: #1d211d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1ede4;
  --muted: #a39f95;
  --gold: #d9a441;
  --gold-2: #f3c96b;
  --green: #1f9d55;
  --red: #d63a3a;
  --radius: 14px;
  --max: 1180px;
  --font-title: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.tricolore {
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #f4f1ea 33.33% 66.66%, var(--red) 66.66% 100%);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 11, 10, 0.85);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 700; letter-spacing: .04em; }
.brand img { width: 46px; height: 46px; }
.brand span b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1406; box-shadow: 0 8px 30px -8px rgba(217, 164, 65, .55); }
.btn-gold:hover { box-shadow: 0 12px 36px -8px rgba(217, 164, 65, .75); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 8px 30px -8px rgba(88, 101, 242, .6); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(217, 164, 65, .5); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 400px at 15% 30%, rgba(31, 157, 85, .18), transparent 70%),
    radial-gradient(600px 400px at 85% 30%, rgba(214, 58, 58, .18), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(217, 164, 65, .12), transparent 70%),
    var(--bg);
}
.hero::after {
  /* colonnato romano stilizzato */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; opacity: .07;
  background: repeating-linear-gradient(90deg, transparent 0 46px, #fff 46px 58px, transparent 58px 104px);
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--muted); margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.online { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); animation: pulse 2s infinite; }
.dot.offline { background: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }

.hero h1 { font-family: var(--font-title); font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: .01em; }
.hero h1 .g { color: var(--green); }
.hero h1 .r { color: var(--red); }
.hero h1 small { display: block; font-size: .42em; color: var(--gold); letter-spacing: .3em; margin-top: 8px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* ---------- Logo animato ---------- */
.hero-logo { position: relative; display: grid; place-items: center; perspective: 1000px; }
.hero-logo::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, .32), transparent 65%);
  filter: blur(30px);
  animation: glow 4s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.15); opacity: .6; } }

.logo-ring {
  position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  opacity: 0; animation: ringIn 1s .6s ease forwards;
}
.ring-1 { width: min(520px, 108%); border: 1px dashed rgba(217, 164, 65, .35); }
.ring-2 { width: min(430px, 90%); border: 1px solid transparent; border-top-color: var(--green); border-bottom-color: var(--red); }
.ring-1 { --spin: spin 40s linear infinite; }
.ring-2 { --spin: spin 14s linear infinite reverse; }
@keyframes ringIn { to { opacity: 1; } }
.logo-ring { animation: ringIn 1s .6s ease forwards, var(--spin); }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-sparks { position: absolute; inset: 0; pointer-events: none; }
.logo-sparks i {
  position: absolute; bottom: 20%; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 10px var(--gold); opacity: 0;
  animation: spark 5s ease-in infinite;
}
.logo-sparks i:nth-child(1) { left: 22%; animation-delay: 0s; }
.logo-sparks i:nth-child(2) { left: 38%; animation-delay: 1.4s; background: #6ee7a0; box-shadow: 0 0 10px var(--green); }
.logo-sparks i:nth-child(3) { left: 55%; animation-delay: 2.6s; }
.logo-sparks i:nth-child(4) { left: 70%; animation-delay: .8s; background: #ff8f8f; box-shadow: 0 0 10px var(--red); }
.logo-sparks i:nth-child(5) { left: 80%; animation-delay: 3.4s; }
.logo-sparks i:nth-child(6) { left: 30%; animation-delay: 4.1s; }
@keyframes spark {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-260px) scale(.3); opacity: 0; }
}

.logo-tilt {
  position: relative; width: min(460px, 100%);
  transform-style: preserve-3d; transition: transform .25s ease-out;
  animation: logoIn 1.2s cubic-bezier(.2, .9, .3, 1.2) backwards;
  cursor: pointer;
}
.logo-tilt.spin .logo-float img { animation: logoSpin .9s cubic-bezier(.3, .8, .3, 1.1); }
@keyframes logoSpin {
  0% { transform: rotateY(0) scale(1); }
  50% { transform: rotateY(180deg) scale(1.08); }
  100% { transform: rotateY(360deg) scale(1); }
}
@keyframes logoIn {
  from { opacity: 0; transform: scale(.6) rotate(-8deg); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
.logo-float { position: relative; animation: float 6s 1.2s ease-in-out infinite; }
.logo-float img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
@keyframes float { 50% { transform: translateY(-14px); } }

/* riflesso di luce che attraversa solo la forma del logo */
.logo-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("assets/logo.png") center / contain no-repeat;
  mask: url("assets/logo.png") center / contain no-repeat;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: overlay;
  animation: shine 5s 1.5s ease-in-out infinite;
}
@keyframes shine {
  0% { background-position: 150% 0; }
  40%, 100% { background-position: -50% 0; }
}

/* logo della navbar */
.brand img { transition: transform .5s cubic-bezier(.2, .9, .3, 1.4); }
.brand:hover img { transform: rotate(-10deg) scale(1.12); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-title); font-size: 34px; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-family: var(--font-title); font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; margin: 10px 0 14px; }
.section-head p { color: var(--muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.divider i { width: 50px; height: 1px; background: var(--line); }
.divider b { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 164, 65, .35); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(217, 164, 65, .1); color: var(--gold); border: 1px solid rgba(217, 164, 65, .25);
}
.icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Jobs */
.jobs { background: var(--bg-2); border-block: 1px solid var(--line); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab { padding: 9px 20px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); transition: .2s; }
.tab.active, .tab:hover { color: #1a1406; background: var(--gold); border-color: var(--gold); }
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job {
  position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transition: .3s;
}
.job::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c, var(--gold)); }
.job:hover { border-color: var(--c, var(--gold)); transform: translateY(-3px); }
.job .emoji { font-size: 30px; margin-bottom: 12px; }
.job h4 { font-size: 17px; margin-bottom: 4px; }
.job p { font-size: 14px; color: var(--muted); }
.job[hidden] { display: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step, upper-roman);
  font-family: var(--font-title); font-size: 44px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold); display: block; margin-bottom: 18px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.step a.link { font-size: 14px; font-weight: 600; color: var(--gold); }
.step a.link:hover { color: var(--gold-2); }

/* Rules preview */
.rules-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rules-preview h2 { font-family: var(--font-title); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; margin: 10px 0 16px; }
.rules-preview > div > p { color: var(--muted); margin-bottom: 28px; }
.rule-list { display: grid; gap: 12px; }
.rule-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.rule-item b { font-family: var(--font-title); color: var(--gold); min-width: 34px; }
.rule-item h5 { font-size: 15px; }
.rule-item p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--gold); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; padding: 70px 40px; text-align: center;
  border: 1px solid rgba(217, 164, 65, .25);
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(31, 157, 85, .25), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(214, 58, 58, .25), transparent 70%),
    var(--surface);
}
.cta img { width: 110px; margin: 0 auto 20px; }
.cta h2 { font-family: var(--font-title); font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 540px; margin: 0 auto 30px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 30px; background: var(--bg-2); margin-top: 110px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.footer p.small { color: var(--muted); font-size: 14px; max-width: 360px; margin-top: 14px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 14px; }
.footer-links ul { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- Regolamento ---------- */
.page-hero { padding: 150px 0 60px; text-align: center; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 20% 20%, rgba(31, 157, 85, .15), transparent 70%),
    radial-gradient(500px 300px at 80% 20%, rgba(214, 58, 58, .15), transparent 70%);
}
.page-hero h1 { font-family: var(--font-title); font-size: clamp(38px, 6vw, 64px); line-height: 1.1; margin: 10px 0 14px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.updated { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; }

.rules-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 14px; }
.search {
  width: 100%; padding: 12px 14px 12px 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a39f95' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
  color: var(--text); font: inherit; font-size: 14px; outline: none;
}
.search:focus { border-color: rgba(217, 164, 65, .5); }
.toc nav { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.toc nav a { padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; transition: .2s; }
.toc nav a b { font-family: var(--font-title); color: var(--gold); min-width: 22px; font-weight: 600; }
.toc nav a:hover, .toc nav a.active { background: rgba(217, 164, 65, .08); color: var(--text); }

.rule-section { margin-bottom: 50px; }
.rule-section > h2 { font-family: var(--font-title); font-size: 28px; display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.rule-section > h2 span { font-size: 15px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(217, 164, 65, .1); color: var(--gold); border: 1px solid rgba(217, 164, 65, .25); flex-shrink: 0; }
.rule-section > p.intro { color: var(--muted); margin-bottom: 18px; }
.article { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 10px; }
.article h3 { font-size: 16px; margin-bottom: 4px; display: flex; gap: 10px; }
.article h3 em { font-style: normal; color: var(--gold); font-weight: 600; white-space: nowrap; }
.article p, .article li { color: var(--muted); font-size: 15px; }
.article ul { margin: 8px 0 0 20px; display: grid; gap: 4px; }
.article[hidden], .rule-section[hidden] { display: none; }
mark { background: rgba(217, 164, 65, .35); color: var(--text); border-radius: 3px; padding: 0 2px; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(214, 58, 58, .35); background: rgba(214, 58, 58, .07); margin-bottom: 40px; font-size: 15px; }
.notice strong { color: #ff8a8a; }
.empty { display: none; text-align: center; color: var(--muted); padding: 40px; border: 1px dashed var(--line); border-radius: 12px; }

table.sanctions { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sanctions th, .sanctions td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sanctions th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); background: var(--surface-2); }
.sanctions td { color: var(--muted); }
.sanctions tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: 12px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  /* con "animazioni ridotte" restano solo gli effetti leggeri: riflesso, bagliore e anelli */
  .dot.online, .logo-tilt, .logo-float { animation: none !important; }
  .logo-ring { opacity: 1; animation: var(--spin) !important; }
  .logo-sparks { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; }
  .logo-tilt { width: 280px; }
  .ring-1 { width: 330px; }
  .ring-2 { width: 290px; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about-grid, .jobs-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .rules-preview { grid-template-columns: 1fr; }
  .rules-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc nav { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 11, 10, .97); border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links li a { display: block; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border: 0; margin-top: 14px; }
  .header { background: rgba(10, 11, 10, .9); backdrop-filter: blur(14px); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  section.block { padding: 80px 0; }
  .about-grid, .jobs-grid, .steps { grid-template-columns: 1fr; }
  .toc nav { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta { padding: 50px 22px; }
  .stat strong { font-size: 28px; }
  .footer-links { gap: 36px; }
  .brand span { font-size: 15px; }
}
