/* ============================================================
   TAB AUSTRALIA — Global Stylesheet
   Brand: Navy #0B1F3A | Gold #FFB800 | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

/* ── CUSTOM PROPERTIES ──────────────────────────────────────── */
:root {
  --navy:          #0B1F3A;
  --navy-mid:      #1B3461;
  --navy-light:    #264D8A;
  --gold:          #FFB800;
  --gold-dark:     #E5A600;
  --gold-light:    #FFD060;
  --white:         #FFFFFF;
  --bg:            #F4F6FA;
  --bg-2:          #EEF1F7;
  --text:          #0D1F35;
  --text-mid:      #374151;
  --text-light:    #9CA3AF;
  --border:        #DEE3EE;
  --green:         #10B981;
  --red:           #EF4444;
  --orange:        #F59E0B;
  --shadow-sm:     0 1px 4px rgba(11,31,58,.08);
  --shadow:        0 2px 12px rgba(11,31,58,.10);
  --shadow-md:     0 4px 24px rgba(11,31,58,.14);
  --shadow-lg:     0 8px 40px rgba(11,31,58,.18);
  --shadow-xl:     0 16px 64px rgba(11,31,58,.22);
  --r:             10px;
  --r-lg:          18px;
  --r-xl:          28px;
  --t:             .25s ease;
  --nav-h:         76px;
  --max-w:         1240px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--t); }
ul, ol { list-style: none; }
input, button, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(32px, 5vw, 58px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(17px, 2vw, 21px); }
h5 { font-size: 17px; }
h6 { font-size: 15px; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 18px; line-height: 1.75; color: var(--text-mid); }

/* ── CONTAINER ───────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 28px;
  border-radius: var(--r); font-weight: 600; font-size: 15px;
  transition: var(--t); white-space: nowrap; text-decoration: none;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary   { background: var(--gold);   color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--navy);   color: var(--white); }
.btn-secondary:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline   { background: transparent;   color: var(--gold);  border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-white     { background: var(--white);  color: var(--navy); }
.btn-white:hover { background: var(--bg); }
.btn-sm  { padding: 8px 18px;  font-size: 13px; }
.btn-lg  { padding: 15px 34px; font-size: 17px; }
.btn-xl  { padding: 18px 42px; font-size: 18px; }
.btn-full { width: 100%; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  height: var(--nav-h);
  border-bottom: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center;
  height: var(--nav-h); gap: 16px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  color: rgba(255,255,255,.8); padding: 8px 11px;
  border-radius: 6px; font-size: 13.5px; font-weight: 500;
  transition: var(--t); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(255,184,0,.1); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav-login {
  color: rgba(255,255,255,.8);
  padding: 7px 14px; border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--r); font-size: 13px; font-weight: 500;
  transition: var(--t);
}
.btn-nav-login:hover { border-color: var(--gold); color: var(--gold); }
.btn-nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 8px 18px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 700; transition: var(--t);
}
.btn-nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; position: absolute; top: var(--nav-h);
  left: 0; right: 0; background: var(--navy-mid);
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.nav-mobile.open { display: block; }
.nav-mobile-cta {
  display: block; text-align: center;
  background: var(--gold); color: var(--navy) !important;
  padding: 14px; border-radius: var(--r);
  font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
  animation: pulse-cta 2.5s infinite;
}
@keyframes pulse-cta {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,184,0,.5); }
  60%     { box-shadow: 0 0 0 10px rgba(255,184,0,0); }
}
.nav-mobile-links { display: grid; gap: 2px; }
.nav-mobile-links a {
  display: block; color: rgba(255,255,255,.78);
  padding: 10px 12px; border-radius: 6px;
  font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-mobile-links a:hover { color: var(--gold); background: rgba(255,184,0,.07); }
.nav-mobile-bottom {
  display: flex; gap: 10px; margin-top: 14px;
}
.nav-mobile-bottom a {
  flex: 1; text-align: center; padding: 10px;
  border-radius: var(--r); font-weight: 600; font-size: 14px;
}
.m-btn-login    { background: rgba(255,255,255,.08); color: var(--white); }
.m-btn-register { background: var(--navy); color: var(--gold); border: 1.5px solid var(--gold); }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 110px 0; }
.section-dark     { background: var(--navy);     color: var(--white); }
.section-dark  h2,
.section-dark  h3,
.section-dark  h4 { color: var(--white); }
.section-dark  p   { color: rgba(255,255,255,.72); }
.section-navy-mid { background: var(--navy-mid); color: var(--white); }
.section-navy-mid h2, .section-navy-mid h3 { color: var(--white); }
.section-navy-mid p { color: rgba(255,255,255,.72); }
.section-alt  { background: var(--bg-2); }
.section-gold { background: var(--gold); color: var(--navy); }
.section-header {
  text-align: center; max-width: 720px;
  margin: 0 auto 52px;
}
.eyebrow {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.eyebrow-outline {
  display: inline-block;
  border: 1px solid rgba(255,184,0,.4); color: var(--gold);
  background: rgba(255,184,0,.08);
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--text-light); font-size: 17px; margin: 0; }

/* ── GRID ────────────────────────────────────────────────────── */
.grid   { display: grid; gap: 24px; }
.g-2   { grid-template-columns: repeat(2, 1fr); }
.g-3   { grid-template-columns: repeat(3, 1fr); }
.g-4   { grid-template-columns: repeat(4, 1fr); }
.g-5   { grid-template-columns: repeat(5, 1fr); }
.g-2-1 { grid-template-columns: 2fr 1fr; }
.g-1-2 { grid-template-columns: 1fr 2fr; }
.g-3-2 { grid-template-columns: 3fr 2fr; }

