:root {
  --bg: #05070f;
  --bg-raised: rgba(10, 14, 28, 0.72);
  --line: rgba(111, 227, 255, 0.14);
  --text: #dbe4f3;
  --muted: #8b97ad;
  --accent: #6fe3ff;
  --accent-dim: #2a9fbf;
  --amber: #ffd166;
  --glow: 0 0 42px rgba(111, 227, 255, 0.16);
  /* Jingles brand tokens — surface aesthetics only (palette echoed from the
     live platform's public look; no product code or logic is referenced) */
  --j-coral: #FF5E7A;
  --j-teal: #4ADEBD;
  --j-lav: #9B7FCA;
  --j-bg: #111126;
}

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

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--bg);
}

/* ── Cosmic photo layer (Chairman-provided nebula) + living-drift animation ── */
.nebula-bg {
  position: fixed;
  inset: -6%;
  z-index: -2;
  pointer-events: none;
  background: url("assets/space-nebula.jpg") center / cover no-repeat var(--bg);
  animation: nebula-pan 90s ease-in-out infinite alternate;
  will-change: transform;
}
.nebula-bg::after {
  /* readability veil — keeps text contrast over the bright nebula core */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,.62), rgba(5,7,15,.5) 40%, rgba(5,7,15,.68));
}
@keyframes nebula-pan {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-1.6%, -1.1%, 0); }
}

/* ── HTML5 canvas space (space.js star motion, over the photo layer) ── */
#space-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .logo { font-family: "Space Grotesk", "Inter", sans-serif; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo {
  color: var(--accent); text-decoration: none;
  font-weight: 700; letter-spacing: 0.18em; font-size: 1.05rem;
}
.nav-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ── Status badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(111, 227, 255, 0.3);
  background: rgba(111, 227, 255, 0.07);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: badge-pulse 2.2s ease-in-out infinite;
}
.badge.dev { color: var(--amber); border-color: rgba(255, 209, 102, 0.3); background: rgba(255, 209, 102, 0.06); }
.badge.dev::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.badge.sm { padding: 3px 10px; font-size: 0.62rem; }
@keyframes badge-pulse { 50% { opacity: 0.35; } }

/* ── Hero / sections ── */
.hero { padding: 110px 24px 90px; }
.kicker { color: var(--accent-dim); letter-spacing: 0.32em; font-size: 0.8rem; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; font-weight: 700; }
.accent { color: var(--accent); text-shadow: var(--glow); }
.lede { color: var(--muted); max-width: 640px; margin: 26px 0 36px; font-size: 1.08rem; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; }

