/* ============================================================
   STRATAMATE — Design System v2.1
   Navy + gold on warm cream. Wordmark: tight Plus Jakarta, optional
   navy gradient; gold accents on dark heroes. AA-oriented UI text.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');
@import url('promo-bar.css');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* RGB tuples for rgba(var(--*-rgb), a) — keep in sync with hex below */
  --navy-rgb:      26, 53, 88;
  --gold-rgb:      166, 124, 36;

  /* Brand — deeper navy (headings), bronze gold (readable on cream + white-on-gold CTAs) */
  --navy:          #1a3558;
  --navy-dark:     #132944;
  --navy-light:    #2a5082;
  --navy-faint:    rgba(var(--navy-rgb), 0.07);

  --gold:          #a67c24;
  --gold-dark:     #8a6620;
  --gold-light:    #c49338;
  --gold-ink:      #5c4818; /* gold-tinted text on cream (body links, labels) */
  --gold-on-dark:  #d4ad4f; /* accents on navy / dark cards (readable vs --gold) */
  --gold-soft:     rgba(var(--gold-rgb), 0.14);
  --gold-softer:   rgba(var(--gold-rgb), 0.07);

  /* Surface — slightly cooler cream (less muddy vs pure beige) */
  --cream:         #f2f0eb;
  --cream-dark:    #e8e5de;
  --cream-darker:  #dedad1;
  --white:         #ffffff;

  /* Ink — crisp hierarchy on new cream */
  --ink:           #0a1626;
  --ink-secondary: #1a2d42;
  --ink-muted:     #3d5268;
  --ink-faint:     #6b8299;

  /* Risk */
  --risk-critical: #b91c1c;
  --risk-critical-bg: rgba(185, 28, 28, 0.08);
  --risk-high:     #c2410c;
  --risk-high-bg:  rgba(194, 65, 12, 0.08);
  --risk-medium:   #a16207;
  --risk-medium-bg: rgba(161, 98, 7, 0.08);
  --risk-low:      #15803d;
  --risk-low-bg:   rgba(21, 128, 61, 0.08);

  /* Verdict */
  --verdict-buy:   #166534;
  --verdict-caution: #92400e;
  --verdict-avoid: #991b1b;

  /* Border */
  --border:        #d5d1c8;
  --border-dark:   #c4bfb4;
  --border-focus:  var(--navy);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Wordmark gradient (navbar / footer) — navy shift for depth */
  --brand-wordmark-grad: linear-gradient(155deg, #152a45 0%, #1a3558 45%, #234a72 100%);

  /* Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(13, 27, 46, 0.06);
  --shadow-sm: 0 2px 6px rgba(13, 27, 46, 0.08);
  --shadow:    0 4px 16px rgba(13, 27, 46, 0.1);
  --shadow-md: 0 8px 24px rgba(13, 27, 46, 0.11);
  --shadow-lg: 0 12px 32px rgba(13, 27, 46, 0.12);
  --shadow-xl: 0 24px 48px rgba(13, 27, 46, 0.16);
  --shadow-gold: 0 4px 22px rgba(var(--gold-rgb), 0.28);

  /* Transitions */
  --t-fast:  150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:  220ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:  350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1160px;
  --container-narrow: 760px;

  /* Z-index */
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  /* In-page anchors clear sticky nav */
  scroll-padding-top: calc(64px + var(--sp-3));
}
html:has(body.has-promo-bar) {
  scroll-padding-top: calc(64px + 44px + var(--sp-3));
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Skip link — keyboard users jump past nav */
.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 900;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  transition: transform var(--t-base);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-feature-settings: "kern" 1, "liga" 1;
}

.display-1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.04em; }
.display-2 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; }
.heading-1 { font-size: clamp(1.875rem, 3vw, 2.5rem); letter-spacing: -0.025em; }
.heading-2 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.02em; }
.heading-3 { font-size: var(--text-xl); letter-spacing: -0.015em; }
.label-caps {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.section { padding-block: var(--sp-20); }
.section-sm { padding-block: var(--sp-12); }

/* Launch promo bar: see promo-bar.css (@import above) */

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(242, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar .container {
  position: relative;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-8);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  border-radius: var(--r);
  margin: calc(-1 * var(--sp-2));
  padding: var(--sp-2);
  transition: background var(--t-fast);
}
.navbar-brand:hover {
  background: var(--navy-faint);
}
.navbar-brand:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.navbar-logo {
  height: 30px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(var(--navy-rgb), 0.12);
}
.navbar-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .navbar-wordmark {
    background: var(--brand-wordmark-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @media (prefers-reduced-motion: reduce) {
    .navbar-wordmark {
      background: none;
      -webkit-background-clip: unset;
      background-clip: unset;
      color: var(--navy);
    }
  }
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.navbar-link {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--r);
  transition: color var(--t-fast), background var(--t-fast);
}
.navbar-link:hover { color: var(--ink); background: var(--navy-faint); }
.navbar-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  color: var(--ink);
}
.navbar-link.active { color: var(--navy); font-weight: 600; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r);
  min-width: 44px;
  min-height: 44px;
  margin: calc(-1 * var(--sp-2));
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
  transform-origin: center;
}
.navbar-toggle span:nth-child(2) { opacity: 1; }
.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 160;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    padding: var(--sp-2) var(--sp-4) var(--sp-5);
    gap: 0;
    margin-top: 0;
    box-shadow: var(--shadow-lg);
    animation: navMenuIn var(--t-base) ease-out;
  }
  @keyframes navMenuIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .navbar-links.open li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .navbar-links.open li:last-child {
    border-bottom: none;
  }
  .navbar-links.open .navbar-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--sp-3) var(--sp-2);
    border-radius: var(--r);
    font-size: var(--text-base);
  }
  .navbar-toggle { display: flex; }
}

