/* ==========================================================================
   Digital Confidence for Seniors — styles.css · v5 "APPLE MODERN" 2026-07-08
   Design language modeled on apple.com/accessibility: white space, huge
   tight-tracked system-font headlines, flat light-gray rounded tiles,
   vivid color used sparingly, blue pill buttons, black feature bands.
   No serifs, no textures, no ornament — typography and calm do the work.
   Accessibility floor kept from the brief: 21px body, 48px+ targets,
   AA/AAA contrast, visible focus, reduced-motion respected, print-friendly.
   Zero webfonts — system fonts only (SF Pro on Apple devices) = fast on
   an old iPad over slow wifi.
   ========================================================================== */

:root {
  /* --- Apple-modern palette (legacy variable names kept for compatibility) --- */
  --navy: #1D1D1F;            /* primary ink */
  --navy-soft: #2C2C2E;
  --navy-deep: #000000;       /* black feature bands */
  --cream: #FFFFFF;           /* page background is white now */
  --paper: #F5F5F7;           /* Apple's light-gray tile/section color */
  --white: #FBFBFD;           /* alternate near-white section */
  --teal: #0071E3;            /* action blue (buttons) */
  --teal-dark: #0059B3;       /* link blue on white — 6.4:1 */
  --sage: #E8E8ED;            /* chips, quiet fills */
  --gold: #C25E00;            /* amber kicker — readable on white AND black */
  --gold-deep: #A34F00;
  --gold-soft: #FFE8CC;
  --coral: #D70015;           /* red accent, sparing */
  --ink-70: #48484D;          /* secondary text — ~8:1 on white */
  --line: rgba(29, 29, 31, 0.16);
  --line-soft: rgba(29, 29, 31, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1100px;
  --measure: 64ch;
  /* the brand ribbon — now a vivid Apple-accessibility gradient */
  --thread: linear-gradient(90deg, #0071E3, #7D4CDB 35%, #E8562A 70%, #F5A623);
}

/* Text-size system (A / A+ / A++), toggled by js */
html { font-size: 17px; scroll-behavior: smooth; }
html.text-lg { font-size: 19.5px; }
html.text-xl { font-size: 22px; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: 2.35rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.16rem; line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; }

p, li { max-width: var(--measure); }
p { margin: 0 0 1.1em; }

a { color: var(--teal-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.wrap-narrow { max-width: 46rem; margin: 0 auto; padding: 0 1.4rem; }

/* Kickers (old "eyebrow" class) — Apple-style small colored bold line, no tick */
.eyebrow {
  display: block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.eyebrow::before, .eyebrow-center::after { content: none; }
.eyebrow-center { text-align: center; }

/* ---------- Skip link + a11y bar ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff;
  padding: 0.6rem 1rem; font-weight: 700; z-index: 100;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; top: 0; }

.a11y-bar { background: var(--paper); color: var(--navy); font-size: 0.8rem; border-bottom: 1px solid var(--line-soft); }
.a11y-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 0.75rem;
  padding-top: 0.45rem; padding-bottom: 0.45rem;
}
.a11y-bar .a11y-label { margin-right: auto; color: var(--ink-70); }
.a11y-btn {
  background: #fff; color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem 0.85rem;
  font: inherit; font-weight: 600; cursor: pointer;
  min-height: 38px; min-width: 42px;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.a11y-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.a11y-btn[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.listen-controls { display: inline-flex; align-items: center; gap: 0.45rem; }
.listen-controls select {
  font: inherit; font-size: 0.85rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy);
  padding: 0.2rem 0.65rem; min-height: 38px;
}

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; flex: none; }
.brand-name {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.12; color: var(--navy);
  display: flex; flex-direction: column;
}
.brand-sub {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-70); margin-top: 0.2rem; text-transform: uppercase;
}
.nav-toggle {
  display: none; background: var(--navy); color: #fff;
  border: 0; border-radius: 999px; padding: 0.55rem 1.3rem;
  font: inherit; font-weight: 600; cursor: pointer; min-height: 48px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.1rem; }
.site-nav a {
  display: block; padding: 0.42rem 0.72rem;
  color: var(--navy); text-decoration: none;
  font-weight: 600; font-size: 0.85rem; border-radius: 999px;
  transition: background 140ms ease, color 140ms ease;
}
.site-nav a:hover { background: var(--paper); color: var(--teal-dark); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 0.75rem; }
  .site-nav a { font-size: 1.05rem; padding: 0.85rem 0.8rem; border-radius: 14px; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.82rem; color: var(--ink-70); padding: 1.1rem 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--ink-70); }
.breadcrumbs a { color: var(--ink-70); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Hero (homepage) — Apple-style: centered, huge, white ---------- */
.top-hero { position: relative; background: var(--cream); color: var(--navy); }
.top-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--thread); }
.top-hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 2.6rem; justify-items: center; text-align: center;
  padding-top: 3.1rem; padding-bottom: 3.4rem;
}
.top-hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 700; letter-spacing: -0.026em;
}
.top-hero h1 em { font-style: normal; color: var(--teal); }
.top-hero .lede { font-size: 1.12rem; line-height: 1.5; color: var(--ink-70); max-width: 44ch; margin-left: auto; margin-right: auto; font-weight: 400; }
.top-hero .eyebrow { color: var(--gold); font-size: 0.82rem; }
.top-hero .btn-row { justify-content: center; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  max-width: 880px; width: 100%;
  margin: 0;
}
.hero-photo img { width: 100%; height: auto; }
.trust-line {
  display: flex; align-items: center; gap: 0.85rem;
  margin: 1.6rem auto 0; font-size: 0.9rem; color: var(--ink-70);
  max-width: 56ch; text-align: left;
}
.trust-line .badge {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.92rem; letter-spacing: -0.02em;
}
@media (max-width: 920px) {
  .top-hero .wrap { padding-top: 2.2rem; padding-bottom: 2.4rem; gap: 1.7rem; }
  .top-hero .eyebrow { overflow-wrap: anywhere; font-size: 0.72rem; }
  h1 { font-size: 1.9rem; }
}

/* Page heroes (interior) */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.page-hero .wrap { padding-top: 1.9rem; padding-bottom: 2.1rem; }
.page-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.35rem); }
.page-hero .lede { font-size: 1.06rem; line-height: 1.55; max-width: 62ch; color: var(--ink-70); }
.page-hero-navy {
  position: relative;
  background: var(--navy-deep);
  color: #F5F5F7;
  border-bottom: 0;
}
.page-hero-navy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--thread); }
.page-hero-navy h1 { color: #F5F5F7; }
.page-hero-navy h1 em { font-style: normal; color: #FF9F0A; }
.page-hero-navy .lede { color: rgba(245, 245, 247, 0.82); }
.page-hero-navy .eyebrow { color: #FF9F0A; }
.page-hero-navy .breadcrumbs { color: rgba(245,245,247,0.6); }
.page-hero-navy .breadcrumbs a { color: rgba(245,245,247,0.75); }
.page-hero-navy .breadcrumbs li + li::before { color: rgba(245,245,247,0.5); }

/* ---------- Buttons — Apple pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: 0.94rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  border: 0; min-height: 46px; font-family: inherit;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.btn:active { transform: scale(0.985); }
.btn-primary, .btn-gold { background: var(--teal); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: #0077ED; color: #fff; }
.btn-outline, .btn-outline-navy { background: var(--sage); color: var(--navy); }
.btn-outline:hover, .btn-outline-navy:hover { background: #DEDEE3; color: var(--navy); }
.section-navy .btn-outline, .page-hero-navy .btn-outline,
.section-navy .btn-outline-navy, .optin .btn-outline {
  background: rgba(255,255,255,0.14); color: #fff;
}
.section-navy .btn-outline:hover, .page-hero-navy .btn-outline:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-sm { padding: 0.45rem 1rem; min-height: 42px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding: 3.1rem 0; }
.section-tight { padding: 1.7rem 0; }
.section-paper { background: var(--paper); }
.section-sage { background: var(--paper); }
.section-navy { background: var(--navy-deep); color: #F5F5F7; }
.section-navy h2, .section-navy h3 { color: #F5F5F7; }
.section-navy p { color: rgba(245, 245, 247, 0.82); }
.section-navy .eyebrow { color: #FF9F0A; }
.section-head { max-width: 72ch; margin-bottom: 1.9rem; }
.section-head h2 { font-size: clamp(1.45rem, 2.9vw, 1.95rem); }
.section-head p { font-size: 0.98rem; color: var(--ink-70); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center p { margin-left: auto; margin-right: auto; }
.section-foot { margin-top: 2.4rem; text-align: center; }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; gap: 1.15rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.15rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1.3rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.two-col { display: grid; gap: 2.6rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .founder-band > * { min-width: 0; }

/* ---------- Cards — flat, light gray, generously rounded ---------- */
.card-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem;
  box-shadow: none;
  display: flex; flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.section-paper .card, .section-sage .card { background: #fff; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #0A84FF, #0071E3);
  color: #fff; display: grid; place-items: center;
  font-size: 1.25rem; margin-bottom: 0.9rem;
}
.card:nth-child(3n+2) .icon { background: linear-gradient(135deg, #BF5AF2, #7D4CDB); }
.card:nth-child(3n) .icon { background: linear-gradient(135deg, #FF9F0A, #E8562A); }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--ink-70); flex: 1; }
.card .card-link { font-weight: 600; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

/* ---------- Pathway cards (homepage trio) ---------- */
.pathway-card {
  position: relative;
  background: var(--paper);
  border: 0; border-top: 0;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem 1.55rem;
  box-shadow: none;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--navy);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.section-paper .pathway-card, .section-sage .pathway-card { background: #fff; box-shadow: var(--shadow); }
.pathway-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--navy); }
.pathway-card .pathway-kicker {
  font-size: 0.8rem; font-weight: 700;
  color: #0071E3; margin-bottom: 0.6rem;
}
.pathway-card:nth-child(2) .pathway-kicker { color: #7D4CDB; }
.pathway-card:nth-child(3) .pathway-kicker { color: #E8562A; }
.pathway-card h3 { font-size: 1.28rem; letter-spacing: -0.02em; }
.pathway-card p { color: var(--ink-70); font-size: 0.98rem; flex: 1; }
.pathway-card .pathway-go { font-weight: 600; color: var(--teal-dark); }
.pathway-card:hover .pathway-go { text-decoration: underline; }

/* ---------- Lesson / module cards ---------- */
.lesson-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  text-decoration: none; color: var(--navy);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.section-sage .lesson-card, .section-paper .lesson-card { background: #fff; }
.lesson-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--navy); }
.lesson-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em;
}
.lesson-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.lesson-card p { font-size: 0.92rem; color: var(--ink-70); margin: 0 0 0.55rem; }
.chip {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  background: var(--sage); color: var(--navy);
  border-radius: 999px; padding: 0.24rem 0.75rem;
}
.chip-gold { background: #FFE8CC; color: #A34F00; }
.chip-coral { background: #FFE0E3; color: #B3000F; }

/* ---------- Video tiles — black media panels ---------- */
.video-tile, .video-placeholder {
  position: relative;
  background: linear-gradient(160deg, #1C1C1E, #000);
  border: 0;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  text-align: center; padding: 1.5rem;
  box-shadow: var(--shadow-lift);
  color: #F5F5F7;
}
.video-tile { aspect-ratio: 16 / 9; }
.video-placeholder { aspect-ratio: 16 / 10; }
.play-button {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--navy);
  border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem;
  margin-bottom: 0.9rem;
  transition: transform 160ms ease;
}
.play-button:hover { transform: scale(1.06); }
.video-tile .caption, .video-placeholder .caption { font-size: 0.88rem; color: rgba(245,245,247,0.75); max-width: 40ch; margin: 0 auto; }

/* ---------- Brand wordmark accent ---------- */
.brand-alt { color: #1F8A96; }

/* ---------- Photo bands (section imagery) ---------- */
.photo-band {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.photo-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
@media (max-width: 640px) { .photo-band img { aspect-ratio: 16 / 10; } }

/* ---------- Figures / photography ---------- */
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); border: 0; background: #fff; }
.figure img { width: 100%; }
.figure figcaption { font-size: 0.8rem; color: var(--ink-70); padding: 0.7rem 1.1rem; background: #fff; }

/* ---------- Glossary ---------- */
.term-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.term-card {
  background: var(--paper);
  border: 0; border-left: 0;
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  box-shadow: none;
}
.term-card h3 { font-size: 1.04rem; margin-bottom: 0.35rem; }
.term-card p { font-size: 0.92rem; color: var(--ink-70); margin: 0 0 0.6rem; }
.term-card .term-use { font-size: 0.88rem; background: #fff; border-radius: 12px; padding: 0.65rem 0.85rem; color: var(--navy); }
.term-search {
  width: 100%; max-width: 34rem; font: inherit;
  padding: 0.85rem 1.3rem; min-height: 54px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--navy);
}
.term-search:focus { border-color: var(--teal); outline: 3px solid rgba(0,113,227,0.35); outline-offset: 2px; }
.term-of-day {
  background: linear-gradient(135deg, #EAF3FF, #F3EDFF);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: none;
}
.term-of-day h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.term-of-day .eyebrow { color: #0071E3; }
.term-of-day .term-use { background: rgba(255,255,255,0.75); }

/* ---------- App review cards ---------- */
.app-card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem;
  box-shadow: none;
  display: flex; flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.section-paper .app-card { background: #fff; }
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.app-card .app-glyph {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(135deg, #0A84FF, #0071E3);
  color: #fff; margin-bottom: 1rem;
}
.app-card:nth-child(3n+2) .app-glyph { background: linear-gradient(135deg, #BF5AF2, #7D4CDB); }
.app-card:nth-child(3n) .app-glyph { background: linear-gradient(135deg, #FF9F0A, #E8562A); }
.app-card h3 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.app-card .app-for { font-size: 0.85rem; color: var(--teal-dark); font-weight: 600; margin-bottom: 0.6rem; }
.app-card p { font-size: 0.93rem; color: var(--ink-70); }
.fact-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; border-top: 1px solid var(--line-soft); padding: 0.55rem 0.1rem; }
.fact-row dt { color: var(--ink-70); }
.fact-row dd { margin: 0; font-weight: 600; text-align: right; }
.app-facts { margin: 0.8rem 0 0.4rem; }

/* ---------- Stat blocks ---------- */
.stat-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-block {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.3rem;
  box-shadow: none;
  text-align: center;
}
.stat-number {
  font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1; display: block; margin-bottom: 0.5rem;
  background: linear-gradient(120deg, #0071E3, #7D4CDB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #0071E3;
}
.stat-block p { font-size: 0.9rem; color: var(--ink-70); margin: 0 auto; }
.stat-src { display: block; font-size: 0.72rem; color: var(--ink-70); opacity: 0.8; margin-top: 0.65rem; }
.section-navy .stat-block { background: #1C1C1E; }
.section-navy .stat-number { background: linear-gradient(120deg, #64B5FF, #FF9F0A); -webkit-background-clip: text; background-clip: text; }
.section-navy .stat-block p, .section-navy .stat-src { color: rgba(245,245,247,0.78); }

/* ---------- Diagrams ---------- */
.diagram-frame {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: none;
  overflow-x: auto;
}
.diagram-frame svg { max-width: 100%; height: auto; }
.diagram-frame figcaption { font-size: 0.85rem; color: var(--ink-70); margin-top: 0.8rem; }

/* ---------- Article tiles ---------- */
.article-tile {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--navy);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.section-paper .article-tile { background: #fff; }
.article-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--navy); }
.article-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-tile .tile-body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-tile h3 { font-size: 1.3rem; letter-spacing: -0.018em; }
.article-tile p { font-size: 0.93rem; color: var(--ink-70); flex: 1; }
.tile-meta { font-size: 0.82rem; color: var(--teal-dark); font-weight: 600; margin-bottom: 0.45rem; }

/* ---------- Article pages ---------- */
.article-header { background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.article-header .wrap { padding-top: 3rem; padding-bottom: 2.2rem; max-width: 60rem; }
.article-meta { font-size: 0.88rem; color: var(--ink-70); }
.article-body .wrap { max-width: 44rem; padding-top: 2.6rem; padding-bottom: 3.2rem; }
.article-body h2 { margin-top: 2.4rem; font-size: 1.6rem; }
.pull-quote {
  position: relative; border: 0;
  padding: 0.4rem 0 0.4rem 1.6rem; margin: 2.4rem 0;
  font-size: 1.2rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.35;
  color: var(--navy); text-align: left;
}
.pull-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--thread); transform: none; height: auto; }
.pull-quote::after { content: none; }
.safety-note {
  background: #EAF3FF; border: 0;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin: 2rem 0;
}
.safety-note h4 { color: #0059B3; margin-bottom: 0.3rem; }
.safety-note p { margin: 0; font-size: 0.95rem; }

/* ---------- "From Gay's Desk" — clean quote card ---------- */
.gays-desk {
  position: relative;
  background: var(--paper);
  border: 0; border-left: 0;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  margin: 2.2rem 0; max-width: 62ch;
  box-shadow: none;
}
.gays-desk::before { content: none; }
.gays-desk .eyebrow { color: var(--teal-dark); }
.gays-desk p {
  font-size: 1.06rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.45;
  font-style: normal;
  margin-bottom: 0;
  color: var(--navy);
}
.gays-desk .sig, .gay-signature {
  font-family: "Caveat", cursive !important;
  font-size: 1.65rem; font-weight: 700; font-style: normal;
  line-height: 1.2; letter-spacing: 0; text-transform: none;
  color: var(--ink-70);
}
.gays-desk .sig { display: block; margin-top: 0.8rem; }
.section-sage .gays-desk, .section-paper .gays-desk { background: #fff; }

/* ---------- Framework strip ---------- */
.framework { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.framework .step {
  background: var(--paper);
  border: 0; border-top: 0;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: none;
}
.section-paper .framework .step { background: #fff; }
.framework .step h3 {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
  color: #0071E3; text-transform: uppercase;
}
.framework .step:nth-child(2) h3 { color: #7D4CDB; }
.framework .step:nth-child(3) h3 { color: #E8562A; }
.framework .step:nth-child(4) h3 { color: #248A3D; }
.framework .step p { font-size: 0.93rem; color: var(--ink-70); margin: 0; }

/* ---------- Copy cards (Cocktail Party AI) ---------- */
.line-card {
  background: var(--paper); border: 0;
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem; max-width: 74ch;
  display: flex; gap: 1.1rem; align-items: flex-start;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.line-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.line-card blockquote {
  margin: 0; flex: 1;
  font-size: 1.08rem; font-weight: 500; font-style: normal; letter-spacing: -0.01em; line-height: 1.5;
}
.copy-btn {
  flex: none; background: #fff; color: var(--teal-dark);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; min-height: 46px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.copy-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.copy-btn.copied { background: #248A3D; color: #fff; border-color: #248A3D; }

/* ---------- FAQ accordions — Apple-style dividers ---------- */
.faq { max-width: 50rem; }
.faq details {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  overflow: hidden;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0.2rem;
  font-size: 1.04rem; font-weight: 600; letter-spacing: -0.015em; color: var(--navy);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-dark); }
.faq summary::after {
  content: "+"; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.35rem; font-weight: 500;
  transition: transform 160ms ease;
}
.faq details[open] summary::after { content: "–"; background: var(--navy); color: #fff; }
.faq details > div { padding: 0 0.2rem 1.4rem; }
.faq details > div p { font-size: 0.98rem; color: var(--ink-70); }

/* ---------- Tools & forms ---------- */
.tool-panel {
  background: var(--paper); border: 0;
  border-radius: var(--radius-lg); padding: 2.1rem; box-shadow: none;
}
.tool-panel label { display: block; font-weight: 600; margin: 1.05rem 0 0.35rem; }
.tool-panel input[type="text"], .tool-panel input[type="email"], .tool-panel select, .tool-panel textarea {
  width: 100%; font: inherit;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--navy); min-height: 50px;
}
.tool-panel input:focus, .tool-panel select:focus, .tool-panel textarea:focus {
  border-color: var(--teal); outline: 3px solid rgba(0,113,227,0.35); outline-offset: 2px;
}
.tool-output {
  margin-top: 1.5rem; background: #fff;
  border: 1.5px dashed var(--teal); border-radius: var(--radius);
  padding: 1.4rem; font-size: 1rem; white-space: pre-wrap;
}
.privacy-flag { font-size: 0.88rem; color: var(--coral); font-weight: 600; }

/* ---------- Newsletter / opt-in — black CTA card ---------- */
.optin {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: #F5F5F7; padding: 2.1rem;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.optin::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--thread); }
.optin h2, .optin h3 { color: #F5F5F7; }
.optin p { color: rgba(245,245,247,0.8); }
.optin .eyebrow { color: #FF9F0A; }
.optin form { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.1rem; }
.optin input[type="email"] {
  flex: 1 1 260px; font: inherit; padding: 0.85rem 1.2rem;
  border-radius: 999px; border: 1px solid rgba(245,245,247,0.35);
  background: rgba(255,255,255,0.1); color: #fff; min-height: 52px;
}
.optin input::placeholder { color: rgba(245,245,247,0.6); }
.optin input[type="email"]:focus { border-color: var(--teal); outline: 3px solid rgba(0,113,227,0.5); }

/* ---------- Download cards ---------- */
.dl-card { border-top: 0; }
.dl-card .tag {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 600;
  background: var(--sage); color: var(--navy);
  border-radius: 999px; padding: 0.26rem 0.8rem; margin-bottom: 0.9rem;
}
.dl-card .tag.soon { background: #FFE8CC; color: #A34F00; }
.dl-card.dl-soon { border-top: 0; opacity: 0.92; }
.dl-card.dl-soon:hover { transform: none; box-shadow: none; }
.dl-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.dl-meta { font-size: 0.8rem; color: var(--ink-70); }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  box-shadow: none;
  text-align: center;
}
.cta-panel h2, .cta-panel h3 { margin-bottom: 0.4rem; font-size: 1.7rem; }
.cta-panel p { margin-left: auto; margin-right: auto; color: var(--ink-70); }

/* ---------- Founder band ---------- */
.founder-band { display: grid; gap: 2.6rem; grid-template-columns: 0.9fr 1.1fr; align-items: center; }
@media (max-width: 860px) { .founder-band { grid-template-columns: 1fr; } }
.founder-monogram {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

/* ---------- Tables ---------- */
table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; background: #fff; font-size: 0.95rem; }
th, td { border: 0; border-bottom: 1px solid var(--line-soft); padding: 0.85rem 0.95rem; text-align: left; vertical-align: top; }
th { background: transparent; color: var(--ink-70); font-weight: 600; font-size: 0.85rem; border-bottom: 1.5px solid var(--line); }
tr:nth-child(even) td { background: transparent; }
.table-scroll { overflow-x: auto; }

/* ---------- Utility ---------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: 0.75rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}
.section-navy .check-list li::before { background: #0A84FF; }
.notice {
  background: #EAF3FF;
  border: 0;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem; font-size: 0.92rem; margin: 1.6rem 0;
}
.small { font-size: 0.85rem; color: var(--ink-70); }
.center { text-align: center; }
.quote-block {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; box-shadow: none; max-width: 56ch;
}
.quote-block blockquote {
  margin: 0;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35;
  font-style: normal; color: var(--navy);
}
.quote-block .quote-who { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-70); }

/* ---------- Footer — Apple light gray ---------- */
.site-footer {
  position: relative;
  background: var(--paper);
  color: var(--ink-70);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before { content: none; }
.site-footer .wrap { padding-top: 2.8rem; padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--navy);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0;
  text-transform: none;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--ink-70); text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer p { font-size: 0.9rem; }
.site-footer p[style*="italic"] { color: var(--ink-70) !important; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .brand-logo { width: 40px; height: 40px; }
.footer-brand-name { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); line-height: 1.2; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  margin-top: 2.2rem; padding-top: 1.3rem;
  font-size: 0.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--ink-70);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .card:hover, .line-card:hover, .btn:active, .play-button:hover,
  .pathway-card:hover, .lesson-card:hover, .app-card:hover, .article-tile:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .a11y-bar, .site-header, .site-footer, .btn, .optin, .nav-toggle, .copy-btn, .play-button, .breadcrumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .card, .tool-panel, .term-card, .app-card, .gays-desk { border: 1px solid #999; }
}


/* ==========================================================================
   CARIBBEAN PALETTE + PERSONAL PORTRAIT  ·  v6 override  2026-07-08
   Warm request from Gay: bright caribbean-water aqua + deep teal + warm sand
   tints behind the section boxes, amber/coral accents from her scarf, and her
   painted portrait used as the brand mark and beside every quote.
   (Appended so it cleanly overrides the Apple-modern base above.)
   ========================================================================== */

:root {
  --navy: #16323A;            /* deep teal-charcoal ink (still ~12:1 on white) */
  --navy-soft: #3A2D57;
  --navy-deep: #241A3A;       /* deep caribbean water — feature bands */
  --paper: #F8F1E1;           /* warm cream (no gray anywhere) */
  --sage: #DCEEF0;            /* soft aqua — chips, secondary buttons */
  --teal: #0E8794;            /* action / buttons (white text, AA) */
  --teal-dark: #0A6673;       /* links on white (AA) */
  --aqua: #16C0CD;            /* bright caribbean water — accents/gradients */
  --aqua-tint: #E1F6F8;       /* cool section tint */
  --sand-tint: #FBEEDB;       /* warm section tint (sun on sand) */
  --gold: #C25E00;            /* amber kicker — from the scarf */
  --gold-deep: #A34F00;
  --coral: #C8552E;           /* warm scarf accent */
  --ink-70: #46595E;
  --line: rgba(22, 50, 58, 0.16);
  --line-soft: rgba(22, 50, 58, 0.08);
  --shadow: 0 4px 24px rgba(10, 52, 60, 0.06);
  --shadow-lift: 0 10px 34px rgba(10, 52, 60, 0.13);
  --thread: linear-gradient(90deg, #16C0CD 0%, #0E8794 34%, #C8552E 68%, #F0A929 100%);
}

/* ---- Section backgrounds: white -> warm sand -> cool aqua -> deep water ---- */
.section-paper { background: var(--sand-tint); border-top: 1px solid rgba(194,94,0,0.12); border-bottom: 1px solid rgba(194,94,0,0.12); }
.section-sage  { background: radial-gradient(46rem 26rem at 100% 0%, #F0FAFB, transparent 60%), var(--aqua-tint); }
.section-navy  { background: linear-gradient(165deg, #0F4A54 0%, #082A31 100%); }
.section-navy .eyebrow { color: #4FE0EA; }

/* cards stay crisp white on any tint */
.section-paper .card, .section-sage .card,
.section-paper .app-card, .section-sage .app-card,
.section-paper .lesson-card, .section-sage .lesson-card,
.section-paper .article-tile, .section-sage .article-tile,
.section-paper .stat-block, .section-sage .stat-block,
.section-paper .pathway-card, .section-sage .pathway-card { background: #fff; }

/* ---- Hero: a whisper of caribbean light + aqua accent word ---- */
.top-hero { background: radial-gradient(52rem 26rem at 50% -8%, #E6F8FA, transparent 62%), #fff; }
.top-hero h1 em { color: var(--teal); }

/* ---- Accent recolours (were Apple blue/purple/orange) ---- */
.card .icon { background: linear-gradient(135deg, #17C7D3, #0E8794); }
.card:nth-child(3n+2) .icon { background: linear-gradient(135deg, #34C7A6, #0E8E7E); }
.card:nth-child(3n) .icon { background: linear-gradient(135deg, #F0A929, #C8552E); }
.app-card .app-glyph { background: linear-gradient(135deg, #17C7D3, #0E8794); }
.app-card:nth-child(3n+2) .app-glyph { background: linear-gradient(135deg, #34C7A6, #0E8E7E); }
.app-card:nth-child(3n) .app-glyph { background: linear-gradient(135deg, #F0A929, #C8552E); }

.pathway-card .pathway-kicker { color: var(--teal-dark); }
.pathway-card:nth-child(2) .pathway-kicker { color: #0E8E7E; }
.pathway-card:nth-child(3) .pathway-kicker { color: var(--coral); }

.stat-number { background: linear-gradient(120deg, #0E8794, #16C0CD 55%, #F0A929); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0E8794; }
.section-navy .stat-number { background: linear-gradient(120deg, #4FE0EA, #F0A929); -webkit-background-clip: text; background-clip: text; }
.section-navy .stat-block { background: rgba(255,255,255,0.06); }

.framework .step h3 { color: var(--teal-dark); }
.framework .step:nth-child(2) h3 { color: #0E8E7E; }
.framework .step:nth-child(3) h3 { color: var(--coral); }
.framework .step:nth-child(4) h3 { color: var(--gold-deep); }

.btn-primary:hover, .btn-gold:hover { background: #0FA0AE; color:#fff; }
.term-of-day { background: linear-gradient(135deg, #E1F6F8, #FBEEDB); }
.term-of-day .eyebrow { color: var(--teal-dark); }
.safety-note { background: var(--aqua-tint); }
.safety-note h4 { color: var(--teal-dark); }
.notice { background: var(--sand-tint); }
.video-tile, .video-placeholder { background: linear-gradient(160deg, #0F4A54, #082A31); }
.optin { background: linear-gradient(165deg, #0F4A54 0%, #082A31 100%); }
.optin .eyebrow { color: #4FE0EA; }
.check-list li::before { background: var(--teal); }
.chip-coral { background: #F6E0D6; color: var(--coral); }

/* ---- Gay's portrait — brand mark + wherever she is quoted ---- */
.brand-logo {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; object-position: 50% 16%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--aqua), 0 2px 8px rgba(10,52,60,0.28);
}
.footer-brand .brand-logo { width: 46px; height: 46px; }

.gays-desk.has-portrait { overflow: hidden; background: linear-gradient(165deg, #ffffff 0%, var(--sand-tint) 150%); border: 1px solid rgba(194,94,0,0.18); }
.desk-portrait {
  float: left; width: 66px; height: 66px; margin: 0.1rem 1.05rem 0.5rem 0;
  border-radius: 50%; object-fit: cover; object-position: 50% 14%;
  background: #fff; box-shadow: 0 0 0 2px var(--aqua), 0 2px 8px rgba(10,52,60,0.2);
}
@media (max-width: 480px) { .desk-portrait { width: 54px; height: 54px; } }

.founder-portrait {
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; object-position: 50% 16%;
  background: #fff; margin-bottom: 1.1rem;
  box-shadow: 0 0 0 3px var(--aqua), 0 12px 30px rgba(10,52,60,0.22);
}
.trust-portrait {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  object-fit: cover; object-position: 50% 14%;
  background: #fff; box-shadow: 0 0 0 2px var(--aqua);
}

/* About-page feature portrait */
.about-portrait {
  width: 100%; max-width: 300px; height: auto; border-radius: 20px;
  background: linear-gradient(165deg, #E1F6F8, #FBEEDB);
  box-shadow: var(--shadow-lift); display: block;
}
.about-portrait-figure { margin: 0 0 1.6rem; }
.about-portrait-figure figcaption { font-size: 0.85rem; color: var(--ink-70); margin-top: 0.6rem; }


/* ---- Cinematic hero: full-bleed photo + deep-teal scrim + Gay's video ---- */
.top-hero.cine { position: relative; background: #241A3A; color: #fff; overflow: hidden; }
.top-hero.cine .cine-bg {
  position: absolute; inset: 0;
  background-image: url("../img/hero-morning.jpg");
  background-size: cover; background-position: 60% 28%;
}
.top-hero.cine .cine-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(8,42,49,0.95) 0%, rgba(8,42,49,0.90) 34%, rgba(8,42,49,0.62) 64%, rgba(8,42,49,0.30) 100%);
}
.top-hero.cine .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.6rem;
  align-items: center; text-align: left;
  padding-top: 3.6rem; padding-bottom: 3.8rem;
}
.top-hero.cine .cine-copy { max-width: none; }
.top-hero.cine .eyebrow { color: #F0A929; }
.top-hero.cine h1 { color: #fff; }
.top-hero.cine h1 em { color: #4FE0EA; }
.top-hero.cine .lede { color: rgba(255,255,255,0.93); max-width: 40ch; margin-left: 0; margin-right: 0; }
.top-hero.cine .btn-row { justify-content: flex-start; }
.top-hero.cine .trust-line { color: rgba(255,255,255,0.86); border-top-color: rgba(255,255,255,0.22); margin-left: 0; }

.cine-video {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; text-decoration: none;
  background: linear-gradient(155deg, rgba(15,74,84,0.86), rgba(6,31,36,0.92));
  border: 1px solid rgba(79,224,234,0.45);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45);
  padding: 1.6rem 1.7rem; text-align: center; color: #fff;
  transition: transform 170ms ease, box-shadow 170ms ease;
}
.cine-video:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(0,0,0,0.5); color:#fff; }
.cine-play {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 0.9rem;
  background: #fff; color: #241A3A; display: grid; place-items: center;
  font-size: 1.6rem; padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 8px rgba(255,255,255,0.14);
}
.cine-vtitle { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.cine-vcaption { font-size: 0.9rem; color: rgba(255,255,255,0.82); max-width: 34ch; margin: 0.4rem auto 0; line-height: 1.45; }

@media (max-width: 900px) {
  .top-hero.cine .wrap { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.6rem; padding-bottom: 2.8rem; }
  .top-hero.cine .cine-scrim { background: linear-gradient(180deg, rgba(8,42,49,0.92) 0%, rgba(8,42,49,0.80) 60%, rgba(8,42,49,0.88) 100%); }
  .top-hero.cine .lede { max-width: none; }
}


/* ---- De-gray pass (Gay: "I hate gray") ---- */
.a11y-bar { background: linear-gradient(90deg, #E9F5F1, #FBF1E3); }
.site-footer { background: linear-gradient(170deg, #EFF7F2 0%, #FBF1E3 100%); }
.btn-outline:hover, .btn-outline-navy:hover { background: #CDE9EA; color: var(--navy); }
.card, .stat-block, .term-card, .tool-panel, .app-card { background: var(--paper); }
.section-paper .card, .section-sage .card,
.section-paper .app-card, .section-sage .app-card,
.section-paper .lesson-card, .section-sage .lesson-card,
.section-paper .article-tile, .section-sage .article-tile,
.section-paper .stat-block, .section-sage .stat-block,
.section-paper .pathway-card, .section-sage .pathway-card,
.section-paper .tool-panel, .section-sage .tool-panel,
.section-paper .term-card, .section-sage .term-card { background: #fff; }
.chip { background: #DCEEF0; color: var(--teal-dark); }

/* ==========================================================================
   LIGHTER HERO + HAMBURGER  ·  v7  2026-07-08  (Gay: "I hate super dark")
   ========================================================================== */

/* Hero: light airy wash over the photo, dark readable text */
.top-hero.cine { background: #fff; }
.top-hero.cine .cine-bg { filter: brightness(1.12) saturate(1.03); background-position: 62% 24%; }
.top-hero.cine .cine-scrim {
  background: linear-gradient(100deg,
    rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.90) 40%,
    rgba(255,251,244,0.58) 70%, rgba(255,251,244,0.26) 100%);
}
.top-hero.cine .eyebrow { color: var(--gold-deep); }
.top-hero.cine h1 { color: var(--navy); }
.top-hero.cine h1 em { color: var(--teal-dark); }
.top-hero.cine .lede { color: #2C4247; }
.top-hero.cine .trust-line { color: #46595E; border-top-color: rgba(22,50,58,0.20); }
.top-hero.cine::after { height: 4px; }

/* Hero video card: light, friendly, clearly clickable (was super-dark blue) */
.cine-video {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(14,135,148,0.32);
  box-shadow: 0 18px 48px rgba(10,52,60,0.16);
  color: var(--navy);
}
.cine-video:hover { color: var(--navy); box-shadow: 0 22px 56px rgba(10,52,60,0.22); }
.cine-play {
  background: var(--teal); color: #fff;
  box-shadow: 0 6px 18px rgba(14,135,148,0.4), 0 0 0 8px rgba(14,135,148,0.14);
}
.cine-vtitle { color: var(--navy); }
.cine-vcaption { color: #46595E; }
@media (max-width: 900px) {
  .top-hero.cine .cine-scrim { background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(255,251,244,0.9)); }
}

/* Channel video panel: brighter teal, not near-black */
.video-tile, .video-placeholder { background: linear-gradient(155deg, #18A7B4, #0E7C88); }

/* Hamburger icon on the mobile/tablet menu button */
@media (max-width: 1120px) { .nav-toggle { display: inline-flex; align-items: center; gap: 9px; } }
.nav-toggle .hb {
  width: 20px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) center top / 100% 2.6px no-repeat,
    linear-gradient(currentColor, currentColor) center center / 100% 2.6px no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / 100% 2.6px no-repeat;
}

/* ==========================================================================
   HERO v8  ·  2026-07-09  (Gay: "too washed out, the woman looks too old")
   Fix: vivid new photo, NO whole-image veil. Text sits on a steep cream fade
   on the left; the right two-thirds of the photo stays at full color. The
   welcome video becomes a compact card in the copy column so it never covers
   the subject.  Swap photo by changing --hero-img below.
   ========================================================================== */
:root { --hero-img: url("../img/hero-v2.jpg"); }        /* alternates: hero-joyful.jpg · hero-ambient.jpg */
.top-hero.cine .cine-bg {
  background-image: var(--hero-img);
  filter: saturate(1.06);                                /* no brightness boost — that was the washout */
  background-position: 74% 24%;
}
.top-hero.cine .wrap { grid-template-columns: 1fr; justify-items: start; }  /* single copy column, hugged left; photo shows on the right */
.top-hero.cine .cine-copy { max-width: 34rem; justify-self: start; }
.top-hero.cine h1 em { display: block; }   /* "for Seniors" on its own line, over the readable fade */
.top-hero.cine .cine-scrim {
  background: linear-gradient(90deg,
    rgba(255,251,244,0.97) 0%, rgba(255,251,244,0.94) 26%,
    rgba(255,251,244,0.66) 43%, rgba(255,251,244,0.24) 59%,
    rgba(255,251,244,0.04) 75%, rgba(255,251,244,0) 100%);
}

/* Welcome video: compact horizontal card, tucked in the copy column */
.cine-video {
  flex-direction: row; align-items: center; gap: 0.9rem; text-align: left;
  aspect-ratio: auto; max-width: 25.5rem; width: fit-content;
  margin: 1.25rem 0 0; padding: 0.8rem 1.15rem 0.8rem 0.8rem; border-radius: 16px;
  background: rgba(255,255,255,0.95); border: 1px solid rgba(14,135,148,0.34);
  box-shadow: 0 14px 34px rgba(10,52,60,0.16);
}
.cine-play {
  width: 48px; height: 48px; margin: 0; font-size: 1.05rem; padding-left: 3px; flex: none;
  box-shadow: 0 4px 12px rgba(14,135,148,0.38), 0 0 0 6px rgba(14,135,148,0.12);
}
.cine-vtext { display: flex; flex-direction: column; }
.cine-vtitle { font-size: 1rem; line-height: 1.2; }
.cine-vcaption { margin: 0.15rem 0 0; max-width: 27ch; font-size: 0.82rem; }

@media (max-width: 900px) {
  .top-hero.cine .cine-copy { max-width: none; }
  .top-hero.cine .cine-scrim {
    background: linear-gradient(180deg,
      rgba(255,251,244,0.96) 0%, rgba(255,251,244,0.88) 44%,
      rgba(255,251,244,0.44) 80%, rgba(255,251,244,0.30) 100%);
  }
}

/* ==========================================================================
   HERO v9  ·  2026-07-09  (Gay: "show the computer, she looks too young,
   move the text farther left")
   Structural fix: NOT a full-bleed photo with text over it. Two real columns —
   text on a warm cream panel (left), the photo in its own framed panel (right).
   Text can never cross the photo; the whole photo (device included) is always
   visible; the subject reads clearly as a senior. Swap photo via --hero-img.
   ========================================================================== */
:root { --hero-img: url("../img/hero-v3.jpg"); }   /* alternates: hero-v3b.jpg · hero-v3c.jpg */
.top-hero.cine { background: #F8F1E1; }
.top-hero.cine .wrap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem; align-items: center; text-align: left; justify-items: stretch;
  padding-top: 3rem; padding-bottom: 3.2rem;
}
.top-hero.cine .cine-copy { max-width: 35rem; justify-self: start; }
.top-hero.cine h1 em { display: block; }                 /* clean two-line headline */
.top-hero.cine .lede { max-width: 42ch; }
.top-hero.cine .cine-photo {
  align-self: stretch; min-height: 500px; border-radius: 22px;
  background-image: var(--hero-img); background-size: cover; background-position: 50% 28%;
  box-shadow: 0 24px 60px rgba(10,52,60,0.20);
}
@media (max-width: 900px) {
  .top-hero.cine .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .top-hero.cine .cine-copy { max-width: none; }
  .top-hero.cine .cine-photo { min-height: 300px; order: 2; }
}

/* ==========================================================================
   v10 REVISIONS · 2026-07-09 night (Gay's review round)
   Logo mark, desktop nav, compact footer, more section color, inline Gay-notes
   ========================================================================== */

/* --- New open-door LOGO in the header/footer (was the round portrait) --- */
.brand-logo {
  border-radius: 12px;            /* app-icon square, not a circle */
  object-fit: cover; object-position: 50% 50%;
  box-shadow: 0 2px 8px rgba(10,52,60,0.18);
}
.footer-brand .brand-logo { border-radius: 11px; }

/* --- Nav: full menu across the top on laptop/desktop; hamburger only on tablet/phone (<=980px) --- */
@media (min-width: 981px) {
  .nav-toggle { display: none !important; }
  .site-nav { display: block !important; width: auto !important; }
  .site-nav ul { flex-direction: row !important; flex-wrap: nowrap; gap: 0.12rem; padding-bottom: 0 !important; }
  .site-nav a { font-size: 0.82rem; padding: 0.42rem 0.62rem; border-radius: 999px !important; white-space: nowrap; }
  .site-header .wrap { flex-wrap: nowrap; }
}

/* --- Footer: shorter (tighter spacing), nothing removed --- */
.site-footer .wrap { padding-top: 1.6rem; padding-bottom: 1.25rem; }
.footer-grid { gap: 1.25rem 1.9rem; }
.site-footer li { margin-bottom: 0.3rem; }
.site-footer h4 { margin: 0 0 0.5rem; }
.site-footer p { margin: 0.28rem 0; line-height: 1.4; }
.footer-brand { margin-bottom: 0.55rem; }
.footer-bottom { margin-top: 1.15rem; padding-top: 0.85rem; }

/* --- More color: the "First 7 Days" guided path --- */
#first-7-days {
  background:
    radial-gradient(56rem 26rem at 8% -10%, #E3FBF3, transparent 62%),
    linear-gradient(160deg, #E1F6F8 0%, #DCEEF0 52%, #FBEEDB 100%);
  border-top: 1px solid rgba(14,135,148,0.14);
  border-bottom: 1px solid rgba(240,169,41,0.18);
}
#first-7-days .lesson-card { border-color: rgba(14,135,148,0.20); }
#first-7-days .lesson-num { color: #08343c; }
#first-7-days .grid-2 > :nth-child(1) .lesson-num { background:#16C0CD; }
#first-7-days .grid-2 > :nth-child(2) .lesson-num { background:#3ED0BB; }
#first-7-days .grid-2 > :nth-child(3) .lesson-num { background:#F0A929; }
#first-7-days .grid-2 > :nth-child(4) .lesson-num { background:#6FB6C9; }
#first-7-days .grid-2 > :nth-child(5) .lesson-num { background:#E58A4E; }
#first-7-days .grid-2 > :nth-child(6) .lesson-num { background:#C8552E; color:#fff; }
#first-7-days .grid-2 > :nth-child(7) .lesson-num { background:#0E8794; color:#fff; }

/* --- More color: the Stay Safe page (scoped to body.page-safe) --- */
.page-safe .framework .step { background:#fff; border-left: 5px solid var(--aqua); border-radius: 14px; }
.page-safe .framework .step:nth-child(1) { border-left-color:#16C0CD; }
.page-safe .framework .step:nth-child(2) { border-left-color:#0E8794; }
.page-safe .framework .step:nth-child(3) { border-left-color:#F0A929; }
.page-safe .framework .step:nth-child(4) { border-left-color:#C8552E; }
.page-safe .card-grid .card { border-top: 4px solid var(--aqua); }
.page-safe .section-paper { background: radial-gradient(50rem 22rem at 100% 0%, #F0FAFB, transparent 60%), var(--sand-tint); }

/* --- Inline "Hear from Gay" note (contextual, glued into a section) --- */
.gay-note {
  display: flex; align-items: center; gap: 0.9rem;
  background: linear-gradient(160deg,#ffffff, #E1F6F8);
  border: 1px solid rgba(14,135,148,0.28); border-radius: 18px;
  padding: 0.75rem 1.1rem 0.75rem 0.8rem; margin: 1.3rem 0;
  box-shadow: 0 6px 18px rgba(10,52,60,0.08);
}
.gay-note img.gn-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; flex: none; box-shadow: 0 0 0 2px var(--aqua); }
.gay-note .gn-text { font-size: 0.95rem; color: var(--navy); }
.gay-note .gn-text strong { display:block; }
.gay-note button.gn-play {
  margin-left: auto; flex: none; border: 0; cursor: pointer;
  background: var(--teal); color:#fff; font: inherit; font-weight: 700;
  border-radius: 999px; padding: 0.55rem 1.05rem; min-height: 44px;
}
.gay-note button.gn-play:hover { background: var(--teal-dark); }
@media (max-width: 560px){ .gay-note { flex-wrap: wrap; } .gay-note button.gn-play { margin-left: 0; } }

/* ==========================================================================
   HERO v11 · 2026-07-09 night (Gay: full-bleed photo, flush right, faded left,
   richer feel; welcome video plays inline)
   ========================================================================== */
:root { --hero-wide: url("../img/hero-wide.jpg"); }
.top-hero.cine { position: relative; background: #F8F1E1; overflow: hidden; }
.top-hero.cine::before {              /* the photo — full-bleed, flush right */
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-wide);
  background-size: cover; background-position: 72% 26%;
}
.top-hero.cine::after {               /* cream fade: solid left -> clear right (photo dissolves left) */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #F8F1E1 0%, #F8F1E1 44%, rgba(248,241,225,0.94) 53%, rgba(248,241,225,0.60) 65%, rgba(248,241,225,0.14) 83%, rgba(248,241,225,0) 100%), linear-gradient(0deg, rgba(248,241,225,0.5), rgba(248,241,225,0) 26%);
}
.top-hero.cine .wrap {
  position: relative; z-index: 2; display: block;
  min-height: 520px; padding-top: 3.2rem; padding-bottom: 3.4rem;
}
.top-hero.cine .cine-copy { max-width: 33rem; }
.top-hero.cine .cine-photo { display: none; }   /* photo is now the section background */

/* welcome video: inline player in the copy column */
.hero-welcome { margin: 1.3rem 0 0; max-width: 26rem; }
.hero-welcome-vid {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; display: block;
  background: #241A3A; box-shadow: 0 16px 38px rgba(10,52,60,0.22);
  border: 1px solid rgba(14,135,148,0.34);
}
.hero-welcome-cap { font-size: 0.85rem; color: var(--ink-70); margin: 0.55rem 0 0; line-height: 1.4; }

@media (max-width: 900px) {
  .top-hero.cine::before { background-position: 68% 22%; }
  .top-hero.cine::after {
    background: linear-gradient(0deg, #F8F1E1 0%, #F8F1E1 46%, rgba(248,241,225,0.80) 66%, rgba(248,241,225,0.30) 100%);
  }
  .top-hero.cine .wrap { min-height: 0; padding-top: 2rem; padding-bottom: 15rem; }
  .top-hero.cine .cine-copy { max-width: none; }
}

/* ==========================================================================
   HERO v13 · 2026-07-09 (readability): photo lives on the RIGHT and feathers
   into cream on its left edge, so the headline/lede sit on clean cream.
   Still flush-right + bleeding off the page + the wide outpainted image.
   ========================================================================== */
.top-hero.cine::before {
  left: 40%;                       /* photo occupies the right ~60% only */
  background-position: 58% 26%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.top-hero.cine::after { display: none; }   /* full-width scrim no longer needed */
.top-hero.cine .wrap { min-height: 500px; }
.top-hero.cine .cine-copy { max-width: 32rem; }
@media (max-width: 900px) {
  .top-hero.cine::before {
    left: 0; background-position: 62% 18%;
    -webkit-mask-image: linear-gradient(0deg, transparent 3%, #000 44%);
            mask-image: linear-gradient(0deg, transparent 3%, #000 44%);
  }
  .top-hero.cine .wrap { padding-bottom: 13rem; }
}

/* ==========================================================================
   HERO v14 · 2026-07-10 (Gay: "too busy, tan feels dated, video pushes into
   the photo"). Clean modern hero — fresh cool background, photo contained on
   the right (not behind text), welcome video moved to its own band below.
   ========================================================================== */
.top-hero.cine {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, #FCFEFE 0%, #F0FAFB 52%, #E4F5F6 100%);
}
.top-hero.cine::before, .top-hero.cine::after { content: none !important; background: none !important; }
.top-hero.cine .wrap {
  position: relative; z-index: 2; display: flex; align-items: center;
  min-height: 452px; padding-top: 2.6rem; padding-bottom: 2.6rem;
}
.top-hero.cine .cine-copy { max-width: 33rem; }
.top-hero.cine .cine-photo {
  display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 47%;
  background-image: var(--hero-wide); background-size: cover; background-position: 58% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%);
          mask-image: linear-gradient(90deg, transparent 0, #000 15%);
}
.top-hero.cine .trust-line { margin-top: 1.6rem; }

/* the welcome video, in its own calm band */
.welcome-band { background: #FFFFFF; }
.welcome-wrap { align-items: center; }
.welcome-figure { margin: 0; }
.welcome-vid {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; display: block;
  background: #241A3A; box-shadow: 0 16px 40px rgba(10,52,60,0.18);
  border: 1px solid rgba(14,135,148,0.28);
}

@media (max-width: 900px) {
  .top-hero.cine .wrap { display: block; min-height: 0; padding-bottom: 0; }
  .top-hero.cine .cine-copy { max-width: none; }
  .top-hero.cine .cine-photo {
    position: relative; width: auto; height: 240px; margin: 1.4rem -1.2rem 0;
    -webkit-mask-image: none; mask-image: none; border-radius: 0;
  }
}

/* ==========================================================================
   v15 · 2026-07-10 (Gay's second review round)
   ========================================================================== */

/* Gay-note: [round avatar][Hear from Gay button][text to the right] — one unit */
.gay-note button.gn-play { margin-left: 0; }
.gay-note .gn-text { flex: 1; min-width: 14rem; }

/* First-7-Days badges: clearly DISTINCT colors, every number legible */
#first-7-days .grid-2 > :nth-child(1) .lesson-num { background:#16C0CD; color:#083038; }
#first-7-days .grid-2 > :nth-child(2) .lesson-num { background:#F0A929; color:#3d2a05; }
#first-7-days .grid-2 > :nth-child(3) .lesson-num { background:#C8552E; color:#fff; }
#first-7-days .grid-2 > :nth-child(4) .lesson-num { background:#0E8794; color:#fff; }
#first-7-days .grid-2 > :nth-child(5) .lesson-num { background:#E58A4E; color:#3a1f08; }
#first-7-days .grid-2 > :nth-child(6) .lesson-num { background:#4C9F70; color:#fff; }
#first-7-days .grid-2 > :nth-child(7) .lesson-num { background:#241A3A; color:#fff; }
/* the extra "by email" card: visible envelope on white/gold, not a dark blob */
#first-7-days .grid-2 > :nth-child(8) .lesson-num { background:#FFF7E4; color:#A34F00; border:2px solid #F0A929; }

/* ==========================================================================
   HERO v16 · full-bleed BOTH sides (Gay: bleeding edge-to-edge looks modern),
   calmer editorial image (img/hero-calm.jpg), text overlaid on its quiet side
   ========================================================================== */
:root { --hero-calm: url("../img/hero-calm.jpg"); }
.top-hero.cine { position: relative; overflow: hidden; background:#EAF4F5; }
.top-hero.cine::before {
  content: "" !important; position: absolute; inset: 0; display: block !important;
  background: var(--hero-calm) center 38% / cover no-repeat !important;
  left: 0 !important; width: 100% !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
.top-hero.cine::after {   /* soft readability veil over the image's quiet left side only */
  content: "" !important; position: absolute; inset: 0; display: block !important;
  /* an older rule made ::after a 4px accent bar — restore full-cover geometry */
  height: 100% !important; width: 100% !important; top: 0 !important; bottom: 0 !important;
  background: linear-gradient(90deg,
    rgba(252,254,254,0.92) 0%, rgba(252,254,254,0.86) 30%,
    rgba(252,254,254,0.55) 46%, rgba(252,254,254,0.10) 66%, rgba(252,254,254,0) 82%) !important;
}
.top-hero.cine .wrap { position: relative; z-index: 2; display: flex; align-items: center; min-height: 470px; }
.top-hero.cine .cine-photo { display: none !important; }
.top-hero.cine .cine-copy { max-width: 33rem; }

@media (max-width: 900px) {
  .top-hero.cine::before { background-position: 74% 35% !important; }
  .top-hero.cine::after {
    background: linear-gradient(0deg,
      rgba(252,254,254,0.95) 0%, rgba(252,254,254,0.88) 55%,
      rgba(252,254,254,0.45) 80%, rgba(252,254,254,0.15) 100%) !important;
  }
  .top-hero.cine .wrap { min-height: 0; display: block; padding-bottom: 9rem; }
}

/* v17 (7/10 evening, Gay's notes) ------------------------------------- */
/* The envelope in the "Prefer it by email?" card was microscopic — make
   the glyph fill the circle like the day numbers do. */
#first-7-days .grid-2 > :nth-child(8) .lesson-num { font-size: 1.55rem; line-height: 1; }

/* v20 (7/10) — "Where the channel is headed" season icons were tiny (46px).
   Gay couldn't see them; more than double, so the audience can. */
#the-plan .card .icon {
  width: 104px; height: 104px; border-radius: 24px;
  font-size: 3rem; margin-bottom: 1.1rem;
}

/* v25 (7/10) — First 7 Days badges read "Day 1"…"Day 7"; envelope enlarged. */
#first-7-days .lesson-num {
  width: 58px; height: 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; font-size: 1.5rem;
}
#first-7-days .lesson-num small {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; margin-bottom: 2px; opacity: 0.92;
}
/* the "prefer by email" envelope: bigger, and no "Day" label needed */
#first-7-days .grid-2 > :nth-child(8) .lesson-num { font-size: 2.3rem; }

/* v26 (7/10) — Cocktail Party page: break up the tan with color.
   Alternating section tints + a colored accent bar on each quotable card. */
.cp-cream { background:#FBF7EC; }
.cp-aqua  { background:#E7F5F6; }
.cp-gold  { background:#FCF3DF; }
.cp-coral { background:#FBEDE6; }
.cp-green { background:#EBF3ED; }
.cocktail-hero, .hero { background: linear-gradient(120deg,#0E8794 0%,#16C0CD 100%); }
.hero .eyebrow, .hero h1, .hero .lede, .hero .micro { color:#fff; }
.hero h1 { color:#fff; }
/* colourful left accent on each line-card, cycling by position */
.line-card { border-left: 6px solid #16C0CD; }
.cp-gold  .line-card { border-left-color:#F0A929; }
.cp-coral .line-card { border-left-color:#C8552E; }
.cp-green .line-card { border-left-color:#4C9F70; }
.section-sage .line-card { border-left-color:#0E8794; }
.cp-aqua  .line-card { border-left-color:#16C0CD; }
.cp-cream .line-card { border-left-color:#F0A929; }
.cocktail-party h2, section[class*="cp-"] h2, .section-sage h2 { color:#241A3A; }

/* v27 (7/10) — Stay Safe scam cards: make "What to do about it" a clear,
   emphasized, consistently-spaced divider (was tiny .small, floated). */
.card .whattodo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.12rem; font-weight: 800; color: #2E7D46;
  margin: 1.2rem 0 0.7rem; padding-top: 0.95rem;
  border-top: 2px solid #CDE7D5;
  letter-spacing: -0.01em;
}
.card .whattodo .wtd-check { font-size: 1.35rem; line-height: 1; }
/* keep the card a column so the divider always sits a consistent gap below
   the description, regardless of how long that description runs */
.card-grid .card { display: flex; flex-direction: column; }
.card-grid .card > .check-list { margin-top: 0; }

/* v28 (7/11) — THE PAUSE SIGN: the brand mark for every privacy reminder and
   warning on the site (Gay's request). Stop-sign octagon in deep water with a
   gold rim and a raised hand — the first word of the method: PAUSE. Appears
   automatically on every .safety-note. */
.safety-note {
  position: relative;
  padding-left: 5.6rem;
}
.safety-note::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: 1.35rem;
  width: 54px; height: 54px;
  background: url(../img/pause-sign-v2.svg) no-repeat center / contain;
}
@media (max-width: 560px) {
  .safety-note { padding-left: 4.4rem; }
  .safety-note::before { width: 42px; height: 42px; left: 0.9rem; }
}

/* v28 — chatbot logos in the one-glance comparison chart */
.bot-name { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.bot-name img { border-radius: 7px; flex: none; }

/* v28 — the Pause Sign also flags urgent .notice blocks (add class notice-pause) */
.notice-pause {
  position: relative;
  padding-left: 5.4rem;
}
.notice-pause::before {
  content: "";
  position: absolute;
  left: 1.0rem; top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: url(../img/pause-sign-v2.svg) no-repeat center / contain;
}
@media (max-width: 560px) {
  .notice-pause { padding-left: 4.2rem; }
  .notice-pause::before { width: 40px; height: 40px; left: 0.8rem; }
}

/* v29 (7/11) — Gay: the card icon tiles were too small to see (46px / 20px glyph),
   especially on a phone. Enlarged site-wide to match the channel-plan fix (v20).
   Also applies to the Cocktail Party + Legacy Checklist cards on apps-tools,
   whose tiny in-headline emoji were promoted to real icon tiles. */
.card .icon {
  width: 88px; height: 88px; border-radius: 22px;
  font-size: 2.9rem; margin-bottom: 1rem;
}

/* v31 (7/11) — Gay's videos-page review:
   (a) Episode-library tile labels ("Episode 1 · with the Starter Kit") were
       small and plain — now bold colorful pill chips, one brand color per tile.
   (b) She LOVES the 104px "plan" icons — that size is now the site standard
       for all card icon tiles (was 88px from this morning, 46px before that).
   (c) Chatbot-chart logos enlarged 30 → 44px to match the bigger-emblem rule. */
.article-tile .tile-meta {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #17A2B8, #0E8794);
  padding: 0.35em 0.95em;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.grid-2 .article-tile:nth-child(2) .tile-meta { background: linear-gradient(135deg, #34C7A6, #0E8E7E); }
.grid-2 .article-tile:nth-child(3) .tile-meta { background: linear-gradient(135deg, #F0A929, #C8552E); }
.grid-2 .article-tile:nth-child(4) .tile-meta { background: linear-gradient(135deg, #BF5AF2, #7D4CDB); }
.card .icon {
  width: 104px; height: 104px; border-radius: 24px;
  font-size: 3rem; margin-bottom: 1.1rem;
}
.bot-name img { width: 44px; height: 44px; border-radius: 10px; }

/* v32 (7/11) — About-page rewrite: "A few true things about me" joy chips
   (Gay's directive: less text-heavy, more visual interest, personal). */
.joy-chips {
  list-style: none; padding: 0; margin: 0.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.joy-chips li {
  display: inline-block; padding: 0.42em 1em; border-radius: 999px;
  font-size: 1rem; font-weight: 600; color: #0B3C49;
  background: linear-gradient(135deg, #EAF6F8, #D2EEF2);
  border: 1.5px solid #17A2B8;
}
.joy-chips li:nth-child(3n+2) { background: linear-gradient(135deg, #FDF3DC, #FAE7BD); border-color: #F0A929; }
.joy-chips li:nth-child(3n) { background: linear-gradient(135deg, #FBEAE4, #F6D9CE); border-color: #C8552E; }

/* Claude 2026-10-23: footer note uses full width; clickable card thumbnails */
.site-footer .footer-bottom p{max-width:none!important;width:auto}
.v11-card-image-link{display:block;text-decoration:none}
.v11-card-image-link:hover .v11-card-image{opacity:.92}

/* Claude 2026-10-23: grouped site directory */
.sitemap-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.4rem;align-items:start}
.sitemap-group{background:var(--v11-paper,#fff);border:1px solid var(--v11-line,#e3dbec);border-top:4px solid var(--v11-accent,#c4513a);border-radius:16px;padding:1.1rem 1.25rem}
.sitemap-group h2{font-size:1.35rem;margin:0 0 .2rem}
.sitemap-group-sub{margin:0 0 .6rem;font-size:.95rem;color:var(--v11-muted,#5a4b6b)}
.sitemap-group ul{list-style:none;margin:0;padding:0}
.sitemap-group li{margin:0;border-top:1px solid var(--v11-line,#eee6f2)}
.sitemap-group li:first-child{border-top:0}
.sitemap-group a{display:block;padding:.55rem 0;min-height:44px;line-height:1.35}
