:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #1c2430;
  --border: #2a3442;
  --accent: #d4a85f;
  --accent-light: #f0c987;
  --accent-dim: #9f7a3f;
  --text: #f3f6fb;
  --muted: #93a1b2;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --gap: 1.25rem;
  --max-w: 1140px;
  --transition: .25s ease;
  --shadow-card: 0 2px 12px rgba(0,0,0,.35);
  --shadow-hover: 0 8px 24px rgba(212,168,95,.16);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

.wrap-mx {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-gold:hover {
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(212,168,95,.24);
  transform: translateY(-1px);
}
.btn-gold:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.5rem;
  border: 1.5px solid var(--accent);
  color: var(--accent-light);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover {
  background: rgba(212,168,95,.1);
  color: var(--accent-light);
}

/* ===== HEADER ===== */
.hdr-main {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.hdr-brand img { height: 32px; width: auto; }

.hdr-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.hdr-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-open .hdr-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hdr-toggle span:nth-child(2) { opacity: 0; }
.nav-open .hdr-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr-nav {
  position: fixed;
  inset: 0;
  background: rgba(13,17,23,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 105;
}
.nav-open .hdr-nav {
  opacity: 1;
  visibility: visible;
}

.hdr-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.hdr-links a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  padding: .5rem 1rem;
}
.hdr-links a:hover,
.hdr-links a[aria-current="page"] {
  color: var(--accent-light);
}

@media(min-width:768px) {
  .hdr-toggle { display: none; }
  .hdr-nav {
    position: static;
    background: none;
    opacity: 1;
    visibility: visible;
  }
  .hdr-links {
    flex-direction: row;
    gap: .25rem;
  }
  .hdr-links a {
    font-size: .85rem;
    padding: .4rem .7rem;
    border-radius: var(--radius-sm);
  }
  .hdr-links a:hover {
    background: rgba(212,168,95,.08);
  }
}

/* ===== BREADCRUMB ===== */
.crumb-bar {
  padding: .75rem 0;
  border-bottom: 1px solid rgba(42,52,66,.5);
}
.crumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .78rem;
  color: var(--muted);
}
.crumb-item + .crumb-item::before {
  content: "›";
  margin-right: .35rem;
  color: var(--muted);
}
.crumb-item a { color: var(--accent-light); font-weight: 600; }
.crumb-item:last-child { color: var(--text); font-weight: 600; }

/* ===== HERO ===== */
.sec-hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(175deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 720px; }
.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.hero-cta { font-size: 1rem; padding: .85rem 2rem; }

/* ===== SECTION SHARED ===== */
.sec-heading {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: .75rem;
  line-height: 1.25;
  color: var(--text);
}
.sub-heading {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text);
}
.sec-lead {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* ===== SHOWCASE ===== */
.sec-showcase {
  padding: 3rem 0;
  background: var(--bg);
}
.cmp-grid {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  counter-reset: cmp-counter;
  margin-top: 1.5rem;
}
.cmp-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cmp-entry:hover {
  border-color: rgba(212,168,95,.3);
  box-shadow: var(--shadow-hover);
}
.cmp-rank {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  font-weight: 800;
  font-size: .8rem;
  border-radius: var(--radius) 0 var(--radius-sm) 0;
}
.cmp-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  min-height: 52px;
}
.cmp-logo-area img { max-height: 34px; width: auto; object-fit: contain; }

.cmp-info { display: flex; flex-direction: column; gap: .3rem; }
.cmp-bonus-name { font-size: .95rem; color: var(--text); }
.cmp-bonus-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
}
.cmp-bonus-desc { font-size: .85rem; color: var(--muted); }

.cmp-action { display: flex; align-items: center; }
.cmp-cta { width: 100%; padding: .7rem 1rem; font-size: .9rem; }

@media(min-width:768px) {
  .cmp-entry {
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    padding: 1rem 1.25rem 1rem 2.75rem;
  }
  .cmp-cta { width: auto; min-width: 140px; }
}

/* ===== RATING ===== */
.sec-rating {
  padding: 3rem 0;
  background: var(--surface);
}
.rate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.rate-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.rate-card:hover { border-color: rgba(212,168,95,.25); }
.rate-icon { margin-bottom: .75rem; }
.rate-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--accent-light);
}
.rate-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.rate-cta-wrap { margin-top: 2rem; text-align: center; }

