/* ═══════════════════════════════════════════════
   EVERYOPS · SHARED · DARK OPERATIONAL SURFACE
   Used by all subpages. The homepage has all of this inline.
   ═══════════════════════════════════════════════ */
:root {
  --bg:          #000000;
  --bg-2:        #040404;
  --bg-3:        #080808;
  --surface:     rgba(18, 18, 18, 0.72);
  --surface-2:   rgba(25, 25, 25, 0.65);
  --surface-3:   rgba(36, 36, 36, 0.55);
  --text:        #FFFFFF;
  --text-2:      #B8B0CC;
  --text-3:      #8B7AB0;
  --text-4:      #8272A8;

  /* Identity — matched to butterfly mark */
  --accent:      #9459FF;
  --accent-2:    #AB80FF;
  --accent-lo:   rgba(148, 89, 255, 0.10);
  --accent-mid:  rgba(148, 89, 255, 0.18);
  --accent-glow: rgba(148, 89, 255, 0.35);

  /* Operational signals — remapped to purple+gold duotone */
  --teal:        #FFC74E;
  --amber:       #FFC74E;
  --red:         #D49050;
  --blue:        #B796F5;
  --orange:      #FFC74E;

  --border:      rgba(255, 255, 255, 0.06);
  --border-2:    rgba(255, 255, 255, 0.10);
  --border-acc:  rgba(148, 89, 255, 0.22);

  --font:        'Figtree', sans-serif;
  --mono:        'Figtree', sans-serif;
  --serif:       'Figtree', sans-serif;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body { min-height: 100vh; position: relative; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 50% -10%, rgba(148, 89, 255,0.10), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 30%, rgba(251, 198, 80,0.05), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 70%, rgba(45,212,160,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
::selection { background: var(--accent-glow); color: var(--text); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(148, 89, 255,0.20); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 89, 255,0.35); }

#world-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

a { color: var(--accent-2); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--text); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
section { position: relative; z-index: 2; }


/* Accessibility: skip-to-content link (visible on keyboard focus) */
.skip-link { position: absolute; left: 8px; top: -56px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: top .15s ease; }
.skip-link:focus, .skip-link:focus-visible { top: 8px; outline: 2px solid #fff; outline-offset: 2px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(12, 12, 12, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 28px;
}
.nav-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px; height: 30px;
  background-image: url('everyops-mark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: filter 0.25s var(--ease);
  animation: navMarkBreathe 4.5s var(--ease) infinite;
}
@keyframes navMarkBreathe {
  0%, 100% { transform: scale(1.000); }
  50%      { transform: scale(1.040); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo-mark { animation: none; }
  /* Global safety net: neutralize all animation/transition motion site-wide
     for users who request reduced motion (final states remain visible). */
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.nav-logo:hover .nav-logo-mark {
  filter: none;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--text);
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s, background .18s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.nav-link:hover, .nav-link.current { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.current { background: var(--accent-lo); color: var(--accent-2); }
.nav-link .caret { font-size: 8px; opacity: 0.5; }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(23, 23, 23, 0.95);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.50);
  z-index: 200;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
  cursor: pointer;
}
.nav-dd-item:hover { background: var(--accent-lo); }
.nav-dd-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.nav-dd-icon.devops   { background: rgba(148, 89, 255,0.14); color: var(--accent); }
.nav-dd-icon.secops   { background: rgba(255, 199, 78,0.14); color: var(--amber); }
.nav-dd-icon.sreops   { background: rgba(183, 150, 245,0.14); color: var(--blue); }
.nav-dd-icon.finops   { background: rgba(212,144,80,0.14); color: var(--red); }
.nav-dd-icon.cloudops { background: rgba(171, 128, 255,0.14); color: var(--accent-2); }
.nav-dd-icon.infraops { background: rgba(171, 128, 255,0.14); color: var(--accent-2); }
.nav-dd-icon.cindy    { background: rgba(148, 89, 255,0.14) url('cindy-avatar.webp?v=3') center/cover no-repeat; color: transparent; font-size: 0; }
.nav-dd-name { font-size: 14px; font-weight: 600; color: var(--text); }
.nav-dd-desc { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.4; }
.nav-spacer { flex: 1; }
.nav-cta-group { display: flex; gap: 8px; }

/* ── Buttons ── */
.btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: all .18s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-acc); background: var(--accent-lo); }
.btn-primary {
  background: var(--accent-2);
  color: #FFFFFF;
  box-shadow: 0 2px 18px rgba(148, 89, 255,0.32);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 4px 24px rgba(148, 89, 255,0.45); transform: translateY(-1px); }
.btn-large { padding: 12px 22px; font-size: 14px; border-radius: 11px; }

/* ── Mobile menu ── */
.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  align-items: center; justify-content: center;
  cursor: pointer; flex-direction: column; gap: 3px;
}
.nav-hamburger span { width: 16px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform .18s, opacity .18s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
/* Desktop nav needs ~1150px to fit its links + CTAs; below that use the drawer */
@media (max-width: 1160px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-group .btn-ghost { display: none; }
}
.mm-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 94;
}
.mm-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto;
  width: 300px; max-width: 84vw; height: 100vh;
  background: rgba(8, 8, 11, 0.98);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-2);
  box-shadow: -24px 0 80px rgba(0,0,0,0.55);
  z-index: 95;
  transform: translateX(100%); pointer-events: none;
  transition: transform .3s var(--ease);
  overflow-y: auto; padding-top: 60px;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu .mobile-menu-item { display: flex; width: 100%; }
