/* comefantasy365.com — Aubergine Bonus (COLOR_011) + LAYOUT_013
   Trust-focused editorial fantasy platform site.
   Brand: "fantasy365" — beginner-friendly, professional, daily play value.
   TYPO_008: Bebas Neue (condensed display) + Inter.
   ONE clean hamburger rule set. NO conflicting rules. NO ::before/::after.
============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

/* ===== Section ID scroll-margin (lesson #9) ===== */
section[id] { scroll-margin-top: 80px; }

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* ===== Skip link (a11y) ===== */
.skip-link {
  position: fixed !important;
  left: -9999px !important;
  top: 0;
  background: var(--accent);
  color: var(--inverse);
  padding: 12px 18px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  border: 2px solid var(--accent);
}
.skip-link:focus { left: 8px !important; top: 8px; outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== Header (fixed) ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--overlay);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--soft-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  min-width: 0;
}

/* ===== Brand ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 1;
  min-width: 0;
  max-width: 60vw;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  color: var(--inverse);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.brand-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.brand-name em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

/* ===== Primary nav ===== */
.primary-nav { display: flex; gap: 4px; align-items: center; }
.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.primary-nav a:hover { background: var(--surface); color: var(--accent); }
.primary-nav a.is-active { color: var(--accent); background: var(--surface); }

/* ===== Header CTA ===== */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ===== Hamburger (ONE clean rule set) ===== */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--soft-border);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 70;
  padding: 0;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile drawer ===== */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--background);
  z-index: 55;
  padding: 80px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open { display: block !important; }
.mobile-drawer a.drawer-section {
  display: block;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--soft-border);
  font-size: 16px;
  font-weight: 600;
}
.mobile-drawer a.drawer-section:hover { color: var(--accent); }
.drawer-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.drawer-cta .btn-primary { background: var(--gradient-cta); color: var(--inverse); }
.drawer-cta .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--soft-border); }

body.menu-open { overflow: hidden; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: var(--gradient-cta);
  color: var(--inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--soft-border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent-border); }

/* ===== Hero (mobile cap) ===== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 10px;
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  background: var(--surface);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 640px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-trust {
  background: rgba(122, 45, 142, 0.12);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.hero-trust h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-strong);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-trust ul { list-style: none; padding: 0; margin: 0; }
.hero-trust li {
  display: flex; gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--soft-border);
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust li:first-child { border-top: none; }
.hero-trust .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--inverse);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== Sections ===== */
section { padding: 64px 0; position: relative; }
section.compliance {
  background: var(--background-2);
  padding: 16px 0;
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
}
section.compliance .container {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
section.compliance .pill {
  background: var(--accent);
  color: var(--inverse);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 800; font-size: 12px;
}
section.compliance a { color: var(--accent); text-decoration: none; font-weight: 700; }

.section-head { margin-bottom: 32px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section-head p { color: var(--text-muted); font-size: 16px; max-width: 720px; margin: 0; }

/* ===== Card grids ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 20px;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent-border); background: var(--surface-2); }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}
.card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ===== Risk cards (red border) ===== */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.risk-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.10), rgba(239, 68, 68, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.40);
  border-radius: var(--r-lg);
  padding: 20px;
}
.risk-card h3 { color: #FCA5A5; font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.02em; }
.risk-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ===== Alternative cards (green border) ===== */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.alt-card {
  background: linear-gradient(135deg, rgba(232, 179, 57, 0.10), rgba(232, 179, 57, 0.02));
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.alt-card .alt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.alt-card .alt-icon { font-size: 24px; }
.alt-card .alt-tag { background: rgba(232, 179, 57, 0.15); color: var(--accent); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); }
.alt-card h3 { color: var(--text-strong); font-family: var(--font-display); font-size: 20px; margin: 0 0 8px; text-transform: uppercase; }
.alt-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.alt-card a { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 13px; }

/* ===== Stat tiles ===== */
.stat-tile {
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center;
}
.stat-tile .stat-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-tile .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
  margin-top: 4px;
}

/* ===== Hub cards ===== */
.hub-card {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.hub-card__art { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--background-2); }
.hub-card__body { padding: 18px 20px; }
.hub-card__body .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hub-card__body .ttl {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-strong);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hub-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ===== Trust strip ===== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item-icon { font-size: 28px; flex-shrink: 0; }
.trust-item-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.trust-item-text strong { color: var(--text-strong); display: block; font-size: 14px; margin-bottom: 2px; }

