/* ============================================================
   Small Business Guide — Main Stylesheet v2
   Design: Bold & dramatic but light/professional
   Palette: Deep navy hero | White body | Indigo accents | Amber CTAs
   Inspired by: tidereferraloffer.co.uk + octopusreferraloffer.co.uk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:          #0a1628;
  --navy-mid:      #0f2040;
  --indigo:        #1e3a8a;
  --indigo-mid:    #2563eb;
  --indigo-light:  #3b82f6;
  --indigo-pale:   #dbeafe;
  --indigo-bg:     #eff6ff;
  --amber:         #f59e0b;
  --amber-dark:    #d97706;
  --amber-light:   #fcd34d;
  --amber-pale:    #fffbeb;
  --tide-green:    #1d4ed8;
  --tide-dark:     #1e40af;
  --tide-pale:     #eff6ff;
  --cot-purple:    #d97706;
  --cot-dark:      #b45309;
  --cot-pale:      #fffbeb;
  --bg:            #ffffff;
  --bg-soft:       #f8faff;
  --bg-mid:        #eef3ff;
  --border:        #e2e8f0;
  --border-mid:    #cbd5e1;
  --text:          #0a1628;
  --text-body:     #1e293b;
  --text-muted:    #475569;
  --text-light:    #94a3b8;
  --shadow-sm:     0 1px 4px rgba(10,22,40,0.08);
  --shadow:        0 4px 20px rgba(10,22,40,0.10);
  --shadow-md:     0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg:     0 16px 56px rgba(10,22,40,0.16);
  --shadow-indigo: 0 8px 32px rgba(37,99,235,0.25);
  --shadow-amber:  0 8px 24px rgba(245,158,11,0.30);
  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:    0.22s ease;
  --max-w:         1200px;
  --max-w-narrow:  860px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--indigo); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.15; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
p  { margin-bottom: 16px; color: var(--text-muted); line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-body); font-weight: 700; }

/* ---- Layout ---- */
.container         { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.section           { padding: 80px 0; }
.section--soft     { background: var(--bg-soft); }
.section--mid      { background: var(--bg-mid); }
.section--navy     { background: var(--navy); }
.text-center       { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; transition: all var(--transition);
  white-space: nowrap; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; font-family: var(--font);
}
.btn--primary {
  background: linear-gradient(135deg, var(--indigo-mid), var(--indigo));
  color: #fff; box-shadow: var(--shadow-indigo);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,0.35); color: #fff; }
.btn--amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--navy); box-shadow: var(--shadow-amber);
}
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245,158,11,0.4); color: var(--navy); }
.btn--tide {
  background: linear-gradient(135deg, var(--tide-green), var(--tide-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(29,78,216,0.35);
}
.btn--tide:hover { transform: translateY(-2px); color: #fff; }
.btn--cot {
  background: linear-gradient(135deg, var(--cot-purple), var(--cot-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(217,119,6,0.35);
}
.btn--cot:hover { transform: translateY(-2px); color: #fff; }
.btn--outline {
  background: transparent; color: var(--indigo-mid); border-color: var(--indigo-mid);
}
.btn--outline:hover { background: var(--indigo-mid); color: #fff; }
.btn--white {
  background: #fff; color: var(--navy); border-color: rgba(255,255,255,0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover { background: rgba(255,255,255,0.92); color: var(--navy); transform: translateY(-2px); }
.btn--ghost-white {
  background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn--sm  { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--xl  { padding: 18px 44px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--indigo) 50%, var(--navy) 100%);
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1001;
}
.announcement-bar strong { color: #fcd34d; font-weight: 800; }
.announcement-bar a { color: #fff; font-weight: 700; }
.announcement-bar a:hover { opacity: 0.85; color: #fff; }
.announcement-bar .code-pill {
  display: inline-block;
  background: #dc2626;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: 2px 10px;
  font-family: monospace;
  font-size: 0.88em;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 3px;
  cursor: pointer;
  color: #ffffff;
  transition: background var(--transition), border-color var(--transition);
}
.announcement-bar .code-pill:hover { background: #b91c1c; border-color: #dc2626; }
@media (max-width: 640px) {
  .announcement-bar { font-size: 0.78rem; padding: 8px 12px; }
  .announcement-bar .sep { display: none; }
  .announcement-bar .offer-2 { display: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px; height: 72px;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.nav__logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.30);
  flex-shrink: 0; overflow: hidden;
  background: transparent;
  padding: 0;
}
.nav__logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-text strong { font-size: 0.92rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.nav__logo-text span   { font-size: 0.67rem; color: var(--text-muted); font-weight: 500; }

.nav__links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition); white-space: nowrap;
}
.nav__links > li > a:hover,
.nav__links > li > a.active { color: var(--indigo-mid); background: var(--indigo-bg); }
.nav__links > li > a .chevron { font-size: 0.65rem; opacity: 0.6; transition: transform var(--transition); }
.nav__links > li:hover > a .chevron { transform: rotate(180deg); }

.nav__dropdown {
  display: none; position: absolute; top: 100%;
  left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px; z-index: 999;
  padding-top: 16px; margin-top: 0;
}
/* Invisible bridge fills the gap so mouse can reach dropdown */
.nav__dropdown::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav__links > li:hover .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 500; color: var(--text-body);
  transition: all var(--transition);
}
.nav__dropdown a:hover { background: var(--indigo-bg); color: var(--indigo-mid); }
/* Dropdown hub/category heading links */
.nav__dropdown-heading {
  display: block; padding: 7px 14px 6px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 700; color: var(--indigo-mid) !important;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.nav__dropdown-heading:hover { background: var(--indigo-bg); color: var(--indigo) !important; }
/* Thin divider between dropdown sections */
.nav__dropdown-divider {
  border: none; border-top: 1px solid var(--border); margin: 6px 2px;
}

.nav__cta-wrap { flex-shrink: 0; }
.nav__cta {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark)) !important;
  color: var(--navy) !important; padding: 9px 20px !important;
  border-radius: 50px !important; font-weight: 800 !important;
  font-size: 0.85rem !important; box-shadow: var(--shadow-amber) !important;
  white-space: nowrap; border: none !important;
  display: inline-flex; align-items: center;
}
.nav__cta:hover { transform: translateY(-1px); opacity: 0.92; color: var(--navy) !important; }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border-radius: var(--radius-sm); margin-left: auto;
}
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

.nav__mobile {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: #fff; flex-direction: column;
  padding: 80px 24px 32px; gap: 4px; overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 13px 16px; font-size: 1rem; font-weight: 600; color: var(--navy);
  border-radius: var(--radius-sm); border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { background: var(--indigo-bg); color: var(--indigo-mid); }
.nav__mobile .btn { margin-top: 16px; text-align: center; }
.nav__mobile-close {
  position: absolute; top: 20px; right: 20px;
  font-size: 1.5rem; color: var(--text-muted);
  padding: 8px; border-radius: var(--radius-sm); line-height: 1; cursor: pointer;
}
.nav__mobile-close:hover { background: var(--bg-soft); }

@media (max-width: 960px) {
  .nav__links, .nav__cta-wrap { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { height: 64px; }
}

/* ============================================================
   SECTION LABELS / EYEBROWS
   ============================================================ */
.section-label {
  display: inline-block;
  background: var(--indigo-bg); color: var(--indigo-mid);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
  border: 1px solid rgba(37,99,235,0.2);
}
.section-label--amber { background: var(--amber-pale); color: var(--amber-dark); border-color: rgba(245,158,11,0.25); }
.section-label--tide  { background: var(--tide-pale);  color: var(--tide-dark);  border-color: rgba(0,179,134,0.25); }
.section-label--cot   { background: var(--cot-pale);   color: var(--cot-dark);   border-color: rgba(124,58,237,0.25); }

.section-header { margin-bottom: 52px; }
.section-header.text-center { text-align: center; }
.section-header p { max-width: 640px; font-size: 1.05rem; }
.section-header.text-center p { margin: 0 auto; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 45%, var(--indigo) 100%);
  padding: 56px 0 72px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(245,158,11,0.12) 0%, transparent 50%);
}
.hero__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.45);
  color: var(--amber-light); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.hero__title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; letter-spacing: -0.03em; }
.hero__title .highlight { color: var(--amber-light); }
.hero__subtitle { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.7; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: rgba(255,255,255,0.72); font-weight: 600;
}
.hero__trust-item::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; background: rgba(245,158,11,0.25);
  border-radius: 50%; color: var(--amber-light); font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
}

.hero__visual { display: flex; flex-direction: column; gap: 16px; }
.hero__offer-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); padding: 24px 28px;
  backdrop-filter: blur(8px); transition: transform var(--transition), box-shadow var(--transition);
}
.hero__offer-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.hero__offer-card--tide { border-color: rgba(37,99,235,0.50); }
.hero__offer-card--cot  { border-color: rgba(245,158,11,0.50); }
.hero__offer-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hero__offer-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.hero__offer-icon--tide { background: transparent; }
.hero__offer-icon--cot  { background: transparent; }
.hero__offer-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.hero__offer-name  { font-size: 0.95rem; font-weight: 700; color: #fff; }
.hero__offer-amount { font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 6px; letter-spacing: -0.03em; }
.hero__offer-amount--tide { color: #60a5fa; text-align: center; }
.hero__offer-amount--cot  { color: #fbbf24; text-align: center; }
.hero__offer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; text-align: center; }
.hero__code-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,0.25); border-radius: var(--radius-sm); padding: 8px 14px;
}
.hero__code-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.hero__code-value { font-family: monospace; font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: 0.08em; cursor: pointer; }
.hero__code-value:hover { color: var(--amber-light); }

@media (max-width: 900px) {
  .hero { padding: 44px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__title, .hero__subtitle { text-align: center; }
  .hero__badge { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 52px; }
  .hero__ctas .btn--lg { width: 100%; }
}

/* ============================================================
   HUB HERO (category pages)
   ============================================================ */
.hub-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hub-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.25) 0%, transparent 60%);
}
.hub-hero__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.hub-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.hub-hero__title    { color: #fff; margin-bottom: 14px; }
.hub-hero__subtitle { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }
.hub-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.hub-hero__meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 600;
}

/* ============================================================
   HUB CARDS (homepage grid)
   ============================================================ */
.hubs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
@media (max-width: 960px) { .hubs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .hubs-grid { grid-template-columns: 1fr; } }

.hub-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all var(--transition); position: relative;
  overflow: hidden; text-decoration: none; display: block;
}
.hub-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--indigo-mid), var(--indigo-light));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-pale); }
.hub-card:hover::before { transform: scaleX(1); }
.hub-card--offers { border-color: rgba(245,158,11,0.3); background: var(--amber-pale); }
.hub-card--offers::before { background: linear-gradient(90deg, var(--amber), var(--amber-dark)); }
.hub-card--offers:hover { border-color: var(--amber); box-shadow: var(--shadow-amber); }
.hub-card__icon {
  width: 52px; height: 52px; background: var(--indigo-bg); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px; transition: background var(--transition);
}
.hub-card--offers .hub-card__icon { background: rgba(245,158,11,0.15); }
.hub-card:hover .hub-card__icon   { background: var(--indigo-pale); }
.hub-card__title { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em; }
.hub-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.hub-card__count { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--indigo-mid); }
.hub-card--offers .hub-card__count { color: var(--amber-dark); }
.hub-card__count::after { content: '→'; font-size: 0.85rem; }

