/* ==========================================================================
   RHER LATER LIFE & RIO MORTGAGES PAGE
   Warm, trustworthy, highly readable — designed for older UK audiences
   Mobile-first responsive design. All classes prefixed `llm-`.
   ========================================================================== */


/* Draft Notice — identical to LTM page */
.adv-draft-notice {
  background: #FFF3E0;
  border-bottom: 1px solid rgba(230, 81, 0, 0.2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-align: center;
}


/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.llm-section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .llm-section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1200px) {
  .llm-section {
    padding: var(--space-24) 0;
  }
}

.llm-section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  text-align: center;
  line-height: 1.2;
  text-wrap: balance;
}

.llm-section-intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 64ch;
  margin: 0 auto var(--space-10);
  line-height: 1.65;
}

.llm-body-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.llm-body-text p + p {
  margin-top: var(--space-4);
}


/* ==========================================================================
   BUTTON VARIANTS FOR CTA SECTIONS
   ========================================================================== */

/* White-background button (for use on coloured section backgrounds) */
.llm-btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-md);
}

.llm-btn-white:hover {
  background: #F5F5F5;
  color: var(--color-primary-hover);
}

/* Ghost button (transparent, white border — for dark/coloured backgrounds) */
.llm-btn-white-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-md);
}

.llm-btn-white-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Light outline button — for hero secondary CTA */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   SECTION 1: HERO (.llm-hero)
   Full-width background image, navy overlay, centred white text, single CTA
   ========================================================================== */

.llm-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 768px) {
  .llm-hero {
    min-height: 620px;
  }
}

@media (min-width: 1200px) {
  .llm-hero {
    min-height: 680px;
  }
}

.llm-hero-bg {
  position: absolute;
  inset: 0;
}

.llm-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Warm-tinted navy overlay */
.llm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(30, 42, 74, 0.82) 0%,
    rgba(30, 42, 74, 0.66) 45%,
    rgba(30, 42, 74, 0.84) 100%
  );
}

.llm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 480px) {
  .llm-hero-content {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 768px) {
  .llm-hero-content {
    padding: var(--space-16) var(--space-8);
  }
}

.llm-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.llm-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

/* Subtle warm highlight for key phrase */
.llm-hero-headline em {
  font-style: normal;
  color: #FFB380;
}

.llm-hero-subhead {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .llm-hero-subhead {
    font-size: var(--text-base);
  }
}

.llm-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}

.llm-hero-actions .btn {
  width: 100%;
  max-width: 420px;
  font-size: var(--text-sm);
  text-align: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .llm-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
  }
  .llm-hero-actions .btn {
    width: auto;
    max-width: none;
    font-size: var(--text-base);
  }
}

.llm-hero-trust {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.58);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.5;
}


/* ==========================================================================
   SECTION 2: WHAT ARE LATER LIFE MORTGAGES (.llm-explainer)
   White bg, two-column: text left, family-tree diagram right
   ========================================================================== */

.llm-explainer {
  background: var(--color-bg);
}

/* Two-column layout reused across sections */
.llm-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .llm-two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

/* Visual column right on desktop */
@media (min-width: 900px) {
  .llm-two-col--img-right .llm-two-col-visual {
    order: 1;
  }
}

.llm-explainer-text .llm-section-title {
  text-align: left;
}

.llm-explainer-text .llm-section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* ---- Family-tree style SVG diagram container ---- */

.llm-diagram {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* Root node — parent category */
.llm-diagram-root {
  background: var(--color-navy);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

/* Connector line between root and children */
.llm-diagram-connector {
  width: 2px;
  height: var(--space-5);
  background: rgba(30, 42, 74, 0.25);
  flex-shrink: 0;
}

/* Horizontal branch bar */
.llm-diagram-branch-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
}

@media (min-width: 480px) {
  .llm-diagram-branch-bar {
    gap: var(--space-4);
  }
}

/* Individual child node */
.llm-diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}

.llm-diagram-node-box {
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}

/* Node colour variants */
.llm-diagram-node-box--orange {
  background: rgba(230, 81, 0, 0.1);
  border: 2px solid rgba(230, 81, 0, 0.4);
  color: #C44400;
}

