
/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html,body{min-height:100vh;}

/* ── TOKENS ── */
:root {
  --bg: #0A0A0A;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --text: #F5F5F5;
  --text-muted: rgba(245,245,245,0.7);
  --text-dim: rgba(245,245,245,0.3);
  --border: rgba(0,200,255,0.1);
  --border-hover: rgba(0,200,255,0.28);
  --cyan: #00C8FF;
  --cyan-glow: rgba(0,200,255,0.18);
  --mint: #A8E6CF;
  --pink: #FF4D94;
  --purple-deep: #2a1b4d;
  --font-mono: 'Fira Code', monospace;
}

[data-theme="light"] {
  --bg: #FAFAF7;
  --surface: rgba(255,255,255,0.65);
  --surface-hover: rgba(255,255,255,0.85);
  --text: #111111;
  --text-muted: rgba(17,17,17,0.65);
  --text-dim: rgba(17,17,17,0.3);
  --border: rgba(0,130,180,0.14);
  --border-hover: rgba(0,130,180,0.32);
  --cyan: #006fa8;
  --cyan-glow: rgba(0,100,170,0.1);
  --mint: #2e9e72;
  --pink: #d63478;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .35s, color .3s;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  transition: opacity .4s;
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 700px 500px at 0% 0%,   rgba(168,230,207,.20), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%,  rgba(255,77,148,.14),  transparent 55%);
  opacity: 1;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 700px 500px at 0% 0%,   rgba(100,210,160,.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%,  rgba(230,60,130,.10),  transparent 55%),
    radial-gradient(ellipse 800px 600px at 50% 100%, rgba(100,60,200,.08),  transparent 60%);
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 0 2.5rem; height: 60px;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .35s;
  gap: 2rem;
}
[data-theme="light"] header { background: rgba(250,250,247,.88); }

.wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  background: var(--purple-deep);
  padding: 7px 15px; border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(42,27,77,.4);
  text-decoration: none; flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
}
.wordmark:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgba(42,27,77,.5); }
.wordmark .luman { color: #A8E6CF; }
.wordmark .pop   { color: #FF4D94; }

nav { flex: 1; display: flex; align-items: center; }
.nav-list {
  display: flex; list-style: none;
  gap: 0; margin: 0; padding: 0;
  align-items: center;
}
.nav-list > li > a,
.nav-list > li > button {
  font-size: .86rem; font-weight: 500;
  color: var(--text-muted);
  padding: 0 .9rem; height: 60px;
  display: flex; align-items: center;
  text-decoration: none; border: none;
  background: none; cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > button:hover { color: var(--text); }

/* Products dropdown */
.has-dropdown { position: relative; }
.has-dropdown > button { gap: .35rem; }
.chevron {
  display: inline-block; width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.has-dropdown:hover .chevron { transform: rotate(225deg) translateY(-2px); }

/* ── Nav overlay — dims page behind dropdown ── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease, backdrop-filter .28s ease;
}
/* Light mode: contrast alone creates depth — no blur needed */
[data-theme="light"] .nav-overlay { background: rgba(0,0,0,0.22); }
/* Dark mode: blur the page to create depth against the already-dark bg */
[data-theme="dark"] header:has(.has-dropdown:hover) ~ .nav-overlay {
  backdrop-filter: blur(8px);
}
header:has(.has-dropdown:hover) ~ .nav-overlay { opacity: 1; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-panel {
  position: absolute; top: calc(100% + 1px); left: -1rem;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  width: 520px;
  display: none;
  box-shadow: 0 32px 64px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05);
  z-index: 200;
}
[data-theme="light"] .dropdown-panel {
  background: #fafaf7;
  border-color: rgba(0,130,180,0.15);
  box-shadow: 0 24px 48px rgba(0,0,0,.18), 0 0 0 1px rgba(0,130,180,.08);
}
[data-theme="dark"] .dropdown-panel {
  border-color: var(--border-hover);
  box-shadow: 0 32px 64px rgba(0,0,0,.85), 0 0 0 1px var(--border);
}
.has-dropdown:hover .dropdown-panel {
  display: block;
  animation: dropIn .2s cubic-bezier(.22,1,.36,1);
}

.dp-label {
  font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.6);
  margin-bottom: .6rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .dp-label { color: rgba(17,17,17,0.7); }
.dp-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .25rem; }
.dp-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .65rem; border-radius: 8px;
  text-decoration: none; color: rgba(245,245,245,0.8);
  font-size: .83rem; font-weight: 500;
  transition: background .15s, color .15s;
}
[data-theme="light"] .dp-item { color: rgba(17,17,17,0.85); }
.dp-item:hover { background: var(--surface-hover); color: var(--text); }
.dp-icon { font-size: 14px; flex-shrink: 0; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.theme-btn {
  font-size: .78rem; font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: .38rem .9rem; border-radius: 20px;
  cursor: pointer; transition: background .2s, color .2s;
  white-space: nowrap;
}
.theme-btn:hover { background: var(--surface-hover); color: var(--text); }

/* ─────────────────────────────────────────────────────────────
   HAMBURGER & MOBILE MENU  (hidden on desktop)
───────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .45rem; margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: transform .25s, opacity .2s, background .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(24px);
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}
[data-theme="light"] .mobile-menu { background: rgba(250,250,247,.97); }
.mobile-menu.open { display: block; }

.mobile-nav-list { list-style: none; }
.mobile-nav-list > li > a,
.mobile-nav-list > li > button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: .85rem 0;
  font-size: 1rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border: none; background: none; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-nav-list > li > a:hover,
.mobile-nav-list > li > button:hover { color: var(--text); }

/* Mobile Products sub-panel */
.mobile-sub { display: none; padding: .5rem 0 .5rem 1rem; }
.mobile-sub.open { display: block; }
.mobile-sub-label {
  font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,245,245,0.6); margin: .85rem 0 .4rem;
}
[data-theme="light"] .mobile-sub-label { color: rgba(17,17,17,0.7); }
.mobile-sub a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .6rem; border-radius: 8px;
  font-size: .88rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: background .15s, color .15s;
}
[data-theme="light"] .mobile-sub a { color: rgba(17,17,17,0.85); }
.mobile-sub a:hover { background: var(--surface-hover); color: var(--text); }

@media (max-width: 767px) {
  header { padding: 0 1.25rem; gap: .75rem; }
  nav { flex: none; }
  .nav-list { display: none; }
  .nav-hamburger { display: flex; }
  .wordmark { font-size: 15px; padding: 6px 12px; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding: 2.5rem 1.5rem 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 1rem 1.5rem; }
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
  .nav-hamburger { display: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  min-height: 86vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 5rem 2rem; position: relative; z-index: 3;
}
.hero-inner { max-width: 740px; margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(0,200,255,.85);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0,200,255,.5);
}
[data-theme="light"] .eyebrow { color: var(--cyan); text-shadow: none; }
.eyebrow-rule {
  display: inline-block; width: 22px; height: 1px;
  background: rgba(0,200,255,.7);
}
[data-theme="light"] .eyebrow-rule { background: var(--cyan); }
.eyebrow-sep { color: rgba(0,200,255,.45); font-weight: 300; }

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: 1.1rem; line-height: 1.75;
  color: var(--text-muted);
  max-width: 500px; margin: 0 auto 2.75rem;
}

/* Button variants */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, rgba(168,230,207,.9) 0%, rgba(0,200,255,.75) 100%);
  border: none; border-radius: 10px;
  color: #0a2010;
  padding: .9rem 2.4rem;
  font-size: .95rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 20px rgba(0,200,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,255,.35);
  filter: brightness(1.06);
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #1a9e72 0%, #0080b0 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,128,176,.25);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--border-hover);
  border-radius: 10px; color: rgba(0,200,255,.85);
  padding: .85rem 2.2rem;
  font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-ghost:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,200,255,.15);
}
[data-theme="light"] .btn-ghost { color: var(--cyan); }

/* ─────────────────────────────────────────────────────────────
   SECTION HEADINGS
───────────────────────────────────────────────────────────── */
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: .75rem;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0,200,255,.5);
  margin-bottom: .6rem;
}
[data-theme="light"] .section-tag { color: var(--cyan); }

.section-sub {
  font-size: 1rem; line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px; margin-bottom: 3rem;
}