@media(min-width:600px) { .rate-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:900px) { .rate-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== TOP 5 REVIEWS ===== */
.sec-top5 {
  padding: 3rem 0;
  background: var(--bg);
}
.rev-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  overflow: hidden;
}
.rev-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.rev-position {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.rev-logo-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: .5rem .85rem;
  display: flex;
  align-items: center;
}
.rev-logo-wrap img { max-height: 32px; width: auto; }
.rev-head-info { flex: 1; min-width: 200px; }
.rev-head-info h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}
.rev-badge {
  display: inline-block;
  margin-top: .35rem;
  padding: .2rem .7rem;
  background: rgba(212,168,95,.12);
  color: var(--accent-light);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 20px;
}

.rev-body { padding: 1.5rem 1.25rem; }

.rev-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.rev-main-col p { color: var(--muted); margin-bottom: .75rem; line-height: 1.7; font-size: .93rem; }

.rev-bonus-box {
  background: linear-gradient(135deg, rgba(212,168,95,.08), rgba(159,122,63,.05));
  border: 1px solid rgba(212,168,95,.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.rev-bonus-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rev-bonus-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-light);
  margin: .25rem 0;
}
.rev-bonus-note { font-size: .85rem; color: var(--muted); }

.rev-info-table { overflow: hidden; border-radius: var(--radius-sm); }
.rev-info-table table { font-size: .85rem; }
.rev-info-table tr { border-bottom: 1px solid var(--border); }
.rev-info-table tr:last-child { border-bottom: none; }
.rev-info-table td { padding: .55rem .75rem; }
.rev-info-table tr td:first-child {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  width: 40%;
}
.rev-info-table tr:nth-child(odd) { background: var(--surface2); }
.rev-info-table tr:nth-child(even) { background: var(--surface); }

@media(min-width:768px) {
  .rev-columns { grid-template-columns: 1.4fr 1fr; }
}

.rev-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rev-pros, .rev-cons {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
}
.rev-pros h4 { color: #5cb47a; font-size: .9rem; margin-bottom: .5rem; }
.rev-cons h4 { color: #d46b6b; font-size: .9rem; margin-bottom: .5rem; }
.rev-pros ul, .rev-cons ul { list-style: none; }
.rev-pros li, .rev-cons li {
  font-size: .87rem;
  color: var(--muted);
  padding: .3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.rev-pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5cb47a;
  font-weight: 700;
}
.rev-cons li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #d46b6b;
  font-weight: 700;
}

@media(min-width:600px) { .rev-pros-cons { grid-template-columns: 1fr 1fr; } }

.rev-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.rev-feat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
}
.rev-feat-card h4 { font-size: .85rem; color: var(--accent-light); margin-bottom: .35rem; }
.rev-feat-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

@media(min-width:600px) { .rev-features-grid { grid-template-columns: repeat(3, 1fr); } }

.rev-cta {
  display: block;
  text-align: center;
  padding: .85rem 2rem;
  font-size: 1rem;
}

/* ===== PAYMENTS ===== */
.sec-payments {
  padding: 3rem 0;
  background: var(--surface);
}
.pmt-table-wrap { overflow-x: auto; margin-top: 1rem; border-radius: var(--radius); border: 1px solid var(--border); }
.pmt-table { min-width: 540px; font-size: .88rem; }
.pmt-table thead { background: var(--surface2); }
.pmt-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--accent-light);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pmt-table td { padding: .7rem 1rem; border-top: 1px solid var(--border); }
.pmt-table tbody tr:nth-child(odd) { background: var(--surface); }
.pmt-table tbody tr:nth-child(even) { background: var(--surface2); }