.llm-diagram-node-box--navy {
  background: rgba(30, 42, 74, 0.08);
  border: 2px solid rgba(30, 42, 74, 0.3);
  color: var(--color-navy);
}

.llm-diagram-node-box--teal {
  background: rgba(13, 148, 136, 0.08);
  border: 2px solid rgba(13, 148, 136, 0.35);
  color: #0D7A6E;
}

.llm-diagram-node-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  max-width: 14ch;
}

@media (min-width: 900px) {
  .llm-explainer .container {
    max-width: var(--content-wide);
  }
}


/* ==========================================================================
   SECTION 3: MAIN TYPES (.llm-types)
   Alt bg, three vertically-stacked type blocks with coloured left borders
   ========================================================================== */

.llm-types {
  background: var(--color-bg-alt);
}

.llm-types-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 820px;
  margin: 0 auto;
}

.llm-type-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left-width: 5px;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.llm-type-block:hover {
  box-shadow: var(--shadow-md);
}

/* Coloured left-border variants */
.llm-type-block--rio    { border-left-color: var(--color-primary); }
.llm-type-block--termio { border-left-color: var(--color-navy); }
.llm-type-block--capital { border-left-color: #0D9488; } /* teal */

.llm-type-block-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.llm-type-block-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.2em 0.8em;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.llm-type-block--rio    .llm-type-block-badge {
  background: rgba(230, 81, 0, 0.1);
  color: #C44400;
}

.llm-type-block--termio .llm-type-block-badge {
  background: rgba(30, 42, 74, 0.08);
  color: var(--color-navy);
}

.llm-type-block--capital .llm-type-block-badge {
  background: rgba(13, 148, 136, 0.1);
  color: #0D7A6E;
}

.llm-type-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0;
}

.llm-type-block p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Key facts list inside type blocks */
.llm-type-block-facts {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.llm-type-block-facts li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.llm-type-block-facts li::before {
  content: '•';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}


/* ==========================================================================
   SECTION 4: COMPARISON MATRIX (.llm-comparison)
   Desktop: 4-column table. Mobile: stacked cards per criteria row.
   ========================================================================== */

.llm-comparison {
  background: var(--color-bg);
}

/* ---- Desktop table ---- */

.llm-comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.llm-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--text-base);
  min-width: 600px;
  display: none; /* hidden on mobile, shown on desktop */
}

@media (min-width: 768px) {
  .llm-comparison-table {
    display: table;
  }
}

/* Header row */
.llm-comparison-table thead tr {
  background: var(--color-navy);
}

.llm-comparison-table thead th {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #FFFFFF;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  line-height: 1.3;
  vertical-align: middle;
}

.llm-comparison-table thead th:first-child {
  width: 30%;
}

.llm-comparison-table thead th:not(:first-child) {
  text-align: center;
}

/* Striped body rows */
.llm-comparison-table tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

.llm-comparison-table tbody tr:nth-child(odd) {
  background: var(--color-bg);
}

.llm-comparison-table tbody tr:hover {
  background: var(--color-bg-warm);
}

/* Criteria cell (first column) */
.llm-comparison-table td {
  padding: var(--space-4) var(--space-5);
  color: var(--color-text);
  line-height: 1.55;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
}

.llm-comparison-table td:not(:first-child) {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* First column: criteria label + icon */
.llm-comparison-table td:first-child {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--text-sm);
}