.mobile-menu-cta { flex-direction: column; }
.mobile-menu-inner { padding: 12px; }
.mobile-menu-group { padding: 6px 0; border-bottom: 1px solid var(--border); }
.mobile-menu-group:last-child { border-bottom: none; }
.mobile-menu-head {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-3); padding: 8px 14px 6px;
}
.mobile-menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  color: var(--text); font-size: 14.5px; font-weight: 500;
  text-decoration: none;
}
.mobile-menu-item:hover { background: var(--accent-lo); color: var(--accent-2); }
.mobile-menu-cta { display: flex; gap: 8px; padding: 8px 14px 14px; }
.mobile-menu-cta .btn { flex: 1; justify-content: center; }

/* ── Status bar ── */
.status-bar {
  position: fixed;
  top: 60px; left: 0; right: 0;
  height: 0;
  background: rgba(18, 18, 18, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-acc);
  z-index: 99;
  overflow: hidden;
  transition: height 0.3s var(--ease);
  display: flex; align-items: center;
  padding: 0 28px;
}
.status-bar.visible { height: 32px; }
.status-inner {
  max-width: 1400px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: blink 1.6s var(--ease) infinite;
  box-shadow: 0 0 8px rgba(45,212,160,0.60);
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
#status-text {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-2); letter-spacing: 0.2px;
}
.status-spacer { flex: 1; }
#status-mode {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--accent-2); letter-spacing: 1.5px;
  font-weight: 600; text-transform: uppercase;
}