/* Lock background scroll when mobile menu is open */
@media (max-width: 768px) {
  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.btn-sm { padding: 0.4rem var(--sp-4); font-size: var(--text-xs); }
.btn-lg { padding: 0.875rem var(--sp-8); font-size: var(--text-base); border-radius: var(--r-lg); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-dark);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy-faint);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--navy-faint); color: var(--ink); transform: translateY(-1px); }

.btn:disabled, .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  transition-duration: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .btn:active:not(:disabled) { transform: none; }
  .navbar-links.open { animation: none; }
}

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--r-full);
  letter-spacing: 0.03em;
}
.badge-navy    { background: var(--navy-faint); color: var(--navy); border: 1px solid rgba(var(--navy-rgb), 0.15); }
.badge-gold    { background: var(--gold-softer); color: var(--gold-dark); border: 1px solid rgba(var(--gold-rgb), 0.2); }
.badge-critical { background: var(--risk-critical-bg); color: var(--risk-critical); }
.badge-high    { background: var(--risk-high-bg); color: var(--risk-high); }
.badge-medium  { background: var(--risk-medium-bg); color: var(--risk-medium); }
.badge-low     { background: var(--risk-low-bg); color: var(--risk-low); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xs);
}
.card-lg { padding: var(--sp-8); border-radius: var(--r-2xl); }
.card-flat { box-shadow: none; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: var(--sp-2);
}
.form-input {
  width: 100%;
  padding: 0.625rem var(--sp-4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: var(--text-sm);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--navy-rgb),  0.1);
}
.form-input::placeholder { color: var(--ink-faint); }

/* ============================================================
   DRAG-AND-DROP UPLOAD
   ============================================================ */
.upload-zone {
  position: relative;
  border: 2px dashed var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base);
  background: var(--cream);
  overflow: hidden;
}
.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.upload-zone:hover,
.upload-zone.drag-over,
.upload-zone:focus-within {
  border-color: var(--gold);
  background: var(--white);
}
.upload-zone:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--navy-rgb),  0.12);
}
.upload-zone.drag-over { box-shadow: 0 0 0 4px var(--gold-soft); }
.upload-zone.has-file {
  border-color: var(--navy);
  border-style: solid;
  background: var(--white);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-5);
  background: var(--gold-softer);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all var(--t-base);
}
.upload-zone:hover .upload-icon, .upload-zone.drag-over .upload-icon {
  background: var(--gold-soft);
  transform: scale(1.05);
}

.upload-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.upload-subtitle {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: var(--sp-6);
}

.upload-file-info {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--navy-faint);
  border-radius: var(--r);
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--navy);
  font-weight: 500;
}
.upload-file-info.visible { display: flex; }

@media (max-width: 480px) {
  .upload-zone { padding: var(--sp-10) var(--sp-6); }
  .upload-icon { width: 44px; height: 44px; margin-bottom: var(--sp-3); }
  .upload-title { font-size: var(--text-xl); }
}

/* ============================================================
   PROGRESS / LOADING
   ============================================================ */
.progress-bar {
  height: 3px;
  background: var(--cream-dark);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-2);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: var(--r-full);
  transition: width 0.4s ease;
  width: 0%;
}
.progress-fill.indeterminate {
  width: 40%;
  animation: indeterminate 1.4s ease-in-out infinite;
}
@keyframes indeterminate {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.loading-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--border-dark);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--sp-5);
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-steps {
  list-style: none;
  max-width: 320px;
  margin: var(--sp-8) auto 0;
  text-align: left;
}
.loading-step {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  opacity: 0.4;
  transition: all var(--t-base);
}
.loading-step.active { color: var(--ink); opacity: 1; }
.loading-step.done   { color: var(--risk-low); opacity: 1; }
.loading-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-dark);
  flex-shrink: 0;
}
.loading-step.active .loading-step-dot {
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--navy-rgb), 0.15);
}
.loading-step.done .loading-step-dot { background: var(--risk-low); }

