/* ============================================================================
   SUIVO — Marketing site  ·  Dark mode  ·  Warm near-black (DS default)
   ============================================================================ */

@font-face {
  font-family: 'Inter';
  src: url('Inter-VariableFont_opsz_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Dark surfaces */
  --paper:       #111111;
  --paper-deep:  #0D0D0D;
  --card:        #191919;
  --card-raised:  #222222;

  /* Text */
  --ink:   #F4F2EE;
  --ink-2: #8C857B;
  --ink-3: #504A46;

  /* Borders */
  --line:      #302D29;
  --line-soft: #252220;

  /* Eva */
  --eva-surface: rgba(255,255,255,0.04);
  --eva-border:  rgba(255,255,255,0.09);
  --eva-text:    #8C857B;

  /* Lead states (brightened for dark bg) */
  --st-new:    #93C5FD;
  --st-active: #6EE7B7;
  --st-stale:  #7A8999;
  --st-atrisk: #F5A0A0;
  --st-onhold: #B8A3F0;
  --st-closed: #6E7580;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);

  --maxw: 1140px;
  --pad: clamp(20px,5vw,40px);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-y: scroll; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255,255,255,0.12); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(56px,8vw,100px) 0; }
.section-tight { padding: clamp(40px,5.5vw,64px) 0; }
.band-deep { background: var(--paper-deep); }
.band-card { background: var(--card); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
h1,h2,h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
.display { font-size: clamp(38px,5.8vw,70px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.h-sec   { font-size: clamp(28px,3.8vw,46px); letter-spacing: -0.03em; line-height: 1.06; }
.h-sub   { font-size: clamp(20px,2.4vw,28px); letter-spacing: -0.025em; line-height: 1.12; }
.lead    { font-size: clamp(16px,1.8vw,19px); font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.muted   { color: var(--ink-2); }
.balance { text-wrap: balance; }
.pretty  { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: var(--r-sm); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 10px 18px; font-size: 14px; }
.btn .ar { transition: transform .18s ease; display: inline-flex; align-items: center; }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
body { padding-top: 62px; }
section[id] { scroll-margin-top: 84px; }
.nav-inner { display: flex; align-items: center; height: 62px; }
.nav-logo img { height: 24px; width: auto; }
.nav-logo img.lm-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 24px; }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Lang switch + theme toggle */
.nav-lang {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font);
}
.nav-lang a {
  font-size: 11.5px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-lang a:hover { color: var(--ink-2); }
.nav-lang a.active {
  background: var(--ink);
  color: var(--paper);
}
.nav-theme {
  appearance: none;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.nav-theme:hover { color: var(--ink); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.nav-theme svg { width: 16px; height: 16px; display: block; }
.nav-theme .ico-moon { display: none; }
.nav-theme .ico-sun { display: block; }
[data-theme="light"] .nav-theme .ico-sun { display: none; }
[data-theme="light"] .nav-theme .ico-moon { display: block; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-3); padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.mmenu {
  display: none; position: fixed; top: 62px; left: 0; right: 0;
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: 12px; z-index: 49; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.mmenu.open { display: flex; }
.mmenu a { display: block; padding: 12px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); transition: background 0.2s ease; }
.mmenu a:hover { background: var(--card-raised); }
.mmenu a.btn-primary { background: var(--ink); color: var(--paper) !important; text-align: center; margin-top: 8px; }
.mmenu a.btn-primary:hover { background: var(--ink); opacity: 0.88; }
.mmenu .btn { margin-top: 8px; padding: 12px 14px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-deep); color: var(--ink-3); padding: 56px 0 36px; border-top: 1px solid var(--line); }
.footer a { color: var(--ink-3); transition: color .15s ease; }
.footer a:hover { color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 0 0 14px; }
.foot-col a { display: block; font-size: 14.5px; font-weight: 300; margin-bottom: 10px; }
.foot-desc { max-width: 280px; color: var(--ink-3); font-weight: 300; font-size: 14px; line-height: 1.55; margin: 16px 0 0; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; }

/* ============================================================================
   LIGHT THEME — cool techy white mirror (matches dark mode's neutral feel)
   ============================================================================ */
[data-theme="light"] {
  --paper:       #F7F8FA;
  --paper-deep:  #ECEEF2;
  --card:        #FFFFFF;
  --card-raised: #F3F5F8;
  --ink:         #0F1115;
  --ink-2:       #5A6273;
  --ink-3:       #A0A6B3;
  --line:        #E2E5EA;
  --line-soft:   #ECEEF2;
  --eva-text:    #6D5BC4;
  --shadow-sm:   0 1px 2px rgba(15,17,21,0.04);
  --shadow-md:   0 4px 14px rgba(15,17,21,0.05), 0 1px 3px rgba(15,17,21,0.04);

  --st-new:    #2563EB;
  --st-active: #15803D;
  --st-stale:  #5A6878;
  --st-atrisk: #B23A3A;
  --st-onhold: #7C3AED;
  --st-closed: #6B7280;
}
[data-theme="light"] body { background: var(--paper); color: var(--ink); }
[data-theme="light"] ::selection { background: rgba(37,99,235,0.15); }

[data-theme="light"] .nav { background: rgba(247,248,250,0.88); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); }
[data-theme="light"] .nav-logo img.lm-dark { display: none; }
[data-theme="light"] .nav-logo img.lm-light { display: block; }
[data-theme="light"] .nav-links a { color: var(--ink-2); }
[data-theme="light"] .nav-links a:hover { background: rgba(15,17,21,0.04); color: var(--ink); }
[data-theme="light"] .nav-links a.active { color: var(--ink); }
[data-theme="light"] .nav-lang { background: rgba(15,17,21,0.03); border-color: var(--line); }
[data-theme="light"] .nav-lang a { color: var(--ink-3); }
[data-theme="light"] .nav-lang a:hover { color: var(--ink-2); }
[data-theme="light"] .nav-lang a.active { background: var(--ink); color: #FFF; }
[data-theme="light"] .nav-theme { background: rgba(15,17,21,0.03); color: var(--ink-2); border-color: var(--line); }
[data-theme="light"] .nav-theme:hover { background: rgba(15,17,21,0.06); color: var(--ink); border-color: rgba(15,17,21,0.14); }

[data-theme="light"] .footer { background: var(--paper-deep); color: var(--ink-2); border-top-color: var(--line); }
[data-theme="light"] .footer a { color: var(--ink-2); }
[data-theme="light"] .footer a:hover { color: var(--ink); }
[data-theme="light"] .foot-col h4 { color: var(--ink-3); }
[data-theme="light"] .foot-bottom { border-top-color: var(--line); color: var(--ink-3); }
[data-theme="light"] .foot-logo img.lm-dark { display: none; }
[data-theme="light"] .foot-logo img.lm-light { display: block; }

[data-theme="light"] .btn-primary { background: var(--ink); color: #FFF; }
[data-theme="light"] .btn-primary:hover { background: #000; }
[data-theme="light"] .btn-ghost { color: var(--ink); border-color: var(--line); }
[data-theme="light"] .btn-ghost:hover { background: rgba(15,17,21,0.04); border-color: rgba(15,17,21,0.18); }

/* Cards */
[data-theme="light"] .card-float,
[data-theme="light"] .ui { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-md); }
[data-theme="light"] .card-float:hover {
  border-color: rgba(15,17,21,0.14);
  box-shadow: 0 8px 24px rgba(15,17,21,0.08), 0 2px 8px rgba(15,17,21,0.04);
}
[data-theme="light"] .card-hdr { background: var(--card-raised); border-bottom-color: var(--line-soft); }
[data-theme="light"] .ph-card { background: var(--card); border-color: var(--line); }
[data-theme="light"] .ph-card:hover {
  border-color: rgba(15,17,21,0.14);
  box-shadow: 0 8px 24px rgba(15,17,21,0.08);
}
[data-theme="light"] .ph-card .card-float { background: var(--paper); box-shadow: none; }

/* Feat / who / sec cards — kill dark gradient surfaces + dark shadows */
[data-theme="light"] .feat-item,
[data-theme="light"] .who-card,
[data-theme="light"] .sec-item,
[data-theme="light"] .lifecycle,
[data-theme="light"] .workflow-viz,
[data-theme="light"] .lc-card {
  background: var(--card) !important;
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 3px rgba(15,17,21,0.04);
}
[data-theme="light"] .feat-grid { background: var(--line); border-color: var(--line); box-shadow: 0 1px 3px rgba(15,17,21,0.04); }
[data-theme="light"] .feat-item:hover { background: #FAFBFD !important; }
[data-theme="light"] .who-card:hover,
[data-theme="light"] .sec-item:hover,
[data-theme="light"] .lc-card:hover {
  background: #FAFBFD !important;
  border-color: rgba(15,17,21,0.14);
  box-shadow: 0 8px 22px rgba(15,17,21,0.06);
}
/* Disable the dark inner top-highlight on light mode */
[data-theme="light"] .who-card::before,
[data-theme="light"] .sec-item::before { display: none; }
/* Soften the radial brand glows on hover */
[data-theme="light"] .who-card::after { background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,0.04), transparent 60%); }
[data-theme="light"] .sec-item::after { background: radial-gradient(80% 60% at 50% 0%, rgba(96,165,250,0.04), transparent 60%); }
[data-theme="light"] .feat-item::after { background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,0.04), transparent 60%); }

[data-theme="light"] .avatar { background: var(--paper-deep); color: var(--ink-2); }
[data-theme="light"] .qa-btn { background: var(--paper-deep); color: var(--ink-2); }
[data-theme="light"] .qa-btn svg { color: var(--ink); }
[data-theme="light"] .qa-btn:hover { background: var(--card-raised); }
[data-theme="light"] .task-card { background: #F0F2F5; }
[data-theme="light"] .task-card:hover { background: #E9EBF0; }
[data-theme="light"] .action-card { background: rgba(37,99,235,0.05); }
[data-theme="light"] .action-card:hover { background: rgba(37,99,235,0.08); }
[data-theme="light"] .stat-tile { background: var(--card); border-color: var(--line); }

[data-theme="light"] .chip-new     { color: var(--st-new);    background: rgba(37,99,235,0.10); }
[data-theme="light"] .chip-active  { color: var(--st-active); background: rgba(21,128,61,0.10); }
[data-theme="light"] .chip-stale   { color: var(--st-stale);  background: rgba(90,104,120,0.10); }
[data-theme="light"] .chip-atrisk  { color: var(--st-atrisk); background: rgba(178,58,58,0.10); }
[data-theme="light"] .chip-onhold  { color: var(--st-onhold); background: rgba(124,58,237,0.10); }
[data-theme="light"] .chip-closed  { color: var(--st-closed); background: rgba(107,114,128,0.10); }
[data-theme="light"] .chip-neutral { color: var(--ink-2); background: rgba(15,17,21,0.04); }

[data-theme="light"] .pill { border-color: var(--line); color: var(--ink-2); background: var(--card); }
[data-theme="light"] .ico-c { border-color: rgba(15,17,21,0.12); background: transparent; }
[data-theme="light"] .ico-c > span, [data-theme="light"] .ico-c svg { color: var(--ink) !important; }
[data-theme="light"] .mmenu { background: var(--card); border-bottom-color: var(--line); }
[data-theme="light"] .mmenu a { color: var(--ink); }
[data-theme="light"] .mmenu a:hover { background: var(--paper-deep); }

/* Eva pill in light */
[data-theme="light"] .eva-pill {
  background: linear-gradient(var(--paper), var(--paper)) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
  color: #6D5BC4;
}
[data-theme="light"] .card-float .eva-pill {
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
}
[data-theme="light"] .band-deep .eva-pill {
  background: linear-gradient(var(--paper-deep), var(--paper-deep)) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
}

/* Forms in light */
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
  background: var(--card); border-color: var(--line); color: var(--ink);
}
[data-theme="light"] .form-field input::placeholder,
[data-theme="light"] .form-field textarea::placeholder { color: var(--ink-3); }
[data-theme="light"] .form-field input:focus,
[data-theme="light"] .form-field select:focus,
[data-theme="light"] .form-field textarea:focus { border-color: var(--ink-2); }

/* Lifecycle stage in light */
[data-theme="light"] .lf-dot-inner { background: var(--card); border-color: rgba(15,17,21,0.16); }
[data-theme="light"] .lf-dot[data-by="suivo"].active .lf-dot-inner { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 14px rgba(15,17,21,0.18); }
[data-theme="light"] .lf-dot.active .lf-dot-inner { box-shadow: 0 0 14px rgba(139,92,246,0.35); }
/* Done Suivo dots — were white/transparent, invisible on light bg */
[data-theme="light"] .lf-dot[data-by="suivo"].done .lf-dot-inner {
  background: rgba(15,17,21,0.07);
  border-color: rgba(15,17,21,0.16);
}
}
/* Done Eva dots — slightly more visible purple tint */
[data-theme="light"] .lf-dot.done .lf-dot-inner {
  background: rgba(139,92,246,0.09);
  border-color: rgba(139,92,246,0.22);
}
}
/* Done label text — keep readable */
[data-theme="light"] .lf-dot.done { color: var(--ink-3); }
[data-theme="light"] .lf-ctrl { background: rgba(15,17,21,0.03); border-color: var(--line); color: var(--ink-2); }
[data-theme="light"] .lf-ctrl:hover { background: rgba(15,17,21,0.07); border-color: rgba(15,17,21,0.18); color: var(--ink); }
[data-theme="light"] .lf-stage-num { color: var(--ink); background: none; -webkit-text-fill-color: var(--ink); }
[data-theme="light"] .lf-stage-by { background: rgba(15,17,21,0.04); border-color: var(--line); color: var(--ink-3); }
[data-theme="light"] .lf-stage-by[data-by="eva"] {
  background: linear-gradient(var(--paper), var(--paper)) padding-box,
              linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  color: #6D5BC4;
}
[data-theme="light"] .lf-stage-visual::before { background: radial-gradient(50% 50% at 50% 50%, rgba(139,92,246,0.04), transparent 70%); }

/* Timeline in light */
[data-theme="light"] .tl-ico { background: rgba(15,17,21,0.03); border-color: var(--line); color: var(--ink-2); }
[data-theme="light"] .tl-item:hover { background: rgba(15,17,21,0.02); }
/* Eva icon keeps purple gradient border in light */
[data-theme="light"] .tl-ico-eva {
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
  color: #8B5CF6;
}
/* Completed task icon stays green */
[data-theme="light"] .tl-ico [style*="6EE7B7"] { color: #15803D !important; }
[data-theme="light"] .tl-item:not(:last-child)::after { background: var(--line); }

/* CTA box in light */
[data-theme="light"] .cta-box { background: var(--paper-deep); border-color: var(--line); }
[data-theme="light"] .cta-box-wrap { background: var(--paper); }

/* Hero radial glow soften in light */
[data-theme="light"] .hero-bg::before,
[data-theme="light"] .lifecycle::before { opacity: 0.5; }

/* Lifecycle mini-cards */
[data-theme="light"] .lc-card-eva {
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(160deg, rgba(139,92,246,0.4), rgba(15,17,21,0.04) 50%, rgba(96,165,250,0.3)) border-box !important;
  border: 1px solid transparent !important;
}
[data-theme="light"] .lc-foot-by-suivo { background: rgba(15,17,21,0.04); border-color: var(--line); color: var(--ink-2); }
[data-theme="light"] .lc-foot-by-eva {
  background: linear-gradient(var(--card),var(--card)) padding-box, linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
}
[data-theme="light"] .lc-tip { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: 0 10px 28px rgba(15,17,21,0.12); }
[data-theme="light"] .lc-tip::after { background: var(--card); border-color: var(--line); }
[data-theme="light"] .lc-src { background: rgba(15,17,21,0.03); border-color: var(--line); color: var(--ink-2); }
[data-theme="light"] .lc-mini-av { background: var(--paper-deep); color: var(--ink-2); border-color: var(--line); }
[data-theme="light"] .lc-check,
[data-theme="light"] .lc-pipe-row,
[data-theme="light"] .lc-tag,
[data-theme="light"] .lc-stats-cell,
[data-theme="light"] .lc-cal-n,
[data-theme="light"] .lc-task { background: rgba(15,17,21,0.03); color: var(--ink); }
[data-theme="light"] .lc-pipe-lab, [data-theme="light"] .lc-stats-lab, [data-theme="light"] .lc-cal-mo, [data-theme="light"] .lc-cal-d { color: var(--ink-3); }
[data-theme="light"] .lc-cal-hi { background: linear-gradient(var(--card),var(--card)) padding-box, linear-gradient(135deg, #8B5CF6, #60A5FA) border-box; color: var(--ink); }

/* Lead row hover in light */
[data-theme="light"] .lead-row:hover { background: rgba(15,17,21,0.02); }

/* Light mode hero ambient glow (was using dark dropshadows for the floating cards) */
[data-theme="light"] .hero-grid [aria-hidden="true"][style*="position:absolute"] {
  background: radial-gradient(60% 50% at 70% 35%, rgba(37,99,235,0.10), transparent 70%),
              radial-gradient(50% 50% at 30% 80%, rgba(139,92,246,0.06), transparent 70%) !important;
}

/* ====== Light mode fixes: icon circles, card hover, glassy cards ====== */

/* ico-c hover: dark mode uses var(--card-raised) which is dark — override in light */
[data-theme="light"] .ico-c {
  background: rgba(15,17,21,0.02) !important;
}
[data-theme="light"] .feat-item:hover .ico-c,
[data-theme="light"] .who-card:hover .ico-c,
[data-theme="light"] .sec-item:hover .ico-c {
  background: rgba(15,17,21,0.04) !important;
  border-color: rgba(15,17,21,0.2);
}
[data-theme="light"] .ico-c.ico-eva {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box !important;
  box-shadow: 0 0 14px rgba(139,92,246,0.10);
}
[data-theme="light"] .feat-item:hover .ico-c.ico-eva {
  background:
    linear-gradient(#FAFBFD, #FAFBFD) padding-box,
    linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box !important;
  box-shadow: 0 0 22px rgba(139,92,246,0.18);
}

/* Glassy white cards — soft transparency + backdrop blur */
[data-theme="light"] .card-float {
  background: #FBFCFD;
  border-color: rgba(15,17,21,0.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 1px 2px rgba(15,17,21,0.02),
    0 4px 12px rgba(15,17,21,0.025);
}
[data-theme="light"] .card-float:hover {
  background: #FDFDFE;
  border-color: rgba(15,17,21,0.11);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 1px 2px rgba(15,17,21,0.03),
    0 6px 18px rgba(15,17,21,0.04);
}
[data-theme="light"] .card-hdr {
  background: #F4F6F9;
}

/* Brighten the hover highlight color on light-mode cards so it's actually visible */
[data-theme="light"] .feat-item {
  transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94), transform 1s cubic-bezier(0.25,0.46,0.45,0.94), background 0.9s ease, border-color 0.8s ease, box-shadow 0.8s ease;
}
[data-theme="light"] .feat-item:hover {
  background: #F5F7FC !important;
  border-color: rgba(37,99,235,0.12);
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,17,21,0.04);
}
[data-theme="light"] .who-card,
[data-theme="light"] .sec-item {
  transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94), transform 1s cubic-bezier(0.25,0.46,0.45,0.94), background 0.9s ease, border-color 0.8s ease, box-shadow 0.8s ease;
}
[data-theme="light"] .who-card:hover,
[data-theme="light"] .sec-item:hover {
  background: #F5F7FC !important;
  border-color: rgba(37,99,235,0.12) !important;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15,17,21,0.04);
}
[data-theme="light"] .lc-card:hover {
  background: #F2F4F8 !important;
  border-color: rgba(15,17,21,0.11);
  box-shadow: 0 6px 16px rgba(15,17,21,0.04);
}
[data-theme="light"] .ph-card:hover {
  background: #F2F4F8 !important;
  border-color: rgba(15,17,21,0.11);
  box-shadow: 0 6px 16px rgba(15,17,21,0.04);
}
[data-theme="light"] .stat-tile { background: #FBFCFD; }

/* Hero floating pills in light — solid, no transparency */
[data-theme="light"] .pill,
[data-theme="light"] .hero-grid .pill {
  background: #FFFFFF !important;
  border-color: rgba(15,17,21,0.10);
  box-shadow: 0 2px 8px rgba(15,17,21,0.06);
  color: var(--ink);
}
/* ── Accent icon colors in light mode ── */
/* Green check on completed task timeline item */
[data-theme="light"] .tl-ico:has([style*="6EE7B7"]) {
  background: rgba(21,128,61,0.08);
  border-color: rgba(21,128,61,0.22);
  color: #15803D;
}
/* Purple Eva sparkle icon */
[data-theme="light"] .tl-ico-eva {
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, #8B5CF6, #60A5FA) border-box !important;
  border: 1px solid transparent !important;
  color: #8B5CF6 !important;
}
/* Green check on feat/sec icon circles */
[data-theme="light"] .ico-c:has([style*="6EE7B7"]) {
  border-color: rgba(21,128,61,0.22);
  background: rgba(21,128,61,0.06) !important;
  color: #15803D;
}
/* Blue accent for mail / inbox icons where used */
[data-theme="light"] .ico-c:has([style*="60A5FA"]) {
  border-color: rgba(37,99,235,0.20);
  background: rgba(37,99,235,0.06) !important;
  color: #2563EB;
}
[data-theme="light"] .hero-grid .avatar {
  background: #E8EAEE !important;
  color: var(--ink-2) !important;
  border-color: rgba(15,17,21,0.10) !important;
}

/* Non-card surfaces (feat/who/sec/lc/ph cards): soften from pure white */
[data-theme="light"] .feat-item,
[data-theme="light"] .who-card,
[data-theme="light"] .sec-item,
[data-theme="light"] .lifecycle,
[data-theme="light"] .workflow-viz,
[data-theme="light"] .lc-card,
[data-theme="light"] .ph-card {
  background: #FBFCFD !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(15,17,21,0.02) !important;
}
[data-theme="light"] .ph-card .card-float { background: #F6F8FB; box-shadow: none; }

/* ============================================================================
   APP UI COMPONENTS (recreated cards)
   ============================================================================ */
.ui { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.avatar {
  width: 42px; height: 42px; border-radius: 999px; background: var(--card-raised);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); flex: 0 0 auto;
}
.avatar.sm { width: 34px; height: 34px; font-size: 12px; }

.chip {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
}
.chip-new    { color: var(--st-new);    background: rgba(59,130,246,0.14);  }
.chip-active { color: var(--st-active); background: rgba(52,211,153,0.10);  }
.chip-stale  { color: var(--st-stale);  background: rgba(107,114,128,0.14); }
.chip-atrisk { color: var(--st-atrisk); background: rgba(220,80,80,0.12);   }
.chip-onhold { color: var(--st-onhold); background: rgba(147,114,240,0.13); }
.chip-closed { color: var(--st-closed); background: rgba(107,114,128,0.10); }
.chip-neutral{ color: var(--ink-3);     background: rgba(255,255,255,0.05); }

.lead-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; transition: background 0.25s ease; cursor: pointer; }
.lead-row:hover { background: rgba(255,255,255,0.025); }
.lead-row + .lead-row { border-top: 1px solid var(--line-soft); }
.lead-row .lr-body { min-width: 0; flex: 1; }
.lead-row .lr-name { font-weight: 700; font-size: 14.5px; }
.lead-row .lr-sum { color: var(--ink-2); font-size: 13px; font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.lead-row .chev { color: var(--ink-3); flex: 0 0 auto; }

.eva-pill {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
}
.eva-pill > * { align-self: center; line-height: 1; }
  color: #A78BFA;
  background: linear-gradient(#111111, #111111) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
  border: 1px solid transparent;
}
.card-float .eva-pill {
  background: linear-gradient(#141414, #141414) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
}
.band-deep .eva-pill {
  background: linear-gradient(#0D0D0D, #0D0D0D) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
}

.qa-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.qa-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 4px; background: var(--card-raised); border-radius: 10px;
  font-size: 12px; font-weight: 300; color: var(--ink-2);
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.qa-btn:hover { background: #2A2A2A; transform: translateY(-1px); }
.qa-btn svg { color: var(--ink); }

.task-card { padding: 13px; border-left: 2.5px solid var(--st-active); background: var(--paper); border-radius: 8px; transition: background 0.3s ease, transform 0.3s ease; }
.task-card:hover { background: #1A1A1A; transform: translateX(2px); }
.task-card .tc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.task-card .tc-label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.task-card .tc-count { color: var(--ink-3); font-size: 12.5px; }
.task-card .tc-body { font-weight: 300; font-size: 14px; }

.action-card { padding: 13px; border-left: 2.5px solid var(--st-new); background: rgba(59,130,246,0.05); border-radius: 8px; transition: background 0.3s ease, transform 0.3s ease; }
.action-card:hover { background: rgba(59,130,246,0.08); transform: translateX(2px); }
.action-card .ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.action-card .ac-title { display: inline-flex; align-items: center; gap: 6px; color: var(--st-new); font-weight: 600; font-size: 13px; }
.action-card .ac-meta { color: var(--ink-3); font-size: 12.5px; }
.action-card .ac-body { font-weight: 300; font-size: 14px; color: var(--ink); }

.stat-tile { padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.stat-tile .st-num { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat-tile .st-lab { color: var(--ink-2); font-size: 13px; font-weight: 300; margin-top: 5px; }

.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--card-raised); color: var(--ink-2); font-size: 12px; font-weight: 300; }

.card-float {
  background: #141414;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.card-float:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 6px 18px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.card-hdr { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 9px; background: #1A1A1A; }
.card-hdr-title { font-size: 13.5px; font-weight: 600; flex: 1; }

.ico-c {
  width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
}
.ico-c > span, .ico-c svg { display: flex; align-items: center; justify-content: center; line-height: 0; color: var(--ink) !important; }

.pill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* ---------- Hero gradient background ---------- */
@keyframes heroShift {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}
.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 75% at -5% -5%, rgba(18,48,130,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 85%, rgba(15,38,100,0.14) 0%, transparent 55%);
  pointer-events: none;
  animation: heroShift 9s ease-in-out infinite;
  z-index: 0;
}
.hero-bg > .wrap { position: relative; z-index: 1; }

/* ---------- Page layouts ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: start; }
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
}
.feat-item {
  padding: 36px 32px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  transition: background 1.4s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
  overflow: hidden;
}
.feat-item::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1);
}
.feat-item > * { position: relative; z-index: 1; }
.feat-item { transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94), transform 1s cubic-bezier(0.25,0.46,0.45,0.94), background 0.9s ease, border-color 0.8s ease, box-shadow 0.8s ease; }
.feat-item:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0) 70%),
    #181818;
  opacity: 0.88;
  transform: translateY(-1px);
}
.feat-item:hover::after { opacity: 1; }
.feat-item:hover .ico-c { border-color: rgba(255,255,255,0.32); transform: scale(1.04); }
.feat-item .ico-c { transition: border-color 0.8s ease, transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94); }

/* Eva-flavored icon ring (used inside feat-item for the Eva card) */
.ico-c.ico-eva {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
  box-shadow: 0 0 14px rgba(139,92,246,0.08);
}
.feat-item:hover .ico-c.ico-eva {
  background: linear-gradient(#1F1F1F, #1F1F1F) padding-box,
              linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
  box-shadow: 0 0 18px rgba(139,92,246,0.14);
}
.ico-c.ico-eva > span, .ico-c.ico-eva svg { color: #A78BFA !important; }
.who-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-card  {
  padding: 36px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.who-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.08), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.who-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.who-card { transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94), transform 1s cubic-bezier(0.25,0.46,0.45,0.94), background 0.9s ease, border-color 0.8s ease, box-shadow 0.8s ease; }
.who-card:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 40px rgba(0,0,0,0.4);
}
.who-card:hover::after { opacity: 1; }
.who-card:hover .ico-c { border-color: rgba(255,255,255,0.32); transform: scale(1.04); }
.who-card .ico-c { transition: border-color 0.8s ease, transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94); }
.who-card > * { position: relative; z-index: 1; }

.step-row { display: grid; grid-template-columns: 44px 1fr; gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.step-row:last-child { border-bottom: none; }
.step-num { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--ink-3); flex: 0 0 auto; margin-top: 3px; }
.step-num-eva {
  border: 1px solid transparent;
  background:
    linear-gradient(#0F0F0F, #0F0F0F) padding-box,
    linear-gradient(135deg, #8B5CF6, #818CF8, #60A5FA) border-box;
  color: #A78BFA;
}
.step-title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 7px; }
.step-desc { color: var(--ink-2); font-weight: 300; font-size: 15px; line-height: 1.6; margin: 0; }

/* contact form */
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font); font-size: 15px; font-weight: 300; color: var(--ink);
  background: var(--card-raised); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s ease; width: 100%; resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-3); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink-3); }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* security */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-radius: var(--r-xl); overflow: visible; }
.sec-item {
  padding: 40px 36px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.sec-item::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.08), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.sec-item::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(96,165,250,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.sec-item { transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94), transform 1s cubic-bezier(0.25,0.46,0.45,0.94), background 0.9s ease, border-color 0.8s ease, box-shadow 0.8s ease; }
.sec-item:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 40px rgba(0,0,0,0.4);
}
.sec-item:hover::after { opacity: 1; }
.sec-item:hover .ico-c { border-color: rgba(255,255,255,0.32); transform: scale(1.04); }
.sec-item .ico-c { transition: border-color 0.8s ease, transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94); }
.sec-item > * { position: relative; z-index: 1; }
.sec-item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.sec-item p { margin: 0; color: var(--ink-2); font-weight: 300; line-height: 1.65; font-size: 15px; }
.sec-item ul { margin: 10px 0 0; padding-left: 16px; color: var(--ink-2); font-weight: 300; line-height: 1.7; font-size: 14px; }

/* legal pages */
.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px,5vw,64px);
  align-items: start;
}
.legal-aside {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-aside-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.018);
}
.legal-aside-box h2 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.legal-aside-box a {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  padding: 7px 0;
  transition: color .15s ease;
}
.legal-aside-box a:hover { color: var(--ink); }
.legal-card {
  padding: clamp(28px,5vw,52px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
}
.legal-prose {
  max-width: 780px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.72;
}
.legal-prose section + section { margin-top: 34px; }
.legal-prose h2 {
  color: var(--ink);
  font-size: clamp(21px,2.2vw,28px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 14px;
  padding-top: 4px;
}
.legal-prose h3 {
  color: var(--ink);
  font-size: 16.5px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 24px 0 9px;
}
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul {
  margin: 8px 0 16px;
  padding-left: 18px;
}
.legal-prose li { margin: 6px 0; }
.legal-prose a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: border-color .15s ease, color .15s ease;
}
.legal-prose a:hover { border-color: var(--ink-3); }
.legal-contact {
  margin: 16px 0 22px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  color: var(--ink);
}
.legal-contact p { margin: 0; color: var(--ink-2); }
.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.legal-meta-row .pill { background: rgba(255,255,255,0.025); }

[data-theme="light"] .legal-aside-box,
[data-theme="light"] .legal-card,
[data-theme="light"] .legal-contact {
  background: #FBFCFD;
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(15,17,21,0.02);
}

/* ---------- Meet Suivo video frame ---------- */
.video-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 50px rgba(0,0,0,0.32);
}
[data-theme="light"] .video-frame {
  background: #FFFFFF;
  border-color: rgba(15,17,21,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 14px 40px rgba(15,17,21,0.08);
}
.video-frame video { background: #000; }

/* ---------- Lifecycle: simplified linear overview ---------- */
.lf-overview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 14px 14px;
}
.lf-overview-track {
  position: absolute;
  top: 29px; left: calc(100%/18); right: calc(100%/18);
  height: 1px;
  background: var(--line);
  z-index: 0;
  pointer-events: none;
}
.lf-overview-progress {
  position: absolute;
  top: 29px; left: calc(100%/18);
  height: 1px;
  width: 0;
  background: linear-gradient(to right, #8B5CF6, #60A5FA);
  z-index: 1;
  pointer-events: none;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(139,92,246,0.4);
}
.lf-dot {
  appearance: none;
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  outline: none;
  font-family: var(--font);
  color: var(--ink-3);
  transition: color 0.3s ease;
}
.lf-dot-inner {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--paper-deep);
  border: 1px solid rgba(255,255,255,0.18);
  position: relative; z-index: 3;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.lf-dot-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.lf-dot:hover .lf-dot-inner { border-color: rgba(255,255,255,0.4); transform: scale(1.15); }
.lf-dot:hover { color: var(--ink-2); }
.lf-dot.active .lf-dot-inner {
  background: linear-gradient(135deg, #8B5CF6, #60A5FA);
  border-color: transparent;
  transform: scale(1.4);
  box-shadow: 0 0 14px rgba(139,92,246,0.5);
}
.lf-dot.active { color: var(--ink); }
.lf-dot.active .lf-dot-label { font-weight: 600; }
.lf-dot.done .lf-dot-inner {
  background: rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.4);
}
.lf-dot[data-by="suivo"].active .lf-dot-inner {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 14px rgba(255,255,255,0.25);
}
.lf-dot[data-by="suivo"].done .lf-dot-inner {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}

/* ---------- Lifecycle: interactive stage ---------- */
.lf-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 460px;
}
.lf-stage-info { min-width: 0; }
.lf-stage-phase {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lf-stage-numwrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.lf-stage-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lf-stage-by {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--ink-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.lf-stage-by[data-by="eva"] {
  color: #A78BFA;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
}
.lf-stage-name {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lf-stage-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 440px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lf-stage-controls {
  display: flex; align-items: center; gap: 10px;
}
.lf-ctrl {
  appearance: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lf-ctrl:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: var(--ink); }
.lf-ctrl:active { transform: scale(0.94); }
.lf-play { font-size: 12px; }
.lf-play.playing {
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
  color: #A78BFA;
}
.lf-counter {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* Right side: panels stack */
.lf-stage-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2,0.7,0.2,1), transform 0.5s cubic-bezier(0.2,0.7,0.2,1);
}
.lf-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Ambient glow behind the panel */
.lf-stage-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139,92,246,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.lf-stage-visual .card-float { position: relative; z-index: 1; }

/* Text swap animation */
.lf-stage-info.swap .lf-stage-num,
.lf-stage-info.swap .lf-stage-name,
.lf-stage-info.swap .lf-stage-desc,
.lf-stage-info.swap .lf-stage-phase,
.lf-stage-info.swap .lf-stage-by {
  opacity: 0;
  transform: translateY(6px);
}
.lf-stage-by {
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

@media (max-width: 1000px) {
  .lf-stage { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .lf-stage-visual { min-height: 320px; }
}
@media (max-width: 760px) {
  .lf-overview { padding: 18px 6px 10px; gap: 4px; grid-template-columns: repeat(9, minmax(0,1fr)); }
  .lf-dot { min-width: 0; }
  .lf-dot-label { font-size: 9px; white-space: normal; word-break: break-word; line-height: 1.25; }
  .lf-dot-inner { width: 11px; height: 11px; }
  .lf-overview-track, .lf-overview-progress { top: 23px; }
  .lf-stage-num { font-size: 42px; }
}

/* ---------- Timeline component (home page) ---------- */
.tl { padding: 8px 0; }
.tl-item {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 16px;
  position: relative;
  transition: background 0.25s ease;
}
.tl-item:hover { background: rgba(255,255,255,0.02); }
.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 29px; top: 36px; bottom: -4px;
  width: 1px;
  background: var(--line);
}
.tl-ico {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  position: relative;
  z-index: 1;
  margin-top: 2px;
}
.tl-ico-eva {
  color: #A78BFA;
  background:
    linear-gradient(#191919, #191919) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
}
.tl-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.tl-meta {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 300;
  margin-top: 1px;
}
.tl-item-faded { opacity: 0.55; }
.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ph-col {
  display: flex; flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.ph-col-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.ph-col-num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.ph-col-name {
  font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}

/* Phase card — step header + description + UI card inside */
.ph-card {
  position: relative;
  border-radius: 14px;
  padding: 18px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.ph-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}
.ph-card-eva {
  background:
    linear-gradient(#121212, #121212) padding-box,
    linear-gradient(160deg, rgba(139,92,246,0.4), rgba(255,255,255,0.04) 50%, rgba(96,165,250,0.3)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 18px rgba(139,92,246,0.05);
}
.ph-card-eva:hover { box-shadow: 0 14px 32px rgba(0,0,0,0.3), 0 0 24px rgba(139,92,246,0.10); }

.ph-card-head {
  display: flex; align-items: center; gap: 10px;
}
.ph-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
  padding: 3px 7px;
  background: rgba(255,255,255,0.04);
  border-radius: 5px;
}
.ph-num-eva {
  color: #A78BFA;
  background:
    linear-gradient(#161616,#161616) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
}
.ph-name {
  flex: 1;
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.ph-by {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--ink-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.ph-by-eva {
  color: #A78BFA;
  background:
    linear-gradient(#121212,#121212) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
}
.ph-desc {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.ph-card .card-float {
  box-shadow: none;
  background: #1A1A1A;
}

@media (max-width: 1000px) {
  .ph-grid { grid-template-columns: 1fr; gap: 36px; }
}
.lifecycle {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 36px 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
  overflow: hidden;
}
.lifecycle::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 100%, rgba(139,92,246,0.04), transparent 70%);
  pointer-events: none;
}
.lifecycle > * { position: relative; z-index: 1; }

.lc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.lc-legend { display: flex; gap: 18px; }
.lc-legend-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.02em;
}
.lc-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--ink-3);
}
.lc-dot-suivo { background: rgba(255,255,255,0.35); }
.lc-dot-eva { background: linear-gradient(135deg, #8B5CF6, #60A5FA); }

/* Phase headers between rows */
.lc-phase-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: 11px;
}
.lc-phase-head:not(:first-of-type) { margin-top: 28px; }
.lc-phase-num {
  color: var(--ink-3); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.lc-phase-name {
  color: var(--ink); font-weight: 600;
  letter-spacing: -0.005em; font-size: 13px;
}
.lc-phase-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}

/* Phase row grids */
.lc-row {
  display: grid;
  gap: 16px;
}
.lc-row-4 { grid-template-columns: repeat(4, 1fr); }
.lc-row-3 { grid-template-columns: repeat(3, 1fr); }

/* Card */
.lc-card {
  position: relative;
  border-radius: 12px;
  padding: 16px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0) 70%),
    #161616;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 185px;
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  outline: none;
}
.lc-card:focus-visible { border-color: rgba(255,255,255,0.4); }

/* Tooltip — appears on hover (desktop) or when [data-open] (mobile tap) */
.lc-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: 240px;
  padding: 10px 13px;
  background: #1F1F1F;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.3);
  font-size: 12.5px; font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.lc-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) rotate(45deg) translateY(-5px);
  width: 9px; height: 9px;
  background: #1F1F1F;
  border-right: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.lc-card:hover .lc-tip,
.lc-card[data-open] .lc-tip,
.lc-card:focus-visible .lc-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Eva cards get a subtle gradient border on the tooltip too */
.lc-card-eva .lc-tip {
  background:
    linear-gradient(#1F1F1F, #1F1F1F) padding-box,
    linear-gradient(135deg, rgba(139,92,246,0.45), rgba(96,165,250,0.35)) border-box;
  border: 1px solid transparent;
}
.lc-card-eva .lc-tip::after {
  background: #1F1F1F;
  border-right: 1px solid rgba(96,165,250,0.35);
  border-bottom: 1px solid rgba(96,165,250,0.35);
}
.lc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}
.lc-card-eva {
  background:
    linear-gradient(180deg, rgba(139,92,246,0.04), rgba(255,255,255,0) 70%),
    #161616;
  border-color: transparent;
  background:
    linear-gradient(#161616, #161616) padding-box,
    linear-gradient(160deg, rgba(139,92,246,0.5), rgba(255,255,255,0.06) 50%, rgba(96,165,250,0.4)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 18px rgba(139,92,246,0.06);
}
.lc-card-eva:hover { box-shadow: 0 0 28px rgba(139,92,246,0.12); }

/* Art region */
.lc-card-art {
  flex: 1;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  gap: 8px;
  padding: 8px 4px 12px;
}
.lc-art-center { align-items: center; justify-content: center; text-align: center; }

/* Foot — step num + name + by */
.lc-foot {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
}
.lc-foot-num {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.lc-foot-name {
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.lc-foot-by {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
}
.lc-foot-by-suivo { color: var(--ink-3); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.lc-foot-by-eva {
  color: #A78BFA;
  background:
    linear-gradient(#161616, #161616) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
}

/* === 01 Capture art === */
.lc-src-row { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.lc-src {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.lc-arrow-down {
  text-align: center; color: var(--ink-3); font-size: 12px; line-height: 1;
}
.lc-pill {
  align-self: center;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(59,130,246,0.10);
  color: var(--st-new);
  font-size: 11px; font-weight: 600;
}

/* === 02 Assign art === */
.lc-assign {
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.lc-mini-av {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--card-raised);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--ink-2);
  border: 1px solid var(--line);
}
.lc-mini-av-sm { width: 22px; height: 22px; font-size: 9.5px; }
.lc-av-agent {
  background: rgba(110,231,183,0.08);
  color: #6EE7B7;
  border-color: rgba(110,231,183,0.25);
}
.lc-arrow-right { color: var(--ink-3); font-size: 13px; }
.lc-caption {
  font-size: 10.5px; color: var(--ink-3); font-weight: 400;
  letter-spacing: 0.02em; margin-top: 4px;
}

/* === 03 Call art === */
.lc-call {
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.lc-call-ico {
  width: 32px; height: 32px; border-radius: 999px;
  background:
    linear-gradient(#161616,#161616) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: #A78BFA;
}
.lc-wave { display: inline-flex; align-items: center; gap: 2px; }
.lc-wave span {
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #A78BFA, #93C5FD);
  animation: lc-wave-anim 1.4s ease-in-out infinite;
}
.lc-wave span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.lc-wave span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.lc-wave span:nth-child(3) { height: 11px; animation-delay: 0.30s; }
.lc-wave span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.lc-wave span:nth-child(5) { height: 9px;  animation-delay: 0.60s; }
.lc-wave span:nth-child(6) { height: 12px; animation-delay: 0.75s; }
@keyframes lc-wave-anim {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50%      { transform: scaleY(1.2); opacity: 1; }
}

/* === 04 Qualify art === */
.lc-check-list { display: flex; flex-direction: column; gap: 5px; }
.lc-check {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 400; color: var(--ink);
  padding: 3px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}
.lc-check span { color: #6EE7B7; display: inline-flex; }

/* === 05 Update art === */
.lc-update { display: flex; flex-direction: column; gap: 8px; }
.lc-update-row { display: flex; align-items: center; gap: 7px; }
.lc-update-name { font-size: 12px; font-weight: 600; color: var(--ink); }
.lc-update-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.lc-tag {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  font-size: 10.5px; color: var(--ink-2); font-weight: 400;
}

/* === 06 Next step art === */
.lc-task {
  padding: 9px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border-left: 2px solid #A78BFA;
}
.lc-task-head { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.lc-task-head span:first-child { color: var(--ink-3); display: inline-flex; }
.lc-task-label { flex: 1; font-size: 10.5px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.lc-task-when { font-size: 10px; color: var(--ink-3); }
.lc-task-body { font-size: 11.5px; font-weight: 300; color: var(--ink); line-height: 1.35; }

/* === 07 Book calendar art === */
.lc-cal { display: flex; flex-direction: column; gap: 6px; }
.lc-cal-mo {
  font-size: 10.5px; font-weight: 600; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.lc-cal-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.lc-cal-d {
  text-align: center;
  font-size: 9.5px; color: var(--ink-3); font-weight: 600;
  letter-spacing: 0.04em;
}
.lc-cal-n {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--ink-2);
  padding: 4px 0; border-radius: 5px;
  background: rgba(255,255,255,0.03);
}
.lc-cal-hi {
  color: var(--ink); font-weight: 700;
  background:
    linear-gradient(#161616,#161616) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 10px rgba(139,92,246,0.18);
}
.lc-cal-slot {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  background:
    linear-gradient(#161616,#161616) padding-box,
    linear-gradient(135deg, #8B5CF6, #60A5FA) border-box;
  border: 1px solid transparent;
  color: #A78BFA;
  font-size: 11px; font-weight: 600;
  align-self: center;
}

/* === 09 Stats art === */
.lc-stats { display: flex; flex-direction: column; gap: 10px; }
.lc-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lc-stats-cell {
  padding: 7px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
}
.lc-stats-num {
  font-size: 18px; font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1;
}
.lc-stats-num span { font-size: 11px; font-weight: 400; color: var(--ink-2); margin-left: 1px; }
.lc-stats-lab {
  font-size: 10px; color: var(--ink-3); font-weight: 400;
  margin-top: 4px; letter-spacing: 0.02em;
}
.lc-spark {
  width: 100%; height: 20px;
  display: block;
}

/* === 07 Monitor art (was 07 — renumbered to 08) — same styles, no changes === */
.lc-pipeline { display: flex; flex-direction: column; gap: 5px; }
.lc-pipe-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 7px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}
.lc-pipe-dot { width: 7px; height: 7px; border-radius: 999px; }
.lc-pd-new    { background: var(--st-new); }
.lc-pd-active { background: var(--st-active); }
.lc-pd-atrisk { background: var(--st-atrisk); }
.lc-pipe-lab { font-size: 11px; color: var(--ink-2); font-weight: 400; }
.lc-pipe-num { font-size: 11px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .lc-row-4 { grid-template-columns: repeat(2, 1fr); }
  .lc-row-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .lifecycle { padding: 24px 18px 28px; }
  .lc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lc-row-4, .lc-row-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .lc-row-4, .lc-row-3 { grid-template-columns: 1fr; }
  .nav-right .btn:not(.nav-toggle) { display: none; }
}

/* ---------- Stat row (legacy — kept for any other usage) ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.25);
}
.stat-cell {
  padding: 26px 22px; text-align: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 70%),
    #121212;
  transition: background 1.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.stat-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1);
}
.stat-cell > * { position: relative; z-index: 1; }
.stat-cell:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0) 70%),
    #181818;
}
.stat-cell:hover::after { opacity: 1; }
.stat-num { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-num-eva {
  background: linear-gradient(135deg,#8B5CF6,#818CF8,#60A5FA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-lab { color: var(--ink-3); font-size: 13px; font-weight: 300; letter-spacing: 0.01em; }
.cta-band { background: var(--paper-deep); border-top: 1px solid var(--line); padding: clamp(56px,8vw,96px) 0; text-align: center; }

/* Inline CTA box — reusable across pages */
.cta-box {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
  padding: clamp(48px,7vw,80px) clamp(28px,5vw,56px);
  text-align: center;
}
.cta-box::before,
.cta-box::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.cta-box::before {
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(50% 60% at 50% 100%, rgba(96,165,250,0.08), transparent 65%);
}
.cta-box::after {
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box-wrap { padding: clamp(48px,8vw,96px) var(--pad); background: var(--paper); }

/* check list */
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 300; color: var(--ink-2); line-height: 1.5; }
.check-row + .check-row { margin-top: 9px; }

/* reveal animation — transition-based for smooth GPU compositing */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.reveal {
  opacity: 0;
  transform: translateY(7px);
  will-change: opacity, transform;
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col, .two-col-3-2 { grid-template-columns: 1fr; gap: 40px; }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .legal-aside-box { padding: 18px; }
  .feat-grid { grid-template-columns: 1fr; }
  .who-grid  { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  /* stat-row on how-it-works page */
  .stat-row { grid-template-columns: 1fr; }
  /* ph-grid phases */
  .ph-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Product snapshot — stack 3 UI cols to 1 */
  .snap-3col { grid-template-columns: 1fr !important; }
  /* Lifecycle overview dots — smaller */
  .lf-overview { padding: 18px 6px 10px; gap: 4px; grid-template-columns: repeat(9, minmax(0,1fr)); }
  .lf-dot { min-width: 0; }
  .lf-dot-label { font-size: 9px; white-space: normal; word-break: break-word; line-height: 1.25; }
  .lf-dot-inner { width: 11px; height: 11px; }
  .lf-overview-track, .lf-overview-progress { top: 23px; }
  .lf-stage-num { font-size: 42px; }
  /* Show lang switcher in mobile menu instead */
  .nav-lang { display: none; }
  .mmenu-lang { display: flex !important; }
  /* Hero floating pills — tuck closer */
  .hero-grid { position: relative; }
}
@media (max-width: 600px) {
  .sec-grid { grid-template-columns: 1fr; }
  .legal-card { border-radius: var(--r-lg); }
  .legal-prose { font-size: 15px; line-height: 1.68; }
  .legal-prose section + section { margin-top: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* CTA box compact */
  .cta-box { padding: 40px 24px; }
  /* Eyebrow + heading scale */
  .h-hero { font-size: clamp(32px, 10vw, 52px); }
  .h-sec { font-size: clamp(24px, 7vw, 38px); }
  /* Who cards full width */
  .who-grid { grid-template-columns: 1fr; }
  /* Product snapshot cards — single column */
  .snap-3col { grid-template-columns: 1fr !important; }
  /* Section padding tighter */
  .section { padding: clamp(40px, 8vw, 72px) 0; }
  /* Mobile menu book demo button full width */
  .mmenu .btn { width: 100%; text-align: center; justify-content: center; }
  /* Stat row single col */
  .stat-row { grid-template-columns: 1fr; }
}