/* ============================================================
   OFFER STRIP (homepage)
   ============================================================ */
.offer-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--indigo) 100%);
  padding: 64px 0 32px; position: relative; overflow: hidden;
}
.offer-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.12) 0%, transparent 55%);
}
.offer-strip__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.offer-strip__header { text-align: center; margin-bottom: 40px; }
.offer-strip__header h2 { color: #fff; }
.offer-strip__header p  { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }

.offer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: subgrid;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 720px) { .offer-cards { grid-template-columns: 1fr; } }

.offer-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl); padding: 32px; transition: all var(--transition);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  grid-row: span 6;
}
.offer-card__features { margin-bottom: 24px; }
.offer-card__cta-wrap { align-self: end; }
.offer-card__cta-wrap .btn { width: 100%; justify-content: center; }
.offer-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.offer-card--tide { border-color: rgba(37,99,235,0.45); }
.offer-card--cot  { border-color: rgba(245,158,11,0.45); }
.offer-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.offer-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.offer-card__icon--tide { background: transparent; overflow: hidden; }
.offer-card__icon--cot  { background: transparent; overflow: hidden; }
.offer-card__type  { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.offer-card__title { font-size: 1rem; font-weight: 700; color: #fff; }
.offer-card__amount { font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; margin-bottom: 6px; }
.offer-card__amount--tide { color: #60a5fa; text-align: center; }
.offer-card__amount--cot  { color: #fbbf24; text-align: center; }
.offer-card__desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.6; }
.offer-card__features { margin-bottom: 24px; }
.offer-card__features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.84rem; color: rgba(255,255,255,0.75); padding: 5px 0; font-weight: 500;
}
.offer-card__features li::before { content: '✓'; color: #60a5fa; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; margin-top: 1px; }
.offer-card--cot .offer-card__features li::before { color: #fbbf24; }
.offer-card__code-box {
  background: rgba(0,0,0,0.30); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.offer-card__code-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.offer-card__code-value {
  font-family: monospace; font-size: 1.1rem; font-weight: 900;
  color: #fff; letter-spacing: 0.1em; cursor: pointer;
}
.offer-card__code-value:hover { color: var(--amber-light); }
.offer-card__tcap { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 10px; }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); display: flex;
  flex-direction: column; text-decoration: none;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-pale); }
.article-card__cat {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px;
  background: var(--indigo-bg); color: var(--indigo-mid); margin-bottom: 10px;
}
.article-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.article-card:hover .article-card__title { color: var(--indigo-mid); }
.article-card__excerpt { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.article-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-light); font-weight: 500;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.article-card__read { font-size: 0.8rem; font-weight: 700; color: var(--indigo-mid); display: flex; align-items: center; gap: 4px; }
.article-card__read::after { content: '→'; }

/* ============================================================
   ARTICLE LIST (hub pages)
   ============================================================ */
.article-list { display: flex; flex-direction: column; gap: 2px; }
.article-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); text-decoration: none;
  transition: all var(--transition); gap: 12px;
}
.article-list-item:hover { background: var(--indigo-bg); border-color: var(--indigo-pale); transform: translateX(4px); }
.article-list-item__title { font-size: 0.9rem; font-weight: 600; color: var(--navy); flex: 1; line-height: 1.4; }
.article-list-item:hover .article-list-item__title { color: var(--indigo-mid); }
.article-list-item__arrow { font-size: 0.9rem; color: var(--text-light); flex-shrink: 0; transition: transform var(--transition); }
.article-list-item:hover .article-list-item__arrow { transform: translateX(4px); color: var(--indigo-mid); }