.cta {
  display: inline-block;
  color: #04121a; background: var(--accent);
  padding: 13px 30px; border-radius: 8px;
  font-weight: 600; text-decoration: none; letter-spacing: 0.02em;
  box-shadow: var(--glow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(111, 227, 255, 0.3); }

.capabilities { padding: 70px 24px; }
.capabilities h2, .join h2, .genysis h2, .roadmap h2, .showcase h2,
.faq-section h2, .channels h2, .hub h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 34px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.card h3 { color: var(--accent); font-size: 1.12rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .badge { margin-bottom: 14px; }

/* ── Project Genysis strip ── */
.genysis { padding: 10px 24px 60px; }
.genysis-box {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 14px; padding: 34px 32px; backdrop-filter: blur(8px);
}
.genysis-box h2 { margin-bottom: 14px; }
.genysis-box p { color: var(--muted); max-width: 720px; }
.genysis-box .badge { margin-bottom: 18px; }

.page-hero { padding: 90px 24px 50px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.1; font-weight: 700; }

.roadmap { padding: 40px 24px 70px; }
.roadmap-lede, .section-lede { color: var(--muted); max-width: 640px; margin: 0 0 34px; }
.card.skin h3 { font-size: 1.02rem; }

.join { padding: 80px 24px 100px; text-align: center; }
.join p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

.link-row { display: flex; gap: 22px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.link-row a { color: var(--muted); text-decoration: none; font-size: 0.92rem; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.link-row a:hover { color: var(--accent); border-color: var(--accent-dim); }

/* ═══ GLASSMORPHISM UI MOCKUPS (sanitized, surface-level only) ═══ */
.showcase { padding: 40px 24px 70px; }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.mock {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(155deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03) 55%);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-titlebar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mock-titlebar i:nth-child(1) { background: var(--j-coral); }
.mock-titlebar i:nth-child(2) { background: var(--amber); }
.mock-titlebar i:nth-child(3) { background: var(--j-teal); }
.mock-titlebar span { margin-left: 8px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }
.mock-body { padding: 20px; }
.mock h4 { font-size: 1.02rem; margin-bottom: 14px; color: var(--text); }

/* metric bars (purely illustrative values) */
.mock-metric { margin-bottom: 14px; }
.mock-metric label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.mock-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.mock-fill { height: 100%; border-radius: 999px; }
.mock-fill.coral { background: linear-gradient(90deg, var(--j-coral), #ff8ba0); }
.mock-fill.teal  { background: linear-gradient(90deg, var(--j-teal), #7deed3); }
.mock-fill.lav   { background: linear-gradient(90deg, var(--j-lav), #b79ae0); }
.mock-fill.cyan  { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }

.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mock-chip {
  padding: 4px 12px; border-radius: 999px; font-size: 0.72rem;
  border: 1px solid rgba(255,255,255,0.16); color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* chat-style rows (generic copy only) */
.mock-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; margin-bottom: 10px; color: var(--text); }
.mock-msg.bot { background: rgba(155, 127, 202, 0.18); border: 1px solid rgba(155, 127, 202, 0.3); }
.mock-msg.user { background: rgba(74, 222, 189, 0.14); border: 1px solid rgba(74, 222, 189, 0.28); margin-left: auto; }

/* roster rows (ICAR-US command deck) */
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); margin-bottom: 8px; font-size: 0.84rem; }
.mock-row i { width: 8px; height: 8px; border-radius: 50%; }
.mock-row i.on  { background: var(--j-teal); box-shadow: 0 0 8px var(--j-teal); }
.mock-row i.dev { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.mock-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 0.74rem; }

/* Media drop zones — clearly labeled slots for approved marketing shots */
.media-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 190px; border-radius: 14px;
  border: 1.5px dashed rgba(111, 227, 255, 0.35);
  background: rgba(111, 227, 255, 0.04);
  color: var(--muted); text-align: center; padding: 22px;
}
.media-slot strong { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.16em; }
.media-slot span { font-size: 0.78rem; max-width: 300px; }

.ip-note { margin-top: 22px; font-size: 0.78rem; color: var(--muted); opacity: 0.85; }

/* Jingles-scoped flavor: elegant serif headline like the live platform */
.jingles-scope .mock h4, .jingles-scope .page-hero .brand-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
}
.jingles-scope .accent { color: var(--j-coral); text-shadow: 0 0 42px rgba(255, 94, 122, 0.28); }
.jingles-scope .cta { background: var(--j-coral); color: #2a0a12; box-shadow: 0 0 42px rgba(255, 94, 122, 0.25); }
.jingles-scope .cta:hover { box-shadow: 0 0 56px rgba(255, 94, 122, 0.4); }

/* ═══ FAQ ═══ */
.faq-section { padding: 40px 24px 80px; }
.faq-group { margin-bottom: 40px; }
.faq-group h3 { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 0.04em; }
details.faq {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 12px; backdrop-filter: blur(8px);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; font-size: 0.98rem; display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; transition: transform 0.25s; }
details.faq[open] summary { color: var(--accent); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }

/* ═══ Contact channels ═══ */
.channels { padding: 40px 24px 80px; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.channel {
  display: block; text-decoration: none;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px 22px; backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.channel:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.channel b { display: block; color: var(--text); font-family: "Space Grotesk", sans-serif; margin-bottom: 6px; }
.channel span { color: var(--muted); font-size: 0.86rem; }
.channel em { display: block; margin-top: 10px; font-style: normal; color: var(--accent); font-size: 0.82rem; }

/* ═══ Forums hub ═══ */
.hub { padding: 40px 24px 80px; }
.hub-card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 26px 24px; backdrop-filter: blur(8px);
}
.hub-card h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 10px; }
.hub-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; background: rgba(5,7,15,0.6); }
.site-footer p { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .badge::before { animation: none; }
}

@media (max-width: 620px) {
  .hero { padding: 70px 24px 60px; }
  .nav-links { gap: 14px; }
}

/* ═══ Generated media art (fills the former drop zones) ═══ */
.media-art {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.media-art svg { display: block; width: 100%; height: auto; }
.media-cap {
  padding: 10px 16px; font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Genysis strip becomes text + art split */
.genysis-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 760px) { .genysis-split { grid-template-columns: 1fr; } }
.genysis-art { box-shadow: 0 18px 60px rgba(74, 222, 189, 0.12); }

/* SVG life: gentle pulses, orbit sweep, data flow */
.pulse-a { animation: svg-pulse 3.2s ease-in-out infinite; }
.pulse-b { animation: svg-pulse 2.4s ease-in-out 0.6s infinite; }
@keyframes svg-pulse { 50% { opacity: 0.45; } }
.orbit-run { animation: orbit-dash 14s linear infinite; }
@keyframes orbit-dash { to { stroke-dashoffset: -480; } }
.dataflow path { stroke-dasharray: 6 10; animation: data-run 2.8s linear infinite; }
@keyframes data-run { to { stroke-dashoffset: -64; } }

@media (prefers-reduced-motion: reduce) {
  .pulse-a, .pulse-b, .orbit-run, .dataflow path { animation: none; }
}

/* ═══ Therapist Dashboard & agent presence (Jingles) ═══ */
.mock.wide { grid-column: span 1; }
@media (min-width: 900px) { .mock.wide { grid-column: span 1; } .mock-grid.jt { grid-template-columns: 1.4fr 1fr; } }
.session-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.session-head h4 { margin-bottom: 2px; }
.session-head .badge { margin-left: auto; }
.mock-sub { color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.mock-chip.on { border-color: rgba(74, 222, 189, 0.45); color: var(--j-teal); background: rgba(74, 222, 189, 0.08); }

.orb { display: inline-block; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffd9e0, var(--j-coral) 45%, #7a2237 100%);
  box-shadow: 0 0 24px rgba(255, 94, 122, 0.55); }
.orb.sm { width: 34px; height: 34px; flex: none; }
.orb.lg { width: 64px; height: 64px; margin-bottom: 14px; }
.agent-panel { text-align: center; }
.agent-panel .mock-sub { max-width: 260px; margin: 8px auto 0; }

.haptic-status { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.haptic-label { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--j-teal); }
.haptic-bars { display: inline-flex; gap: 4px; align-items: flex-end; height: 18px; }
.haptic-bars i { width: 4px; border-radius: 2px; background: var(--j-teal); animation: haptic 1.4s ease-in-out infinite; }
.haptic-bars i:nth-child(1) { height: 7px; animation-delay: 0s; }
.haptic-bars i:nth-child(2) { height: 13px; animation-delay: .15s; }
.haptic-bars i:nth-child(3) { height: 18px; animation-delay: .3s; }
.haptic-bars i:nth-child(4) { height: 12px; animation-delay: .45s; }
.haptic-bars i:nth-child(5) { height: 8px; animation-delay: .6s; }
@keyframes haptic { 50% { transform: scaleY(0.45); } }

.feature-copy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 40px; }
.feature-copy h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 10px; }
.jingles-scope .feature-copy h3 { color: var(--j-coral); }
.feature-copy p { color: var(--muted); font-size: 0.94rem; }

/* ═══ Meet the Coaches (canonical 9-mediator roster; CSS avatars) ═══ */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.coach-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 16px; text-align: center; backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.coach-card:hover { border-color: var(--j-coral); transform: translateY(-4px); }
.coach-card h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.coach-spec { color: var(--j-coral); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.coach-line { color: var(--muted); font-size: 0.85rem; }

.coach-face {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; border: 2px solid rgba(255,255,255,0.16);
}
.coach-face.lg { width: 72px; height: 72px; font-size: 1.7rem; margin-bottom: 14px; }
.f-sage   { background: radial-gradient(circle at 32% 28%, #b8f5df, #2f9d78 55%, #123a2c); box-shadow: 0 0 22px rgba(61,220,151,.4); }
.f-alex   { background: radial-gradient(circle at 32% 28%, #ffe9b8, #e0a23f 55%, #4a3208); box-shadow: 0 0 22px rgba(255,209,102,.4); }
.f-maya   { background: radial-gradient(circle at 32% 28%, #ffd3dc, #ff5e7a 55%, #5c1424); box-shadow: 0 0 22px rgba(255,94,122,.4); }
.f-nova   { background: radial-gradient(circle at 32% 28%, #d6f6ff, #35c4e8 55%, #0d3a4a); box-shadow: 0 0 22px rgba(111,227,255,.4); }
.f-devon  { background: radial-gradient(circle at 32% 28%, #e2dcff, #8f7fd6 55%, #2c2450); box-shadow: 0 0 22px rgba(155,127,202,.4); }
.f-zara   { background: radial-gradient(circle at 32% 28%, #ffe2c8, #e0763f 55%, #4a2408); box-shadow: 0 0 22px rgba(224,118,63,.4); }
.f-cael   { background: radial-gradient(circle at 32% 28%, #f2d6ff, #b45fe0 55%, #3a0d4a); box-shadow: 0 0 22px rgba(180,95,224,.4); }
.f-soleil { background: radial-gradient(circle at 32% 28%, #fff3c2, #f0c02f 55%, #4a3c08); box-shadow: 0 0 22px rgba(240,192,47,.4); }
.f-ren    { background: radial-gradient(circle at 32% 28%, #cfe0ff, #4f7fe0 55%, #0d1f4a); box-shadow: 0 0 22px rgba(79,127,224,.4); }

/* ═══ Jingle Shield intervention log ═══ */
.ilog { border-radius: 16px; border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(155deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03) 55%);
  backdrop-filter: blur(14px); overflow: hidden; max-width: 720px; }
.ilog-body { padding: 22px 24px; font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.84rem; }
.il { margin-bottom: 10px; color: var(--text); opacity: 0; animation: il-in .5s ease forwards; }
.il-t { color: var(--muted); margin-right: 10px; font-size: 0.76rem; }
.il-shield { color: var(--amber); }
.il-route { color: var(--j-lav); }
.il-coach { color: var(--j-coral); }
.il-ok { color: var(--j-teal); }
.l1 { animation-delay: .2s; } .l2 { animation-delay: .9s; } .l3 { animation-delay: 1.6s; }
.l4 { animation-delay: 2.3s; } .l5 { animation-delay: 3.0s; } .l6 { animation-delay: 4.0s; }
@keyframes il-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .il { animation: none; opacity: 1; } .nebula-bg { animation: none; } }

/* tentacle sway — barely-there organic motion */
.sway { transform-origin: 300px 185px; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-0.8deg); } to { transform: rotate(0.8deg); } }
@media (prefers-reduced-motion: reduce) { .sway, .haptic-bars i { animation: none; } }

/* ═══ Cosmic video layer + ambient sound toggle ═══ */
.nebula-video-wrap { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.nebula-video { width: 100%; height: 100%; object-fit: cover; }
.nebula-video-wrap::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,.6), rgba(5,7,15,.48) 40%, rgba(5,7,15,.66)); }
.nebula-bg { z-index: -3; }   /* still image becomes the fallback layer under the video */

#sound-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 20;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10, 14, 28, 0.72); backdrop-filter: blur(10px);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.45);
  transition: border-color .2s, transform .15s;
}
#sound-toggle:hover { border-color: var(--accent); transform: scale(1.06); }
#sound-toggle.on { border-color: var(--accent); box-shadow: 0 0 24px rgba(111,227,255,.35); }

/* ═══ Featured TikTok ad slots ═══ */
.tiktok-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.tiktok-slot { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; }
.tiktok-slot blockquote { margin: 0 auto; }
.tiktok-slot .media-cap { border-top: none; padding-top: 12px; }

/* ═══ ICAR-US communication terminal ═══ */
.term { border-radius: 16px; border: 1px solid rgba(111,227,255,0.25); max-width: 720px;
  background: linear-gradient(155deg, rgba(10,20,40,0.85), rgba(5,7,15,0.8));
  backdrop-filter: blur(14px); overflow: hidden; box-shadow: 0 0 60px rgba(111,227,255,0.08); }
.term-body { min-height: 170px; max-height: 260px; overflow-y: auto; padding: 20px 22px;
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.86rem; }
.term-line { margin-bottom: 9px; }
.term-line.sys { color: var(--accent); }
.term-line.you { color: var(--text); opacity: 0.85; }
.term-line.term-wait { animation: termPulse 1.1s ease-in-out infinite; }
@keyframes termPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }
.term-meter { padding: 0 16px 12px; font: 500 10px/1 monospace; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(219,228,243,0.45); }
#term-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
#term-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 0.9rem; }
#term-input:focus { outline: none; border-color: var(--accent-dim); }
#term-input:disabled { opacity: 0.45; }
.term-send { background: var(--accent); color: #04121a; border: none; border-radius: 8px;
  padding: 10px 20px; font-weight: 600; cursor: pointer; }
.term-send:disabled { opacity: 0.4; cursor: default; }

/* ═══ Builds page: skins + tiers ═══ */
.skin-preview { border-radius: 10px; padding: 12px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 7px; border: 1px solid rgba(255,255,255,0.1); }
.sp-bar { height: 8px; border-radius: 4px; width: 38%; opacity: .95; }
.sp-row { height: 6px; border-radius: 3px; opacity: .55; }
.w70 { width: 70%; } .w62 { width: 62%; } .w50 { width: 50%; } .w45 { width: 45%; }
.sp-exec    { background: #06101f; } .sp-exec span    { background: #6fe3ff; }
.sp-studio  { background: #190d18; } .sp-studio span  { background: #ff5e7a; }
.sp-finance { background: #071a12; } .sp-finance span { background: #3ddc97; }
.sp-tentacle{ background: #10091f; } .sp-tentacle span{ background: #9B7FCA; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.tier { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px; backdrop-filter: blur(8px); display: flex; flex-direction: column; }
.tier-feature { border-color: var(--accent-dim); box-shadow: 0 0 44px rgba(111,227,255,0.1); }
.tier-k { color: var(--accent-dim); letter-spacing: 0.3em; font-size: 0.72rem; font-weight: 600; margin-bottom: 10px; }
.tier h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tier-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.tier ul { list-style: none; margin: 0 0 24px; flex: 1; }
.tier li { color: var(--muted); font-size: 0.9rem; padding: 7px 0 7px 22px; position: relative; }
.tier li::before { content: "◆"; position: absolute; left: 0; color: var(--accent); font-size: 0.6rem; top: 11px; }
.tier-cta { text-align: center; font-size: 0.92rem; }

/* ═══ Jingles unified feed player terminal ═══ */
.feed-term { border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); max-width: 860px;
  background: linear-gradient(155deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03) 55%);
  backdrop-filter: blur(14px); overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.feed-stage { position: relative; aspect-ratio: 16 / 10; background: #05070f; }
.feed-frame { width: 100%; height: 100%; border: 0; display: block; }
.feed-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px;
  border: 1.5px dashed rgba(255, 94, 122, 0.35); margin: 18px; border-radius: 12px; }
.feed-placeholder strong { color: var(--j-coral); letter-spacing: 0.12em; }
.feed-placeholder span { color: var(--muted); font-size: 0.85rem; max-width: 420px; }
.feed-controls { display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px; border-top: 1px solid rgba(255,255,255,0.08); }
.feed-controls button { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: var(--text); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 0.85rem; }
.feed-controls button:hover { border-color: var(--j-coral); color: var(--j-coral); }
.feed-dots { display: flex; gap: 8px; }
.feed-trust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 16px 14px; margin: 0; font-size: 0.72rem; line-height: 1.5;
  color: rgba(219,228,243,0.5); border-top: 1px solid rgba(255,255,255,0.05); }
.feed-trust a { color: var(--j-coral); text-decoration: none; }
.feed-trust code { font-size: 0.7rem; color: rgba(219,228,243,0.7); }
.feed-trust-dot { width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #63ffa8; box-shadow: 0 0 8px #63ffa8; }
.feed-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; cursor: pointer; padding: 0; }
.feed-dot.live { background: var(--j-coral); border-color: var(--j-coral);
  box-shadow: 0 0 10px rgba(255,94,122,.6); }

/* ═══ The Three Swatches (structural templates) ═══ */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.tpl { border-radius: 14px; border: 1px solid var(--line); background: var(--bg-raised);
  backdrop-filter: blur(8px); padding: 22px; transition: transform .2s, border-color .2s; }
.tpl:hover { transform: translateY(-4px); }
.tpl h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.tpl p { color: var(--muted); font-size: 0.9rem; }
.tpl-prev { border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.tpl-bar { display: flex; gap: 5px; margin-bottom: 4px; }
.tpl-bar s { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tpl-row { height: 7px; border-radius: 2px; }
.tpl-swatches { display: flex; gap: 8px; margin-top: 12px; }
.tpl-swatches i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.2); }

/* Executive Terminal: high-contrast monochrome, razor edges */
.t-exec:hover { border-color: #dfe7f2; }
.t-exec .tpl-prev { background: #05060a; border: 1px solid #2a2f3a; border-radius: 4px; }
.t-exec .tpl-row { background: #dfe7f2; opacity: .8; border-radius: 0; }
.t-exec .tpl-bar s { background: #8b97ad; border-radius: 0; }
.t-exec .tpl-swatches i:nth-child(1) { background: #05060a; }
.t-exec .tpl-swatches i:nth-child(2) { background: #8b97ad; }
.t-exec .tpl-swatches i:nth-child(3) { background: #dfe7f2; }
.t-exec h3 { letter-spacing: 0.06em; }

/* Creative Studio: vibrant hues, organic blur */
.t-studio:hover { border-color: var(--j-coral); }
.t-studio .tpl-prev { background: radial-gradient(circle at 30% 20%, rgba(255,94,122,.35), rgba(155,127,202,.25) 60%, #140d1c);
  border-radius: 16px; }
.t-studio .tpl-row { background: linear-gradient(90deg, #ff5e7a, #9b7fca); border-radius: 999px; opacity: .85; }
.t-studio .tpl-bar s { background: #ffd166; }
.t-studio .tpl-swatches i:nth-child(1) { background: #ff5e7a; }
.t-studio .tpl-swatches i:nth-child(2) { background: #9b7fca; }
.t-studio .tpl-swatches i:nth-child(3) { background: #ffd166; }

/* Finance Command Center: emerald/amber data nodes */
.t-fin:hover { border-color: #3ddc97; }
.t-fin .tpl-prev { background: #041510; border: 1px solid rgba(61,220,151,.3); border-radius: 6px; }
.t-fin .tpl-row { background: repeating-linear-gradient(90deg, #3ddc97 0 26px, rgba(61,220,151,.15) 26px 32px); opacity: .8; border-radius: 2px; }
.t-fin .tpl-row:nth-child(odd) { background: repeating-linear-gradient(90deg, #ffb454 0 20px, rgba(255,180,84,.15) 20px 26px); }
.t-fin .tpl-bar s { background: #3ddc97; }
.t-fin .tpl-swatches i:nth-child(1) { background: #041510; }
.t-fin .tpl-swatches i:nth-child(2) { background: #3ddc97; }
.t-fin .tpl-swatches i:nth-child(3) { background: #ffb454; }

/* ── Social graph — glassmorphic neon icon circles ── */
.social-row {
  display: flex; gap: 14px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-bottom: 14px;
}
.social-icon {
  width: 42px; height: 42px; flex: 0 0 42px; flex-shrink: 0;  /* never stretch/shrink in the flex row */
  border-radius: 50%; box-sizing: border-box; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(111, 227, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, transform 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Explicit, capped icon size — namespaced to .social-icon so no global
   svg/img rule (e.g. width:100%) can ever balloon these. */
.social-icon svg {
  width: 18px; height: 18px; max-width: 32px; max-height: 32px;
  flex-shrink: 0; object-fit: contain; fill: var(--muted);
  transition: fill 0.2s ease;
}
.social-icon:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(111, 227, 255, 0.35);
}
.social-icon:hover svg { fill: var(--accent); }