/* ===== Spotlight ===== */
.spotlight-card {
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.spotlight-num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.spotlight-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 12px;
  display: block;
}
.spotlight-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* ===== Loose card ===== */
.loose-card {
  background: linear-gradient(135deg, rgba(122,45,142,0.10) 0%, rgba(122,45,142,0.03) 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin: 16px 0;
}
.loose-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  text-transform: uppercase;
  color: var(--text-strong);
}
.loose-card p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.loose-card-icon {
  display: inline-flex;
  width: 32px; height: 32px;
  background: rgba(122,45,142,0.30);
  border-radius: 8px;
  color: var(--accent-light);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.step {
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-strong);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.step a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ===== Money table ===== */
.money-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 14px;
}
.money-table th, .money-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--soft-border);
}
.money-table th {
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.money-table td { color: var(--text-muted); }
.money-table tr:last-child td { border-bottom: none; }
.money-table td.pos { color: var(--accent); font-weight: 700; }
.money-table td.neg { color: #FCA5A5; font-weight: 700; }
.money-table td strong { color: var(--text-strong); }

/* ===== Leaderboard ===== */
.lb-wrap { border: 1px solid var(--soft-border); border-radius: var(--r-md); overflow: hidden; }
.lb-head, .lb-row {
  display: grid;
  grid-template-columns: 70px 1.4fr 1.6fr 100px 130px;
  gap: 10px;
  padding: 12px 14px;
  align-items: center;
}
.lb-head {
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.lb-row { border-top: 1px solid var(--soft-border); font-size: 14px; color: var(--text); }
.lb-row .rank { font-weight: 800; }
.lb-row .rank--1 { color: var(--accent); }
.lb-row .rank--2 { color: var(--text-strong); }
.lb-row .rank--3 { color: #CD7F32; }
.lb-row .name { font-weight: 700; color: var(--text-strong); }
.lb-row .team { color: var(--text-muted); font-size: 13px; }
.lb-row .pts { font-family: var(--font-mono); font-weight: 700; color: var(--text-strong); }

/* ===== News grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.blog-card-img { display: block; }
.blog-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--background-2); }
.blog-card-body { padding: 16px 18px; }
.blog-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.blog-date {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text-strong);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.blog-card-body h3 a { color: inherit; text-decoration: none; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ===== Hub tiles grid (used in money pages) ===== */
.hub-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: border-color 0.18s ease;
}
.faq-item:hover { border-color: var(--accent-border); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-strong);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.faq-item a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ===== CTA banner ===== */
.cta-banner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-xl);
  padding: 40px;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-strong);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.cta-banner p { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--primary-border); }

/* ===== Footer ===== */
.footer-brand {
  background: var(--background-2);
  padding: 56px 0 24px;
  border-top: 1px solid var(--soft-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 8px 0 16px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-strong);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--soft-border);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-bottom strong { color: var(--accent); }

/* ===== Social icons ===== */
.social-row { display: flex; gap: 10px; margin-top: var(--s-3); flex-wrap: wrap; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232, 179, 57, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  transition: all 0.2s;
}
.social-icon:hover { background: var(--accent); color: var(--inverse); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; }

.drawer-social { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--soft-border); }
.drawer-social-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 8px; }
.drawer-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.drawer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(232, 179, 57, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  text-decoration: none;
}
.drawer-social-icon:hover { background: var(--accent); color: var(--inverse); }
.drawer-social-icon svg { width: 20px; height: 20px; }

/* ===== Inline image row (image distribution) ===== */
.inline-image-row {
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(122,45,142,0.06) 0%, rgba(122,45,142,0.02) 100%);
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  padding: 20px;
}
.inline-image-row .image-side img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.inline-image-row .text-side .eyebrow-mini {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  display: block;
}
.inline-image-row .text-side h4 {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}
.inline-image-row .text-side p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* ===== TOC ===== */
.toc {
  background: var(--gradient-tile);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}
.toc h3 { font-family: var(--font-display); font-size: 18px; color: var(--text-strong); margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.toc ol { padding-left: 22px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.toc ol li a { color: var(--accent); text-decoration: none; }
.toc ol li a:hover { text-decoration: underline; }

/* ===== Comparison table (app comparison) ===== */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--soft-border); font-size: 14px; }
.compare-table th { background: var(--surface-2); color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; }
.compare-table td { color: var(--text-muted); }
.compare-table td strong { color: var(--text-strong); }