/* ============================================================
   VERDICT BANNER
   ============================================================ */
.verdict-banner {
  border-radius: var(--r-2xl);
  padding: var(--sp-8) var(--sp-10);
  margin-bottom: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.verdict-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  opacity: 0.06;
  background: currentColor;
}
.verdict-buy    { background: linear-gradient(135deg, #052e16 0%, #166534 100%); color: white; }
.verdict-caution { background: linear-gradient(135deg, #431407 0%, #9a3412 100%); color: white; }
.verdict-avoid  { background: linear-gradient(135deg, #450a0a 0%, #991b1b 100%); color: white; }

.verdict-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--sp-2);
}
.verdict-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.verdict-summary {
  font-size: var(--text-sm);
  opacity: 0.85;
  max-width: 560px;
  line-height: 1.6;
}
.verdict-score {
  text-align: center;
  flex-shrink: 0;
}
.verdict-score-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}
.verdict-score-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  line-height: 1;
}
.verdict-score-label { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; color: white; }

@media (max-width: 600px) {
  .verdict-banner { grid-template-columns: 1fr; padding: var(--sp-6); }
  .verdict-score  { display: none; }
}

/* ============================================================
   METRICS ROW
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-5);
  position: relative;
}
.metric-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.metric-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.metric-sub {
  font-size: var(--text-xs);
  color: var(--ink-muted);
}
.metric-good .metric-value { color: var(--risk-low); }
.metric-warn .metric-value { color: var(--risk-medium); }
.metric-bad  .metric-value { color: var(--risk-critical); }

/* ============================================================
   TABS
   ============================================================ */
.tabs-bar-outer {
  position: relative;
}
.tabs-bar-outer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 2px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--cream, #f8f7f4));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s;
}
.tabs-bar-outer.scrolled-end::after { opacity: 0; }
.tabs-bar {
  display: flex;
  gap: var(--sp-1);
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--sp-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  border-radius: var(--r) var(--r) 0 0;
  transition: all var(--t-fast);
  background: transparent;
}
.tab-btn:hover { color: var(--ink); background: var(--navy-faint); }
.tab-btn.active {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--navy);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   RED FLAG CARDS
   ============================================================ */
.red-flags-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.red-flag-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t-fast);
}
.red-flag-card:hover { box-shadow: var(--shadow-sm); }
.red-flag-card.critical { border-left-color: var(--risk-critical); }
.red-flag-card.high     { border-left-color: var(--risk-high); }
.red-flag-card.medium   { border-left-color: var(--risk-medium); }
.red-flag-card.low      { border-left-color: var(--risk-low); }

.red-flag-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.red-flag-detail {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.5;
}
.red-flag-cost {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-top: var(--sp-1);
  font-weight: 500;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-heading {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.section-heading h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
}
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}

/* ============================================================
   FUND HEALTH BARS
   ============================================================ */