/* ── Section utilities ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-lo);
  border: 1px solid var(--border-acc);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.section-label.devops   { color: var(--blue);   background: rgba(91,142,240,0.10);  border-color: rgba(91,142,240,0.22); }
.section-label.devops::before   { background: var(--blue);   box-shadow: 0 0 8px var(--blue); }
.section-label.secops   { color: var(--red);    background: rgba(240,101,128,0.10); border-color: rgba(240,101,128,0.22); }
.section-label.secops::before   { background: var(--red);    box-shadow: 0 0 8px var(--red); }
.section-label.sreops   { color: var(--teal);   background: rgba(45,212,160,0.10);  border-color: rgba(45,212,160,0.22); }
.section-label.sreops::before   { background: var(--teal);   box-shadow: 0 0 8px var(--teal); }
.section-label.finops   { color: var(--amber);  background: rgba(251, 198, 80,0.10);  border-color: rgba(251, 198, 80,0.22); }
.section-label.finops::before   { background: var(--amber);  box-shadow: 0 0 8px var(--amber); }
.section-label.cloudops { color: var(--orange); background: rgba(248,139,94,0.10);  border-color: rgba(248,139,94,0.22); }
.section-label.cloudops::before { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.reveal {
  opacity: 1;
  transform: none;
}
/* Only hide-then-animate when JS is present (html.js set by shared.js).
   Without JS, content stays visible — never blank. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: translateY(0); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.40);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}
.foot-cindy-bar {
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  background: rgba(255,255,255,0.02);
}
.fcb-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.fcb-left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.fcb-left strong { color: var(--text); font-weight: 500; }
.fcb-spacer { flex: 1; }
.fcb-right { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--text-2); }
.fcb-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background-image: url('cindy-avatar.webp?v=3');
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--border-acc);
  box-shadow: 0 0 10px rgba(148, 89, 255,0.40);
}
.foot-main {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 28px) clamp(18px, 4vw, 30px);
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-col h2 {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  color: var(--text); letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a, .foot-col li > span {
  font-size: 13.5px; color: var(--text-2);
  transition: color 0.18s; cursor: pointer;
  text-decoration: none;
}
.foot-col a:hover, .foot-col li > span:hover { color: var(--accent-2); }
.foot-brand-text {
  font-size: 13px; color: var(--text-3);
  line-height: 1.6; margin-top: 16px; max-width: 260px;
}
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-col .foot-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-2);
  color: var(--text-2); transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.foot-col .foot-social a:hover { color: var(--accent-2); border-color: var(--border-acc); background: var(--accent-lo); transform: translateY(-2px); }
.foot-bottom .fb-inner { justify-content: space-between; }
.foot-addr { font-size: 12px; color: var(--text-3); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 28px;
}
.fb-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.foot-badges { display: flex; gap: 8px; }
.foot-badge {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.8px;
  background: var(--accent-lo);
  color: var(--accent-2);
  border: 1px solid var(--border-acc);
  border-radius: 4px;
  padding: 3px 9px;
}
.foot-copy {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ── Response panel ── */
#response-layer {
  position: fixed;
  top: 0; right: 0;
  width: 480px; max-width: 92vw;
  height: 100vh;
  background: rgba(18, 18, 18, 0.96);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  border-left: 1px solid var(--border-acc);
  box-shadow: -24px 0 80px rgba(0,0,0,0.50);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 300;
  display: flex;
  flex-direction: column;
}
#response-layer.open { transform: translateX(0); }
.rl-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.rl-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background-image: url('cindy-avatar.webp?v=3');
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--border-acc);
  box-shadow: 0 0 14px rgba(148, 89, 255,0.40);
  flex-shrink: 0;
}
#rl-mode-badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}
#rl-query {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rl-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  border: 1px solid var(--border-2);
  cursor: pointer; flex-shrink: 0;
}
.rl-close:hover { color: var(--text); background: var(--accent-lo); border-color: var(--border-acc); }
#rl-body { flex: 1; overflow-y: auto; padding: 22px; }
.rl-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 22px;
}
.rl-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.rl-metric-val { font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1; margin-bottom: 5px; letter-spacing: -0.4px; }
.rl-metric-lbl { font-family: var(--mono); font-size: 9.5px; color: var(--text-3); letter-spacing: 0.4px; }
.rl-text { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 22px; }
.rl-visual {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
}
.rl-visual-title {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 1px; color: var(--text-3); margin-bottom: 12px;
}
.bc-row { display: grid; grid-template-columns: 80px 1fr 60px; align-items: center; gap: 10px; margin-bottom: 8px; }
.bc-label { font-size: 12px; color: var(--text-2); }
.bc-track { height: 5px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.bc-fill { height: 100%; transition: width 1s var(--ease); }
.bc-val { font-family: var(--mono); font-size: 11px; text-align: right; color: var(--text); font-weight: 500; }
.pl-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pl-name { flex: 1; font-size: 12.5px; color: var(--text); }
.pl-status { font-family: var(--mono); font-size: 9.5px; font-weight: 500; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.3px; }
.rl-actions { display: flex; flex-direction: column; gap: 6px; }
.rl-action {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; transition: all 0.18s;
}
.rl-action:hover { background: var(--accent-lo); border-color: var(--border-acc); }
.rl-action-name { flex: 1; font-size: 13px; color: var(--text); }
.rl-action-tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--accent-2); letter-spacing: 0.3px; }