/* ============================================================
   INLINE CTA BOXES (within articles)
   ============================================================ */
.cta-box {
  border-radius: var(--radius-lg); padding: 28px 32px; margin: 36px 0;
  position: relative; overflow: hidden;
}
.cta-box--tide { background: linear-gradient(135deg, #e6f9f5, #ccf2e9); border: 1px solid rgba(0,179,134,0.30); }
.cta-box--cot  { background: linear-gradient(135deg, #f5f3ff, #ede9fe); border: 1px solid rgba(124,58,237,0.25); }
.cta-box--tool {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 6px 32px rgba(10,22,40,0.22);
  padding: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.cta-box--tool::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 15%, rgba(245,158,11,0.18) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
/* Left accent panel */
.cta-box--tool .cta-box__left {
  background: rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.10);
  position: relative;
  z-index: 1;
}
.cta-box--tool .cta-box__left-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.cta-box--tool .cta-box__left-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-align: center;
  line-height: 1.3;
}
/* Right content panel */
.cta-box--tool .cta-box__right {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.cta-box__icon  { font-size: 1.8rem; margin-bottom: 10px; }
.cta-box__title { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.cta-box--tide .cta-box__title { color: var(--tide-dark); }
.cta-box--cot  .cta-box__title { color: var(--cot-dark); }
.cta-box--tool .cta-box__title { color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.cta-box--tool .cta-box__desc  { color: rgba(255,255,255,0.78); font-size: 0.85rem; margin-bottom: 2px; }
.cta-box--tool .cta-box__icon  { font-size: 2rem; }
.cta-box--tool .btn--primary {
  background: var(--amber); color: var(--navy); border-color: var(--amber);
  font-weight: 800; align-self: flex-start; margin-top: 6px;
}
.cta-box--tool .btn--primary:hover { background: #d97706; border-color: #d97706; }
@media (max-width: 600px) {
  .cta-box--tool { grid-template-columns: 1fr; }
  .cta-box--tool .cta-box__left {
    flex-direction: row; padding: 14px 20px;
    border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10);
    justify-content: flex-start; gap: 12px;
  }
  .cta-box--tool .cta-box__right { padding: 18px 20px; }
}
.cta-box__desc  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.cta-box__code {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.07); border-radius: var(--radius-sm);
  padding: 6px 14px; margin-bottom: 16px;
  font-family: monospace; font-size: 0.95rem; font-weight: 800;
  color: var(--navy); cursor: pointer; letter-spacing: 0.06em;
  border: 1px solid rgba(0,0,0,0.10);
}
.cta-box__code:hover { background: rgba(0,0,0,0.12); }
.cta-box__tcap { font-size: 0.72rem; color: var(--text-light); margin-top: 10px; }

/* ============================================================
   SIDEBAR — HERO-GRADIENT REDESIGN
   Inspired by article hero: navy to indigo gradient headers
   ============================================================ */

/* Brand colour tokens */
:root {
  --tide-blue:       #0F4BEB;
  --tide-blue-dark:  #0a35c4;
  --tide-blue-light: #4a7ef5;
  --tide-blue-pale:  #eef3ff;
  --cot-dark-navy:   #0D1B2A;
  --cot-gold:        #C9A84C;
  --cot-gold-light:  #e8c96a;
  --cot-gold-pale:   #fdf8ec;
}

.sidebar {
  position: sticky;
  top: 88px;
}

/* ============================================================
   SIDEBAR OFFER CARDS - Hero-gradient style
   Tide: navy to indigo gradient header (matches article hero)
   CoT:  dark navy to charcoal gradient header with gold accents
   ============================================================ */
.sidebar-offer {
  background: #ffffff;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(10,22,40,0.14);
  border: none;
}

/* Gradient header block - Tide */
.sidebar-offer__header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px;
  text-align: center;
}
.sidebar-offer__header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,0.35) 0%, transparent 65%);
}
.sidebar-offer__header > * { position: relative; z-index: 1; }

/* CoT gradient header */
.sidebar-offer--cot .sidebar-offer__header {
  background: linear-gradient(135deg, var(--cot-dark-navy) 0%, #1a2e48 100%);
}
.sidebar-offer--cot .sidebar-offer__header::before {
  background: radial-gradient(ellipse at 70% 30%, rgba(201,168,76,0.20) 0%, transparent 65%);
}

/* Bottom accent line */
.sidebar-offer__header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tide-blue), var(--indigo-light));
}
.sidebar-offer--cot .sidebar-offer__header::after {
  background: linear-gradient(90deg, var(--cot-gold), var(--cot-gold-light));
}