.llm-comparison-criteria {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.llm-comparison-criteria-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-comparison-criteria-icon svg {
  width: 17px;
  height: 17px;
  color: var(--color-primary);
}

/* Tick / cross / dash indicators */
.llm-comparison-yes  { color: #0D7A6E; font-weight: 700; }
.llm-comparison-no   { color: #B45309; font-weight: 700; }
.llm-comparison-part { color: var(--color-text-muted); }

/* ---- Mobile stacked cards ---- */

.llm-comparison-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .llm-comparison-cards {
    display: none; /* hidden on desktop, table shown instead */
  }
}

.llm-comparison-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.llm-comparison-card-header {
  background: var(--color-navy);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.llm-comparison-card-header-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-comparison-card-header-icon svg {
  width: 15px;
  height: 15px;
  color: #FFB380;
}

.llm-comparison-card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.llm-comparison-card-rows {
  display: flex;
  flex-direction: column;
}

.llm-comparison-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

.llm-comparison-card-row:last-child {
  border-bottom: none;
}

.llm-comparison-card-row:nth-child(even) {
  background: var(--color-bg-alt);
}

.llm-comparison-card-cell {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
  border-right: 1px solid var(--color-border);
  vertical-align: middle;
}

.llm-comparison-card-cell:last-child {
  border-right: none;
}

.llm-comparison-card-cell--label {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--text-xs);
}


/* ==========================================================================
   SECTION 5: HOW ASSESSED (.llm-assessment)
   Alt bg, three-column assessment explainer cards
   ========================================================================== */

.llm-assessment {
  background: var(--color-bg-alt);
}

.llm-assessment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .llm-assessment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .llm-assessment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.llm-assessment-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.llm-assessment-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 81, 0, 0.2);
}

.llm-assessment-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-assessment-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.llm-assessment-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0;
}

.llm-assessment-card p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}


/* ==========================================================================
   SECTION 6: FIXED RATES (.llm-rates)
   White bg, body text + pros/cons panel. Two columns on desktop.
   ========================================================================== */

.llm-rates {
  background: var(--color-bg);
}

.llm-rates-intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 68ch;
  margin: 0 auto var(--space-10);
  text-align: center;
  line-height: 1.65;
}

.llm-rates-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .llm-rates-panels {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.llm-rates-panel {
  border: 1px solid var(--color-border);
  border-left-width: 5px;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Green-tinted pros panel */
.llm-rates-panel--pros {
  border-left-color: #16A34A;
  background: rgba(22, 163, 74, 0.04);
}

/* Amber/orange-tinted cons panel */
.llm-rates-panel--cons {
  border-left-color: #F59E0B;
  background: rgba(245, 158, 11, 0.04);
}

.llm-rates-panel-heading {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.llm-rates-panel--pros .llm-rates-panel-heading {
  color: #15803D;
}

.llm-rates-panel--cons .llm-rates-panel-heading {
  color: #B45309;
}

.llm-rates-panel-heading-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-rates-panel--pros .llm-rates-panel-heading-icon {
  background: rgba(22, 163, 74, 0.12);
}

.llm-rates-panel--cons .llm-rates-panel-heading-icon {
  background: rgba(245, 158, 11, 0.12);
}

.llm-rates-panel--pros .llm-rates-panel-heading-icon svg {
  width: 17px;
  height: 17px;
  color: #16A34A;
}

.llm-rates-panel--cons .llm-rates-panel-heading-icon svg {
  width: 17px;
  height: 17px;
  color: #D97706;
}

.llm-rates-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.llm-rates-panel-list li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.llm-rates-panel-list li::before {
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
  font-size: 1.1em;
}

.llm-rates-panel--pros .llm-rates-panel-list li::before {
  content: '✓';
  color: #16A34A;
}

.llm-rates-panel--cons .llm-rates-panel-list li::before {
  content: '–';
  color: #D97706;
}


/* ==========================================================================
   SECTION 7: RISKS AND TRADE-OFFS (.llm-risks)
   Amber-tinted warning cards. 2-col desktop, 1-col mobile.
   ========================================================================== */

.llm-risks {
  background: var(--color-bg-warm);
  border-top: 1px solid rgba(230, 81, 0, 0.12);
  border-bottom: 1px solid rgba(230, 81, 0, 0.12);
}

.llm-risks-intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 68ch;
  margin: 0 auto var(--space-8);
  text-align: center;
  line-height: 1.65;
}

.llm-risks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .llm-risks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.llm-risk-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 81, 0, 0.15);
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  backdrop-filter: blur(2px);
  transition: box-shadow var(--transition-interactive);
}

.llm-risk-card:hover {
  box-shadow: var(--shadow-md);
}

.llm-risk-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-risk-card-icon svg {
  width: 22px;
  height: 22px;
  color: #B45309;
}

.llm-risk-card-body {
  flex: 1;
}

.llm-risk-card-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.llm-risk-card-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   SECTION 8: WHO THESE SUIT (.llm-suitability)
   Two-column: image left, text + bullet checklist right
   ========================================================================== */