/* ── Cross-page CTA ── */
.cta-band {
  padding: clamp(54px, 8vw, 100px) clamp(20px, 5vw, 28px) clamp(46px, 7vw, 80px);
  text-align: center;
  position: relative;
}
.cta-band-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 24px;
  padding: 56px 40px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.40);
}
.cta-band-card::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.45;
}
.cta-band-card > * { position: relative; z-index: 2; }
.cta-band h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}
.cta-band h2 em { font-style: normal; font-weight: 600; color: var(--accent-2); }
.cta-band p {
  font-size: 16px; color: var(--text-2); margin-bottom: 28px;
  max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.55;
}
.cta-band .btn-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── Responsive shared ── */
@media (max-width: 980px) { .foot-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 640px) { .foot-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  nav { padding: 0 16px; }
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-group .btn-ghost { display: none; }
  /* Footer: brand spans the top full-width; Platform (6 links) sits beside a
     stacked Resources + Company so the two link columns balance in height. */
  .foot-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "brand brand" "platform resources" "platform company";
    gap: 22px 24px; padding: 30px 20px 14px;
  }
  .foot-col:nth-child(1) { grid-area: brand; }
  .foot-col:nth-child(2) { grid-area: platform; }
  .foot-col:nth-child(3) { grid-area: resources; }
  .foot-col:nth-child(4) { grid-area: company; }
  .foot-col li { margin-bottom: 4px; }
  .foot-col h2 { margin-bottom: 10px; }
  .foot-brand-text { margin-top: 10px; font-size: 14.5px; }
  .foot-social { margin-top: 14px; }
  .foot-col a, .foot-col li > span { font-size: 14px; }
  /* Mobile type bump: nudge buttons up for tap confidence and prominence */
  .btn { font-size: 14px; }
  .btn-large { font-size: 15px; }
  .cta-band-card { padding: 36px 24px; }
  #response-layer { width: 100%; }
}
/* Small phones (≤380px): shrink the nav logo + CTA so the hamburger never clips */
@media (max-width: 380px) {
  nav { padding: 0 12px; }
  .nav-inner { gap: 8px; }
  .nav-logo { gap: 8px; }
  .nav-logo-mark { width: 30px; height: 24px; }
  .nav-logo-text { font-size: 15px; }
  .nav-cta-group .btn-primary { font-size: 12px !important; padding: 7px 11px !important; }
}

/* ─── Interaction layer: hover feedback on content cards (added for liveliness) ─── */
.tcard, .tr-boundary, .tr-principle, .tr-signal {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tcard:hover, .tr-boundary:hover, .tr-principle:hover {
  transform: translateY(-4px);
  border-color: var(--border-acc);
  box-shadow: 0 14px 40px rgba(0,0,0,0.26);
}
.tr-signal:hover { border-color: var(--border-acc); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .tcard, .tr-boundary, .tr-principle, .tr-signal { transition: none; }
  .tcard:hover, .tr-boundary:hover, .tr-principle:hover, .tr-signal:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   SITE-WIDE INTERACTION LAYER — "make it alive"
   Universal hover/press feedback so every page feels responsive.
   All within existing tokens. Respects reduced-motion.
   ═══════════════════════════════════════════════════════════ */

/* Card lift — broad coverage of the card patterns used across pages */
[class*="-card"], [class*="card-"],
.access-item, .facet-proof-item, .uc-card, .gov-card, .cy-card,
.tcard, .feature, .cap-card, .metric, .persona, .stat {
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease),
              box-shadow 0.32s var(--ease), background 0.32s var(--ease);
}
[class*="-card"]:hover, .access-item:hover, .facet-proof-item:hover,
.uc-card:hover, .gov-card:hover, .cy-card:hover, .tcard:hover,
.cap-card:hover, .feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-acc);
  box-shadow: 0 16px 44px rgba(0,0,0,0.30);
}
/* icons inside hovered cards get a tiny scale */
[class*="-card"]:hover [class*="-icon"],
.gov-card:hover .gov-card-icon, .cy-card:hover .cy-card-icon,
.cap-card:hover [class*="ic"] {
  transform: scale(1.08);
  transition: transform 0.32s var(--ease);
}