/* ===== Pros/cons ===== */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.proscons-block {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-md);
  padding: 18px;
}
.proscons-block h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-strong);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.proscons-block ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.6; }
.proscons-block.pros ul li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.proscons-block.cons ul li::before { content: "✗ "; color: #FCA5A5; font-weight: 800; }

/* ===== Page styles for stub pages ===== */
.stub-body {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 16px;
}
.stub-body p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.stub-body ul { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ===== Mobile hero cap (lesson #8) ===== */
@media (max-width: 899px) {
  .hero { min-height: 480px !important; max-height: 720px !important; padding: 80px 0 60px !important; }
  .hero img { height: 100% !important; object-fit: cover !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-trust { padding: 18px; }
  .hero-trust h3 { font-size: 18px; }
  .hero h1 { font-size: clamp(32px, 8vw, 42px); }
  .hero-lede { font-size: 16px; }
  .cta-banner { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lb-head, .lb-row { grid-template-columns: 50px 1fr 80px 90px; gap: 6px; font-size: 12px; }
  .lb-head .team, .lb-row .team { display: none; }
  .proscons { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (min-width: 900px) {
  .hamburger { display: none !important; }
  .mobile-drawer { display: none !important; }
  .mobile-drawer.is-open { display: block !important; }
  .header-cta .btn-ghost, .header-cta .btn-primary { display: inline-flex; }
  .primary-nav { display: flex; }
}
@media (max-width: 899px) {
  .primary-nav { display: none !important; }
  .header-cta .btn-ghost, .header-cta .btn-primary { display: none !important; }
  .hamburger { display: inline-flex !important; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 80px 0 56px; }
  .container { padding: 0 14px; }
}
@media (max-width: 899px) {
  .inline-image-row { grid-template-columns: 1fr; }
  .inline-image-row .image-side { order: 0 !important; }
  .inline-image-row .text-side { order: 1 !important; }
}

/* Section + container system (used everywhere) */
.band { padding: 64px 0; }
.band-elev-1 { background: var(--background); }
.band-elev-2 { background: var(--background-2); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.band-header { text-align: center; margin-bottom: 40px; }
.band-header .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-border);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.band-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 16px;
}
.band-header p { color: var(--text-muted); font-size: 17px; max-width: 720px; margin: 0 auto; line-height: 1.6; }

/* Card system */
.card {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform var(--t-fast);
}
.card:hover { transform: translateY(-2px); border-color: var(--accent-border); }
.card h3 { margin: 0 0 12px; color: var(--text-strong); font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--text-muted); line-height: 1.6; }
.card a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* Data grid (4-column stat tiles) */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.data-card {
  background: var(--gradient-tile);
  border: 2px solid var(--primary-border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.data-card .data-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.data-card .data-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 8px;
}
.data-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Step grid (numbered onboarding) */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.step-card {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
}
.step-card .step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  color: var(--text-strong);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-glow);
}
.step-card h3 { margin: 0 0 8px; color: var(--text-strong); font-size: 16px; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Risk grid */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.risk-card {
  background: linear-gradient(135deg, rgba(239,68,68,0.10), rgba(239,68,68,0.02));
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: var(--r-lg);
  padding: 24px;
}
.risk-card .risk-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.risk-card h3 { margin: 0 0 8px; color: #EF4444; font-size: 16px; }
.risk-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Comparison grid (alternatives) */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.comparison-card {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.comparison-card .comparison-rank {
  display: inline-block;
  background: rgba(232,179,57,0.18);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.comparison-card h3 { margin: 0 0 8px; color: var(--text-strong); font-size: 16px; }
.comparison-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Card grid (generic) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

/* Loose-card (for content that wasn't structured) */
.loose-card {
  background: var(--gradient-tile);
  border: 2px solid rgba(122,45,142,0.45);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.loose-card h3 {
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.loose-card-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: rgba(122,45,142,0.3);
  border-radius: 8px;
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.loose-card p { margin: 0 0 12px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.loose-card p:last-child { margin-bottom: 0; }

/* Inline image row (side-by-side) */
.inline-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 32px 0;
}
.inline-image-row .image-side img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.inline-image-row .text-side {
  padding: 12px 8px;
}
.inline-image-row .text-side h4 {
  color: var(--text-strong);
  font-size: 22px;
  font-weight: 900;
  margin: 8px 0 12px;
}

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 0;
  margin-bottom: 12px;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-strong);
  list-style: none;
  position: relative;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: var(--accent);
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Generic page elements */
a { color: var(--accent); }
a:hover { color: var(--accent-light); }

/* Responsive */
@media (max-width: 899px) {
  .inline-image-row { grid-template-columns: 1fr; }
  .band-title { font-size: 28px; }
  .band { padding: 48px 0; }
}


/* hero-banner (improved styling) */
.hero-banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  margin: 32px 0 40px;
  display: block;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 153, 51, 0.15);
  position: relative;
}
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 18, 32, 0.4) 100%);
  pointer-events: none;
}
@media (max-width: 899px) {
  .hero-grid {
    gap: 20px;
  }
  .hero-banner {
    height: 240px;
    margin: 24px 0 32px;
    border-radius: 16px;
  }
}


/* responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
}
.table-responsive table {
  min-width: 480px;
}
@media (max-width: 599px) {
  .data-table th, .data-table td {
    padding: 10px 8px;
    font-size: 12px;
  }
  .data-table th {
    letter-spacing: 0.04em;
  }
}
