/* ==========================================================================
   Solverde Casino Portugal — Design System
   Palette: vibrant green (#00C260) primary + dark green-navy (#0E2820) anchor + soft gold accent.
   ========================================================================== */

:root {
  --brand-900: #051A12;
  --brand-800: #07231A;
  --brand-700: #0E2820;          /* Primary dark anchor */
  --brand-600: #0E5A3A;
  --brand-500: #0E7A4F;
  --brand-400: #18A165;
  --brand-300: #00C260;          /* Solverde primary green */
  --brand-200: #7AE0AB;
  --brand-100: #D8EFE2;
  --brand-50:  #EEF8F2;

  /* Gold accent (subtle, used in highlights / ribbons) */
  --gold-600: #B5953F;
  --gold-500: #D4AF60;
  --gold-400: #E2C879;
  --gold-300: #F2DEA1;

  --green-500: #2EC27E;          /* Success / win */
  --green-600: #1E9E63;
  --red-500: #E55B5B;            /* Lose / live */

  --ink-900: #0E0C24;
  --ink-700: #2B2845;
  --ink-500: #5B5874;
  --ink-300: #A1A0B5;
  --line: #D8EFE2;
  --bg: #F4FAF6;
  --surface: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 6px rgba(14,40,32,.06);
  --shadow:    0 12px 32px rgba(14,40,32,.10);
  --shadow-lg: 0 24px 60px rgba(14,40,32,.18);

  --container: 1200px;
  --gutter: 24px;

  --ff-heading: 'Manrope', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ff-body:    'Inter',   system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-700); text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-heading); color: var(--ink-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  margin: 0 auto;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32,28,65,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 0;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-brand img { height: 38px; width: auto; border-radius: 8px; }
.nav-brand .nav-brand-name {
  color: #fff; font-family: var(--ff-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
}
.nav-links {
  display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 0 14px; padding: 0; list-style: none; flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: #fff; background: rgba(255,255,255,.08); text-decoration: none;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #0E2820 !important;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(212,175,96,.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(212,175,96,.45); text-decoration: none; }
.nav-secondary {
  color: rgba(255,255,255,.85);
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}
.nav-secondary:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  color: #fff; border: none; padding: 8px 10px; border-radius: 10px;
  font-size: 1.25rem; cursor: pointer;
}
.nav-mobile-cta {
  display: none;
}

@media (max-width: 1020px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; width: 100%; margin: 0; padding: 12px 0 6px; }
  .nav-links.is-open { display: flex; }
  .nav-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-mobile-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #0E2820; font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: .85rem;
    text-decoration: none; box-shadow: 0 6px 14px rgba(212,175,96,.28);
  }
  .nav-cta { display: none; } /* desktop CTA hidden on mobile, replaced by .nav-mobile-cta */
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--ff-heading);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--brand-900);
  box-shadow: 0 14px 28px rgba(212,175,96,.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(212,175,96,.42); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--brand-700); border: 2px solid var(--brand-700);
}
.btn-ghost:hover { background: var(--brand-700); color: #fff; text-decoration: none; }
.btn-light {
  background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ==========================================================================
   Section / Hero / Common blocks
   ========================================================================== */
section { padding: 64px 0; }
section.section-tight { padding: 36px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-500); font-weight: 700;
  background: var(--brand-100); padding: 6px 12px; border-radius: 999px;
}
.eyebrow.eyebrow-light { color: #fff; background: rgba(255,255,255,.10); }
.section-title { margin-top: 14px; }
.section-lead { font-size: 1.1rem; color: var(--ink-500); max-width: 720px; }

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 600px at 80% -10%, rgba(0,194,96,.18), transparent 60%),
              radial-gradient(700px 600px at -10% 110%, rgba(92,74,160,.32), transparent 60%),
              linear-gradient(140deg, #071512 0%, #0E2820 55%, #0E5A3A 100%);
  color: #fff;
}
.hero .container { padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 600px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-dark { background: var(--brand-700); color: #fff; border-color: rgba(255,255,255,.06); }
.card-dark h3 { color: #fff; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.data {
  width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px;
}
table.data th, table.data td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
table.data tbody tr:nth-child(even) td { background: #FBFAFE; }
table.data tbody tr:hover td { background: var(--brand-50); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--brand-100); color: var(--brand-700);
}
.badge-gold { background: #FFF3C2; color: #6A4C00; }
.badge-green { background: #D8F5E5; color: #126D3F; }
.badge-red { background: #FCE2E2; color: #92201F; }

/* Charts */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.chart-card h3 { margin-bottom: 6px; }
.chart-card .chart-meta { color: var(--ink-500); font-size: .92rem; margin-bottom: 14px; }
.chart-canvas { position: relative; height: 320px; }
.chart-canvas.tall { height: 380px; }
.chart-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat .stat-num { font-family: var(--ff-heading); font-size: 1.9rem; font-weight: 800; color: #fff; }
.stat .stat-label { color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* SEO content */
.seo-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  line-height: 1.8;
}
.seo-block h2, .seo-block h3 { margin-top: 1.4em; }
.seo-block h2:first-child, .seo-block h3:first-child { margin-top: 0; }
.seo-block ul li::marker { color: var(--gold-500); }
.seo-block a { color: var(--brand-700); font-weight: 600; border-bottom: 1px dashed var(--brand-300); }
.seo-block a:hover { color: var(--gold-600); border-color: var(--gold-500); text-decoration: none; }
@media (max-width: 700px) { .seo-block { padding: 24px 20px; } }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink-900); font-family: var(--ff-heading);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-500); transition: transform .15s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { box-shadow: var(--shadow); }
.faq details p { margin-top: 12px; color: var(--ink-500); }

/* Author card */
.author {
  display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.author img { width: 180px; height: 220px; object-fit: cover; border-radius: var(--radius); }
.author h4 { margin: 0 0 4px; }
.author .author-role { color: var(--brand-500); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 600px) { .author { grid-template-columns: 1fr; text-align: center; } .author img { margin: 0 auto; } }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #06120F 0%, #0E0C24 100%);
  color: rgba(255,255,255,.72);
  padding: 56px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; margin-bottom: 32px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand img { height: 44px; border-radius: 10px; margin-bottom: 12px; }
.footer-disclaimer {
  font-size: .82rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 20px; margin-top: 8px; line-height: 1.6;
}
.footer-disclaimer .age { display: inline-block; background: var(--red-500); color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }

/* Forms (login/register) */
.auth-shell { min-height: 80vh; display: grid; place-items: center; padding: 60px 16px; }
.auth-card {
  width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--ink-500); margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-700); }
.field input, .field select {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 1rem;
  font-family: inherit; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-line { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-500); margin-bottom: 16px; }
.auth-link { text-align: center; margin-top: 14px; font-size: .95rem; color: var(--ink-500); }

/* Image utilities */
.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tilt { transform: rotate(-2deg); transition: transform .25s ease; }
.tilt:hover { transform: rotate(0); }

/* Lists with icon */
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.icon-list li:last-child { border-bottom: none; }
.icon-list .ic {
  width: 28px; height: 28px; min-width: 28px; border-radius: 8px;
  background: var(--brand-100); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.icon-list .ic.gold { background: #FFF3C2; color: #6A4C00; }
.icon-list .ic.green { background: #D8F5E5; color: #126D3F; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: flex-start;
  background: #fff; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  counter-increment: step;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-heading); font-weight: 800; font-size: 1.3rem;
}
.step-num::after { content: counter(step); }

/* Pills row */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  font-size: .9rem; color: var(--ink-700); font-weight: 600;
}
.pill.gold { background: #FFF6D1; border-color: #F2C43B; color: #6A4C00; }
.pill.dark { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* Breadcrumbs */
.crumbs { padding: 14px 0; font-size: .9rem; color: var(--ink-500); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span { color: var(--ink-700); font-weight: 600; }
.crumbs .sep { margin: 0 8px; color: var(--ink-300); }

/* Hero variants per page */
.hero-app {
  background: radial-gradient(900px 500px at 110% 0%, rgba(46,194,126,.30), transparent 60%),
              linear-gradient(160deg, #06120F 0%, #1F1B45 60%, #2E2A5E 100%);
}
.hero-pay {
  background: radial-gradient(900px 500px at -10% 0%, rgba(0,194,96,.22), transparent 60%),
              linear-gradient(160deg, #071512 0%, #0E2820 70%, #15143F 100%);
}
.hero-sport {
  background: radial-gradient(900px 500px at 20% 0%, rgba(46,194,126,.22), transparent 60%),
              linear-gradient(160deg, #06120F 0%, #1A1639 60%, #221A4A 100%);
}
.hero-live {
  background: radial-gradient(900px 500px at 100% 100%, rgba(229,91,91,.22), transparent 60%),
              linear-gradient(160deg, #1A1639 0%, #221940 60%, #2A2356 100%);
}
.hero-slots {
  background: radial-gradient(900px 600px at 50% -10%, rgba(0,194,96,.30), transparent 60%),
              linear-gradient(160deg, #06120F 0%, #2A2356 100%);
}
.hero-promo {
  background: radial-gradient(900px 500px at 100% 0%, rgba(229,91,91,.20), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(0,194,96,.18), transparent 60%),
              linear-gradient(155deg, #06120F 0%, #2A2153 100%);
}

/* Floating decoration */
.deco-bg-stripe {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(45deg, #fff 1px, transparent 1px), linear-gradient(-45deg, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Focus outline (a11y) */
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 8px; }

/* Utilities */
.text-center { text-align: center; }
.muted { color: var(--ink-500); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.gap-lg { gap: 28px; }
.flex { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
hr.divider { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

/* Heat strip / progress */
.bar-row { display: grid; grid-template-columns: 140px 1fr 60px; align-items: center; gap: 14px; padding: 8px 0; }
.bar-row .bar-label { font-weight: 600; }
.bar { height: 10px; background: var(--brand-50); border-radius: 999px; overflow: hidden; position: relative; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-500), var(--gold-500)); border-radius: 999px; }
.bar-row .bar-num { font-variant-numeric: tabular-nums; color: var(--ink-700); font-weight: 700; }

/* Pros/Cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .proscons { grid-template-columns: 1fr; } }
.proscons .pc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.proscons h4 { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding: 6px 0; padding-left: 26px; position: relative; }
.proscons .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }
.proscons .cons li::before { content: "−"; position: absolute; left: 0; color: var(--red-500); font-weight: 800; }

/* Hero split image holder */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-visual img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(15,12,40,.88); color: #fff;
  padding: 14px 18px; border-radius: var(--radius); backdrop-filter: blur(6px);
  font-size: .92rem;
}

/* Diagram (CSS only) */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch;
}
.flow .step-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px;
  box-shadow: var(--shadow-sm); position: relative;
}
.flow .step-box .ic { background: var(--brand-100); color: var(--brand-700); border-radius: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
.flow .step-box h5 { margin: 0 0 4px; font-family: var(--ff-heading); }
.flow .step-box p { font-size: .9rem; color: var(--ink-500); margin: 0; }
@media (max-width: 800px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* Big quote */
blockquote.quote {
  border-left: 4px solid var(--gold-500); padding: 12px 18px; background: #F2F3FC;
  font-style: italic; color: #6A4C00; border-radius: 8px; margin: 18px 0;
}

/* Page intro grid */
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* Comparison ribbon */
.ribbon-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 700px) { .ribbon-row { grid-template-columns: 1fr; } }
.ribbon {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; border-radius: var(--radius-lg); padding: 22px;
}
.ribbon h4 { color: #fff; }
.ribbon p { color: rgba(255,255,255,.85); margin: 0; }

/* Tag list */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { background: var(--brand-50); color: var(--brand-700); padding: 4px 10px; border-radius: 6px; font-size: .82rem; font-weight: 600; }

/* Author card */
.author-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: linear-gradient(135deg, #EEF8F2 0%, #FFF 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  align-items: center;
}
.author-photo {
  width: 220px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-50);
}
.author-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 720px) {
  .author-card { grid-template-columns: 1fr; gap: 18px; }
  .author-photo { width: 160px; height: 200px; margin: 0 auto; }
}

/* Auth forms (login/register) */
.auth-shell {
  max-width: 460px; margin: 40px auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.auth-shell h1 { margin-top: 0; font-family: var(--ff-heading); }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 6px; font-weight: 600;
  font-size: .92rem; color: var(--ink-700);
}
.form-group input,
.form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 1rem; background: #FAF9FE;
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none; border-color: var(--brand-500); background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-help { font-size: .85rem; color: var(--ink-500); margin-top: 4px; }
.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; }
.auth-divider {
  text-align: center; margin: 18px 0;
  color: var(--ink-500); font-size: .9rem;
}

/* Hero variants for new pages */
.hero-about { padding: 68px 0 56px; background: linear-gradient(135deg, #2B2456 0%, #5C4AA0 100%); color: #fff; position: relative; overflow: hidden; }
.hero-about h1 { color: #fff; }
.hero-about .lead { color: rgba(255,255,255,.85); }
.hero-about .crumbs { color: rgba(255,255,255,.7); }
.hero-about .crumbs a { color: rgba(255,255,255,.7); }
.hero-about .crumbs span { color: #fff; }

/* Legal pages */
.legal-doc {
  max-width: 880px; margin: 40px auto;
  font-size: 1rem; line-height: 1.7;
}
.legal-doc h2 { font-family: var(--ff-heading); margin-top: 32px; }
.legal-doc h3 { font-family: var(--ff-heading); margin-top: 24px; color: var(--brand-700); }
.legal-doc ol { padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }

/* Author mini (team grid) */
.author-mini { text-align: center; }
.author-mini img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }
.author-mini h4 { margin: 6px 0 4px; }
.author-card > img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   Slot Cards Grid
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-4 { grid-template-columns: 1fr; } }

.slot-card {
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.slot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.slot-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.slot-card:hover .slot-thumb img {
  transform: scale(1.06);
}
.slot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,194,96,.92);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.slot-badge-gold {
  background: var(--gold-500) !important;
  color: #1a0a00 !important;
}
.slot-info {
  padding: 14px 16px;
}
.slot-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.slot-provider {
  font-size: .8rem;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.slot-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Hero visual strip */
.hero-visual-strip {
  padding: 0 0 32px;
}

/* Author card improvements */
.author-card img {
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.team-card img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1;
}

/* ==========================================================================
   Data Table – fixed styles
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th,
.data-table td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table th {
  background: var(--brand-700);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--brand-50); }
.data-table tbody tr:hover { background: var(--brand-100); }
.data-table.compact th,
.data-table.compact td { padding: 8px 12px; font-size: .83rem; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--brand-100);
  color: var(--brand-700);
}
.pill.green { background: #d4f5e5; color: #0a4d2e; }

/* ==========================================================================
   Page-hero with background image
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero.alt  { background: linear-gradient(135deg, #1a1240 0%, var(--brand-700) 100%); }
.page-hero.dark { background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%); }
.page-hero.gold { background: linear-gradient(135deg, #2a1a00 0%, var(--brand-700) 100%); }
.page-hero h1  { color: #fff; }
.page-hero .eyebrow-light { color: var(--brand-200); }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; }

/* Hero with bg image overlay */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .22;
  pointer-events: none;
  display: block;
}

/* ==========================================================================
   Skip-link (Accessibility / A11y)
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px; top: 16px;
  width: auto; height: auto;
  background: var(--brand-300);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

/* sr-only (screen-reader only, for table captions etc.) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   KPI row (stats strip)
   ========================================================================== */
.kpi-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.kpi-row.narrow { gap: 20px; }
.kpi-row.centered { justify-content: center; }
.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
}
.kpi strong {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-300);
  line-height: 1;
}
.kpi span {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
}
/* KPI on light background */
.section-light .kpi strong,
.kpi.dark strong { color: var(--brand-600); }
.section-light .kpi span,
.kpi.dark span   { color: var(--ink-500); }

@media (max-width: 640px) {
  .kpi-row { gap: 16px; }
  .kpi strong { font-size: 1.5rem; }
}

/* ==========================================================================
   Check-list
   ========================================================================== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  font-size: .95rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-300);
  font-weight: 700;
}

/* ==========================================================================
   Data-table (complete, overrides any partial definition)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--brand-700);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) td { background: var(--brand-50); }
.data-table tbody tr:hover td { background: var(--brand-100); transition: background .15s; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table.compact th,
.data-table.compact td { padding: 8px 12px; font-size: .82rem; }

/* ==========================================================================
   Pill badges
   ========================================================================== */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--brand-100);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}
.pill.green  { background: #d4f5e5; color: #0a4d2e; border-color: #9adcc0; }
.pill.gold   { background: #fdf3d4; color: #6b4e00; border-color: #e6c96a; }
.pill.dark   { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.pill.red    { background: #fde8e8; color: #7a1010; border-color: #f3a0a0; }