/* Buttons — press + lift feedback */
.btn { transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(148, 89, 255,0.34); }

/* Nav links — animated underline */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover::after, .nav-link.current::after { transform: scaleX(1); }

/* Footer + list links — subtle slide */
.foot-col a, .mobile-menu-item {
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  display: inline-block;
}
.foot-col a:hover { color: var(--accent-2); transform: translateX(3px); }

/* "Live" dots breathe a bit stronger so the product feels active */
.uc-card-dot, .fcb-avatar { will-change: opacity; }

@media (prefers-reduced-motion: reduce) {
  [class*="-card"], .btn, .nav-link::after, .foot-col a,
  .access-item, .uc-card, .gov-card, .cy-card, .tcard, .cap-card {
    transition: none !important;
  }
  [class*="-card"]:hover, .btn:hover, .btn:active,
  .cap-card:hover, .gov-card:hover, .cy-card:hover { transform: none !important; }
  .nav-link::after { display: none; }
}

/* ── Live scenario playback (domain pages) ── */
html.js .scn-chat.scn-armed .scn-msg { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
html.js .scn-chat .scn-msg.scn-in { opacity: 1; transform: none; }
.scn-typing-dots { display: inline-flex; gap: 5px; align-items: center; }
.scn-typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); opacity: .5; animation: scnType 1.1s infinite ease-in-out; }
.scn-typing-dots span:nth-child(2) { animation-delay: .18s; }
.scn-typing-dots span:nth-child(3) { animation-delay: .36s; }
@keyframes scnType { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
html.js .scn-panel.scn-armed .scn-row { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
html.js .scn-panel .scn-row.scn-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .scn-chat.scn-armed .scn-msg, .scn-panel.scn-armed .scn-row { opacity: 1 !important; transform: none !important; }
  .scn-typing-dots span { animation: none; }
}

/* ═══════════════ DECK-DERIVED COMPONENTS (2026-07-27) ═══════════════ */

/* Problem "tax" stat block */
.tax-section { padding: clamp(49px, 7vw, 84px) clamp(20px, 5vw, 28px) 20px; position: relative; }
.tax-inner { max-width: 1200px; margin: 0 auto; }
.tax-head { max-width: 760px; margin-bottom: 40px; }
.tax-head h2 { font-size: clamp(24px,2.8vw,34px); font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; margin: 12px 0 0; }
.tax-head h2 em { font-style: normal; color: var(--accent-2); }
.tax-head p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-top: 14px; max-width: 640px; }
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tax-card { padding: 26px 24px; border: 1px solid var(--border-2); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.14)); }
.tax-stat { font-family: var(--mono); font-size: clamp(30px, 5.5vw, 38px); font-weight: 700; letter-spacing: -1.4px; line-height: 1; color: var(--amber); }
.tax-k { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 10px; }
.tax-desc { font-size: 13px; color: var(--text-3); line-height: 1.55; margin-top: 10px; }
.tax-quote { font-size: 12.5px; color: var(--text-2); font-style: italic; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); line-height: 1.5; }
/* Tablet: 2-up so 3 problem cards aren't a tall stack; mobile: compact single column */
@media (max-width: 860px) { .tax-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .tax-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .tax-grid { grid-template-columns: 1fr; }
  .tax-card { padding: 18px 18px; }
  .tax-card:last-child { grid-column: auto; }
  .tax-stat { display: inline-block; }
  .tax-k { margin-top: 5px; }
  .tax-desc { margin-top: 8px; }
  .tax-quote { margin-top: 11px; padding-top: 11px; }
}