.fund-bar-wrap { margin-bottom: var(--sp-4); }
.fund-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-2);
}
.fund-bar-label { font-size: var(--text-sm); font-weight: 500; color: var(--ink-secondary); }
.fund-bar-value { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.fund-bar-track {
  height: 8px;
  background: var(--cream-dark);
  border-radius: var(--r-full);
  overflow: hidden;
}
.fund-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}
.fund-bar-fill.healthy   { background: linear-gradient(90deg, var(--risk-low), #22c55e); }
.fund-bar-fill.warning   { background: linear-gradient(90deg, var(--risk-medium), #f59e0b); }
.fund-bar-fill.critical  { background: linear-gradient(90deg, var(--risk-critical), #ef4444); }

/* ============================================================
   HERO (LANDING)
   ============================================================ */
.hero {
  padding: var(--sp-20) 0 var(--sp-24);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--navy-rgb), 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--gold-softer);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  color: var(--gold-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-trust-check {
  width: 16px;
  height: 16px;
  background: var(--gold-softer);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Hero card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
/* float keyframe — see HOMEPAGE ENHANCEMENTS section below */
.hero-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-card-title { color: white; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.hero-card-badge {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.hero-card-body { padding: var(--sp-5) var(--sp-6); }

.hero-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.hero-metric-row:last-child { border-bottom: none; }
.hero-metric-name { color: var(--ink-secondary); }
.hero-metric-val  { font-weight: 600; color: var(--ink); }

.hero-verdict-strip {
  background: linear-gradient(135deg, #052e16, #15803d);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-verdict-text { color: white; font-weight: 700; font-size: var(--text-sm); }
.hero-verdict-sub  { color: rgba(255,255,255,0.82); font-size: var(--text-xs); }
.hero-verdict-score {
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 380px;
    gap: var(--sp-10);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background: var(--white);
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.feature-item {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
  border: 1px solid transparent;
}
.feature-item:hover {
  background: var(--cream);
  border-color: var(--border);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-faint);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: var(--sp-4);
  transition: all var(--t-base);
}
.feature-item:hover .feature-icon {
  background: var(--navy);
  color: var(--white);
}
.feature-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.feature-desc { font-size: var(--text-sm); color: var(--ink-secondary); line-height: 1.6; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border-dark);
  z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  border: 4px solid var(--cream);
  box-shadow: var(--shadow-sm);
}
.step-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--sp-2); }
.step-desc  { font-size: var(--text-sm); color: var(--ink); line-height: 1.6; font-weight: 500; }

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  max-width: 440px;
  margin: var(--sp-12) auto 0;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.pricing-period { font-size: var(--text-sm); color: var(--ink-muted); margin-top: var(--sp-1); }
.pricing-features {
  margin: var(--sp-8) 0;
  text-align: left;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: var(--text-sm);
  color: var(--ink-secondary);
}
.pricing-check {
  width: 18px;
  height: 18px;
  background: var(--risk-low-bg);
  color: var(--risk-low);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: var(--sp-12) 0 var(--sp-8);
  box-shadow: inset 0 3px 0 0 rgba(var(--gold-rgb), 0.45);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-8);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: white;
  margin-bottom: var(--sp-3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-4);
}
.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  padding: var(--sp-1) 0;
  transition: color var(--t-fast);
}
.footer-link:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--text-xs);
}
.footer-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Australian Business Number — legal branding (ABR lookup) */
.footer-abn {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.42);
  margin-top: var(--sp-4);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.footer-abn a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-abn a:hover {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* ABN line on light-background pages (analyse, results, payment success) */
.footer-abn-strip {
  border-top: 1px solid var(--border);
  padding: var(--sp-8) var(--sp-6) var(--sp-10);
  background: var(--cream);
}
.footer-abn-light {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.footer-abn-light a {
  color: var(--ink-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-abn-light a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 380px;
  width: calc(100vw - var(--sp-10));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-4);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.25s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}
.toast.leaving {
  animation: slideOut 0.25s ease forwards;
}
@keyframes slideOut {
  to { transform: translateX(110%); opacity: 0; }
}
.toast-icon { flex-shrink: 0; margin-top: 1px; }
.toast-success .toast-icon { color: var(--risk-low); }
.toast-error   .toast-icon { color: var(--risk-critical); }
.toast-warning .toast-icon { color: var(--risk-medium); }
.toast-info    .toast-icon { color: var(--navy); }
.toast-message { font-size: var(--text-sm); color: var(--ink); line-height: 1.4; flex: 1; }
.toast-close {
  color: var(--ink-faint);
  flex-shrink: 0;
  padding: 2px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}
.toast-close:hover { color: var(--ink); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: var(--sp-12) 0 var(--sp-8);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-8);
  background: var(--white);
}
.page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

/* ============================================================
   ALERT BANNERS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
  border: 1px solid transparent;
}
.alert-info    { background: rgba(var(--navy-rgb), 0.06); border-color: rgba(var(--navy-rgb), 0.15); color: var(--navy); }
.alert-success { background: var(--risk-low-bg);  border-color: rgba(21,128,61,0.2); color: var(--risk-low); }
.alert-warning { background: var(--risk-medium-bg); border-color: rgba(161,98,7,0.2); color: var(--risk-medium); }
.alert-error   { background: var(--risk-critical-bg); border-color: rgba(185,28,28,0.2); color: var(--risk-critical); }

/* ============================================================
   RESULTS PAGE SPECIFICS
   ============================================================ */
.results-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
  align-items: start;
  padding-block: var(--sp-8);
}
@media (max-width: 1000px) {
  .results-layout { grid-template-columns: 1fr; }
  .results-sidebar { display: none; }
}

.results-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.sidebar-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
}

.key-takeaway {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.5;
}
.key-takeaway:last-child { border-bottom: none; }
.key-takeaway-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ============================================================
   THEMATIC SECTIONS
   ============================================================ */
.thematic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--sp-4);
}
.thematic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.thematic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
}
.thematic-name { font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.thematic-summary { font-size: var(--text-sm); color: var(--ink-secondary); line-height: 1.5; }
.thematic-findings { margin-top: var(--sp-4); border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.thematic-finding {
  font-size: var(--text-xs);
  color: var(--ink-secondary);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--cream-dark);
  line-height: 1.5;
  display: flex;
  gap: var(--sp-2);
}
.thematic-finding:last-child { border-bottom: none; }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  color: var(--ink-muted);
}
.empty-state-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-dark);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  color: var(--ink-faint);
}
.empty-state-title { font-size: var(--text-lg); font-weight: 600; color: var(--ink-secondary); margin-bottom: var(--sp-2); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.flex        { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-5  { margin-bottom: var(--sp-5); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.w-full { width: 100%; }

/* ============================================================
   EDITORIAL REDESIGN — Dark hero, proof strip, editorial rows
   ============================================================ */

/* ── Dark Hero Variant ───────────────────────────────────── */
.hero-dark {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 70% 50% at 75% -10%, rgba(var(--gold-rgb), 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 110%, rgba(var(--gold-rgb), 0.07) 0%, transparent 55%);
  padding: var(--sp-20) 0 var(--sp-24);
  position: relative;
  overflow: hidden;
}
/* Dot-grid texture */
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle 1px at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
/* Gold atmospheric bloom — upper right */
.hero-dark::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -80px;
  width: 760px;
  height: 760px;
  background: radial-gradient(ellipse at center, rgba(212,173,79,0.2) 0%, rgba(212,173,79,0.06) 45%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Subtle dot-matrix texture on dark hero */
.hero-dark .container { position: relative; z-index: 1; }

.hero-dark .hero-eyebrow {
  background: rgba(var(--gold-rgb), 0.15);
  border-color: rgba(var(--gold-rgb), 0.3);
  color: var(--gold-light);
}
.hero-dark .hero-eyebrow-dot { background: var(--gold-on-dark); }
.hero-dark .hero-title { color: #ffffff; }
.hero-dark .hero-title em { color: var(--gold-on-dark); font-style: normal; font-weight: 800; }
/* Playfair Display serif variant for the hero italic */
.hero-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
/* Hero entry animations */
.hero-dark .hero-content {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-dark .hero-visual {
  animation: heroSlideIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dark .hero-content,
  .hero-dark .hero-visual { animation: none; }
}
.hero-dark .hero-description { color: rgba(255,255,255,0.88); }
.hero-dark .hero-trust-item { color: rgba(255,255,255,0.78); }
.hero-dark .hero-trust-check { background: rgba(var(--gold-rgb), 0.15); color: var(--gold-on-dark); }
.hero-dark .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.hero-dark .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.hero-gold-rule {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--sp-5);
}

/* ── Proof Strip ─────────────────────────────────────────── */
.proof-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-2) 0;
}
.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-stat {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}
.proof-stat:last-child { border-right: none; }
.proof-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.proof-stat-label {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .proof-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-stat:nth-child(2) { border-right: none; }
  .proof-stat:nth-child(3),
  .proof-stat:nth-child(4) { border-top: 1px solid var(--border); }
}

/* ── Editorial Feature Rows ──────────────────────────────── */
.features-editorial {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.features-editorial-header {
  padding: var(--sp-16) var(--sp-6) 0;
  max-width: var(--container);
  margin-inline: auto;
}
.feature-editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  overflow: hidden;
}
.feature-editorial-row:last-child { border-bottom: none; }
.feature-editorial-copy {
  padding: var(--sp-16) var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}
.feature-editorial-visual {
  background: var(--cream);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-10);
  min-height: 360px;
}
.feature-editorial-row.alt .feature-editorial-copy { order: 2; margin-left: auto; }
.feature-editorial-row.alt .feature-editorial-visual { border-left: none; border-right: 1px solid var(--border); order: 1; }

.feature-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--sp-4);
}
.feature-editorial-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.feature-editorial-body {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.75;
  max-width: 440px;
}
.feature-bullets {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.5;
}
.feature-bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}