.section { padding: 5rem 2rem; position: relative; z-index: 3; }
.container { max-width: 1100px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────────────
   CARDS & BADGES
───────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 1.5rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0,0,0,.35), 0 0 0 1px rgba(0,200,255,.55);
  border-color: rgba(0,200,255,.55);
}
[data-theme="light"] .card:hover {
  box-shadow: 0 28px 56px rgba(0,0,0,.12), 0 0 0 1px rgba(0,130,180,.5);
  border-color: rgba(0,130,180,.5);
}
/* Dark mode: card resting border matches modal, hover is brighter */
[data-theme="dark"] .card { border-color: var(--border-hover); }
[data-theme="dark"] .card:hover {
  border-color: rgba(0,200,255,0.55);
  box-shadow: 0 28px 56px rgba(0,0,0,.35), 0 0 0 1px rgba(0,200,255,0.25);
}
.card-num {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .12em;
  color: var(--text-dim); margin-bottom: 1.1rem;
}
.card-icon { font-size: 2.5rem; margin-bottom: .9rem; }
.card h3 {
  font-size: 1.2rem; font-weight: 600;
  margin-bottom: .6rem; color: var(--text);
}
.card p { font-size: .95rem; line-height: 1.65; color: var(--text-muted); }

.badge-free,
.badge-builder {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: auto;
  background: rgba(168,230,207,.12);
  color: #7dd9b3;
  border: 1px solid rgba(168,230,207,.25);
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .1em;
  padding: .25rem .65rem; border-radius: 5px;
}
[data-theme="light"] .badge-free,
[data-theme="light"] .badge-builder {
  background: rgba(46,158,114,.1);
  color: #1a7a54;
  border-color: rgba(46,158,114,.25);
}
.badge-free::before    { content: '◆'; font-size: .5rem; }
.badge-builder::before { content: '⬡'; font-size: .5rem; }

.badge-dash {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: auto;
  background: rgba(168,230,207,.08);
  color: #7dd9b3;
  border: 1px solid rgba(168,230,207,.2);
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .1em;
  padding: .25rem .65rem; border-radius: 5px;
}
[data-theme="light"] .badge-dash {
  background: rgba(46,158,114,.08);
  color: #1a7a54;
  border-color: rgba(46,158,114,.2);
}
.badge-dash::before { content: '◈'; font-size: .5rem; }

.badge-core {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: auto;
  background: rgba(0,200,255,.08);
  color: #5dc9e8;
  border: 1px solid rgba(0,200,255,.2);
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .1em;
  padding: .25rem .65rem; border-radius: 5px;
}
[data-theme="light"] .badge-core {
  background: rgba(0,100,160,.07);
  color: #005f8a;
  border-color: rgba(0,100,160,.18);
}
.badge-core::before { content: '★'; font-size: .5rem; }

.dash-core-sub { border-color: rgba(0,200,255,.22); }

/* Expandable sub-cards */
.expand-toggle {
  margin-top: .85rem;
  font-size: .8rem; font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  padding: .4rem .9rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.expand-toggle:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-hover); }

.sub-cards { display: none; margin-top: 1.25rem; gap: 1rem; }

/* Option 1 — full-width horizontal drawer */
.expandable.open {
  grid-column: 1 / -1;
}
.expandable.open .sub-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  animation: subFadeIn .25s ease;
}
.expandable.open .sub-cards > .card {
  flex: 1 1 0;
  min-width: 0;
}
@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.journey-sub { border-color: rgba(168,230,207,.18); }
.forge-sub    { border-color: rgba(0,200,255,.16); }
.dash-sub     { border-color: rgba(168,230,207,.18); }

