/* TESSA Training — shared brand CSS
 * Faithful subset of the live tessa-tools.co.uk design language.
 * Use on every demo page so visitors feel they are inside the real product.
 */

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

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

:root {
  --ice:        #B8E3E9;
  --grey-blue:  #93B1B5;
  --slate:      #4F7C82;
  --deep-teal:  #0B2E33;
  --cyan:       #24ACC3;
  --navy:       #001321;
  --mint:       #D9EFE8;
  --gold:       #C4A565;
  --white:      #FFFFFF;
  --rose:       #B02F1F;
  --merciaRed:  #800000;

  --bg:           #001321;
  --card-bg:      rgba(11, 46, 51, 0.5);
  --card-border:  rgba(79, 124, 130, 0.25);
  --text:         #B8E3E9;
  --text-muted:   #93B1B5;
}

/* Light mode — Tessa Pocket AI palette.
   Triggered by data-a11y="accessible" on <html> or <body>.
   Cream-and-orange palette that removes blue/teal/green entirely, so
   blue-blind and green-sensitive users get the same hierarchy without
   colour confusion, and anyone who prefers a light theme can opt in.
   Uses the brand-colours documented at Tessa Pocket/brand-colours.md. */
[data-a11y="accessible"] {
  /* Map the dark-mode variables onto warm light equivalents */
  --ice:        #1D0501;  /* was light cyan, now dark chocolate (used for body text) */
  --grey-blue:  #3B2B16;  /* secondary muted text — olive brown */
  --slate:      #884E25;  /* burnt sienna for icon strokes / dotted lines */
  --deep-teal:  #FFFFFF;  /* "card surface" — white on cream */
  --cyan:       #C1631B;  /* primary accent — ochre / rust */
  --navy:       #dadfd9;  /* LOCKED: light-mode page background, pale cool grey-green. See CLAUDE.md > Brand Colours. */
  --mint:       #FFF4D8;  /* very light cream wash */
  --gold:       #021724;  /* light mode: orange would not contrast on dark/grey card backgrounds, so --gold maps to near-black for headings and eyebrow text. Direct hex #F69D2C is still used for buttons and brand accent surfaces. */
  --white:      #1D0501;  /* highest emphasis is now dark chocolate */
  /* --rose stays #B02F1F (brick red works in both modes for alerts) */

  --bg:           #F0E5C0;
  --card-bg:      rgba(255, 255, 255, 0.85);
  --card-border:  rgba(29, 5, 1, 0.18);
  --text:         #1D0501;
  --text-muted:   #3B2B16;
}

/* Hardcoded dark surfaces that bypass the variables — override in light mode */
[data-a11y="accessible"] body {
  background-color: #F0E5C0;
}
[data-a11y="accessible"] .nav {
  background: rgba(240, 229, 192, 0.92);
  border-bottom-color: rgba(29, 5, 1, 0.15);
}
[data-a11y="accessible"] .footer {
  background: rgba(255, 255, 255, 0.6);
  color: #3B2B16;
  border-top-color: rgba(29, 5, 1, 0.15);
}
[data-a11y="accessible"] h1,
[data-a11y="accessible"] h2,
[data-a11y="accessible"] h3,
[data-a11y="accessible"] h4 {
  color: #1D0501;
}

/* Cards / panels / callouts — the inline styles use rgba(0, 19, 33, X)
   for "dark navy card on dark navy page". In light mode, all of those
   become "white card on cream page". A single broad override covers the
   common patterns; specific call-outs (alert / reg / verbatim) keep
   their warm-orange tints via overrides further down. */