/* Inline UI mockup cards inside feature visuals */
.fv-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
}
.fv-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fv-card-title { color: white; font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; }
.fv-card-badge {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.fv-card-body { padding: var(--sp-4) var(--sp-5); }
.fv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.fv-row:last-child { border-bottom: none; }
.fv-label { color: var(--ink-muted); }
.fv-val { font-weight: 600; color: var(--ink); }
.fv-crit { color: var(--risk-critical); }
.fv-warn { color: var(--risk-medium); }
.fv-good { color: var(--risk-low); }
.fv-verdict {
  background: linear-gradient(135deg, #431407, #9a3412);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fv-verdict-text { color: white; font-weight: 700; font-size: var(--text-sm); }
.fv-verdict-score { color: white; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }

/* Fund health bars for feature visual */
.fv-fund-bar { margin-bottom: var(--sp-3); }
.fv-fund-label { display: flex; justify-content: space-between; font-size: var(--text-xs); margin-bottom: var(--sp-1); }
.fv-fund-name { color: var(--ink-secondary); font-weight: 500; }
.fv-fund-val { color: var(--ink); font-weight: 700; }
.fv-fund-track { height: 8px; background: var(--cream-dark); border-radius: var(--r-full); overflow: hidden; }
.fv-fund-fill { height: 100%; border-radius: var(--r-full); }
.fv-fund-healthy { background: linear-gradient(90deg, #15803d, #22c55e); }
.fv-fund-warn { background: linear-gradient(90deg, #a16207, #f59e0b); }

/* Timeline visual for feature */
.fv-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.fv-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--border-dark);
}
.fv-event {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  align-items: flex-start;
  position: relative;
}
.fv-event-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-muted);
}
.fv-event-dot.high { border-color: var(--risk-high); color: var(--risk-high); }
.fv-event-dot.low  { border-color: var(--risk-low);  color: var(--risk-low); }
.fv-event-year { font-size: var(--text-xs); font-weight: 700; color: var(--gold-dark); margin-bottom: 2px; }
.fv-event-text { font-size: var(--text-xs); color: var(--ink-secondary); line-height: 1.4; }

@media (max-width: 900px) {
  .feature-editorial-row { grid-template-columns: 1fr; }
  .feature-editorial-visual { display: none; }
  .feature-editorial-copy { padding: var(--sp-10) var(--sp-6); max-width: 100%; }
  .feature-editorial-row.alt .feature-editorial-copy { order: 0; }
  .features-editorial-header { padding: var(--sp-10) var(--sp-6) 0; }
}

/* ── Editorial How-it-Works Steps ────────────────────────── */
.steps-editorial {
  background: var(--cream);
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
}
.step-editorial {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-10);
  align-items: center;
  padding: var(--sp-10) 0;
  border-bottom: 1px dashed var(--border-dark);
}
.step-editorial:last-child { border-bottom: none; }

.step-editorial-num-wrap {
  text-align: right;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-1);
}
.step-editorial-bg-num {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 600;
  color: var(--navy);
  opacity: 0.08;
  line-height: 0.9;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
.step-editorial-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.step-editorial-content {
  padding-left: var(--sp-10);
  border-left: 2px solid var(--gold);
}
.step-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.step-editorial-desc {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.75;
  max-width: 540px;
}

@media (max-width: 700px) {
  .step-editorial { grid-template-columns: 1fr; gap: var(--sp-3); }
  .step-editorial-num-wrap { flex-direction: row; align-items: baseline; gap: var(--sp-3); text-align: left; }
  .step-editorial-bg-num { font-size: clamp(3.5rem, 15vw, 5rem); }
  .step-editorial-content { padding-left: var(--sp-5); }
}

/* ── Dark Pricing Section ────────────────────────────────── */
.pricing-navy {
  background: var(--navy);
  padding: var(--sp-20) 0 var(--sp-24);
  background-image: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
}
.pricing-navy-subtitle { color: rgba(255,255,255,0.78); margin-top: var(--sp-3); font-size: var(--text-lg); }
.pricing-card-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.pricing-card-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.5), transparent);
}
.pricing-card-dark:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.pricing-card-dark.featured {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-xl);
}
.pricing-card-dark.featured::before {
  background: linear-gradient(90deg, var(--navy-light), var(--gold), var(--navy-light));
  height: 2px;
}
.pricing-card-dark.featured:hover { transform: translateY(-3px); }
.pricing-label-dark {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: var(--sp-4);
}
.pricing-card-dark.featured .pricing-label-dark { color: var(--gold-dark); }
.pricing-amount-dark {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: white;
  line-height: 1;
}
.pricing-card-dark.featured .pricing-amount-dark { color: var(--ink); }
.pricing-period-dark { font-size: var(--text-sm); color: rgba(255,255,255,0.7); margin-top: var(--sp-1); margin-bottom: var(--sp-6); }
.pricing-card-dark.featured .pricing-period-dark { color: var(--ink-muted); }
.pricing-hr-dark { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: var(--sp-6) 0; }
.pricing-card-dark.featured .pricing-hr-dark { border-top-color: var(--border); }
.pricing-feature-dark {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.88);
}
.pricing-card-dark.featured .pricing-feature-dark { color: var(--ink-secondary); }
.pricing-check-dark {
  width: 18px;
  height: 18px;
  background: rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card-dark.featured .pricing-check-dark { background: var(--risk-low-bg); color: var(--risk-low); }
.pricing-best-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

/* ── Analyse Page Two-Column Layout ──────────────────────── */
.analyse-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-8);
  max-width: 1040px;
  margin: var(--sp-12) auto var(--sp-20);
  padding-inline: var(--sp-6);
  align-items: start;
}
.analyse-main-col {}
.analyse-sidebar-col {
  position: sticky;
  top: 80px;
}
.analyse-sidebar-card {
  background: var(--navy);
  border-radius: var(--r-2xl);
  padding: var(--sp-8) var(--sp-7) var(--sp-7);
  box-shadow: 0 12px 40px rgba(var(--navy-rgb), 0.35);
}
.analyse-sidebar-heading {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-6);
  padding: 0 0 var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.analyse-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Last feature row sits above the price callout — no double divider */