.pmt-badge {
  display: inline-block;
  padding: .15rem .45rem;
  background: rgba(212,168,95,.12);
  color: var(--accent-light);
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  margin-right: .35rem;
}
.pmt-badge.spei { background: rgba(93,161,122,.15); color: #5cb47a; }

.speed-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 600;
}
.speed-badge.fast { background: rgba(92,180,122,.12); color: #5cb47a; }
.speed-badge.medium { background: rgba(212,168,95,.12); color: var(--accent-light); }

/* ===== BONUSES ===== */
.sec-bonuses {
  padding: 3rem 0;
  background: var(--bg);
}
.bonus-checklist {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}
.bonus-check-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.check-icon { flex-shrink: 0; margin-top: .1rem; }
.bonus-check-item strong { display: block; font-size: .9rem; color: var(--text); margin-bottom: .25rem; }
.bonus-check-item p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

.bonus-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.bonus-table { min-width: 480px; font-size: .88rem; }
.bonus-table thead { background: var(--surface2); }
.bonus-table th {
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--accent-light);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bonus-table td { padding: .65rem 1rem; border-top: 1px solid var(--border); }
.bonus-table tbody tr:nth-child(odd) { background: var(--surface); }
.bonus-table tbody tr:nth-child(even) { background: var(--surface2); }

.tag-pill {
  display: inline-block;
  padding: .15rem .5rem;
  background: rgba(212,168,95,.12);
  color: var(--accent-light);
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
}

/* ===== LIVE ===== */
.sec-live {
  padding: 3rem 0;
  background: var(--surface);
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.live-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.live-card:hover { border-color: rgba(212,168,95,.25); }
.live-card-icon { margin-bottom: .75rem; }
.live-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.live-card p { font-size: .87rem; color: var(--muted); line-height: 1.65; }

@media(min-width:600px) { .live-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:900px) { .live-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== CRYPTO ===== */
.sec-crypto {
  padding: 3rem 0;
  background: var(--bg);
}
.crypto-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: 1rem;
}
.crypto-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.crypto-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.crypto-benefit strong { display: block; font-size: .93rem; color: var(--text); margin-bottom: .2rem; }
.crypto-benefit p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

@media(min-width:600px) { .crypto-benefits { grid-template-columns: repeat(2, 1fr); } }

.crypto-coins-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.coin-tag {
  padding: .35rem .75rem;
  background: rgba(212,168,95,.08);
  border: 1px solid rgba(212,168,95,.18);
  color: var(--accent-light);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 20px;
}

/* ===== SAFETY ===== */
.sec-safety {
  padding: 3rem 0;
  background: var(--surface);
}
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1rem;
}
.safety-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.safety-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  opacity: .5;
  line-height: 1;
  min-width: 28px;
}
.safety-item strong { display: block; font-size: .93rem; color: var(--text); margin-bottom: .2rem; }
.safety-item p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.safety-cta-wrap { margin-top: 2rem; text-align: center; }

@media(min-width:600px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== CHOOSE ===== */
.sec-choose {
  padding: 3rem 0;
  background: var(--bg);
}
.choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.choose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  padding-left: 3.5rem;
}
.choose-num {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
}
.choose-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--accent-light); }
.choose-card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

@media(min-width:600px) { .choose-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== VERDICT ===== */
.sec-verdict {
  padding: 3rem 0;
  background: var(--surface);
}
.verdict-box {
  background: linear-gradient(135deg, rgba(212,168,95,.06), rgba(159,122,63,.03));
  border: 1px solid rgba(212,168,95,.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}
.verdict-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent-light);
}
.verdict-box p { color: var(--muted); margin-bottom: .75rem; line-height: 1.75; font-size: .95rem; }
.verdict-box p:last-child { margin-bottom: 0; }

/* ===== FAQ ===== */
.sec-faq {
  padding: 3rem 0;
  background: var(--bg);
}
.qa-wrap {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.qa-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.qa-item.active { border-color: rgba(212,168,95,.3); }

.qa-heading { margin: 0; }
.qa-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  line-height: 1.4;
}
.qa-trigger:hover { color: var(--accent-light); }
.qa-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.qa-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform .3s;
}
.qa-chevron::before, .qa-chevron::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.qa-chevron::before {
  width: 12px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.qa-chevron::after {
  width: 2px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .3s;
}
.qa-item.active .qa-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }

.qa-panel {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.qa-panel[hidden] { display: block; max-height: 0; padding-top: 0; padding-bottom: 0; }
.qa-panel:not([hidden]) { max-height: 300px; padding-bottom: 1.25rem; }
.qa-panel p { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ===== FOOTER ===== */
.ft-main {
  padding: 3rem 0 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.ft-logo { margin-bottom: .75rem; height: 28px; width: auto; }
.ft-about { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.ft-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent-light);
  margin-bottom: .75rem;
}
.ft-col ul li { margin-bottom: .4rem; }
.ft-col ul a { color: var(--muted); font-size: .87rem; }
.ft-col ul a:hover { color: var(--accent-light); }

.ft-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.ft-bottom p { font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.6; }

@media(min-width:600px) {
  .ft-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ===== SUBPAGE CONTENT ===== */
.sec-page {
  padding: 2.5rem 0 3rem;
}
.page-content {
  max-width: 760px;
}
.page-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.page-content h2 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: var(--accent-light);
}
.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
}
.page-content p {
  color: var(--muted);
  margin-bottom: .85rem;
  line-height: 1.75;
}
.page-content ul, .page-content ol {
  margin: .75rem 0 1.25rem 1.25rem;
  list-style: disc;
}
.page-content li {
  color: var(--muted);
  margin-bottom: .4rem;
  line-height: 1.65;
  font-size: .93rem;
}
.page-content li strong { color: var(--text); }

/* Author page */
.author-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.author-role {
  color: var(--accent-light);
  font-weight: 600;
  font-size: .95rem;
  margin-top: .25rem;
}

/* ===== PRINT ===== */
@media print {
  .hdr-main, .ft-main, .hdr-toggle { display: none; }
  body { background: #fff; color: #111; }
}