[data-a11y="accessible"] :where(
  .section-card,
  .interactive,
  .smoothed-paragraph,
  .case-card,
  .pattern-card,
  .threshold .col,
  .modes .col,
  .can-cannot .col,
  .appeal-vs .col,
  .use-case,
  .ba .panel,
  .worked .panel,
  .inflate .panel,
  .iter,
  .iter-prompt,
  .iter-response,
  .lesson-figure,
  .reveal-card,
  .friction-list li,
  .require-list li,
  .key-list li,
  .mindset-list li,
  .child-voice,
  .prompt-card,
  .prompt-quote,
  .positive-callout,
  .reg-callout,
  .verbatim-callout,
  .alert-callout,
  .caveat,
  .line-callout,
  .big-line,
  .reflection,
  .module-head .progress-card,
  .section-nav,
  .flip-card .face,
  .qc-option,
  .qa-option,
  .result-card,
  .review-item,
  .owns
) {
  /* !important on background only — per-page inline <style> blocks define
     dark navy backgrounds (rgba(0,19,33,0.5) and similar) which would
     otherwise win on source order. Light-to-lighter gradient keeps cards
     visible without going muddy. Color and border stay non-important so
     per-page accent borders (cyan/rose/gold left borders on can-cannot
     etc.) still come through. */
  background: linear-gradient(180deg, #d9d9d9 0%, #efefef 100%) !important;
  color: #1D0501;
  border-color: rgba(29, 5, 1, 0.18);
}
/* Callouts keep their tinted accent surfaces in light mode. !important so
   they win over the gradient above. */
[data-a11y="accessible"] .alert-callout { background: rgba(176, 47, 31, 0.10) !important; }
[data-a11y="accessible"] .reg-callout,
[data-a11y="accessible"] .verbatim-callout,
[data-a11y="accessible"] .big-line { background: rgba(246, 157, 44, 0.12) !important; }

/* Training landing page (summit/training.html) — module cards and callouts */
[data-a11y="accessible"] .module-card {
  background: #FFFFFF;
  border-color: rgba(29, 5, 1, 0.18);
}
[data-a11y="accessible"] .module-card.flagship {
  border-color: #F69D2C;
  box-shadow: 0 0 30px rgba(246, 157, 44, 0.12);
}
[data-a11y="accessible"] .module-cta.locked-cta {
  background: rgba(29, 5, 1, 0.08);
  color: #884E25;
}
[data-a11y="accessible"] .status-locked {
  background: rgba(29, 5, 1, 0.10);
  color: #884E25;
}
[data-a11y="accessible"] .status-flagship {
  background: rgba(246, 157, 44, 0.18);
  color: #C1631B;
}
[data-a11y="accessible"] .bespoke {
  background: linear-gradient(135deg, #FFFFFF, rgba(246, 157, 44, 0.12));
  border-color: rgba(29, 5, 1, 0.18);
}
[data-a11y="accessible"] .verah-callout {
  background: linear-gradient(135deg, rgba(246, 157, 44, 0.10), #FFFFFF);
  border-color: rgba(193, 99, 27, 0.30);
}
[data-a11y="accessible"] .lesson-figure figcaption {
  background: rgba(255, 255, 255, 0.92);
  color: #3B2B16;
  border-top-color: rgba(29, 5, 1, 0.18);
}
[data-a11y="accessible"] .lesson-figure { background: #FFFFFF; }
[data-a11y="accessible"] .video-frame { background: #F0E5C0; }

/* Strong / emphasis text in light mode should be dark, not white */
[data-a11y="accessible"] strong,
[data-a11y="accessible"] em {
  color: #1D0501;
}

/* Buttons keep contrast in light mode */
[data-a11y="accessible"] .check-btn,
[data-a11y="accessible"] .iter-nav button:not(.ghost),
[data-a11y="accessible"] .btn--primary {
  background: #F69D2C;
  color: #1D0501;
}
[data-a11y="accessible"] .reset-btn,
[data-a11y="accessible"] .btn-ghost-2,
[data-a11y="accessible"] .iter-nav button.ghost {
  border-color: #C1631B;
  color: #C1631B;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Animated cyan accent text — used VERY sparingly in headlines */
.accent {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--cyan), var(--ice), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* Cinzel utility — special-occasion accents only */
.cinzel { font-family: 'Cinzel', serif; letter-spacing: 0.04em; }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 19, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 124, 130, 0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav__logo img { height: 40px; border-radius: 6px; }
.nav__logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}
.nav__logo span em {
  font-style: normal;
  color: var(--grey-blue);
  font-weight: 400;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--grey-blue); font-size: 0.9rem; font-weight: 500; }
.nav__links a:hover { color: var(--white); }

/* Mobile nav — keep everything visible without overflow.
   Below 720px we tighten gaps, shrink the View-dashboard button,
   and drop the secondary external "tessa-tools.org" link so the
   primary actions (Modules / View dashboard / Aa toggle) all fit. */
/* Mobile nav — keep everything visible without overflow.
   Below 720px we tighten gaps, shrink the View-dashboard button,
   and drop the secondary external "tessa-tools.org" link so the
   primary actions (Modules / View dashboard / Aa toggle) all fit. */
@media (max-width: 720px) {
  .nav__inner { padding: 0.55rem 0.8rem; gap: 0.4rem; }
  .nav__logo { gap: 0.45rem; min-width: 0; flex-shrink: 1; }
  .nav__logo img { height: 30px; flex-shrink: 0; }
  .nav__logo span { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .nav__links { gap: 0.55rem; flex-wrap: nowrap; flex-shrink: 0; }
  .nav__links a { font-size: 0.8rem; white-space: nowrap; }
  .nav__links .btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; white-space: nowrap; }
  .nav__links a[href*="tessa-tools.org"] { display: none; }
}
/* Below 480px the logo text takes too much room — keep just "TESSA"
   and shorten the dashboard CTA so all primary actions fit one row. */
@media (max-width: 480px) {
  .nav__logo span em { display: none; }
  .nav__logo img { height: 28px; }
  .nav__links { gap: 0.4rem; }
  .nav__links a:not(.btn):not(.a11y-toggle) { font-size: 0.78rem; }
  .nav__links .btn { padding: 0.35rem 0.65rem; font-size: 0.72rem; }
  /* Replace "View dashboard" with "Dashboard" via CSS so the markup is unchanged */
  .nav__links a[href="/dashboard"].btn { font-size: 0; padding: 0.4rem 0.65rem; }
  .nav__links a[href="/dashboard"].btn::before { content: "Dashboard"; font-size: 0.75rem; font-weight: 600; }
  .a11y-toggle { width: 32px; height: 32px; }
}

/* Accessibility toggle button */
.a11y-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(79, 124, 130, 0.4);
  color: var(--grey-blue);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
  font-family: inherit;
  font-weight: 700;
  padding: 0;
  position: relative;
}
.a11y-toggle:hover { color: var(--ice); border-color: var(--cyan); }
.a11y-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[data-a11y="accessible"] .a11y-toggle { color: var(--gold); border-color: var(--gold); background: rgba(246, 199, 107, 0.08); }
.a11y-toggle .a11y-tip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--deep-teal);
  border: 1px solid var(--card-border);
  color: var(--ice);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.a11y-toggle:hover .a11y-tip,
.a11y-toggle:focus-visible .a11y-tip { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--slate), var(--cyan));
  color: var(--navy);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--cyan), var(--slate));
  transform: translateY(-1px);
  color: var(--navy);
}
.btn--outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(36, 172, 195, 0.4);
}
.btn--outline:hover { border-color: var(--cyan); color: var(--white); }
.btn--large { padding: 0.9rem 2rem; font-size: 1rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(36, 172, 195, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding: 7rem 0 3rem; } }