/* ── HERO — HOME ─────────────────────────────────────────────── */
.hero-home {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 72% 40%, rgba(27,52,97,.9) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(255,184,0,.07) 0%, transparent 60%);
}
.hero-home-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 72px 0 80px;
}
.hero-home-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-home-content h1 span { color: var(--gold); }
.hero-home-content .lead { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item .val {
  display: block; font-size: 28px; font-weight: 800;
  color: var(--gold); font-family: 'Inter', sans-serif;
}
.trust-item .lbl {
  font-size: 12px; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .5px;
}
.hero-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.hero-visual-inner {
  width: 100%; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 70px 0 52px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(27,52,97,.8) 0%, transparent 70%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 640px; margin: 0; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.25); font-size: 10px; }
.breadcrumb .curr { color: var(--gold); }

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar { background: var(--gold); padding: 18px 0; }
.stats-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; text-align: center;
}
.stat-block .val {
  font-size: 26px; font-weight: 800;
  color: var(--navy); font-family: 'Inter', sans-serif;
}
.stat-block .lbl {
  font-size: 11px; color: rgba(11,31,58,.65);
  text-transform: uppercase; letter-spacing: .6px; margin-top: 2px;
}

/* ── CARD ────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { width: 100%; overflow: hidden; }
.card-body { padding: 24px; }
.card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.card-body h3 { font-size: 19px; margin-bottom: 8px; color: var(--text); }
.card-body p  { font-size: 13.5px; color: var(--text-mid); margin-bottom: 14px; }
.card-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold); font-weight: 600; font-size: 13px;
  transition: var(--t);
}
.card-link:hover { gap: 10px; }

/* ── FEATURE CARD ────────────────────────────────────────────── */
.feat-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 30px 24px; box-shadow: var(--shadow); transition: var(--t);
  text-align: center;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 60px; height: 60px; border-radius: 15px;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.feat-icon svg { width: 28px; height: 28px; }
.feat-card h4 { font-size: 17px; margin-bottom: 10px; }
.feat-card p  { font-size: 13.5px; color: var(--text-mid); margin: 0; }