/* Label inside header */
.sidebar-offer h4,
.sidebar-offer__header h4 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 6px;
  padding: 0;
  background: none;
  border: none;
  line-height: 1;
}

/* Big reward number */
.big-reward {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber-light);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  padding: 0;
}
.sidebar-offer--cot .big-reward {
  color: var(--cot-gold-light);
}

/* Subtitle inside header */
.sidebar-offer__header-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  line-height: 1.4;
}

/* Body section */
.sidebar-offer__body {
  padding: 16px 18px 18px;
}

/* Description text */
.sidebar-offer__body p,
.sidebar-offer p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 0;
}

/* Promo code pill - centred, prominent */
.sidebar-offer .code {
  display: block;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--bg-soft);
  border: 2px dashed var(--border-mid);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: all;
  transition: all 0.18s;
}
.sidebar-offer .code:hover {
  background: var(--indigo-bg);
  border-color: var(--indigo-mid);
  color: var(--indigo-mid);
}
.sidebar-offer--cot .code:hover {
  background: var(--cot-gold-pale);
  border-color: var(--cot-gold);
  color: var(--cot-dark-navy);
}

/* Copy hint */
.sidebar-offer .code-hint {
  font-size: 0.68rem;
  color: var(--text-light);
  text-align: center;
  display: block;
  margin-bottom: 10px;
}

/* CTA button */
.sidebar-offer .btn {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tide-blue), var(--indigo-mid));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(15,75,235,0.30);
  transition: all 0.18s;
  border: none;
  margin: 0;
}
.sidebar-offer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,75,235,0.40);
  color: #ffffff;
}
.sidebar-offer--cot .btn {
  background: linear-gradient(135deg, var(--cot-dark-navy), #1e3a5f);
  box-shadow: 0 4px 16px rgba(13,27,42,0.30);
}
.sidebar-offer--cot .btn:hover {
  box-shadow: 0 8px 24px rgba(13,27,42,0.40);
}

/* T&Cs small print */
.sidebar-offer .tcap,
.sidebar-offer > p:last-of-type {
  font-size: 0.67rem;
  color: var(--text-light);
  margin-top: 8px;
  text-align: center;
  display: block;
  padding: 0;
}

/* ============================================================
   SIDEBAR WIDGETS (Free Tools / Related Guides)
   Gradient label header matching article hero style
   ============================================================ */
.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(10,22,40,0.09);
  border: 1px solid rgba(30,58,138,0.10);
}

.sidebar-widget h4 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin-bottom: 0;
  padding: 12px 16px 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sidebar-widget > ul.sidebar-links {
  padding: 4px 0;
}

/* Links list inside sidebar widget */
.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-links li {
  border-bottom: 1px solid #f1f5f9;
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.15s;
}
.sidebar-links a::before {
  content: '→';
  color: var(--indigo-light);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.sidebar-links a:hover {
  color: var(--indigo-mid);
  background: #f8faff;
}
.sidebar-links a:hover::before {
  transform: translateX(3px);
}

/* ============================================================
   SIDEBAR WIDGETS (BEM variant — used in article pages)
   ============================================================ */
.sidebar-widget--tide { box-shadow: 0 6px 24px rgba(15,75,235,0.12); }
.sidebar-widget--cot  { box-shadow: 0 6px 24px rgba(13,27,42,0.12); }
.sidebar-widget__header {
  padding: 20px 20px 18px; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  border-bottom: none; position: relative; overflow: hidden;
}
.sidebar-widget__header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,0.30) 0%, transparent 65%);
}
.sidebar-widget__header > * { position: relative; z-index: 1; }
.sidebar-widget--cot .sidebar-widget__header {
  background: linear-gradient(135deg, var(--cot-dark-navy) 0%, #1a2e48 100%);
}
.sidebar-widget--cot .sidebar-widget__header::before {
  background: radial-gradient(ellipse at 70% 30%, rgba(201,168,76,0.20) 0%, transparent 65%);
}
.sidebar-widget__label  { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.sidebar-widget__amount { font-size: 2.6rem; font-weight: 900; color: var(--amber-light); line-height: 1; letter-spacing: -0.04em; }
.sidebar-widget--cot .sidebar-widget__amount { color: var(--cot-gold-light); }
.sidebar-widget__body   { padding: 16px 18px; background: #fff; }
.sidebar-widget__desc   { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.sidebar-widget__code {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 12px;
  border: 2px dashed var(--border-mid);
  text-align: center;
}
.sidebar-widget__code-label { display: none; }
.sidebar-widget__code-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); cursor: pointer; letter-spacing: 0.12em;
  text-align: center;
}
.sidebar-widget__code-value:hover { color: var(--indigo-mid); }
.sidebar-widget__tcap { font-size: 0.68rem; color: var(--text-light); margin-top: 6px; text-align: center; }

/* ============================================================
   ARTICLE PAGE LAYOUT
   ============================================================ */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  padding: 56px 0 64px; position: relative; overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(37,99,235,0.25) 0%, transparent 60%);
}
.article-hero__inner { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.article-hero__cat {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 16px;
}
.article-hero__title { color: #fff; margin-bottom: 14px; }
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 500;
}
.article-hero__meta .author { display: flex; align-items: center; gap: 8px; }
.article-hero__meta .author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-light), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.article-hero__verified {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(245,158,11,0.2); border: 1px solid rgba(245,158,11,0.4);
  color: var(--amber-light); font-size: 0.75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
}