.analyse-sidebar-item:has(+ .analyse-sidebar-price) {
  border-bottom: none;
}
.analyse-sidebar-icon {
  width: 42px;
  height: 42px;
  background: rgba(var(--gold-rgb), 0.2);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-on-dark);
  flex-shrink: 0;
  /* Align icon centre with first line of title (multi-line body copy) */
  margin-top: 0.125rem;
}
.analyse-sidebar-icon svg {
  width: 20px;
  height: 20px;
}
.analyse-sidebar-item-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--sp-1);
  line-height: 1.35;
}
.analyse-sidebar-item-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}
.analyse-sidebar-price {
  background: rgba(var(--gold-rgb), 0.12);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-5);
  margin-top: var(--sp-6);
  text-align: center;
}
.analyse-sidebar-price-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.analyse-sidebar-price-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.72);
  margin-top: var(--sp-1);
}

.analyse-header-serif {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-3);
}

@media (max-width: 860px) {
  .analyse-layout { grid-template-columns: 1fr; }
  .analyse-sidebar-col { display: none; }
}

/* ── "Who it's for" cards — slightly refreshed ───────────── */
.who-card {
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--white);
  transition: all var(--t-base);
}
.who-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.who-card-dark {
  background: var(--navy);
  border-color: var(--navy);
}
.who-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.who-card-desc {
  color: var(--ink-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.who-card-dark .who-card-title { color: white; }
.who-card-dark .who-card-desc  { color: rgba(255,255,255,0.82); }



/* ============================================================
   SCROLL REVEAL ANIMATIONS
   JS sets opacity/transform via inline styles — not CSS.
   This means content is always visible if JS is slow or fails.
   .sm-hidden is set by JS only after observer is ready.
   ============================================================ */

.sm-hidden {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sm-hidden.sm-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sm-hidden { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Updated proof-stat-number for Plus Jakarta Sans ──────── */
.proof-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ── Updated step bg numbers for Plus Jakarta Sans ──────────*/
.step-editorial-bg-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 800;
  color: var(--navy);
  opacity: 0.07;
  line-height: 0.9;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════
   SECTION HEADER UTILITIES — replace inline styles
═══════════════════════════════════════════════════════════ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: var(--sp-3);
}
.section-eyebrow-gold { color: var(--gold-ink); }

.section-heading-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
  max-width: 540px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-heading-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-heading-white {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  color: white;
}

/* ═══════════════════════════════════════════════════════════
   REPORT PREVIEW — hero visual (editorial, not SaaS card)
═══════════════════════════════════════════════════════════ */
.report-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  font-size: var(--text-sm);
}
.report-preview-prop-line {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: var(--sp-1);
}
.report-preview-address {
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 3px;
}
.report-preview-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-4);
}
.report-preview-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: var(--sp-4) 0;
}
.report-preview-fund { margin-bottom: var(--sp-3); }
.report-preview-fund:last-of-type { margin-bottom: 0; }
.report-preview-fund-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 5px;
}
.report-preview-fund-name { color: rgba(255,255,255,0.55); }
.report-preview-fund-amount { color: white; font-weight: 700; }
.report-preview-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.report-preview-bar-fill { height: 100%; border-radius: 2px; }
.report-preview-bar-fill.good { background: rgba(var(--gold-rgb), 0.75); }
.report-preview-bar-fill.low  { background: rgba(248,113,113,0.65); }