/* ── TABLES ──────────────────────────────────────────────────── */
.table-wrap {
  width: 100%; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.data-table {
  width: 100%; min-width: 560px;
  border-collapse: collapse; background: var(--white);
}
.data-table thead { background: var(--navy); color: var(--white); }
.data-table thead th {
  padding: 13px 16px; text-align: left;
  font-size: 12px; font-weight: 600;
  letter-spacing: .7px; text-transform: uppercase; white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.data-table tbody tr { border-bottom: 1px solid var(--border); transition: var(--t); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(11,31,58,.03); }
.data-table td { padding: 12px 16px; font-size: 14px; white-space: nowrap; }
.td-bold  { font-weight: 600; color: var(--text) !important; }
.td-gold  { color: var(--gold-dark) !important; font-weight: 700; }
.td-green { color: var(--green) !important;     font-weight: 600; }
.td-red   { color: var(--red) !important;       font-weight: 600; }
.td-navy  { color: var(--navy) !important;      font-weight: 700; }
.row-hl   { background: rgba(255,184,0,.05) !important; }

/* ── CHART BOX ───────────────────────────────────────────────── */
.chart-box {
  background: var(--white); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.chart-hdr { margin-bottom: 6px; font-size: 17px; font-weight: 700; color: var(--text); }
.chart-sub { font-size: 13px; color: var(--text-light); margin-bottom: 22px; }
.chart-legend {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px;
}
.leg-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-mid);
}
.leg-dot {
  width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0;
}

/* ── BAR CHART ───────────────────────────────────────────────── */
.bar-chart-wrap {
  display: flex; align-items: flex-end;
  gap: 8px; height: 220px; padding-top: 10px;
  position: relative;
}
.bar-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; height: 100%;
  justify-content: flex-end; gap: 6px;
}
.bar-fill {
  width: 100%; border-radius: 6px 6px 0 0;
  background: var(--navy); transition: height 1.2s cubic-bezier(.34,1.26,.64,1);
  position: relative; min-height: 6px;
}
.bar-fill.c-gold  { background: var(--gold); }
.bar-fill.c-green { background: var(--green); }
.bar-fill.c-light { background: var(--navy-light); }
.bar-fill.c-mid   { background: var(--navy-mid); }
.bar-val   { font-size: 10.5px; font-weight: 700; color: var(--text); }
.bar-label { font-size: 10px; color: var(--text-light); text-align: center; }
.chart-y-axis {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 220px; padding-bottom: 22px; min-width: 32px;
}
.y-lbl { font-size: 10px; color: var(--text-light); text-align: right; }