.article-layout {
  max-width: var(--max-w); margin: 0 auto; padding: 48px 24px 80px;
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

.article-content { min-width: 0; }
.article-content h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  margin: 40px 0 16px; padding-top: 8px; border-top: 2px solid var(--border);
}
.article-content h2:first-child { margin-top: 0; border-top: none; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.article-content p  { color: var(--text-body); line-height: 1.8; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px 20px; color: var(--text-body); line-height: 1.8; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--navy); font-weight: 700; }
.article-content a { color: var(--indigo-mid); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(37,99,235,0.3); }
.article-content a:hover { color: var(--indigo); text-decoration-color: var(--indigo); }
.article-content blockquote {
  border-left: 4px solid var(--indigo-mid); background: var(--indigo-bg);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; font-style: italic; color: var(--text-body);
}
/* Mobile table scroll wrapper — applied via JS */
.table-scroll-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: var(--radius); }
.table-scroll-wrapper table { margin: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; min-width: 480px; }
.article-content th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.03em; }
.article-content td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.article-content tr:nth-child(even) td { background: var(--bg-soft); }
.article-content tr:hover td { background: var(--indigo-bg); }

.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.toc__title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a  { font-size: 0.875rem; font-weight: 600; color: var(--indigo-mid); }
.toc a:hover { color: var(--indigo); }

.article-sidebar { position: sticky; top: 88px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-bar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.trust-bar__item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.trust-bar__item .icon { font-size: 1rem; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: linear-gradient(135deg, var(--navy), var(--indigo)); padding: 48px 0; }
.stats-bar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 720px) { .stats-bar__inner { grid-template-columns: repeat(2, 1fr); } }
.stats-bar__item { text-align: center; }
.stats-bar__value { font-size: 2.4rem; font-weight: 900; color: var(--amber-light); line-height: 1; margin-bottom: 6px; letter-spacing: -0.03em; }
.stats-bar__label { font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ============================================================
   FREE TOOLS GRID
   ============================================================ */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .tools-grid { grid-template-columns: 1fr; } }