.hero__text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
@media (max-width: 600px) { .hero__text h1 { font-size: 2rem; } }
.hero__text p {
  font-size: 1.05rem;
  color: var(--grey-blue);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 500px;
}
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.hero__image img { width: 100%; display: block; border-radius: 20px; }

/* ── SECTION SPACING ── */
section { padding: 5rem 0; }
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section-header h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.section-header p { color: var(--grey-blue); font-size: 1rem; }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 0.8px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(36, 172, 195, 0.4); transform: translateY(-2px); }

/* ── FOOTER ── */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(79, 124, 130, 0.15);
  text-align: center;
  color: var(--grey-blue);
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer a { color: var(--cyan); }
.footer strong { color: var(--white); font-weight: 600; }

/* ============================================
   Training module UI — sidebar, section card, reflection
   Mirrors the live tessa-tools.co.uk/training/ layout.
   ============================================ */

.module-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 140px;
}
@media (max-width: 720px) {
  .module-page { padding: 80px 14px 80px; }
  .section-card { padding: 20px 18px; }
  .section-card h2 { font-size: 1.4rem; }
  .module-head h1 { font-size: 1.7rem; }
  .module-grid { gap: 18px; margin-top: 18px; }
  .section-html p, .section-html ul, .section-html ol { font-size: 14.5px; }
}

/* Eyebrow / chip / pill — small helpers */
.eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--slate);
  color: var(--grey-blue);
  font-size: 12px;
}

/* Module header — eyebrow + h1 + subtitle on left, progress ring on right */
.module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.module-head h1 {
  font-size: 2.125rem;
  line-height: 1.1;
  margin-top: 6px;
  max-width: 720px;
}
.module-head .module-subtitle {
  color: var(--grey-blue);
  margin-top: 8px;
  max-width: 620px;
  font-size: 14px;
}