/* Buyer-outcome tiles ("what a CISO/CFO/SRE leader measures") */
.buyer-section { padding: 40px 28px 96px; position: relative; }
.buyer-inner { max-width: 1200px; margin: 0 auto; }
.buyer-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.buyer-head h3 { font-size: clamp(19px,2vw,24px); font-weight: 700; letter-spacing: -0.5px; }
.buyer-head h3 em { font-style: normal; color: var(--accent-2); }
.buyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.buyer-tile { padding: 24px 22px; border: 1px solid var(--border-2); border-radius: 16px; background: rgba(0,0,0,0.2); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.buyer-tile:hover { border-color: var(--border-acc); transform: translateY(-2px); }
.buyer-val { font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: -1.4px; line-height: 1; color: var(--text); }
.buyer-lbl { font-size: 13px; color: var(--text-3); line-height: 1.5; margin-top: 12px; }
.buyer-foot { font-size: 13px; color: var(--text-3); margin-top: 22px; }
@media (max-width: 900px) { .buyer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 330px) { .buyer-grid { grid-template-columns: 1fr; } }

/* Sovereignty band */
.sov-band { padding: 30px 28px 96px; }
.sov-card { max-width: 1080px; margin: 0 auto; border: 1px solid var(--border-2); border-radius: 20px; padding: 40px 40px; background: linear-gradient(135deg, rgba(148, 89, 255,0.06), rgba(0,0,0,0.16)); position: relative; overflow: hidden; }
.sov-eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.sov-h { font-size: clamp(22px,2.6vw,30px); font-weight: 700; letter-spacing: -0.7px; line-height: 1.15; max-width: 620px; }
.sov-h em { font-style: normal; color: var(--amber); }
.sov-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.sov-pillar-k { font-size: 13.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sov-pillar-k::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); flex: 0 0 auto; }
.sov-pillar-d { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin-top: 8px; padding-left: 15px; }
@media (max-width: 780px) { .sov-card { padding: 30px 24px; } .sov-pillars { grid-template-columns: 1fr; gap: 18px; } }

/* ── Visual rhythm: break up the stacked text-card sections on domain pages ── */
.cap-section { background: radial-gradient(130% 62% at 50% 0%, rgba(148, 89, 255,0.055), transparent 58%); }
.buyer-section {
  background: linear-gradient(180deg, rgba(148, 89, 255,0.06), rgba(148, 89, 255,0.015) 70%);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.buyer-section::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  opacity: 0.5;
}



/* ═══ INTERACTIVE CALCULATORS (moved from homepage · used on domain pages) ═══ */
/* ═══════════════════════════════════════════════
   SECTION 3 · THE SCENARIO — one operation, played end-to-end
   ═══════════════════════════════════════════════ */
.scenario {
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 28px) clamp(56px, 9vw, 104px);
  position: relative;
}
.scenario::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.scenario-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.scenario-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.scenario-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 18px;
}
.scenario-head h2 em {
  font-style: normal; font-weight: 600;
  color: var(--accent-2);
}
.scenario-head p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   FIVE WAKE-UP CALL TABS + PANELS
   ═══════════════════════════════════════════════ */
.wuc-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 8px;
  background: rgba(23, 23, 23,0.55);
  border: 1px solid var(--border-2);
  border-radius: 18px;
}
@media (max-width: 920px) {
  .wuc-tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .wuc-tabs { grid-template-columns: 1fr; }
}
.wuc-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s var(--ease);
  position: relative;
}
.wuc-tab:hover {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-2);
}
.wuc-tab.active {
  background: rgba(148, 89, 255,0.10);
  border-color: var(--border-acc);
}
.wuc-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
  margin-bottom: 2px;
  flex-shrink: 0;
}
.wuc-tab-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
}
.wuc-tab-q {
  font-family: var(--serif);
  font-style: normal;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
}
.wuc-tab.active .wuc-tab-q {
  color: var(--text-2);
}
/* Mobile: 5 domains as one compact single-line tab strip (labels only; each
   domain's question shows in the panel below). Placed after the base .wuc-tab
   rules so these win. */
@media (max-width: 540px) {
  .wuc-tabs { display: flex; grid-template-columns: none; gap: 3px; padding: 5px; margin-bottom: 24px;
    overflow-x: auto; scrollbar-width: none; }
  .wuc-tabs::-webkit-scrollbar { display: none; }
  .wuc-tab { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 5px;
    padding: 9px 2px; text-align: center; }
  .wuc-tab-dot { margin-bottom: 0; }
  .wuc-tab-label { font-size: 10.5px; letter-spacing: -0.3px; white-space: nowrap; }
  .wuc-tab-q { display: none; }
}
.wuc-panel { display: none; }
.wuc-panel.active { display: block; }