/* ─────────────────────────────────────────────────────────────
   CTA STRIP
───────────────────────────────────────────────────────────── */
.cta-strip {
  padding: 6rem 2rem; text-align: center;
  position: relative; z-index: 3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-strip h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(100deg, var(--text) 30%, rgba(168,230,207,.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
[data-theme="light"] .cta-strip h2 {
  background: linear-gradient(100deg, #111 40%, #1a9e72 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.cta-strip p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 400px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
/* ── FOOTER ── */
footer {
  position: relative; z-index: 3;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.45);
}
[data-theme="light"] footer { background: rgba(250,250,247,.9); }

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr 1.5fr 1.5fr 1fr;
  gap: 3rem 2rem;
  padding: 3.5rem 2.5rem 2.5rem;
  max-width: 1100px; margin: 0 auto;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.footer-tagline {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.65; max-width: 195px;
}

.footer-col { display: flex; flex-direction: column; }
.footer-col-label {
  font-family: var(--font-mono);
  font-size: .57rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245,245,245,0.6);
  margin-bottom: .9rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .footer-col-label { color: rgba(17,17,17,0.65); }

.footer-col a {
  font-size: .84rem; color: var(--text-muted);
  text-decoration: none; padding: .28rem 0;
  transition: color .15s; width: fit-content;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center;
  padding: 1.1rem 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy { font-family: var(--font-mono); font-size: .63rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────────────────────
   EXPLORE MODAL
───────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s;
}
[data-theme="dark"] .modal-backdrop { background: rgba(0,0,0,.20); backdrop-filter: blur(12px); }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-backdrop.open .modal-box { transform: translateY(0); opacity: 1; }

.modal-box {
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(0,200,255,.06);
  width: 100%; max-width: 680px;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(16px); opacity: 0;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .25s;
}
[data-theme="light"] .modal-box {
  background: #fafaf7;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 32px 80px rgba(0,0,0,.18);
}
[data-theme="dark"] .modal-box {
  border-color: var(--border-hover);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px var(--border);
}

.modal-head {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-head-text { display: flex; flex-direction: column; gap: .3rem; }
.modal-head h2 {
  font-size: 1.45rem; font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  background: none !important;
  -webkit-text-fill-color: var(--text) !important;
}
.modal-head p { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
[data-theme="light"] .modal-head p { color: rgba(17,17,17,0.75); }
.modal-close {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  cursor: pointer; transition: background .15s, color .15s;
  flex-shrink: 0;
}
[data-theme="light"] .modal-close { color: rgba(17,17,17,0.75); }
.modal-close:hover { background: var(--surface-hover); color: var(--text); }
.modal-body { padding: 1.5rem 2rem 2rem; }

.explore-category { margin-bottom: 1.75rem; }
.explore-category:last-child { margin-bottom: 0; }
.explore-cat-label {
  font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(245,245,245,0.6);
  margin-bottom: .75rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
[data-theme="light"] .explore-cat-label { color: rgba(17,17,17,0.7); }
.explore-cat-link {
  font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  opacity: .75;
  transition: opacity .15s, letter-spacing .15s;
  flex-shrink: 0;
}
.explore-cat-link:hover { opacity: 1; letter-spacing: .18em; }
[data-theme="light"] .explore-cat-link { color: var(--cyan); }

/* Suite card action row — expand toggle + learn more side by side */
.card-actions {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: .85rem; gap: .75rem;
}
.suite-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: gap .2s, opacity .15s;
}
.suite-link:hover { gap: .5rem; opacity: .8; }
[data-theme="light"] .suite-link { color: var(--cyan); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: .6rem;
}
.explore-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.explore-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.explore-item-icon { font-size: 1.4rem; flex-shrink: 0; }
.explore-item-info { display: flex; flex-direction: column; gap: .15rem; }
.explore-item-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.explore-item-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.3; }
[data-theme="light"] .explore-item-desc { color: rgba(17,17,17,0.75); }

/* Skip-to-content — keyboard accessibility */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--purple-deep); color: #A8E6CF;
  padding: .5rem 1.25rem; border-radius: 0 0 8px 8px;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; z-index: 10000;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 2px solid rgba(0,200,255,.7); outline-offset: 2px; }

/* Focus ring */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(0,200,255,.7);
  outline-offset: 2px;
}

/* ─── Chip selectors ──────────────────────────────────────── */
.chip-group{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:1.75rem;}
.chip{padding:8px 16px;border-radius:8px;border:1px solid var(--border-hover);background:var(--surface);color:var(--text-muted);font-size:.88rem;cursor:pointer;user-select:none;transition:background .15s,border-color .15s,color .15s;}
.chip:hover{border-color:var(--cyan);color:var(--text);}
.chip.selected{background:rgba(0,200,255,.1);border-color:rgba(0,200,255,.65);color:rgba(0,200,255,.95);}
.chip.fear-chip.selected{background:rgba(255,140,60,.1);border-color:rgba(255,140,60,.5);color:rgba(255,180,80,.95);}
[data-theme="light"] .chip{background:#fff;color:rgba(17,17,17,0.65);}
[data-theme="light"] .chip:hover{color:#111;}
[data-theme="light"] .chip.selected{background:rgba(0,130,180,.08);border-color:rgba(0,130,180,.55);color:rgba(0,100,160,.95);}
[data-theme="light"] .chip.fear-chip.selected{background:rgba(200,100,0,.07);border-color:rgba(200,100,0,.4);color:rgba(160,80,0,.9);}
.chip-group.chip-error{outline:2px solid rgba(255,77,148,.5);outline-offset:4px;border-radius:10px;padding:4px;margin:-4px;}

/* ─── Trust pills ─────────────────────────────────────────── */
.trust-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:.75rem;}
.trust-pill{display:inline-flex;align-items:center;background:rgba(0,200,255,.07);border:1px solid rgba(0,200,255,.18);border-radius:999px;padding:5px 14px;font-family:var(--font-mono);font-size:.66rem;letter-spacing:.09em;text-transform:uppercase;color:rgba(0,200,255,.8);}
.trust-sep{color:rgba(0,200,255,.3);font-size:11px;}
[data-theme="light"] .trust-pill{background:rgba(0,130,180,.07);border-color:rgba(0,130,180,.2);color:rgba(0,100,160,.85);}
[data-theme="light"] .trust-sep{color:rgba(0,130,180,.3);}

/* ─── Fear-else reveal ────────────────────────────────────── */
.fear-else-wrap{margin-top:.75rem;display:none;}
.fear-else-wrap.visible{display:block;}

/* ─── Location conditional ───────────────────────────────── */
.loc-section{margin-top:.5rem;transition:opacity .25s;}
.loc-section.not-needed{opacity:.3;pointer-events:none;}
.loc-hint{font-family:var(--font-mono);font-size:.66rem;letter-spacing:.06em;padding:9px 13px;border-radius:8px;margin-bottom:1.25rem;}
.loc-hint.loc-optional{background:rgba(255,255,255,.04);border:1px solid var(--border);color:var(--text-dim);}
.loc-hint.loc-required{background:rgba(255,140,60,.07);border:1px solid rgba(255,140,60,.25);color:rgba(255,180,80,.85);}
.loc-hint.loc-not-needed{background:rgba(255,255,255,.02);border:1px solid var(--border);color:var(--text-dim);}
.loc-req-badge{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;margin-left:6px;color:rgba(255,140,60,.9);}
.loc-opt-badge{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;margin-left:6px;color:var(--text-dim);}
.field-input.loc-req{border-color:rgba(255,140,60,.45);}
.field-input.loc-req:focus{border-color:rgba(255,140,60,.8);}

/* ─── Chat slab (Option C — frosted surface) ─────────────────────────────── */
.chat-slab {
  display: none;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,200,255,.15);
  border-radius: 16px;
  padding: 4px 10px 10px;
  scroll-margin-top: 72px;
  margin: clamp(32px,4vw,48px) auto;
  max-width: 720px;
}
.chat-slab.visible { display: block; }
[data-theme="light"] .chat-slab {
  background: #fafaf7;
  border-color: rgba(0,130,180,.18);
}
.slab-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
[data-theme="light"] .slab-header { border-bottom-color: rgba(0,130,180,.1); }
.slab-header img { width:40px;height:40px;object-fit:cover;object-position:center 15%;border-radius:10px;flex-shrink:0; }
.slab-header .coach-name  { color:var(--text); font-weight:600; font-size:13px; margin:0; line-height:1.3; }
.slab-header .active-label{ color:var(--text-dim); font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; margin:0; }
.chat-slab .lp-copy-pill  { position:relative!important; bottom:auto!important; right:auto!important; left:auto!important; display:inline-flex!important; margin:12px 0 0 14px!important; }
.hidden { display:none!important; }
.slab-hint { display:none; text-align:center; font-size:11px; color:var(--text-dim); margin:16px 0 0; font-family:var(--font-mono); letter-spacing:.06em; }
.slab-hint.visible { display:block; }