.tool-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all var(--transition); text-decoration: none;
  display: block; position: relative; overflow: hidden;
}
.tool-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-card:hover::after { transform: scaleX(1); }
.tool-card__icon  { width: 52px; height: 52px; background: var(--amber-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.tool-card__badge { display: inline-block; background: var(--amber-pale); color: var(--amber-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; border: 1px solid rgba(245,158,11,0.25); }
.tool-card__title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.tool-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.tool-card__cta   { font-size: 0.85rem; font-weight: 700; color: var(--indigo-mid); display: flex; align-items: center; gap: 4px; }
.tool-card__cta::after { content: '→'; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.calc-header { background: linear-gradient(135deg, var(--navy), var(--indigo)); padding: 28px 32px; }
.calc-header h2 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.calc-header p  { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }
.calc-body { padding: 32px; }
.calc-input-group { margin-bottom: 28px; }
.calc-input-group label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.calc-input-group input[type="number"] { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1.1rem; font-weight: 700; color: var(--navy); font-family: var(--font); outline: none; transition: border-color var(--transition); }
.calc-input-group input[type="number"]:focus { border-color: var(--indigo-mid); }
.calc-input-group input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--indigo-mid); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
@media (max-width: 580px) { .calc-results { grid-template-columns: 1fr; } }
.calc-result-card { border-radius: var(--radius-lg); padding: 24px; text-align: center; border: 2px solid var(--border); }
.calc-result-card--winner { border-color: var(--tide-green); background: var(--tide-pale); }
.calc-result-card__label  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.calc-result-card__amount { font-size: 2.2rem; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.calc-result-card--winner .calc-result-card__amount { color: var(--tide-dark); }
.calc-result-card__sub    { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.calc-result-card__saving { display: inline-block; margin-top: 8px; background: var(--tide-green); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.calc-breakdown { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.calc-breakdown h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.calc-breakdown table { width: 100%; font-size: 0.84rem; }
.calc-breakdown td { padding: 5px 0; color: var(--text-muted); }
.calc-breakdown td:last-child { text-align: right; font-weight: 600; color: var(--text-body); }
.calc-breakdown tr:last-child td { font-weight: 800; color: var(--navy); border-top: 1px solid var(--border); padding-top: 10px; }
.calc-disclaimer { font-size: 0.78rem; color: var(--text-light); line-height: 1.6; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); }

/* ============================================================
   PARTNER PAGE
   ============================================================ */
.partner-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--indigo) 100%);
  padding: 72px 0 80px; position: relative; overflow: hidden;
}
.partner-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(245,158,11,0.15) 0%, transparent 60%);
}
.partner-hero__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; text-align: left; }
.partner-hero h1 { color: #fff; margin-bottom: 14px; }
.partner-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; }
.partner-hero__buttons { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

.partner-card { background: var(--navy); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-lg); }
.partner-card__header { padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.partner-card--tide .partner-card__header { background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%); border-bottom: 1px solid rgba(37,99,235,0.30); }
.partner-card--cot  .partner-card__header { background: linear-gradient(135deg, var(--navy) 0%, #1a1a3e 100%); border-bottom: 1px solid rgba(217,119,6,0.30); }
.partner-card__type    { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.partner-card__name    { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.partner-card--tide .partner-card__name { color: #ffffff; }
.partner-card--cot  .partner-card__name { color: #ffffff; }
.partner-card__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.70); }
.partner-card__offer-box { text-align: center; padding: 20px 28px; background: rgba(255,255,255,0.10); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.20); min-width: 200px; backdrop-filter: blur(8px); }
.partner-card__offer-label  { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.partner-card__offer-amount { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.partner-card--tide .partner-card__offer-amount { color: #60a5fa; }
.partner-card--cot  .partner-card__offer-amount { color: #fbbf24; }
.partner-card__offer-sub { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.partner-card__body { padding: 36px 40px; background: linear-gradient(180deg, #0f1e3a 0%, #0a1628 100%); }
.partner-card__code-section { background: rgba(0,0,0,0.30); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 28px; text-align: center; border: 1px dashed rgba(255,255,255,0.25); }
.partner-card__code-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.partner-card__code-value { font-family: monospace; font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: 0.1em; cursor: pointer; display: block; margin-bottom: 8px; }
.partner-card--tide .partner-card__code-value { color: #60a5fa; }
.partner-card--cot  .partner-card__code-value { color: #fbbf24; }
.partner-card__code-hint { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.partner-card__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
@media (max-width: 640px) { .partner-card__features { grid-template-columns: 1fr; } }
.partner-card__feature { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,0.06); border-radius: var(--radius); font-size: 0.875rem; color: rgba(255,255,255,0.80); font-weight: 500; border: 1px solid rgba(255,255,255,0.08); }
.partner-card__feature::before { content: '✓'; color: #60a5fa; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }
.partner-card--cot .partner-card__feature::before { color: #fbbf24; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,158,11,0.12) 0%, transparent 55%);
}
.newsletter__inner { max-width: 680px; margin: 0 auto; padding: 0 24px; text-align: center; position: relative; z-index: 1; }
.newsletter h2 { color: #fff; margin-bottom: 12px; }
.newsletter p  { color: rgba(255,255,255,0.72); margin-bottom: 32px; font-size: 1.05rem; }
.newsletter__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter__form input {
  flex: 1; padding: 14px 18px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.10);
  color: #fff; font-size: 0.9rem; font-family: var(--font); outline: none;
  transition: border-color var(--transition);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter__form input:focus { border-color: rgba(245,158,11,0.6); }
.newsletter__note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 12px; }
@media (max-width: 580px) {
  .newsletter__form { flex-direction: column; }
  .newsletter__form input, .newsletter__form .btn { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); padding: 64px 0 0; color: rgba(255,255,255,0.7); }
.footer__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 960px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px)  { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }

.footer__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer__logo-mark { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: transparent; padding: 0; }
.footer__logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 9px; }
.footer__logo-text strong { font-size: 0.9rem; font-weight: 800; color: #fff; }
.footer__logo-text span   { font-size: 0.65rem; color: rgba(255,255,255,0.5); display: block; }
.footer__tagline   { font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.footer__disclosure { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer__disclosure a { color: rgba(255,255,255,0.55); text-decoration: underline; white-space: nowrap; }
.footer__col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); font-weight: 500; transition: color var(--transition); }
.footer__col ul li a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
/* ============================================================
   BREADCRUMB BAR — Standardised (model: Home Office Calculator)
   ============================================================ */
.breadcrumb-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb-bar nav {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
}
.breadcrumb-bar a {
  color: var(--indigo-mid); font-weight: 600;
  text-decoration: none; transition: color var(--transition);
}
.breadcrumb-bar a:hover { color: var(--indigo); }
.breadcrumb-bar span {
  margin: 0 .4rem; color: var(--text-light);
}
/* Legacy .breadcrumb class — kept for backwards compatibility */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: .65rem 0; }
.breadcrumb__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 0; font-size: .82rem; color: var(--text-muted);
}
.breadcrumb__inner a   { color: var(--indigo-mid); font-weight: 600; }
.breadcrumb__inner a:hover { color: var(--indigo); }
.breadcrumb__inner .sep { margin: 0 .4rem; color: var(--text-light); }


/* Standardised breadcrumb - matches article-hero style */
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  padding: 0;
}
.page-breadcrumb a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 600;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { color: rgba(255,255,255,0.35); }
.page-breadcrumb .bc-current { color: rgba(255,255,255,0.6); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { background: linear-gradient(135deg, var(--navy), var(--indigo)); padding: 72px 0; text-align: center; }
.about-hero h1 { color: #fff; margin-bottom: 14px; }
.about-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-indigo  { color: var(--indigo-mid); }
.text-amber   { color: var(--amber); }
.text-tide    { color: var(--tide-green); }
.text-cot     { color: var(--cot-purple); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.fw-800       { font-weight: 800; }
.fw-700       { font-weight: 700; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }
.hidden       { display: none; }

@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
}
@media (min-width: 641px) {
  .hide-desktop { display: none !important; }
}

/* ============================================================
   ARTICLE LIST (hub pages)
   ============================================================ */
.article-section { margin-bottom: 56px; }
.article-section__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.article-section__header h2 { font-size: 1.3rem; margin: 0; }

.article-list { display: flex; flex-direction: column; gap: 0; }
.article-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 0; margin-bottom: -1px; text-decoration: none;
  transition: all var(--transition); position: relative;
}
.article-list-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.article-list-item:last-child  { border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 0; }
.article-list-item:only-child  { border-radius: var(--radius); }
.article-list-item:hover { background: var(--indigo-bg); border-color: var(--indigo-pale); z-index: 1; }
.article-list-item__title {
  font-size: 0.925rem; font-weight: 600; color: var(--navy);
  line-height: 1.45; flex: 1; padding-right: 16px;
}
.article-list-item:hover .article-list-item__title { color: var(--indigo-mid); }
.article-list-item__arrow {
  font-size: 1rem; color: var(--text-light); flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.article-list-item:hover .article-list-item__arrow { color: var(--indigo-mid); transform: translateX(4px); }

/* Old-style article list (numbered) */
.article-list ul { display: flex; flex-direction: column; gap: 0; }
.article-list ul li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 0; margin-bottom: -1px;
  transition: background var(--transition), border-color var(--transition);
}
.article-list ul li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.article-list ul li:last-child  { border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 0; }
.article-list ul li:hover { background: var(--indigo-bg); border-color: var(--indigo-pale); }
.article-num {
  font-size: 0.72rem; font-weight: 800; color: var(--text-light);
  min-width: 28px; padding-top: 2px; letter-spacing: 0.04em;
}
.article-list-content { flex: 1; }
.article-list-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.article-list-content h3 a { color: var(--navy); text-decoration: none; }
.article-list-content h3 a:hover { color: var(--indigo-mid); }
.article-list-content p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.article-list-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.tag { display: inline-block; background: var(--amber-pale); color: var(--amber-dark); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 50px; border: 1px solid rgba(245,158,11,0.25); }
.mins { font-size: 0.72rem; color: var(--text-light); font-weight: 600; }

/* ============================================================
   CTA BOXES (inline article / hub page)
   ============================================================ */
.cta-box {
  border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--border);
}
.cta-box--tide {
  background: linear-gradient(135deg, #e6f9f5, #d1f5ec);
  border-color: rgba(0,179,134,0.30);
}
.cta-box--cot {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border-color: rgba(124,58,237,0.25);
}
.cta-box--tool {
  /* Two-column layout defined in main section above */
  border-color: transparent;
}
.cta-box__icon { font-size: 2rem; }
.cta-box__title { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.cta-box__desc  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.cta-box__code {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 0.875rem; font-weight: 700; color: var(--navy); cursor: pointer;
  width: fit-content;
}
.cta-box__code span { font-family: monospace; font-size: 1rem; font-weight: 900; letter-spacing: 0.06em; }
.cta-box__tcap { font-size: 0.72rem; color: var(--text-light); line-height: 1.6; }

/* ============================================================
   PARTNER HERO (extra styles)
   ============================================================ */
.partner-hero h1 { color: #fff; margin-bottom: 14px; }

/* ============================================================
   ARTICLE LIST SECTION HEADER (alternative naming)
   ============================================================ */
.article-list-section { margin-bottom: 56px; }
.article-list-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.article-list-header h2 { font-size: 1.3rem; margin: 0; }

/* ============================================================
   ARTICLE HERO HEADER (replaces plain article-header)
   ============================================================ */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  padding: 52px 0 60px; position: relative; overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.25) 0%, transparent 60%);
}
.article-hero__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.article-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.article-hero__breadcrumb a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 600;
}
.article-hero__breadcrumb a:hover { color: #fff; }
.article-hero__breadcrumb span { color: rgba(255,255,255,0.35); }
.article-hero__cat {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px; margin-bottom: 16px;
}
.article-hero__title {
  color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; line-height: 1.2; margin: 0 0 16px; max-width: 820px;
}
.article-hero__intro {
  color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 700px;
  line-height: 1.65; margin-bottom: 24px;
}
.article-hero__byline {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15);
}
.article-hero__avatar {
  width: 44px; height: 44px; border-radius: 50% !important;
  background: linear-gradient(135deg, var(--amber) 0%, #f97316 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; color: var(--navy); flex-shrink: 0;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.3);
  text-decoration: none; cursor: pointer;
  /* Force circle on both div and anchor elements */
  min-width: 44px; min-height: 44px;
  clip-path: circle(50%);
}
.article-hero__avatar img {
  width: 44px; height: 44px; object-fit: cover; object-position: top center;
  border-radius: 50%; display: block; flex-shrink: 0;
  /* Ensure image fills circle exactly */
  min-width: 44px; min-height: 44px;
}
.article-hero__byline-text { font-size: 0.82rem; }
.article-hero__author { color: rgba(255,255,255,0.9); font-weight: 700; }
.article-hero__meta-info { color: rgba(255,255,255,0.55); margin-top: 2px; }
@media (max-width: 768px) {
  .article-hero { padding: 40px 0 48px; }
  .article-hero__title { font-size: 1.5rem; }
  .article-hero__intro { font-size: 0.95rem; }
}

/* Fix article-layout left alignment — remove excess left indent */
.article-body { background: var(--bg); }
.article-body > .container { padding-top: 0; padding-bottom: 0; }

/* ============================================================
   HUB TIDE BANNER (below hub-hero on all hub pages)
   ============================================================ */
.hub-tide-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  border-bottom: 3px solid var(--tide-blue);
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}
.hub-tide-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(37,99,235,0.3) 0%, transparent 60%);
}
.hub-tide-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hub-tide-banner__icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}
.hub-tide-banner__content {
  flex: 1;
  min-width: 200px;
}
.hub-tide-banner__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 3px;
}
.hub-tide-banner__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.3;
}
.hub-tide-banner__amount {
  color: var(--amber-light);
}
.hub-tide-banner__desc {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}
.hub-tide-banner__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hub-tide-banner__code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  background: rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.35);
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  user-select: all;
  transition: all .18s;
  white-space: nowrap;
}
.hub-tide-banner__code:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--amber-light);
  color: var(--amber-light);
}
.hub-tide-banner__code-hint {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
}
.hub-tide-banner__btn {
  background: linear-gradient(135deg, var(--tide-blue), var(--indigo-mid));
  color: #fff !important;
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(15,75,235,.35);
  transition: all .18s;
  text-decoration: none;
  display: inline-block;
}
.hub-tide-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,75,235,.45);
}
@media (max-width: 640px) {
  .hub-tide-banner__inner { flex-direction: column; text-align: center; }
  .hub-tide-banner__icon { display: none; }
}