.report-preview-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
}
.report-preview-stat:last-of-type { border-bottom: none; }
.report-preview-stat-label { color: rgba(255,255,255,0.5); }
.report-preview-stat-val   { font-weight: 600; color: white; }
.report-preview-stat-val.warn  { color: #fbbf24; }
.report-preview-stat-val.alert { color: #f87171; }

.report-preview-verdict {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-preview-verdict-badge {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.report-preview-verdict-note { font-size: 11px; color: rgba(255,255,255,0.5); }
.report-preview-verdict-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.report-preview-verdict-score sub {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  vertical-align: baseline;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE DATA PANELS — flat, editorial (no nested cards)
═══════════════════════════════════════════════════════════ */
.feature-data-panel {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(var(--navy-rgb), 0.07);
}
.feature-panel-head {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.feature-panel-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-display);
}
.feature-panel-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--navy-faint);
  color: var(--navy);
  border-radius: var(--r-full);
}
.feature-panel-body { padding: var(--sp-5); }

/* Flag items */
.flag-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.flag-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r);
}
.flag-item.flag-critical { background: var(--risk-critical-bg); }
.flag-item.flag-high     { background: var(--risk-high-bg); }
.flag-item.flag-medium   { background: var(--risk-medium-bg); }
.flag-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}
.flag-item.flag-critical .flag-badge { color: var(--risk-critical); border: 1px solid var(--risk-critical); }
.flag-item.flag-high     .flag-badge { color: var(--risk-high);     border: 1px solid var(--risk-high); }
.flag-item.flag-medium   .flag-badge { color: var(--risk-medium);   border: 1px solid var(--risk-medium); }
.flag-text { font-size: var(--text-xs); color: var(--ink); font-weight: 500; line-height: 1.45; }