/* ── HORIZONTAL BAR ──────────────────────────────────────────── */
.hbar-list { display: flex; flex-direction: column; gap: 14px; }
.hbar-item {}
.hbar-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px;
}
.hbar-label { font-size: 13px; font-weight: 600; color: var(--text); }
.hbar-val   { font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.hbar-track {
  height: 12px; background: var(--bg-2);
  border-radius: 20px; overflow: hidden;
}
.hbar-fill {
  height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
  width: 0; transition: width 1.4s ease;
}
.hbar-fill.c-gold  { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.hbar-fill.c-green { background: linear-gradient(90deg, #059669, var(--green)); }

/* ── DONUT CHART ─────────────────────────────────────────────── */
.donut-wrap {
  display: grid; grid-template-columns: auto 1fr;
  gap: 28px; align-items: center;
}
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.donut-leg-item {
  display: flex; align-items: center; gap: 10px;
}
.donut-swatch { width: 13px; height: 13px; border-radius: 3px; flex-shrink: 0; }
.donut-name { font-size: 13px; font-weight: 600; color: var(--text); }
.donut-pct  { font-size: 12px; color: var(--text-light); }

/* ── PROGRESS BARS ───────────────────────────────────────────── */
.prog-list { display: flex; flex-direction: column; gap: 18px; }
.prog-header {
  display: flex; justify-content: space-between; margin-bottom: 6px;
}
.prog-label { font-size: 14px; font-weight: 600; color: var(--text); }
.prog-val   { font-size: 14px; font-weight: 700; color: var(--gold-dark); }
.prog-track {
  height: 11px; background: var(--bg-2);
  border-radius: 20px; overflow: hidden;
}
.prog-fill {
  height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
  width: 0; transition: width 1.4s ease;
}
.prog-fill.gold  { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.prog-fill.green { background: linear-gradient(90deg, #059669, var(--green)); }
.prog-fill.red   { background: linear-gradient(90deg, #dc2626, var(--red)); }

/* ── RING CHART ──────────────────────────────────────────────── */
.ring-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ring-item { text-align: center; }
.ring-svg { margin: 0 auto 12px; }
.ring-val  { font-size: 22px; font-weight: 800; color: var(--navy); font-family: 'Inter', sans-serif; }
.ring-lbl  { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ── LINE CHART ──────────────────────────────────────────────── */
.line-chart-svg { width: 100%; height: 180px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 17px 20px; cursor: pointer;
  font-weight: 600; font-size: 15px; transition: var(--t);
  color: var(--text);
}
.faq-q:hover { color: var(--navy-mid); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; font-weight: 700;
  color: var(--navy); transition: transform var(--t); line-height: 1;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-a-inner { padding: 0 20px 16px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy) 100%);
  border-radius: var(--r-xl); padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,184,0,.1) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 30px; position: relative; }
.cta-actions   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── AUTHOR ──────────────────────────────────────────────────── */
.author-box {
  background: var(--white); border-radius: var(--r-xl);
  padding: 36px 40px; box-shadow: var(--shadow);
  display: flex; gap: 30px; align-items: flex-start;
  border-left: 4px solid var(--gold);
}
.author-photo { flex-shrink: 0; }
.author-photo svg, .author-photo img {
  width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--gold); object-fit: cover;
}
.author-info h4 { font-size: 20px; margin-bottom: 4px; }
.author-role {
  color: var(--gold-dark); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.author-bio { color: var(--text-mid); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.author-stats { display: flex; gap: 28px; }
.a-stat .val { font-size: 22px; font-weight: 800; color: var(--navy); font-family: 'Inter', sans-serif; }
.a-stat .key { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }

/* ── STEPS ───────────────────────────────────────────────────── */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative;
}
.steps-row::before {
  content: ''; position: absolute;
  top: 30px; left: calc(16.67% + 30px); right: calc(16.67% + 30px);
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--navy-light));
}
.step-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px 22px; box-shadow: var(--shadow);
  text-align: center; position: relative;
}
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
  font-family: 'Inter', sans-serif;
}
.step-card h4 { font-size: 16px; margin-bottom: 8px; }
.step-card p  { font-size: 13px; color: var(--text-mid); margin: 0; }

/* ── PROMO CARD ──────────────────────────────────────────────── */
.promo-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: var(--t);
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-head {
  background: var(--navy); padding: 26px; text-align: center;
}
.promo-amount {
  font-size: 42px; font-weight: 900; color: var(--gold);
  font-family: 'Inter', sans-serif; line-height: 1;
}
.promo-type { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 6px; }
.promo-body { padding: 20px; }
.promo-body h4 { font-size: 16px; margin-bottom: 8px; }
.promo-body p  { font-size: 13px; color: var(--text-mid); margin-bottom: 14px; }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 11px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.badge-gold   { background: rgba(255,184,0,.15); color: #B07A00; }
.badge-green  { background: rgba(16,185,129,.12); color: #047857; }
.badge-navy   { background: rgba(11,31,58,.08); color: var(--navy); }
.badge-red    { background: rgba(239,68,68,.1); color: var(--red); }
.badge-live   { background: var(--red); color: var(--white); animation: blink .9s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.7} }

/* ── LIVE ELEMENTS ───────────────────────────────────────────── */
.live-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--red);
  animation: pulse-live 1s ease infinite;
}
@keyframes pulse-live {
  0%,100%{ transform: scale(1); opacity:1; }
  50%    { transform: scale(.75); opacity:.6; }
}
.live-row {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.live-row:last-child { border-bottom: none; }

/* ── PHONE MOCKUP ────────────────────────────────────────────── */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-badge {
  position: absolute; bottom: 10px; right: -20px;
  background: var(--gold); color: var(--navy);
  padding: 8px 14px; border-radius: 12px;
  font-weight: 800; font-size: 13px; box-shadow: var(--shadow-md);
}

/* ── RESPONSIBLE GAMBLING ────────────────────────────────────── */
.rg-banner {
  display: flex; align-items: center; gap: 14px;
  background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--r); padding: 14px 18px;
  font-size: 13.5px; color: var(--text-mid);
}
.rg-18 {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red);
  color: var(--white); font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── SCROLL TOP ──────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(16px);
  transition: var(--t); z-index: 998; font-size: 18px;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ── UTILITIES ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold-dark); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-light); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-8  { margin-top: 8px; }   .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }  .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }  .mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px;} .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px;} .mb-64 { margin-bottom: 64px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-2 { transition-delay: .15s; }
.reveal-3 { transition-delay: .3s; }
.reveal-4 { transition-delay: .45s; }
.counter { font-variant-numeric: tabular-nums; }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.highlight-box {
  background: rgba(255,184,0,.08); border: 1px solid rgba(255,184,0,.3);
  border-radius: var(--r); padding: 20px 22px;
}
.info-box {
  background: rgba(11,31,58,.04); border-left: 4px solid var(--navy);
  border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px;
}
.text-block { max-width: 760px; }

/* ── FORM ────────────────────────────────────────────────────── */
.form-wrap {
  background: var(--white); border-radius: var(--r-xl);
  padding: 44px 48px; box-shadow: var(--shadow-lg);
  max-width: 520px; width: 100%;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
  display: block; width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 15px; color: var(--text); background: var(--white);
  transition: var(--t); outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }
.form-control::placeholder { color: var(--text-light); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-mid);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--navy);
}
.form-check a { color: var(--navy); text-decoration: underline; }
.or-divider {
  text-align: center; font-size: 13px;
  color: var(--text-light); margin: 20px 0; position: relative;
}
.or-divider::before, .or-divider::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 22px); height: 1px; background: var(--border);
}
.or-divider::before { left: 0; }
.or-divider::after  { right: 0; }