/* ============================================================
   IN-ARTICLE CTA BOX — Sidebar-style redesign
   Tide: navy/indigo gradient header, blue button
   CoT:  dark navy header with gold accents, dark navy button
   ============================================================ */
/* === In-article CTA Banner (redesigned) === */
.cta-box {
  border-radius: var(--radius);
  margin: 24px 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,22,40,0.12);
  background: #ffffff;
  border: none;
  width: 100%;
  max-width: 100%;
  display: block;
}
/* Header: horizontal layout — logo left, reward right */
.cta-box__header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
  position: relative;
  overflow: hidden;
  padding: 12px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cta-box__header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box__header > * { position: relative; z-index: 1; }
.cta-box__header--cot {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e48 100%);
}
.cta-box__header--cot::before {
  background: radial-gradient(ellipse at 70% 30%, rgba(201,168,76,0.20) 0%, transparent 65%);
}
.cta-box__header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6);
}
.cta-box__header--cot::after {
  background: linear-gradient(90deg, #c9a84c, #f0d080);
}
/* Logo inside header */
.cta-box__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cta-box__logo img {
  height: 30px;
  width: auto;
  display: block;
  filter: none;
}
/* Reward block (right side of header) */
.cta-box__reward-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-box__reward {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fcd34d;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cta-box__reward--cot {
  color: #f0d080;
}
.cta-box__reward-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}
/* Body block */
.cta-box__body {
  padding: 12px 20px 14px;
}
.cta-box__headline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}
.cta-box__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
/* Code pill — centred */
.cta-box__code {
  display: block;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--bg-soft);
  border: 2px dashed var(--border-mid);
  color: var(--navy);
  padding: 7px 16px;
  border-radius: 8px;
  margin: 0 auto 6px;
  cursor: pointer;
  user-select: all;
  transition: all 0.18s;
  width: fit-content;
  min-width: 160px;
}
.cta-box__code:hover { background: var(--indigo-bg); border-color: var(--indigo-mid); color: var(--indigo-mid); }
.cta-box__code--cot:hover { background: #fffbeb; border-color: #c9a84c; color: #0d1b2a; }
/* Copy hint */
.cta-box__code-hint {
  font-size: 0.68rem;
  color: var(--text-light);
  text-align: center;
  display: block;
  margin-bottom: 8px;
}
/* CTA button */
.cta-box__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(29,78,216,0.30);
  transition: all 0.18s;
  text-decoration: none !important;
  margin-bottom: 6px;
}
.cta-box__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,78,216,0.40); color: #ffffff !important; }
.cta-box__btn--cot {
  background: linear-gradient(135deg, #0d1b2a, #1e3a5f);
  box-shadow: 0 4px 16px rgba(13,27,42,0.30);
}
.cta-box__btn--cot:hover { box-shadow: 0 8px 24px rgba(13,27,42,0.40); color: #ffffff !important; }
/* T&Cs */
.cta-box__tcap {
  font-size: 0.68rem;
  color: var(--text-light);
  text-align: center;
  display: block;
  margin-top: 4px;
}

/* ── Sidebar review link ── */
.sidebar-review-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.sidebar-review-link:hover {
  color: rgba(255,255,255,0.8);
}

/* -- Sidebar review link -- */
.sidebar-review-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.sidebar-review-link:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   TOOL CTA BOX — Two-column premium layout
   Overrides the affiliate CTA box defaults above
   ============================================================ */
.cta-box.cta-box--tool {
  display: grid !important;
  grid-template-columns: 120px 1fr;
  padding: 0 !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%) !important;
  border: none !important;
  box-shadow: 0 6px 32px rgba(10,22,40,0.22) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  position: relative;
  color: #fff;
}
.cta-box.cta-box--tool::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 15%, rgba(245,158,11,0.18) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cta-box.cta-box--tool .cta-box__left {
  background: rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.10);
  position: relative;
  z-index: 1;
}
.cta-box.cta-box--tool .cta-box__left-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.cta-box.cta-box--tool .cta-box__left-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-align: center;
  line-height: 1.3;
}
.cta-box.cta-box--tool .cta-box__right {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.cta-box.cta-box--tool .cta-box__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.25;
}
.cta-box.cta-box--tool .cta-box__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin: 0;
}
.cta-box.cta-box--tool .btn--primary {
  background: var(--amber) !important;
  color: var(--navy) !important;
  border-color: var(--amber) !important;
  font-weight: 800;
  align-self: flex-start;
  margin-top: 8px;
}
.cta-box.cta-box--tool .btn--primary:hover {
  background: var(--amber-dark) !important;
  border-color: var(--amber-dark) !important;
  color: var(--navy) !important;
}
@media (max-width: 600px) {
  .cta-box.cta-box--tool {
    grid-template-columns: 1fr !important;
  }
  .cta-box.cta-box--tool .cta-box__left {
    flex-direction: row;
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    justify-content: flex-start;
    gap: 12px;
  }
  .cta-box.cta-box--tool .cta-box__right {
    padding: 18px 20px;
  }
}

/* ============================================================
   RELATED GUIDES SECTION
   Card-grid component displayed at the bottom of articles
   ============================================================ */
.related-guides {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}
.related-guides__heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--indigo-mid);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-guides__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.related-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 860px) {
  .related-guides__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .related-guides__grid { grid-template-columns: 1fr; }
}
.related-guide-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.related-guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-mid), var(--indigo-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.related-guide-card:hover {
  border-color: var(--indigo-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.related-guide-card:hover::before {
  transform: scaleX(1);
}
.related-guide-card__section {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-mid);
  margin-bottom: 6px;
}
.related-guide-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0;
}
.related-guide-card__arrow {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--indigo-mid);
  transition: transform var(--transition);
}
.related-guide-card:hover .related-guide-card__arrow {
  transform: translateX(4px);
}

/* ─── TOOL PAGE: NEXT STEPS / PARTNER CTA SECTION ─── */
.tool-next-steps {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 2.5rem 1.5rem 4rem;
  border-top: 1px solid var(--border);
}

.tool-next-steps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 640px) {
  .tool-next-steps__grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure cta-boxes inside tool-next-steps fill their column */
.tool-next-steps__grid .cta-box {
  margin: 0;
}