/* ═══════════════════════════════════════════════
   INTERACTIVE SCENARIO · "Run with your numbers"
   The killer move: real arithmetic on user inputs
   ═══════════════════════════════════════════════ */
.try-it {
  max-width: 1200px;
  margin: 56px auto 0;
  background: linear-gradient(180deg, rgba(148, 89, 255,0.06), rgba(251, 198, 80,0.02) 60%, transparent);
  border: 1px solid rgba(148, 89, 255,0.18);
  border-radius: 24px;
  padding: 40px 44px 44px;
  position: relative;
  overflow: hidden;
}
.try-it::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 300px at 80% -10%, rgba(251, 198, 80,0.06), transparent 60%),
    radial-gradient(600px 280px at 10% 110%, rgba(148, 89, 255,0.06), transparent 60%);
  pointer-events: none;
}
.try-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.try-head-left { max-width: 700px; }
.try-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-2);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.try-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: blink 1.6s var(--ease) infinite;
}
.try-h3 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 12px;
}
.try-h3 em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(120deg, var(--accent-2), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.try-sub {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.try-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,212,160,0.10);
  border: 1px solid rgba(45,212,160,0.30);
  border-radius: 100px;
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.try-status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: blink 1.6s var(--ease) infinite;
}

/* Grid: inputs (left) + result (right) */
.try-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) {
  .try-grid { grid-template-columns: 1fr; }
  .try-grid > * { min-width: 0; }
}

/* Input panel */
.try-inputs {
  background: rgba(12, 12, 12,0.55);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 26px 24px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ti-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ti-head::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
.ti-group { margin-bottom: 22px; }
.ti-group:last-child { margin-bottom: 0; }
.ti-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 9px;
}
.ti-label-val {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-2);
}

/* Slider */
.ti-slider-wrap { position: relative; padding: 4px 0; }
.ti-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent-2) var(--fill, 30%), rgba(108,111,146,0.18) var(--fill, 30%), rgba(108,111,146,0.18) 100%);
  outline: none;
  cursor: pointer;
}
.ti-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(167, 123, 255,0.50), 0 0 0 1px rgba(148, 89, 255,0.30);
  cursor: pointer;
  transition: transform 0.15s;
}
.ti-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.ti-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(167, 123, 255,0.50);
  cursor: pointer;
}
.ti-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.4px;
}