/* ── SITEMAP ─────────────────────────────────────────────────── */
.sitemap-section { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.sitemap-section h3 { font-size: 19px; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.sitemap-links { display: flex; flex-direction: column; gap: 8px; }
.sitemap-links a { font-size: 14px; color: var(--text-mid); padding: 6px 0; border-bottom: 1px dotted var(--border); }
.sitemap-links a:hover { color: var(--gold-dark); padding-left: 6px; }

/* ── 404 PAGE ────────────────────────────────────────────────── */
.error-page {
  min-height: 70vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  background: var(--navy); padding: 60px 20px;
}
.error-num {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900; color: var(--gold);
  line-height: 1; font-family: 'Inter', sans-serif;
  text-shadow: 0 4px 30px rgba(255,184,0,.3);
}
.error-page h2 { color: var(--white); margin: 16px 0 12px; }
.error-page p  { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 32px; }

/* ── LEGAL PAGE ──────────────────────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 26px; margin-top: 40px; margin-bottom: 14px; }
.legal-content h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.legal-content p  { color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; color: var(--text-mid); font-size: 15px; }
.legal-content ul li { margin-bottom: 6px; }
.toc { background: var(--bg-2); border-radius: var(--r); padding: 24px; margin-bottom: 36px; }
.toc h4 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.toc ol { padding-left: 20px; list-style: decimal; }
.toc ol li { margin-bottom: 6px; }
.toc ol li a { color: var(--navy-mid); font-size: 14px; }
.toc ol li a:hover { color: var(--gold-dark); }

/* ── HEATMAP ─────────────────────────────────────────────────── */
.heatmap-wrap { overflow-x: auto; }
.heatmap { border-collapse: collapse; min-width: 480px; }
.heatmap td, .heatmap th {
  width: 36px; height: 32px; text-align: center;
  font-size: 11px; border: 1px solid rgba(255,255,255,.08);
}
.hmap-1 { background: rgba(11,31,58,.1); }
.hmap-2 { background: rgba(11,31,58,.25); }
.hmap-3 { background: rgba(11,31,58,.45); }
.hmap-4 { background: rgba(11,31,58,.65); color: #fff; }
.hmap-5 { background: rgba(11,31,58,.9);  color: #FFB800; font-weight: 700; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }
  .hero-home-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .g-3   { grid-template-columns: repeat(2, 1fr); }
  .g-3-2 { grid-template-columns: 1fr; }
  .g-2-1 { grid-template-columns: 1fr; }
  .g-1-2 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .donut-wrap { grid-template-columns: 1fr; }
  .ring-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section    { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .container  { padding: 0 16px; }
  .g-2      { grid-template-columns: 1fr; }
  .g-3      { grid-template-columns: 1fr; }
  .g-4      { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 16px; flex-wrap: wrap; }
  .author-box { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
  .author-stats { justify-content: center; }
  .cta-banner { padding: 44px 24px; }
  .table-wrap { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .bar-chart-wrap { height: 160px; }
  .page-hero { padding: 52px 0 40px; }
  .form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nav-actions { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-banner { padding: 32px 16px; }
  .chart-box { padding: 20px 14px; }
  .promo-amount { font-size: 34px; }
  .bar-chart-wrap { height: 130px; gap: 4px; }
  .ring-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .error-num { font-size: 80px; }
  .breadcrumb { display: none; }
  overflow-x: hidden;
}

/* -- ADDITIONAL ALIASES & NEW CLASSES ----------------------------------------- */
/* Legal page aliases */
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page h2 { font-size: 26px; margin-top: 40px; margin-bottom: 14px; }
.legal-page h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.legal-page p  { color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.legal-page ul { padding-left: 20px; list-style: disc; color: var(--text-mid); font-size: 15px; }
.legal-page ul li { margin-bottom: 6px; }
.legal-toc { background: var(--bg-2); border-radius: var(--r); padding: 24px; margin-bottom: 36px; }
.legal-toc h3 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.legal-toc ol { padding-left: 20px; list-style: decimal; }
.legal-toc ol li { margin-bottom: 6px; }
.legal-toc ol li a { color: var(--navy-mid); font-size: 14px; }
.legal-toc ol li a:hover { color: var(--gold-dark); }

/* Page hero small variant */
.page-hero-sm { background: linear-gradient(135deg, #0B1F3A 0%, #1B3461 100%); padding: 48px 0 36px; }
.page-hero-sm h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); margin-bottom: 8px; }
.page-hero-sm p { color: rgba(255,255,255,.65); font-size: 1rem; }

/* 404 extra classes */
.error-code { font-size: clamp(80px, 15vw, 160px); font-weight: 900; color: var(--gold); line-height: 1; font-family: 'Inter', sans-serif; text-shadow: 0 4px 30px rgba(255,184,0,.3); }
.error-inner { max-width: 560px; margin: 0 auto; }
.error-page h1 { color: var(--white); margin: 16px 0 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.error-page p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-suggestions { color: rgba(255,255,255,.5); font-size: 14px; }
.error-suggestions p { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.error-suggestions ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.error-suggestions ul li a { color: var(--gold); font-size: 13px; }
.error-suggestions ul li a:hover { text-decoration: underline; }

/* Sitemap page */
.sitemap-page { }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.sitemap-section { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.sitemap-section h2 { font-size: 19px; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.sitemap-section ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sitemap-section ul li { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px dotted var(--border); padding-bottom: 8px; }
.sitemap-section ul li:last-child { border-bottom: none; padding-bottom: 0; }
.sitemap-section ul li a { font-size: 14px; color: var(--navy-mid); font-weight: 600; }
.sitemap-section ul li a:hover { color: var(--gold-dark); }
.sitemap-desc { font-size: 12px; color: var(--text-muted); }

@media (max-width: 600px) {
  .error-actions { flex-direction: column; align-items: center; }
  .page-hero-sm { padding: 36px 0 28px; }
}

/* ==========================================================
   PERFORMANCE & FONT LOADING
   ========================================================== */

/* Google Fonts are loaded via <link> in HTML for best performance.
   Define fallback font stacks explicitly: */
:root {
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================
   SKIP LINK (Accessibility)
   ========================================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99999;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  transition: top .15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* ==========================================================
   FOCUS RINGS (Keyboard Navigation)
   ========================================================== */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}
/* Ensure nav links show focus */
.nav-links a:focus-visible,
.nav-mobile-links a:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Buttons */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-nav-cta:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================
   SCREEN READER ONLY
   ========================================================== */
.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;
}

/* ==========================================================
   TOUCH TARGET SIZES (WCAG 2.5.5)
   ========================================================== */
.nav-hamburger,
.scroll-top,
.faq-q,
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-nav-cta,
.btn-nav-login {
  min-height: 44px;
  min-width: 44px;
}
.nav-hamburger { display: flex; align-items: center; justify-content: center; }

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bar-fill, .hbar-fill, .prog-fill { transition: none !important; }
}

/* ==========================================================
   HIGH CONTRAST MODE
   ========================================================== */
@media (forced-colors: active) {
  .btn-primary, .btn-nav-cta {
    forced-color-adjust: none;
    background: ButtonText;
    color: ButtonFace;
    border: 2px solid ButtonText;
  }
  .nav {
    forced-color-adjust: none;
    background: Canvas;
    border-bottom: 2px solid ButtonText;
  }
  .faq-q { border: 1px solid ButtonText; }
}

/* ==========================================================
   PRINT STYLES
   ========================================================== */
@media print {
  .nav,
  .nav-mobile,
  .scroll-top,
  .cta-banner,
  .hero-trust,
  .nav-hamburger { display: none !important; }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
    font-family: Georgia, serif;
  }
  h1, h2, h3 { color: #000; page-break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " <" attr(href) ">"; font-size: 9pt; color: #555; }
  a[href^="#"]::after { content: ""; }
  .section, .section-alt { padding: 20pt 0; }
  .author-box { border: 1pt solid #ccc; }
  .data-table { border-collapse: collapse; width: 100%; }
  .data-table th, .data-table td { border: 1pt solid #ccc; padding: 4pt 6pt; font-size: 9pt; }
  footer { border-top: 1pt solid #ccc; padding-top: 10pt; font-size: 9pt; }
  footer .grid { display: block; }
}

/* ==========================================================
   ADDITIONAL RESPONSIVE TWEAKS
   ========================================================== */
@media (max-width: 768px) {
  /* Ensure nav action buttons stay tappable */
  .nav-actions .btn-nav-login,
  .nav-actions .btn-nav-cta { min-height: 44px; }
  /* Sitemap stacked on mobile */
  .sitemap-grid { grid-template-columns: 1fr; }
}