/* Progress ring card */
.progress-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ring-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.ring { transform: rotate(-90deg); }
.ring circle {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}
.ring .track { stroke: var(--slate); opacity: 0.5; }
.ring .fill {
  stroke: var(--cyan);
  transition: stroke-dashoffset 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ring-label {
  position: absolute;
  font-size: 10px;
  color: var(--ice);
  font-weight: 700;
}

/* Two-column grid: 240px sidebar + content */
.module-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  margin-top: 28px;
}
@media (max-width: 820px) {
  .module-grid { grid-template-columns: 1fr; }
}

/* Sidebar nav of sections */
.section-nav {
  padding: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  align-self: start;
  position: sticky;
  top: 80px;
}
/* Below 820px the grid stacks to one column. Sticky + translucent
   background made the sidebar float over the article on scroll, so
   we drop sticky and let it sit naturally above the content. */
@media (max-width: 820px) {
  .section-nav { position: static; top: auto; }
}
.section-nav__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
  color: var(--grey-blue);
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.section-nav__item:hover:not(.locked) { color: var(--ice); }
.section-nav__item.active {
  background: rgba(36, 172, 195, 0.14);
  color: var(--white);
}
.section-nav__item.visited { color: var(--ice); }
/* In the AI Summit demo locked sections are visually dimmed but still
   clickable, so visitors can skip ahead. The production training site
   has its own gating logic. */
.section-nav__item.locked { opacity: 0.5; cursor: pointer; }
.section-nav__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: 1px solid var(--slate);
  font-weight: 700;
  color: var(--grey-blue);
}
.section-nav__item.active .section-nav__dot {
  background: rgba(11, 46, 51, 0.8);
  border-color: var(--cyan);
  color: var(--cyan);
}
.section-nav__item.done .section-nav__dot {
  background: var(--cyan);
  color: var(--navy);
  border-color: transparent;
}
.section-nav__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.section-nav__item { min-width: 0; }

/* Section content card */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 32px;
}
.section-card h2 {
  font-size: 1.75rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.section-card .intro {
  color: var(--grey-blue);
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-card .intro::before {
  content: '▸';
  color: var(--cyan);
  font-size: 13px;
}

/* Section HTML — long-form reading content */
.section-html h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 28px 0 12px;
}
.section-html h3 em { font-style: italic; color: var(--cyan); font-weight: 400; }
.section-html p {
  margin: 12px 0;
  line-height: 1.75;
  font-size: 15px;
  color: var(--ice);
}
.section-html p strong { color: var(--white); font-weight: 700; }
.section-html ul, .section-html ol {
  margin: 14px 0 14px 22px;
  line-height: 1.7;
  font-size: 15px;
  color: var(--ice);
}
.section-html li { margin-bottom: 6px; }
.section-html code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(36, 172, 195, 0.12);
  color: var(--cyan);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Video frame inside a section */
.video-frame {
  margin-top: 18px;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(36, 172, 195, 0.18), var(--deep-teal));
  border: 1px solid var(--card-border);
  overflow: hidden;
  position: relative;
}
.video-frame video { width: 100%; height: 100%; display: block; }

/* Inline figure with image */
.section-html .figure {
  margin: 24px 0;
}
.section-html .figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--card-border);
}
.section-html .figure figcaption {
  margin-top: 0.85rem;
  padding: 0 0.4rem;
  font-size: 0.85rem;
  color: var(--grey-blue);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}
.section-html .figure figcaption strong {
  font-style: normal;
  font-weight: 700;
  color: var(--cyan);
  margin-right: 0.4rem;
}

/* Reflection callout */
.reflection {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(36, 172, 195, 0.08);
  border-left: 3px solid var(--cyan);
}
.reflection .eyebrow { margin-bottom: 6px; }
.reflection p { font-size: 14px; line-height: 1.6; color: var(--ice); margin: 0; }

/* Pull quote */
.pull-quote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: rgba(196, 165, 101, 0.08);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--white);
  border-radius: 0 12px 12px 0;
}

/* Edgar / Delroy compare cards */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare-card {
  background: rgba(11, 46, 51, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px;
}
.compare-card h4 {
  font-style: italic;
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
}
.compare-card p { font-size: 14px; line-height: 1.6; color: var(--ice); margin: 0; }
.compare-card .soft { background: rgba(36, 172, 195, 0.18); padding: 0 4px; border-radius: 2px; }
.compare-card .risk { background: rgba(176, 47, 31, 0.28); padding: 0 4px; border-radius: 2px; color: #FFB8AA; font-weight: 600; }

/* Module-footer (Previous / Next) */
.module-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 16px;
}
.btn-ghost-2 {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--grey-blue);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-ghost-2:hover { border-color: var(--cyan); color: var(--ice); }