/* Fund display */
.fund-display { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.fund-item-meta { display: flex; justify-content: space-between; margin-bottom: var(--sp-1); font-size: var(--text-xs); }
.fund-item-name   { color: var(--ink-secondary); font-weight: 500; }
.fund-item-amount { color: var(--ink); font-weight: 700; }
.fund-track { height: 5px; background: var(--border-dark); border-radius: 3px; overflow: hidden; }
.fund-fill { height: 100%; border-radius: 3px; }
.fund-fill.healthy  { background: #15803d; }
.fund-fill.moderate { background: #a16207; }

/* Stat table */
.stat-table { display: flex; flex-direction: column; }
.stat-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--ink-secondary); }
.stat-val   { font-weight: 600; color: var(--ink); }
.stat-val.warn  { color: var(--risk-medium); }
.stat-val.alert { color: var(--risk-high); }

/* Timeline */
.tl-list { display: flex; flex-direction: column; }
.tl-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: none; }
.tl-year-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-faint);
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.tl-dot.high   { background: var(--risk-high); }
.tl-dot.medium { background: var(--risk-medium); }
.tl-dot.ok     { background: var(--risk-low); }
.tl-text { font-size: var(--text-xs); color: var(--ink); font-weight: 500; line-height: 1.45; }

/* Panel verdict footer */
.panel-verdict {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-5);
  background: var(--navy);
}
.panel-verdict-label { font-size: var(--text-sm); font-weight: 600; color: white; }
.panel-verdict-score {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-display);
}

/* ═══════════════════════════════════════════════════════════
   WHO IT'S FOR — editorial ruled columns (no card grid)
═══════════════════════════════════════════════════════════ */
.who-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.who-editorial-col {
  padding: var(--sp-10) var(--sp-8);
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.who-editorial-col:first-child { padding-left: 0; }
.who-editorial-col:last-child  { padding-right: 0; border-right: none; }

.who-col-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}
.who-col-role {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.who-col-heading {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.who-col-body {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.65;
  flex: 1;
}
.who-col-price {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.who-col-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  width: fit-content;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.who-col-cta:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

@media (max-width: 860px) {
  .who-editorial { grid-template-columns: 1fr; }
  .who-editorial-col {
    padding: var(--sp-8) 0;
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
  .who-editorial-col:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   AUDIENCE SOLUTIONS — buyer / agent / conveyancer cards
═══════════════════════════════════════════════════════════ */
.audience-solutions {
  padding: var(--sp-16) 0 var(--sp-12);
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.audience-solutions-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.audience-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.audience-solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.audience-solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.audience-solution-kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.audience-solution-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.audience-solution-body {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.audience-solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  margin-top: var(--sp-2);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.audience-solution-cta:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}
@media (max-width: 900px) {
  .audience-solutions-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PRICING — classes to replace inline styles
═══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  max-width: 820px;
  margin-inline: auto;
}
.pricing-feature-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.pricing-agent-value  { font-size: 0.8125rem; color: var(--navy); font-weight: 600; margin-bottom: var(--sp-3); }
.pricing-footer-note  { font-size: 0.75rem; color: rgba(255,255,255,0.42); margin-top: var(--sp-3); text-align: center; }
.pricing-monthly-note { font-size: 0.75rem; color: var(--ink-muted); margin-top: var(--sp-3); text-align: center; }
.pricing-cta-wrap     { margin-top: var(--sp-8); }

/* Disclaimer section */
.disclaimer-section {
  background: var(--cream-dark);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
}
.disclaimer-text {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.7;
  text-align: center;
}

/* ============================================================
   TICKER / MARQUEE STRIP
   ============================================================ */
.ticker-strip {
  background: #0a1420;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 65s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212,173,79,0.65);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-strip { display: none; }
}

/* ============================================================
   HOMEPAGE ENHANCEMENTS
   ============================================================ */

/* Float animation — more perceptible amplitude */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.3deg); }
  66%       { transform: translateY(-5px) rotate(-0.2deg); }
}

/* Feature visual panel — subtle entry via the reveal system */
.feature-editorial-visual {
  transition: background var(--t-base);
}
.feature-editorial-row:hover .feature-editorial-visual {
  background: var(--cream-dark);
}

/* Proof stat — gold accent on the number suffix */
.proof-stat-suffix {
  color: var(--gold-dark);
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 1px;
}

/* Who editorial — hover state on columns */
.who-editorial-col {
  transition: background var(--t-fast);
}
.who-editorial-col:hover {
  background: var(--navy-faint);
}

/* Step editorial — larger ghost number on hover */
.step-editorial:hover .step-editorial-bg-num {
  opacity: 0.12;
}
.step-editorial-bg-num {
  transition: opacity var(--t-base);
}

/* Audience solution cards — icon spot */
.audience-solution-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-softer);
  border: 1px solid rgba(var(--gold-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-bottom: var(--sp-2);
}