.llm-suitability {
  background: var(--color-bg);
}

.llm-suitability-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.llm-suitability-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
  .llm-suitability-img {
    aspect-ratio: auto;
    min-height: 440px;
  }
}

.llm-suitability-text .llm-section-title {
  text-align: left;
}

.llm-suitability-text .llm-section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Orange checkmark bullet list */
.llm-suitability-list {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.llm-suitability-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

/* Orange checkmark icon circle */
.llm-check-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.llm-check-icon svg {
  width: 15px;
  height: 15px;
  color: #FFFFFF;
}


/* ==========================================================================
   SECTION 9: WHY ADVICE MATTERS (.llm-advice)
   Navy background, white text, centred. Clean and authoritative.
   ========================================================================== */

.llm-advice {
  background: var(--color-navy);
  padding: var(--space-16) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .llm-advice {
    padding: var(--space-20) 0;
  }
}

.llm-advice .llm-section-title {
  color: #FFFFFF;
}

.llm-advice .llm-section-intro {
  color: rgba(255, 255, 255, 0.78);
}

.llm-advice-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 auto var(--space-10);
}

.llm-advice-body p + p {
  margin-top: var(--space-4);
}

/* Proof points on navy bg */
.llm-advice-proofs {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 540px) {
  .llm-advice-proofs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .llm-advice-proofs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.llm-advice-proof {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}

.llm-advice-proof:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.llm-advice-proof-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(230, 81, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llm-advice-proof-icon svg {
  width: 22px;
  height: 22px;
  color: #FFB380;
}

.llm-advice-proof-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.llm-advice-proof-text strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.llm-advice-proof-text span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}


/* ==========================================================================
   SECTION 10: FINAL CTA (.llm-final-cta)
   Orange background, white text, centred. Single white CTA button.
   ========================================================================== */

.llm-final-cta {
  background: var(--color-primary);
  text-align: center;
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .llm-final-cta {
    padding: var(--space-20) 0;
  }
}

.llm-final-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-4);
}

.llm-final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  line-height: 1.15;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.llm-final-cta-lead {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}

.llm-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.llm-final-cta-actions .btn {
  max-width: 100%;
  box-sizing: border-box;
}

/* White button for orange bg */
.llm-final-cta-actions .llm-btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
}

.llm-final-cta-actions .llm-btn-white:hover {
  background: #F5F5F5;
}

.llm-final-cta-supporting {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.5;
}


/* ==========================================================================
   RISK DISCLAIMER (.llm-risk)
   Warm bg, small regulatory text
   ========================================================================== */

.llm-risk {
  background: var(--color-bg-warm);
  border-top: 1px solid rgba(230, 81, 0, 0.1);
  padding: var(--space-10) 0;
}

.llm-risk-inner {
  max-width: 820px;
  margin: 0 auto;
}

.llm-risk-inner h2,
.llm-risk-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.llm-risk-inner p {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 100%;
}

.llm-risk-inner p + p {
  margin-top: var(--space-3);
}


/* ==========================================================================
   FOOTER MARGIN OVERRIDE
   Remove default footer top margin — page ends with the CTA strip.
   ========================================================================== */

body:has(.llm-final-cta) .site-footer {
  margin-top: 0;
}


/* ==========================================================================
   RESPONSIVE REFINEMENTS
   Fine-tuned adjustments for mid-range viewports
   ========================================================================== */

/* Tablet: bump type block padding */
@media (min-width: 640px) and (max-width: 899px) {
  .llm-type-block {
    padding: var(--space-7) var(--space-7);
  }
}

/* Desktop: constrain explainer to comfortable reading width */
@media (min-width: 900px) {
  .llm-explainer .container {
    max-width: var(--content-wide);
  }
}

/* Tablet: slightly tighter comparison card spacing */
@media (min-width: 480px) and (max-width: 767px) {
  .llm-comparison-card-cell {
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-xs);
  }
}

/* Large screens: extra vertical breathing room on sections */
@media (min-width: 1200px) {
  .llm-assessment-grid {
    gap: var(--space-10);
  }

  .llm-rates-panels {
    gap: var(--space-10);
  }

  .llm-risks-grid {
    gap: var(--space-8);
  }
}