/* Pill toggle */
.ti-pills {
  display: flex;
  gap: 6px;
  background: rgba(12, 12, 12,0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.ti-pill {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--text-3);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.ti-pill:hover { color: var(--text-2); }
.ti-pill.active {
  background: var(--accent-lo);
  color: var(--accent-2);
  box-shadow: 0 0 0 1px var(--border-acc);
}

/* Switch */
.ti-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.ti-switch-lbl {
  font-size: 13px;
  color: var(--text-2);
  margin-right: 12px;
}
.ti-switch {
  position: relative;
  width: 38px;
  height: 21px;
  background: rgba(108,111,146,0.20);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ti-switch::after {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s var(--ease);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.ti-switch.on { background: var(--accent-2); }
.ti-switch.on::after { transform: translateX(17px); }

/* Compute button */
.ti-cta {
  width: 100%;
  margin-top: 8px;
  padding: 13px 18px;
  background: linear-gradient(120deg, var(--accent-2), var(--amber));
  color: #0C0C0C;
  border: none;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(167, 123, 255,0.22);
  font-family: var(--sans);
  letter-spacing: 0.1px;
}
.ti-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(167, 123, 255,0.32); }
.ti-cta:active { transform: translateY(0); }
.ti-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Result panel */
.try-result {
  background: rgba(12, 12, 12,0.55);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 28px 28px 24px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 470px;
}
.tr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.tr-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tr-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    url('public/cindy-avatar.webp?v=3') center/cover,
    var(--accent-lo);
  box-shadow: 0 0 0 1.5px rgba(167, 123, 255,0.40), 0 0 12px rgba(148, 89, 255,0.30);
  flex-shrink: 0;
}
.tr-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1px;
}
.tr-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
.tr-pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tr-pill.idle { color: var(--text-3); background: rgba(108,111,146,0.12); }
.tr-pill.thinking { color: var(--accent-2); background: var(--accent-lo); }
.tr-pill.done { color: var(--teal); background: rgba(45,212,160,0.12); }

/* Three pulsing dots used as the "thinking" indicator */
.tr-pill.thinking::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow:
    6px 0 0 0 var(--accent-2),
    12px 0 0 0 var(--accent-2);
  margin-right: 14px;
  animation: thinkDots 1.2s ease-in-out infinite;
}
@keyframes thinkDots {
  0%, 100% {
    background: rgba(148, 89, 255,0.30);
    box-shadow: 6px 0 0 0 rgba(148, 89, 255,0.30), 12px 0 0 0 rgba(148, 89, 255,0.30);
  }
  33% {
    background: var(--accent-2);
    box-shadow: 6px 0 0 0 rgba(148, 89, 255,0.30), 12px 0 0 0 rgba(148, 89, 255,0.30);
  }
  66% {
    background: rgba(148, 89, 255,0.30);
    box-shadow: 6px 0 0 0 var(--accent-2), 12px 0 0 0 rgba(148, 89, 255,0.30);
  }
  99% {
    background: rgba(148, 89, 255,0.30);
    box-shadow: 6px 0 0 0 rgba(148, 89, 255,0.30), 12px 0 0 0 var(--accent-2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tr-pill.thinking::before { animation: none; background: var(--accent-2); box-shadow: 6px 0 0 0 var(--accent-2), 12px 0 0 0 var(--accent-2); }
}

/* Hero number */
.tr-headline {
  text-align: center;
  padding: 14px 0 26px;
}
.tr-headline-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tr-headline-num {
  font-size: clamp(54px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(120deg, var(--teal), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'tnum';
  transition: opacity 0.3s;
}
.tr-headline-num.computing { opacity: 0.4; }
.tr-headline-sub {
  font-size: 13.5px;
  color: var(--text-2);
  margin-top: 8px;
}
.tr-headline-sub strong { color: var(--text); font-weight: 600; }

/* Breakdown bars */
.tr-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.tr-bar-row {
  display: grid;
  grid-template-columns: 175px 1fr 95px;
  align-items: center;
  gap: 12px;
}
.tr-bar-name {
  font-size: 12.5px;
  color: var(--text-2);
}
.tr-bar-name small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.4px;
  margin-top: 1px;
}
.tr-bar-track {
  height: 9px;
  background: rgba(108,111,146,0.10);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.tr-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(90deg, var(--accent-2), var(--amber));
  width: 0%;
}
.tr-bar-fill.c-rightsizing { background: linear-gradient(90deg, #5B8EF0, #2DD4A0); }
.tr-bar-fill.c-idle { background: linear-gradient(90deg, #FBC650, #F88B5E); }
.tr-bar-fill.c-reserved { background: linear-gradient(90deg, #A77BFF, #5B8EF0); }
.tr-bar-fill.c-ml { background: linear-gradient(90deg, #F88B5E, #F06580); }
.tr-bar-val {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-feature-settings: 'tnum';
}

/* Cindy log */
.tr-log {
  margin-top: auto;
  background: rgba(12, 12, 12,0.50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-2);
  min-height: 90px;
  max-height: 130px;
  overflow-y: auto;
  letter-spacing: 0.2px;
}
.tr-log-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.tr-log-line.in { opacity: 1; transform: none; }
.tr-log-line .tag { color: var(--accent-2); margin-right: 7px; font-weight: 600; }
.tr-log-line .tag.ok { color: var(--teal); }
.tr-log-line .tag.warn { color: var(--amber); }
.tr-log-line .num { color: var(--amber); font-weight: 600; }

/* Trust pill below result */
.tr-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.6px;
}
.tr-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tr-trust span::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}
