/* BrahmaD2C panel — design tokens and components */
:root {
  --blue: #2F5BEA;
  --blue-600: #2449C9;
  --blue-50: #EEF2FE;
  --blue-100: #DCE5FD;
  --soft: #5D82F2;
  --deep: #16307F;
  --night: #0B1A4A;
  --ink: #0E1A3D;
  --yellow: #FFC93C;
  --butter: #FFE89A;
  --gold: #C28A00;
  --warm: #FFFBEC;

  --karna: #F59E0B;
  --karna-50: #FFF6E5;
  --drona: #0EA5B7;
  --drona-50: #E6F8FA;
  --bhishm: #7C5CFC;
  --bhishm-50: #F1EDFF;

  --bg: #F5F7FC;
  --surface: #FFFFFF;
  --surface-2: #F9FAFE;
  --line: #E4E8F2;
  --line-2: #EEF1F7;
  --text: #0E1A3D;
  --muted: #5B6582;
  --faint: #8A93AD;

  --ok: #12A150;
  --ok-50: #E7F7EE;
  --warn: #D97706;
  --warn-50: #FEF5E7;
  --bad: #DC2626;
  --bad-50: #FDECEC;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 61, .06);
  --shadow: 0 1px 2px rgba(14, 26, 61, .05), 0 8px 24px rgba(14, 26, 61, .06);
  --shadow-lg: 0 2px 6px rgba(14, 26, 61, .06), 0 24px 60px rgba(14, 26, 61, .14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--butter); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 15px; height: 15px; }
.ico.lg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; white-space: nowrap; transition: .15s ease;
  text-decoration: none !important;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px rgba(47,91,234,.28); }
.btn.primary:hover { background: var(--blue-600); }
.btn.gold { background: var(--yellow); color: var(--night); box-shadow: 0 6px 18px rgba(255,201,60,.35); }
.btn.gold:hover { background: #FFBF1F; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); border-color: #D3D9E8; }
.btn.white { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn.white:hover { border-color: #CBD3E6; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.danger { background: #fff; color: var(--bad); border-color: #F3C9C9; }
.btn.danger:hover { background: var(--bad-50); }
.btn.link { background: none; border: 0; color: var(--blue); padding: 0; height: auto; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.oauth { background: #fff; color: var(--text); border-color: var(--line); height: 46px; width: 100%; font-weight: 600; }
.btn.oauth:hover { border-color: #BFC8DD; background: var(--surface-2); }
.btn.oauth svg { width: 20px; height: 20px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent; background: transparent; display: inline-grid; place-items: center; color: var(--muted); position: relative; }
.icon-btn:hover { background: var(--line-2); color: var(--text); }

/* ---------- Chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.chip.ok { background: var(--ok-50); color: var(--ok); }
.chip.warn { background: var(--warn-50); color: var(--warn); }
.chip.bad { background: var(--bad-50); color: var(--bad); }
.chip.blue { background: var(--blue-50); color: var(--blue); }
.chip.gold { background: #FFF4D1; color: #8A6200; }
.chip.dark { background: var(--ink); color: #fff; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kbd { font-family: var(--font); font-size: 11px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: #fff; color: var(--faint); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card.pad { padding: 22px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.card-h h3 { font-size: 16px; }
.card-b { padding: 22px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field .hint { font-size: 12px; color: var(--faint); }
.input, .select, textarea.input {
  height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; outline: none; transition: .15s; width: 100%;
}
textarea.input { height: auto; padding: 10px 14px; min-height: 88px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,234,.12); }
.input.sm, .select.sm { height: 34px; font-size: 13px; padding: 0 10px; }
.input-wrap { position: relative; }
.input-wrap .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.input-wrap .input { padding-left: 38px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.otp { display: flex; gap: 10px; justify-content: center; }
.otp input { width: 50px; height: 58px; text-align: center; font-size: 22px; font-weight: 700; border-radius: 12px; border: 1px solid var(--line); outline: none; font-family: var(--display); }
.otp input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,234,.12); }
.strength { display: flex; gap: 4px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.strength i.on { background: var(--ok); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.toggle { position: relative; width: 40px; height: 23px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 99px; background: #CDD4E4; transition: .2s; cursor: pointer; }
.toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.toggle input:checked + span { background: var(--blue); }
.toggle input:checked + span::after { transform: translateX(17px); }
.seg { display: inline-flex; padding: 3px; background: var(--line-2); border-radius: 10px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--blue); border-color: var(--blue); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: #FBFCFF; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; font-family: var(--display); }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b { display: block; font-weight: 600; font-size: 14px; }
.who span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Public site ---------- */
.site-nav { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(180%) blur(14px); background: rgba(11,26,74,.72); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-nav .in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.site-nav a.nl { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; }
.site-nav a.nl:hover { color: #fff; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .wm { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.brand .wm small { font-weight: 300; font-size: inherit; color: var(--gold); margin-left: 1px; }
.on-dark .brand .wm { color: #fff; }
.on-dark .brand .wm small { color: var(--yellow); }

.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 0%, rgba(255,201,60,.22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(93,130,242,.35), transparent 60%),
  linear-gradient(165deg, #081440 0%, #11276E 45%, #2F5BEA 100%); }
.hero .in { max-width: 1200px; margin: 0 auto; padding: 84px 24px 96px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--yellow), var(--butter)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.78); margin-top: 20px; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .proof { display: flex; gap: 22px; margin-top: 36px; color: rgba(255,255,255,.66); font-size: 13px; flex-wrap: wrap; }
.hero .proof b { color: #fff; font-family: var(--display); font-size: 20px; display: block; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.pill-note b { background: var(--yellow); color: var(--night); border-radius: 999px; padding: 2px 8px; font-size: 11.5px; }

.orbit { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; width: 100%; }
.orbit svg.rings { width: 100%; height: 100%; overflow: visible; }
.orbit .spin1 { transform-origin: 256px 256px; animation: spin 60s linear infinite; }
.orbit .spin2 { transform-origin: 256px 256px; animation: spin 40s linear infinite reverse; }
.orbit .spin3 { transform-origin: 256px 256px; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 26%; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 0 80px rgba(255,201,60,.45), 0 20px 50px rgba(0,0,0,.35); }
.orbit .sat { position: absolute; width: 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: #fff; }
.orbit .sat img { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.35); animation: bob 6s ease-in-out infinite; }
.orbit .sat:nth-of-type(2) img { animation-delay: -2s; }
.orbit .sat:nth-of-type(3) img { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.section { max-width: 1200px; margin: 0 auto; padding: 88px 24px; }
.section-h { max-width: 720px; margin-bottom: 44px; }
.section-h.c { margin-left: auto; margin-right: auto; text-align: center; }
.section-h h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-top: 10px; }
.section-h p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.warm { background: var(--warm); }
.band.night { background: linear-gradient(180deg, #0B1A4A, #11276E); color: #fff; border: 0; }
.band.night .section-h p { color: rgba(255,255,255,.7); }

.prod-card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; transition: .2s; }
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prod-card .top { display: flex; align-items: center; gap: 14px; }
.prod-card .top img { width: 52px; height: 52px; border-radius: 14px; }
.prod-card h3 { font-size: 22px; }
.prod-card .was { font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.prod-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.prod-card li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.prod-card li .ico { color: var(--accent, var(--blue)); margin-top: 2px; }
.prod-card .glow { position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--accent); opacity: .1; filter: blur(10px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow); color: var(--night); font-family: var(--display); font-weight: 800; margin-bottom: 16px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: rgba(255,255,255,.7); }

.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logo-tile { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm); }
.logo-tile svg { width: 24px; height: 24px; }

.price-card { padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.price-card.feature { background: linear-gradient(170deg, #0B1A4A, #2F5BEA); color: #fff; border: 0; box-shadow: 0 30px 60px rgba(47,91,234,.3); }
.price-card.feature .muted { color: rgba(255,255,255,.72); }
.price-card .amt { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.price-card .amt small { font-size: 14px; font-weight: 500; opacity: .7; }
.price-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.price-card li { display: flex; gap: 9px; }
.price-card li .ico { color: var(--ok); margin-top: 2px; }
.price-card.feature li .ico { color: var(--yellow); }
.ribbon { position: absolute; top: 18px; right: 18px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--faint); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

.site-foot { background: var(--night); color: rgba(255,255,255,.66); font-size: 14px; }
.site-foot .in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h5 { font-family: var(--display); color: #fff; font-size: 14px; margin: 0 0 14px; }
.site-foot a { color: rgba(255,255,255,.66); display: block; margin-bottom: 8px; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { max-width: 1200px; margin: 0 auto; padding: 18px 24px 34px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }

.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-page h1 { font-size: 36px; margin-bottom: 8px; }
.legal-page h2 { font-size: 19px; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page li { margin-bottom: 6px; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-art { position: relative; overflow: hidden; color: #fff; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; background:
  radial-gradient(600px 400px at 100% 0%, rgba(255,201,60,.25), transparent 60%),
  linear-gradient(160deg, #081440, #16307F 55%, #2F5BEA); }
.auth-art .big { position: absolute; right: -18%; bottom: -16%; width: 86%; opacity: .9; }
.auth-art h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; max-width: 440px; position: relative; }
.auth-art .quote { position: relative; max-width: 420px; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 14.5px; }
.auth-art .quote .who span { color: rgba(255,255,255,.65); }
.auth-art .tools { display: flex; gap: 10px; margin-top: 22px; position: relative; }
.auth-art .tools span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; }
.auth-art .tools img { width: 24px; height: 24px; border-radius: 7px; }
.auth-form { display: flex; flex-direction: column; padding: 32px 48px; overflow-y: auto; }
.auth-form .box { width: 100%; max-width: 420px; margin: auto; padding: 32px 0; display: flex; flex-direction: column; gap: 16px; }
.auth-form h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.progress-dots { display: flex; gap: 6px; }
.progress-dots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.progress-dots i.on { background: var(--blue); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--deep); font-size: 13px; }
.notice.warn { background: var(--warn-50); color: #8A4B00; }
.notice.ok { background: var(--ok-50); color: #0B6B37; }
.notice .ico { margin-top: 1px; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px; gap: 6px; overflow-y: auto; z-index: 40; }
.side .brand { padding: 4px 8px 16px; }
.ws { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--surface-2); }
.ws .lg { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #fff; font-family: var(--display); background: linear-gradient(135deg, var(--karna), #EF4444); }
.ws b { font-size: 13.5px; display: block; }
.ws span { font-size: 12px; color: var(--faint); }
.nav-l { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 14px; text-decoration: none !important; }
.nav a:hover { background: var(--line-2); color: var(--text); }
.nav a.on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.nav a img { width: 20px; height: 20px; border-radius: 6px; }
.nav a .end { margin-left: auto; }
.side .foot { margin-top: auto; padding-top: 14px; }
.upsell { padding: 16px; border-radius: 14px; color: #fff; background: linear-gradient(150deg, #0B1A4A, #2F5BEA); position: relative; overflow: hidden; }
.upsell b { font-family: var(--display); display: block; margin-bottom: 4px; }
.upsell p { font-size: 12.5px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.upsell::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; border: 10px solid rgba(255,201,60,.4); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: rgba(245,247,252,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .search { flex: 1; max-width: 440px; }
.top .search .input { height: 38px; background: #fff; }
.top .me { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.top .me b { font-size: 13px; }
.badge-dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); border: 2px solid var(--bg); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; border: 0; background: none; color: var(--text); font-size: 14px; text-align: left; text-decoration: none !important; }
.menu a:hover, .menu button:hover { background: var(--line-2); }
.menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 0; }
.page { padding: 28px; max-width: 1320px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-h h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page-h p { color: var(--muted); margin-top: 4px; }
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.crumb a { color: var(--faint); }

/* Welcome banner */
.welcome { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 30px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background:
  radial-gradient(500px 300px at 100% 0%, rgba(255,201,60,.3), transparent 60%),
  linear-gradient(140deg, #0B1A4A, #16307F 50%, #2F5BEA); }
.welcome h1 { font-size: 28px; font-weight: 800; }
.welcome p { color: rgba(255,255,255,.75); margin-top: 6px; max-width: 560px; }
.welcome .rings { position: absolute; right: -80px; bottom: -120px; width: 380px; opacity: .25; pointer-events: none; }
.checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; position: relative; }
.checklist a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 13.5px; font-weight: 500; text-decoration: none !important; }
.checklist a:hover { background: rgba(255,255,255,.14); }
.checklist .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.4); flex: none; }
.checklist .done .tick { background: var(--yellow); border-color: var(--yellow); color: var(--night); }
.checklist .done { color: rgba(255,255,255,.7); }
.ring-prog { position: relative; width: 112px; height: 112px; }
.ring-prog b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 24px; }
.ring-prog small { display: block; font-size: 11px; font-weight: 500; opacity: .7; text-align: center; margin-top: -4px; }

/* Tool cards on home */
.tool { position: relative; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: .2s; }
.tool:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tool .preview { position: relative; height: 210px; background: var(--accent-50); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.tool .preview .snap-mini { position: absolute; left: 22px; right: -40px; top: 22px; transform-origin: top left; }
.tool .lock { position: absolute; top: 14px; right: 14px; z-index: 2; }
.tool .body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tool .hd { display: flex; align-items: center; gap: 12px; }
.tool .hd img { width: 44px; height: 44px; border-radius: 12px; }
.tool .hd h3 { font-size: 19px; }
.tool ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tool li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); }
.tool li .ico { color: var(--accent); margin-top: 2px; }
.tool .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }

/* Snaps */
.snap { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(14,26,61,.1); overflow: hidden; font-size: 12px; color: var(--text); }
.snap .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line-2); }
.snap .bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3E7F0; }
.snap .bar i:nth-child(1) { background: #FF8A80; } .snap .bar i:nth-child(2) { background: #FFD54F; } .snap .bar i:nth-child(3) { background: #81C784; }
.snap .bar .url { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-size: 10.5px; color: var(--faint); display: flex; align-items: center; padding: 0 8px; gap: 5px; }
.snap .sb { padding: 14px; }
.sn-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sn-h b { font-family: var(--display); font-size: 14px; }
.sn-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.sn-kpi { padding: 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); }
.sn-kpi span { display: block; font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.sn-kpi b { font-family: var(--display); font-size: 16px; }
.sn-kpi em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ok); margin-left: 4px; }
.sn-kpi em.dn { color: var(--bad); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kcol { background: var(--surface-2); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 160px; }
.kcol h6 { margin: 0 0 2px; font-size: 10.5px; color: var(--muted); display: flex; justify-content: space-between; font-family: var(--font); }
.kcard { background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 8px; font-size: 11px; box-shadow: var(--shadow-sm); }
.kcard b { display: block; font-weight: 600; font-size: 11px; margin-bottom: 4px; }
.kcard .row { gap: 5px; }
.tat { font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 99px; font-family: ui-monospace, monospace; }
.tat.g { background: var(--ok-50); color: var(--ok); } .tat.y { background: var(--warn-50); color: var(--warn); } .tat.r { background: var(--bad-50); color: var(--bad); }
.thumb { border-radius: 8px; background: linear-gradient(135deg, var(--a, #FFD7A0), var(--b, #F59E0B)); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14%; height: 16%; border-radius: 4px; background: rgba(255,255,255,.75); }
.thumb::before { content: ""; position: absolute; left: 50%; top: 32%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(255,255,255,.55); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.mini-table th { text-align: left; color: var(--faint); font-weight: 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.mini-table td { padding: 7px 8px; border-bottom: 1px solid var(--line-2); }
.mini-table tr:last-child td { border-bottom: 0; }
.bar-in { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; min-width: 50px; }
.bar-in i { display: block; height: 100%; border-radius: 6px; background: var(--accent, var(--blue)); }

/* Snap gallery */
.gallery { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.gallery .list { display: flex; flex-direction: column; gap: 8px; }
.gallery .list button { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; transition: .15s; }
.gallery .list button b { font-size: 14px; font-family: var(--display); }
.gallery .list button span { font-size: 12.5px; color: var(--muted); }
.gallery .list button.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.gallery .stage { background: var(--accent-50); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.gallery .stage .cap { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }

/* Demo player */
.demo { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.demo .screen { position: relative; background: linear-gradient(160deg, var(--accent-50), #fff); padding: 30px; min-height: 380px; display: grid; place-items: center; }
.demo .scene { width: 100%; max-width: 760px; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.demo .ctrl { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line-2); }
.demo .prog { display: flex; gap: 6px; flex: 1; }
.demo .prog button { flex: 1; height: 6px; border: 0; border-radius: 6px; background: var(--line); padding: 0; position: relative; overflow: hidden; }
.demo .prog button i { position: absolute; inset: 0; width: 0; background: var(--accent); border-radius: 6px; }
.demo .prog button.done i { width: 100%; }
.demo .prog button.cur i { animation: fill var(--dur, 5s) linear forwards; }
.demo.paused .prog button.cur i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.demo .txt { padding: 18px 20px 0; }
.demo .txt b { font-family: var(--display); font-size: 17px; }
.demo .txt p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cursor { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 5; animation: cur 2.4s ease-in-out infinite; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
@keyframes cur { 0% { transform: translate(-30px, 30px); opacity: 0; } 30% { opacity: 1; } 60% { transform: translate(0, 0); } 70% { transform: translate(0, 0) scale(.85); } 80%, 100% { transform: translate(0, 0); opacity: 1; } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent, #2F5BEA) 20%, transparent); } }
.flow-in > * { animation: fadeUp .45s ease both; }
.flow-in > *:nth-child(2) { animation-delay: .15s; } .flow-in > *:nth-child(3) { animation-delay: .3s; } .flow-in > *:nth-child(4) { animation-delay: .45s; } .flow-in > *:nth-child(5) { animation-delay: .6s; } .flow-in > *:nth-child(6) { animation-delay: .75s; }

/* Product page */
.p-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 34px; background: linear-gradient(135deg, var(--accent-50), #fff 70%); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.p-hero .icon { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--shadow); }
.p-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.p-hero .myth { font-style: italic; color: var(--muted); font-size: 14px; border-left: 3px solid var(--accent); padding-left: 12px; }
.feat { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.feat .fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); }
.feat b { font-family: var(--display); font-size: 15px; }
.feat p { font-size: 13.5px; color: var(--muted); }
.locked-data { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.locked-data .blur { filter: blur(5px); pointer-events: none; user-select: none; }
.locked-data .over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.35); }
.locked-data .over .card { padding: 20px 24px; text-align: center; max-width: 360px; box-shadow: var(--shadow-lg); }

/* Integrations */
.int-card { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.int-card .lg { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.int-card .lg svg { width: 28px; height: 28px; }
.int-card h3 { font-size: 17px; }
.int-card .srv { display: flex; flex-wrap: wrap; gap: 6px; }
.int-card.connected { border-color: #BFE5CF; box-shadow: 0 0 0 3px rgba(18,161,80,.06); }
.asset { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.asset .lg { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); }
.scope { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.scope:last-child { border: 0; }
.scope .mono { color: var(--deep); background: var(--blue-50); padding: 2px 7px; border-radius: 6px; height: fit-content; white-space: nowrap; }

/* Modal */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,64,.45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal.wide { max-width: 760px; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-h { display: flex; align-items: center; gap: 14px; padding: 22px 24px 0; }
.modal-h h3 { font-size: 19px; }
.modal-b { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.modal-f { padding: 16px 24px 22px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line-2); }
.consent { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.consent .ch { background: var(--surface-2); padding: 10px 14px; font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.consent .cb { padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pick:hover { background: var(--surface-2); }
.pick input { accent-color: var(--blue); width: 16px; height: 16px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }

/* SSO launch */
.launch { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #081440, #16307F 55%, #2F5BEA); color: #fff; padding: 24px; }
.launch .box { width: 100%; max-width: 440px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.launch .hop { display: flex; align-items: center; gap: 14px; }
.launch .hop img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.launch .dots { display: flex; gap: 6px; }
.launch .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); animation: blink 1.2s infinite; }
.launch .dots i:nth-child(2) { animation-delay: .2s; } .launch .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { background: var(--yellow); } }
.launch ol { list-style: none; padding: 0; margin: 0; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.launch li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 14px; color: rgba(255,255,255,.55); transition: .3s; }
.launch li.done { color: #fff; }
.launch li.done .tk { background: var(--yellow); color: var(--night); border-color: var(--yellow); }
.launch li .tk { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: none; }
.appbar { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--ink); color: #fff; font-size: 13.5px; position: sticky; top: 0; z-index: 10; }
.appbar img { width: 26px; height: 26px; border-radius: 7px; }
.appbar a { color: rgba(255,255,255,.75); }

/* Admin stats */
.stat { padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat b { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.stat em { font-style: normal; font-size: 12px; color: var(--ok); font-weight: 600; }
.app-pills { display: flex; gap: 6px; }
.app-pill { width: 30px; height: 30px; border-radius: 9px; border: 1.5px dashed #CDD4E4; display: grid; place-items: center; background: #fff; padding: 0; transition: .15s; font-family: var(--display); font-weight: 800; font-size: 12px; color: #B8C0D4; }
.app-pill:hover { border-color: var(--accent); color: var(--accent); }
.app-pill.on { border: 1.5px solid var(--accent); background: var(--accent); color: #fff; }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.yes { color: var(--ok); } .no { color: #C7CEDD; }

/* Toast */
.toasts { position: fixed; bottom: 66px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); animation: pop .25s ease; max-width: 380px; }
.toast .ico { color: var(--yellow); }

/* Demo controls */
.democtl { position: fixed; right: 16px; bottom: 16px; z-index: 150; }
.democtl > button { height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--night); font-weight: 700; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.2); display: inline-flex; align-items: center; gap: 8px; }
.democtl .panel { position: absolute; bottom: 48px; right: 0; width: 280px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.democtl .panel .row { justify-content: space-between; }

/* Charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--font); fill: var(--faint); font-size: 10px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.empty { padding: 40px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mob-only { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .stage { padding: 14px; overflow-x: auto; }
  .gallery .list { flex-direction: row; overflow-x: auto; }
  .gallery .list button { min-width: 200px; }
}
@media (max-width: 900px) {
  .hero .in, .p-hero, .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-art { display: none; }
  .auth-form { padding: 24px 16px; }
  .orbit { max-width: 340px; margin: 0 auto; }
  .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .site-nav .links { display: none; }
  .site-foot .in { grid-template-columns: 1fr 1fr; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: .25s; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .mob-only { display: inline-grid; }
  .top { padding: 0 16px; }
  .top .search { display: none; }
  .page { padding: 20px 16px; }
  .welcome { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .sn-kpis { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 16px; }
  .hero .in { padding: 56px 16px 64px; }
  .site-nav .in { padding: 0 16px; }
}
@media (max-width: 560px) {
  .g4 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .site-foot .in { grid-template-columns: 1fr; }
  .top .me b { display: none; }
  .otp input { width: 42px; height: 52px; }
}

/* ---------- Karna skin (mirrors MOR / PRISM UI) ---------- */
.ks { --kt: #087f92; --kt2: #1C585E; --kn: #121a2b; --kb: #f4f1ea; --kl: #e7e2d8; background: var(--kb); font-size: 11px; color: #1f2937; display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 300px; }
.ks .kside { background: #fff; border-right: 1px solid var(--kl); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.ks .klogo { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--kt2); font-size: 12px; margin-bottom: 8px; }
.ks .klogo i { font-style: normal; font-size: 8.5px; padding: 1px 4px; border-radius: 4px; background: #e0f2f1; color: var(--kt); border: 1px solid #b2dfdb; }
.ks .ksec { font-size: 7.5px; letter-spacing: .1em; color: #8a8f98; font-weight: 700; margin: 6px 4px 2px; }
.ks .knav { padding: 4px 6px; border-radius: 6px; color: #374151; font-weight: 500; display: flex; justify-content: space-between; font-size: 10px; }
.ks .knav.on { background: #e6f4f5; color: var(--kt); font-weight: 700; border: 1px solid #c7e6ea; }
.ks .knav b { font-size: 8.5px; background: var(--kt2); color: #fff; border-radius: 99px; padding: 0 5px; }
.ks .kmain { padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ks .kban { background: var(--kn); color: #fff; border-radius: 9px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ks .kban b { font-size: 13px; display: block; }
.ks .kban span { font-size: 8.5px; color: rgba(255,255,255,.65); }
.ks .kbtn { font-size: 9px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; white-space: nowrap; }
.ks .kbtn.w { background: #fff; color: #111; }
.ks .kbox { background: #fff; border: 1px solid var(--kl); border-radius: 9px; padding: 8px; }
.ks .klanes { display: flex; gap: 4px; overflow: hidden; }
.ks .klane { font-size: 9px; white-space: nowrap; padding: 3px 7px; border-radius: 6px; color: #4b5563; }
.ks .klane.on { color: var(--kt); background: #fff; border: 1px solid #b9dde2; font-weight: 700; box-shadow: 0 1px 0 var(--kt); }
.ks .klane em { font-style: normal; font-size: 8px; background: #eef0f2; border-radius: 99px; padding: 0 5px; margin-left: 3px; font-weight: 700; }
.ks .klane.on em { background: var(--kt2); color: #fff; }
.ks .kchip { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.ks .kchip.g { color: #0a7d4e; background: #e7f6ee; } .ks .kchip.a { color: #b45309; background: #fff4e0; }
.ks .kchip.u { color: #475569; background: #eef2f7; border: 1px solid #dfe5ee; } .ks .kchip.p { color: #6d28d9; background: #f1ebff; }
.ks .kchip.b { color: #1d4ed8; background: #e8efff; } .ks .kchip.t { color: var(--kt); background: #e3f3f5; }
.ks .kid { font-family: ui-monospace, Consolas, monospace; font-size: 9.5px; font-weight: 700; }
.ks .kav, .krev .kav { width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 7.5px; font-weight: 800; display: inline-grid; place-items: center; flex: none; }
.ks .knom { font-family: ui-monospace, Consolas, monospace; font-size: 8.5px; color: #374151; background: #f8f7f4; border: 1px solid var(--kl); border-radius: 6px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks .kdeliv { height: 64px; border-radius: 7px; background: linear-gradient(160deg, #1b2740, #0e1626); color: rgba(255,255,255,.75); display: grid; place-items: center; font-size: 8.5px; font-weight: 600; }
.ks .kmet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ks .kmet div { border: 1px solid var(--kl); border-radius: 6px; padding: 3px 5px; background: #fff; }
.ks .kmet span { display: block; font-size: 6.5px; color: #8a8f98; font-weight: 700; letter-spacing: .05em; }
.ks .kmet b { font-size: 10px; }
.ks .kmet .hi { border-color: #7fcf9f; background: #f0fbf4; } .ks .kmet .hi b { color: #0a7d4e; }
.ks .kmet .mid { border-color: #f5c77e; background: #fff8ec; } .ks .kmet .mid b { color: #b45309; }
.ks .kcard { background: #fff; border: 1px solid var(--kl); border-top: 3px solid #12a150; border-radius: 9px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ks .kcard.avg { border-top-color: #f59e0b; }
.ks .ktimer { white-space: nowrap; } .ks .ktimer { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 9.5px; color: #0a7d4e; background: #e7f6ee; border-radius: 5px; padding: 1px 6px; }
.ks .ktimer.y { color: #b45309; background: #fff4e0; } .ks .ktimer.r { color: #c5300d; background: #fdecea; }
.ks .kowner { font-size: 8.5px; font-weight: 700; color: var(--kt2); border: 1px solid #b9dde2; border-radius: 99px; padding: 1px 6px 1px 2px; display: inline-flex; align-items: center; gap: 4px; background: #f3fafb; }
.ks table { width: 100%; border-collapse: collapse; }
.ks th { font-size: 7.5px; color: #8a8f98; font-weight: 700; letter-spacing: .06em; text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--kl); text-transform: uppercase; }
.ks td { padding: 6px; border-bottom: 1px solid #f0ede6; vertical-align: top; }
.ks .kstat { border-radius: 8px; border: 1px solid var(--kl); background: #fff; padding: 6px 8px; border-left: 3px solid #6b7280; }
.ks .kstat span { font-size: 7.5px; font-weight: 700; color: #6b7280; letter-spacing: .05em; } .ks .kstat b { display: block; font-size: 15px; }
.ks .ksub { font-size: 7.5px; font-weight: 700; letter-spacing: .06em; color: #8a8f98; text-transform: uppercase; }
.ks .kprimary { background: #0f4c55; color: #fff; border-radius: 6px; padding: 5px 10px; font-weight: 700; font-size: 9.5px; text-align: center; }
.krev { background: radial-gradient(400px 200px at 20% 0%, #0f3b47, transparent), linear-gradient(160deg, #0b1220, #151b33); color: #e5e7eb; padding: 14px; font-size: 11px; display: flex; flex-direction: column; gap: 10px; }
.krev .rc { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 10px; }
.krev .rbtn { flex: 1; text-align: center; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; padding: 7px; font-weight: 700; font-size: 10px; }
.krev .rbtn.ok { background: #0f766e; border-color: #14b8a6; color: #fff; }
.krev .pill { font-size: 8.5px; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.08); font-weight: 600; }

/* ---------- Drona skin (mirrors TGES UI) ---------- */
.ds { background: #f7f8fa; font-size: 11px; color: #1a1a1a; display: grid; grid-template-columns: 34px minmax(0, 1fr); min-height: 300px; }
.ds .drail { background: #fff; border-right: 1px solid #ececec; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; color: #6b7280; }
.ds .drail .ico { width: 13px; height: 13px; }
.ds .drail .on { color: #4f46e5; }
.ds .dlogo { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #8b7cf6, #5b4ff0); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.ds .dtop { background: #fff; border-bottom: 1px solid #ececec; padding: 7px 10px; display: flex; align-items: center; gap: 8px; }
.ds .dtop b { font-size: 12px; }
.ds .dsrc { display: flex; gap: 3px; margin-top: 2px; }
.ds .dsrc span { font-size: 7.5px; padding: 0 5px; border-radius: 99px; border: 1px solid #eee; display: inline-flex; align-items: center; gap: 3px; }
.ds .dsrc span i { width: 5px; height: 5px; border-radius: 50%; background: #12a150; display: inline-block; }
.ds .dsel { border: 1px solid #e3e3e3; border-radius: 6px; padding: 3px 7px; font-size: 9px; display: inline-flex; align-items: center; gap: 5px; background: #fff; white-space: nowrap; }
.ds .dmain { padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ds .dkpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ds .dkpi { background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 6px 7px; min-width: 0; }
.ds .dkpi span { font-size: 7px; font-weight: 700; color: #6b7280; letter-spacing: .04em; text-transform: uppercase; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .dkpi b { font-size: 13px; display: block; margin-top: 2px; }
.ds .dkpi small { font-size: 7.5px; color: #8a8f98; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .dcard { background: #fff; border: 1px solid #ececec; border-radius: 9px; overflow: hidden; }
.ds .dch { display: flex; align-items: center; justify-content: space-between; padding: 6px 9px; border-bottom: 1px solid #f0f0f0; }
.ds .dch b { font-size: 11px; }
.ds .dtog { display: flex; gap: 3px; } .ds .dtog span { font-size: 8px; padding: 2px 6px; border-radius: 5px; color: #6b7280; } .ds .dtog span.on { background: #2563eb; color: #fff; }
.ds table { width: 100%; border-collapse: collapse; }
.ds th { font-size: 8px; font-weight: 700; text-align: right; padding: 5px 7px; border-bottom: 1px solid #ececec; white-space: nowrap; }
.ds th:first-child, .ds td:first-child { text-align: left; }
.ds th.l, .ds td.l { text-align: left; }
.ds td { font-size: 9px; text-align: right; padding: 5px 7px; border-bottom: 1px solid #f3f3f3; white-space: nowrap; }
.ds td.blue, .ds th.blue { color: #2563eb; } .ds td.grn { color: #0a7d4e; }
.ds td.heat-r { background: #f28b82; color: #3b0d0a; font-weight: 700; } .ds td.heat-y { background: #fde68a; font-weight: 700; } .ds td.heat-g { background: #a7e3bd; color: #064e2b; font-weight: 700; }
.ds tr.tot td { background: #eef4ff; font-weight: 700; }
.ds .durg { font-size: 7.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.ds .durg.over { color: #c5300d; background: #fdecea; border: 1px solid #f6c1b9; } .ds .durg.ok { color: #0a7d4e; background: #e7f6ee; } .ds .durg.none { color: #6b7280; background: #f1f1f1; }
.ds .dbtn { font-size: 8.5px; border: 1px solid #e3e3e3; border-radius: 6px; padding: 2px 7px; background: #fff; white-space: nowrap; }
.ds .dbtn.p { background: #2563eb; border-color: #2563eb; color: #fff; }
.ds .hbar { height: 9px; background: #2f6fde; border-radius: 2px; }
.snap .sb.flush { padding: 0; }

/* ---------- Bhishm skin (mirrors Ecomally UI: white, shadcn-style sidebar groups) ---------- */
.es { background: #fff; font-size: 11px; color: #0a0a0a; display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; font-family: Inter, system-ui, sans-serif; }
.es .eside { background: #fafafa; border-right: 1px solid #ececec; padding: 9px 7px; display: flex; flex-direction: column; gap: 1px; }
.es .elogo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.es .elogo img { width: 18px; height: 18px; border-radius: 5px; }
.es .elogo i { font-style: normal; font-size: 7.5px; color: #71717a; border: 1px solid #e4e4e7; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.es .estore { font-size: 8.5px; color: #71717a; border: 1px solid #e4e4e7; border-radius: 6px; padding: 4px 6px; margin-bottom: 6px; background: #fff; }
.es .estore b { color: #0a0a0a; }
.es .eg { font-size: 9.5px; padding: 4px 6px; border-radius: 6px; color: #3f3f46; display: flex; justify-content: space-between; font-weight: 500; }
.es .eg span { color: #a1a1aa; font-size: 8px; }
.es .eg.on { background: #f4f4f5; font-weight: 700; }
.es .es-sub { font-size: 9px; padding: 3px 6px 3px 14px; color: #52525b; border-left: 1px solid #e4e4e7; margin-left: 8px; }
.es .es-sub.on { color: #6d28d9; font-weight: 700; border-left: 2px solid #7c5cfc; background: #f5f3ff; border-radius: 0 6px 6px 0; }
.es .emain { min-width: 0; display: flex; flex-direction: column; }
.es .etop { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #ececec; flex-wrap: wrap; }
.es .etop > b { font-size: 12.5px; margin-right: 4px; }
.es .echip { font-size: 8.5px; border-radius: 6px; padding: 3px 7px; background: #18181b; color: #fff; white-space: nowrap; font-weight: 600; }
.es .echip.ghost { background: #fff; color: #3f3f46; border: 1px solid #e4e4e7; }
.es .ebody { padding: 9px 10px; display: flex; flex-direction: column; gap: 8px; }
.es .estats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.es .estat { border: 1px solid #ececec; border-radius: 9px; padding: 6px 8px; background: #fff; }
.es .estat span { display: block; font-size: 7.5px; color: #71717a; font-weight: 600; }
.es .estat b { font-size: 14px; display: block; margin-top: 1px; }
.es .estat em { font-style: normal; font-size: 8px; color: #16a34a; font-weight: 700; }
.es .estat em.dn { color: #dc2626; }
.es .ecard { border: 1px solid #ececec; border-radius: 10px; overflow: hidden; background: #fff; }
.es .ech { display: flex; justify-content: space-between; align-items: center; padding: 6px 9px; border-bottom: 1px solid #f1f1f1; }
.es table { width: 100%; border-collapse: collapse; }
.es th { font-size: 7.5px; font-weight: 700; color: #71717a; text-align: right; padding: 5px 7px; border-bottom: 1px solid #ececec; white-space: nowrap; background: #fafafa; }
.es td { font-size: 9px; text-align: right; padding: 5px 7px; border-bottom: 1px solid #f4f4f5; white-space: nowrap; }
.es .l { text-align: left; }
.es th.v { color: #6d28d9; }
.es td.pf { color: #71717a; text-decoration: line-through; text-decoration-color: #d4d4d8; }
.es td.eg1 { background: #fde68a; font-weight: 700; } .es td.eg2 { background: #ddd6fe; font-weight: 700; } .es td.eg3 { background: #a78bfa; color: #fff; font-weight: 700; }
.es .enote { font-size: 9px; background: #f5f3ff; color: #4c1d95; border-radius: 8px; padding: 6px 9px; display: flex; gap: 6px; align-items: center; }
.es .egrid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px; }
.es .elk { font-size: 8px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.es .elk.high { background: #fee2e2; color: #b91c1c; } .es .elk.medium { background: #fef3c7; color: #b45309; } .es .elk.low { background: #dcfce7; color: #15803d; }
.es .elive { font-size: 8.5px; color: #16a34a; font-weight: 700; }
.es .eev { display: flex; gap: 8px; font-size: 9px; padding: 5px 7px; border: 1px solid #f1f1f1; border-radius: 7px; color: #52525b; }
.es .eev .mono { color: #6d28d9; min-width: 92px; font-weight: 700; }
.es .ejour { display: flex; gap: 8px; align-items: center; font-size: 9.5px; }
.es .ejour i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #f4f4f5; }
.es .ejour .xs { color: #71717a; font-size: 8.5px; }

/* ===================== Landing (scroll story) ===================== */
.lp { --ease: cubic-bezier(.2, .8, .2, 1); background: #fff; }
.lp .in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.lp-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--karna), var(--drona), var(--bhishm), var(--yellow)); transform-origin: left; transform: scaleX(0); }

/* nav */
.site-nav { transition: background .35s, box-shadow .35s; }
.site-nav.solid { background: rgba(11, 26, 74, .92); box-shadow: 0 10px 30px rgba(5, 12, 40, .25); }
.site-nav a.nl { padding: 8px 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; transition: color .2s, background .2s; }
.site-nav a.nl.on { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav .chev .ico { width: 13px; height: 13px; transition: transform .25s; }
.nl-wrap { position: relative; }
.nl-wrap:hover .chev .ico, .nl-wrap:focus-within .chev .ico { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -40px; width: min(940px, 92vw); background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 30px 80px rgba(5, 12, 40, .35); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: 80px 0; transition: opacity .22s, transform .3s var(--ease, ease), visibility .22s; z-index: 50; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nl-wrap:hover .mega, .nl-wrap:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 14px; }
.mcol { padding: 12px; border-radius: 14px; transition: background .2s; }
.mcol:hover { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.mhead { display: flex; gap: 10px; align-items: center; color: var(--text) !important; text-decoration: none !important; }
.mhead img { width: 38px; height: 38px; border-radius: 11px; }
.mhead b { font-family: var(--display); font-size: 16px; display: block; }
.mhead small { font-size: 11.5px; color: var(--faint); }
.mcol > p { font-size: 12.5px; color: var(--muted); margin: 10px 0; line-height: 1.45; }
.mlist { display: flex; flex-direction: column; gap: 1px; }
.mlist a { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text); padding: 6px 8px; border-radius: 8px; transition: background .15s, transform .2s; }
.mlist a .ico { color: var(--accent); width: 15px; height: 15px; }
.mlist a:hover { background: color-mix(in srgb, var(--accent) 12%, #fff); text-decoration: none; transform: translateX(3px); }
.mfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 26px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); background: var(--surface-2); border-radius: 0 0 18px 18px; }
.mfoot a { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; background: transparent; place-items: center; cursor: pointer; }
.nav-sheet { display: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.shown { opacity: 1; transform: none; }
.rv.d1 { --d: 1; } .rv.d2 { --d: 2; } .rv.d3 { --d: 3; }

/* hero */
.lp-hero { --hp: 0; position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 600px at 85% 10%, #1f3fa8 0%, transparent 60%), linear-gradient(170deg, #0B1A4A 0%, #0a1438 70%, #081030 100%); min-height: calc(100vh - 68px); display: flex; flex-direction: column; justify-content: center; }
.lp-hero .aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: drift 18s ease-in-out infinite; }
.lp-hero .aurora i:nth-child(1) { width: 420px; height: 420px; background: #F59E0B; left: -120px; top: 40%; opacity: .18; }
.lp-hero .aurora i:nth-child(2) { width: 380px; height: 380px; background: #0EA5B7; right: 10%; top: -120px; opacity: .25; animation-delay: -6s; }
.lp-hero .aurora i:nth-child(3) { width: 360px; height: 360px; background: #7C5CFC; right: -100px; bottom: -120px; opacity: .3; animation-delay: -12s; }
@keyframes drift { 50% { transform: translate(40px, -30px) scale(1.08); } }
.lp-rings { position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; transform: translateY(calc(-50% + var(--hp) * -120px)) rotate(calc(var(--hp) * 40deg)); opacity: .14; pointer-events: none; }
.lp-rings svg { width: 100%; height: 100%; }
.lp-hero > .in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 96px; width: 100%; }
.hcopy { transform: translateY(calc(var(--hp) * -60px)); opacity: calc(1 - var(--hp) * 1.2); }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-top: 18px; }
.lp-hero .sw { position: relative; white-space: nowrap; color: var(--c); }
.lp-hero .sw::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .9s; opacity: .7; }
.lp-hero h1.shown .sw::after { transform: scaleX(1); }
.lp-hero h1.shown .sw:nth-child(2)::after { transition-delay: 1.15s; } .lp-hero h1.shown .sw:nth-child(3)::after { transition-delay: 1.4s; }
.lp-hero .lead { font-size: 18px; color: rgba(255, 255, 255, .76); margin-top: 20px; max-width: 540px; line-height: 1.55; }
.lp-hero .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn.ghost-w { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn.ghost-w:hover { background: rgba(255, 255, 255, .1); }

.deck { --mx: 0; --my: 0; position: relative; height: 470px; perspective: 1400px; }
.hcard { position: absolute; width: 74%; border-radius: 16px; background: #0f1d4d; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); text-decoration: none !important; color: #fff; transition: transform .8s var(--ease), box-shadow .4s, border-color .3s; overflow: hidden; animation: deckIn 1.1s var(--ease) both; }
.hcard .dlabel { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hcard .dlabel img { width: 26px; height: 26px; border-radius: 8px; }
.hcard .dlabel b { font-family: var(--display); font-size: 14px; display: block; }
.hcard .dlabel small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.hcard .dlabel em { margin-left: auto; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: .3s; }
.hcard .dscreen { overflow: hidden; background: #fff; pointer-events: none; }
.hcard .dscreen .snap { border: 0; border-radius: 0; box-shadow: none; }
.fit { transform-origin: top left; }
.hcard.d0 { left: 0; top: 0; z-index: 1; transform: translate3d(calc(var(--hp) * -60px), calc(var(--hp) * -80px), 0) rotateY(calc(14deg + var(--mx) * 10deg)) rotateX(calc(4deg - var(--my) * 8deg)) rotateZ(-4deg); animation-delay: .15s; }
.hcard.d1 { left: 14%; top: 22%; z-index: 2; transform: translate3d(0, calc(var(--hp) * -140px), 60px) rotateY(calc(6deg + var(--mx) * 10deg)) rotateX(calc(2deg - var(--my) * 8deg)); animation-delay: .3s; }
.hcard.d2 { left: 28%; top: 44%; z-index: 3; transform: translate3d(calc(var(--hp) * 60px), calc(var(--hp) * -200px), 120px) rotateY(calc(-2deg + var(--mx) * 10deg)) rotateX(calc(0deg - var(--my) * 8deg)) rotateZ(3deg); animation-delay: .45s; }
@keyframes deckIn { from { opacity: 0; translate: 0 60px; } }
.deck.has-act .hcard { filter: saturate(.7) brightness(.85); }
.deck .hcard.act { filter: none; z-index: 5; border-color: var(--accent); box-shadow: 0 50px 90px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent), 0 0 60px color-mix(in srgb, var(--accent) 45%, transparent); }
.deck .hcard.act .dlabel em { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .6) !important; font-size: 12px; text-decoration: none !important; opacity: calc(1 - var(--hp) * 3); }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* chapter index strip */
.lp-strip { background: #fff; border-bottom: 1px solid var(--line-2); position: relative; z-index: 2; }
.lp-strip .in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.sitem { display: flex; align-items: center; gap: 12px; padding: 22px 20px; color: var(--text) !important; text-decoration: none !important; position: relative; border-right: 1px solid var(--line-2); transition: background .25s; }
.sitem:last-child { border-right: 0; }
.sitem:hover { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.sitem .n { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--accent); }
.sitem img { width: 36px; height: 36px; border-radius: 10px; transition: transform .4s var(--ease); }
.sitem:hover img { transform: rotate(-8deg) scale(1.08); }
.sitem b { font-family: var(--display); display: block; }
.sitem small { color: var(--faint); font-size: 12px; }
.sitem .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.sitem .bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* chapters */
.chap { --p: 0; --ip: 0; position: relative; background: radial-gradient(1100px 700px at 85% 15%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%), radial-gradient(900px 600px at 0% 100%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), #fbfcff; }
.chap + .chap { border-top: 1px solid var(--line-2); }
.chap-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cintro { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; z-index: 2; will-change: opacity, transform; }
.ci-num { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--accent); opacity: 0; transition: opacity .6s .1s; }
.ci-icon { width: 110px; height: 110px; margin: 18px auto 10px; position: relative; clip-path: circle(0% at 50% 50%); transition: clip-path 1s var(--ease) .1s; }
.ci-icon img { width: 100%; height: 100%; border-radius: 30px; box-shadow: 0 24px 60px color-mix(in srgb, var(--accent) 45%, transparent); }
.ci-name { font-size: clamp(64px, 12vw, 170px); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-family: var(--display); color: var(--text); }
.ci-name span { display: inline-block; opacity: 0; transform: translateY(60px) rotate(8deg); transition: opacity .6s, transform .9s var(--ease); transition-delay: calc(var(--d) * 55ms + .15s); }
.ci-kind { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--accent); opacity: 0; transition: opacity .6s .6s; }
.ci-myth { margin-top: 6px; color: var(--muted); font-style: italic; opacity: 0; transition: opacity .6s .8s; }
.chap.near .ci-num, .chap.near .ci-kind, .chap.near .ci-myth { opacity: 1; }
.chap.near .ci-icon { clip-path: circle(75% at 50% 50%); }
.chap.near .ci-name span { opacity: 1; transform: none; }
.cgrid { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; height: 100%; padding: 92px 24px 32px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 44px; align-items: center; opacity: 0; will-change: opacity, transform; }
.chap.intro .cgrid { pointer-events: none; }
.chead { display: flex; gap: 12px; align-items: center; }
.chead img { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.cnum { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.chead h3 { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ctag { color: var(--muted); margin: 12px 0 18px; font-size: 15px; line-height: 1.5; }
.csteps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.csteps li { border-radius: 12px; padding: 4px 6px; position: relative; transition: background .4s; }
.csteps li.on { background: #fff; box-shadow: 0 8px 26px rgba(14, 26, 61, .08); }
.csteps button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 4px; box-sizing: border-box; }
.csteps .sn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; border: 1.5px solid var(--line); color: var(--faint); transition: .35s; }
.csteps .st { font-weight: 600; font-size: 14px; color: var(--faint); transition: color .35s; }
.csteps li.done .sn { background: color-mix(in srgb, var(--accent) 16%, #fff); border-color: transparent; color: var(--accent); }
.csteps li.done .st { color: var(--muted); }
.csteps li.on .sn { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.csteps li.on .st { color: var(--text); }
.csteps p { margin: 0 0 0 38px; font-size: 13.5px; color: var(--muted); line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.csteps li.on p { max-height: 140px; opacity: 1; margin-bottom: 8px; }
.csteps .sp { display: none; margin: 0 6px 6px 38px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 14%, #fff); overflow: hidden; }
.csteps li.on .sp { display: block; }
.csteps .sp i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.cmob { display: none; }
.cfoot { display: flex; gap: 8px; margin-top: 18px; }
.cstage { position: relative; }
.cstage::before { content: ""; position: absolute; inset: 8% 6% -4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); filter: blur(40px); z-index: 0; }
.cdots { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.cdots i { width: 6px; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 30%, #fff); transition: height .4s var(--ease), background .3s; }
.cdots i.on { height: 22px; background: var(--accent); }
.screens { position: relative; height: min(66vh, 560px); z-index: 1; }
.scr { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 60px, 0) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; overflow: hidden; border-radius: 16px; transform-origin: 50% 0; visibility: hidden; transition-property: opacity, transform, visibility; }
.scr.on, .scr.past.fade, .scr.next.fade { visibility: visible; }
.scr.on { will-change: opacity, transform; }
.scr.past { transform: translate3d(0, -60px, 0) scale(.96); }
.scr.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.scr .snap { box-shadow: 0 30px 70px rgba(14, 26, 61, .18); }

/* sections */
.lp-sec { padding: 110px 0; position: relative; }
.lp-sec .narrow { max-width: 820px; }
.sec-h { max-width: 720px; margin-bottom: 40px; }
.sec-h.c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-h h2, .panel-sec h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; }
.sec-h p { color: var(--muted); font-size: 16.5px; margin-top: 14px; }

.how { --accent: #2F5BEA; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent) 5%, #fff)); transition: background .6s; }
.how .eyebrow { color: var(--accent); transition: color .4s; }
.how-tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(14, 26, 61, .06); margin-bottom: 46px; flex-wrap: wrap; }
.how-tabs button { position: relative; z-index: 1; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); padding: 9px 16px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: color .3s; }
.how-tabs button img { width: 20px; height: 20px; border-radius: 6px; }
.how-tabs button.on { color: #fff; }
.how-ink { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; border-radius: 99px; background: var(--accent); transition: transform .5s var(--ease), width .5s var(--ease), background .4s; }
.how-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how-line { position: absolute; left: 6%; right: 6%; top: 31px; height: 2px; background: var(--line); }
.how-line i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.how-steps.go .how-line i { animation: drawx 1.4s var(--ease) .2s forwards; }
@keyframes drawx { to { transform: scaleX(1); } }
.how-step { position: relative; opacity: 0; transform: translateY(18px); }
.how-steps.go .how-step { animation: stepIn .7s var(--ease) forwards; animation-delay: calc(var(--d) * 160ms + .1s); }
@keyframes stepIn { to { opacity: 1; transform: none; } }
.how-step .hn { width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; position: relative; color: var(--accent); box-shadow: 0 12px 30px rgba(14, 26, 61, .08); }
.how-step .hn b { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; display: grid; place-items: center; }
.how-step h4 { font-family: var(--display); font-size: 17px; margin: 18px 0 6px; }
.how-step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.panel-sec { background: #fff; }
.g2x { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.panel-sec .muted { margin-top: 14px; font-size: 16px; }
.pfeat { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.pfeat > div { display: flex; gap: 14px; align-items: flex-start; }
.pfeat .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.tilt { perspective: 1200px; }
.tilt .fit { transition: transform .3s; }
.tilt.rv { transform: translateY(40px) rotateX(10deg); }
.tilt.rv.shown { transform: none; }
.tilt .snap { box-shadow: 0 40px 80px rgba(14, 26, 61, .16); }

.integ { background: radial-gradient(900px 500px at 50% 0%, #EEF2FE, transparent 70%), #f7f9ff; }
.integ-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hub { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: #C9D3EE; stroke-width: .35; stroke-dasharray: 1.2 1.2; transition: stroke .3s, stroke-width .3s; animation: dash 6s linear infinite; }
.hub-lines line.on { stroke: var(--blue); stroke-width: .7; stroke-dasharray: none; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.hub::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed #D5DCF0; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; text-align: center; }
.hub-core img { width: 100%; border-radius: 24%; box-shadow: 0 0 0 10px rgba(47, 91, 234, .08), 0 0 0 22px rgba(47, 91, 234, .05), 0 24px 50px rgba(47, 91, 234, .3); animation: corePulse 3s ease-in-out infinite; }
.hub-core span { display: block; font-size: 12px; font-weight: 700; color: var(--deep); margin-top: 12px; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 16px rgba(47, 91, 234, .06), 0 0 0 32px rgba(47, 91, 234, .03), 0 24px 50px rgba(47, 91, 234, .3); } }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; font: inherit; }
.hub-node .hl { width: 58px; height: 58px; padding: 13px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(14, 26, 61, .08); transition: transform .35s var(--ease), box-shadow .3s, border-color .3s; display: block; }
.hub-node small { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hub-node.on .hl, .hub-node:hover .hl { transform: scale(1.14); border-color: var(--blue); box-shadow: 0 16px 34px rgba(47, 91, 234, .25); }
.hub-node.on small { color: var(--text); }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(14, 26, 61, .08); min-height: 360px; }
.hc-in { animation: fadeUp .45s var(--ease); }
.hc-logo { width: 44px; height: 44px; display: block; }
.hc-name { font-family: var(--display); font-size: 20px; }
.hc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hc-tags span { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--blue-50); color: var(--deep); font-weight: 600; }
.hc-used { margin: 18px 0 14px; }
.hc-used .xs { display: block; font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.hc-prod { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--faint); opacity: .55; transition: .3s; }
.hc-prod img { width: 20px; height: 20px; border-radius: 6px; filter: grayscale(1); }
.hc-prod.on { opacity: 1; color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.hc-prod.on img { filter: none; }
.hc-scopes { border-top: 1px solid var(--line-2); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.hc-scopes > div { display: flex; justify-content: space-between; gap: 10px; }
.hc-scopes .mono { font-size: 11.5px; color: var(--deep); }
.soon { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.soon span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.soon span svg { width: 20px; height: 20px; }
.soon em { font-style: normal; font-size: 10.5px; color: var(--gold); background: var(--warm); padding: 1px 6px; border-radius: 99px; }

.pricing { background: #fff; }
.pr-toggle { display: flex; width: max-content; margin: -14px auto 34px; padding: 5px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.pr-toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 99px; color: var(--muted); cursor: pointer; transition: .3s; }
.pr-toggle button.on { background: var(--ink); color: #fff; }
.pr-toggle em { font-style: normal; color: var(--ok); margin-left: 4px; }
.pr-toggle button.on em { color: var(--yellow); }
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { --accent: var(--blue); position: relative; border-radius: 22px; padding: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: transform .45s var(--ease), box-shadow .4s, border-color .3s, opacity .8s var(--ease) !important; transition-delay: 0s, 0s, 0s, calc(var(--d, 0) * 90ms) !important; }
.pcard:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 30px 60px color-mix(in srgb, var(--accent) 18%, transparent); }
.pcard.rv:not(.shown) { transform: translateY(30px); }
.pc-top { display: flex; gap: 12px; align-items: center; }
.pc-top img { width: 42px; height: 42px; border-radius: 12px; }
.pc-top b { font-family: var(--display); font-size: 19px; display: block; }
.pc-top span { font-size: 12.5px; color: var(--faint); }
.pc-amt { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-amt small { font-size: 14px; font-weight: 500; opacity: .6; margin-left: 2px; }
.pcard ul { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; flex: 1; }
.pcard li { display: flex; gap: 8px; }
.pcard li .ico { color: var(--accent); flex: none; margin-top: 2px; }
.pcard.suite { background: linear-gradient(165deg, #0B1A4A, #2F5BEA); color: #fff; border: 0; box-shadow: 0 30px 70px rgba(47, 91, 234, .35); --accent: var(--yellow); }
.pcard.suite .pc-top span { color: rgba(255, 255, 255, .65); }
.pcard .ribbon { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--yellow); color: var(--ink); }

.faq-sec { background: linear-gradient(180deg, #fff, var(--warm)); }
.lfaq { display: flex; flex-direction: column; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.qa.open { border-color: #C9D3EE; box-shadow: 0 14px 34px rgba(14, 26, 61, .07); }
.qa > button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; padding: 18px 20px; display: flex; justify-content: space-between; gap: 14px; font-weight: 600; font-size: 16px; align-items: center; }
.qa > button i { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.qa > button i::before, .qa > button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--blue); border-radius: 2px; transition: transform .4s var(--ease); }
.qa > button i::after { transform: rotate(90deg); }
.qa.open > button i { transform: rotate(180deg); background: var(--blue); }
.qa.open > button i::before, .qa.open > button i::after { background: #fff; }
.qa.open > button i::after { transform: rotate(0); }
.qa .ans { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.qa .ans p { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; margin: 0; }

.lp-cta { background: radial-gradient(700px 300px at 50% 0%, #2F5BEA, transparent 70%), var(--night); color: #fff; text-align: center; padding: 100px 0; }
.lp-cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.lp-cta p { color: rgba(255, 255, 255, .72); margin: 14px 0 28px; font-size: 17px; }

@media (max-width: 1100px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgrid { gap: 28px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
}
@media (max-width: 900px) {
  .site-nav .links { display: none; }
  .nav-burger { display: grid; }
  .site-nav .hide-sm { display: none; }
  .site-nav.open .nav-sheet { display: flex; flex-direction: column; padding: 8px 16px 16px; gap: 2px; background: rgba(11, 26, 74, .97); }
  .nav-sheet a { color: rgba(255, 255, 255, .85); padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-weight: 500; }
  .lp-hero > .in { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 90px; gap: 26px; }
  .deck { height: 330px; }
  .hcard { width: 80%; }
  .lp-rings { width: 600px; height: 600px; right: -300px; }
  .lp-strip .in { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .sitem { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 14px 16px; }
  .cgrid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 80px 16px 18px; gap: 14px; align-items: start; }
  .cfoot { display: none; }
  .chead h3 { font-size: 22px; }
  .chead img { width: 36px; height: 36px; }
  .cmob { display: block; margin-top: 10px; min-height: 96px; }
  .cmob b { font-family: var(--display); font-size: 16px; display: block; }
  .cmob p { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
  .cdots { right: auto; left: 50%; top: -14px; transform: translateX(-50%); flex-direction: row; }
  .cdots i.on { height: 6px; width: 22px; }
  .screens { height: 100%; min-height: 260px; }
  .how-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 34px; }
  .how-line { display: none; }
  .g2x, .integ-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-sec { padding: 76px 0; }
  .lp .in { padding: 0 16px; }
  .hub-node .hl { width: 46px; height: 46px; padding: 10px; border-radius: 14px; }
  .hub-node small { font-size: 10.5px; }
  .mega { display: none; }
}
@media (max-width: 560px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how-tabs { border-radius: 16px; }
  .how-tabs button { padding: 8px 12px; font-size: 13px; }
  .lp-hero .lead { font-size: 16px; }
  .ci-icon { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .scr, .hcard, .ci-name span, .how-step, .cgrid, .cintro { transition: none !important; animation: none !important; }
  .rv, .how-step { opacity: 1; transform: none; }
  .lp-hero .aurora i, .hub-lines line, .hub-core img, .scroll-cue i::after { animation: none; }
}
@media (max-width: 560px) {
  .site-nav .in { gap: 10px; }
  .site-nav .btn.gold { height: 36px; padding: 0 12px; font-size: 13px; }
  .site-nav .btn.gold .ico { display: none; }
  .site-nav .brand .wm { font-size: 16px; }
  .nav-burger { width: 36px; height: 36px; flex: none; }
}
@media (max-width: 380px) { .site-nav .brand .wm small { display: none; } }

/* perf: freeze heavy hero effects once it has scrolled away */
.lp-hero.gone .aurora i, .lp-hero.gone .lp-rings, .lp-hero.gone .scroll-cue i::after { animation-play-state: paused; }
.lp-hero.gone .deck { visibility: hidden; }
.lp-hero .aurora i { will-change: transform; }

/* ---------- hero deck v2: real 3D depth, no z-index snapping ---------- */
@property --lift { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --hy { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --dim { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --hx { syntax: '<length>'; inherits: false; initial-value: 0px; }
.deck { transform-style: preserve-3d; will-change: transform; }
.hcard { z-index: auto !important; filter: none !important; --lift: 0px; --hy: 0px; --hx: 0px; --dim: 0;
  transition: --dim .5s ease, box-shadow .6s ease, border-color .5s ease; }
.hcard::after { content: ""; position: absolute; inset: 0; background: #07102e; opacity: calc(var(--dim) * .45); pointer-events: none; border-radius: inherit; }
.hcard.d0 { transform: translate3d(calc(var(--hp) * -60px + var(--hx)), calc(var(--hp) * -80px + var(--hy)), calc(0px + var(--lift))) rotateZ(-4deg); }
.hcard.d1 { transform: translate3d(var(--hx), calc(var(--hp) * -140px + var(--hy)), calc(70px + var(--lift))) rotateZ(0deg); }
.hcard.d2 { transform: translate3d(calc(var(--hp) * 60px + var(--hx)), calc(var(--hp) * -200px + var(--hy)), calc(140px + var(--lift))) rotateZ(3deg); }
.deck.has-act .hcard { --dim: 1; }
.deck .hcard.act { --lift: 150px; --hy: -12px; --dim: 0; border-color: var(--accent); box-shadow: 0 60px 100px rgba(0, 0, 0, .5), 0 0 0 1px var(--accent), 0 0 70px color-mix(in srgb, var(--accent) 40%, transparent); }
.deck .hcard.act .dlabel em { opacity: 1; transform: none; }
.hcard .dlabel em { transition: opacity .4s ease .15s, transform .5s cubic-bezier(.22, .9, .25, 1) .15s; }
@media (prefers-reduced-motion: reduce) { .hcard { transition: none; } }

/* ---------- demo player: scale wide screens to fit instead of squeezing ---------- */
.demo .screen { padding: 18px; display: block; min-height: 0; }
.demo .screen .scene { width: 100%; }
.demo-fit { position: relative; overflow: hidden; border-radius: 14px; transition: height .4s ease; }
.demo-fit > .fit { transform-origin: top left; animation: demoIn .6s cubic-bezier(.22, .9, .25, 1); }
@keyframes demoIn { from { opacity: 0; translate: 0 14px; } }
.demo:hover .prog button.cur i { animation-play-state: paused; }

/* ---------- Bhishm journey + DDA ---------- */
.es .ejhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.es .ejhead b { font-size: 12px; display: block; }
.es .ejhead span { font-size: 8.5px; color: #71717a; }
.es .ejtrack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; position: relative; }
.es .ejs { position: relative; border: 1px solid #ececec; border-top: 3px solid var(--c); border-radius: 9px; padding: 6px 7px; background: #fff; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.es .ejday { font-size: 7.5px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .05em; }
.es .ejdot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--c); }
.es .ejs > b { font-size: 9.5px; }
.es .ejsub { font-size: 7.5px; color: #71717a; font-family: ui-monospace, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es .ejev { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0; }
.es .ejev span { font-size: 7.5px; background: #f4f4f5; border-radius: 4px; padding: 1px 4px; color: #3f3f46; }
.es .ejev .pur { background: #dcfce7; color: #15803d; font-weight: 700; }
.es .ejq { display: flex; justify-content: space-between; font-size: 7.5px; color: #71717a; }
.es .ejq b { color: #0a0a0a; font-size: 9px; }
.es .ejbar { height: 4px; background: #f1f1f1; border-radius: 3px; overflow: hidden; }
.es .ejbar i { display: block; height: 100%; background: var(--c); border-radius: 3px; }
.es .elegend { padding: 7px 9px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 8.5px; color: #52525b; align-items: center; }
.es .elegend b { font-size: 9.5px; color: #0a0a0a; width: 100%; }
.es .elegend em { font-style: normal; font-weight: 700; color: #6d28d9; }
.es .edot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.es tr.etot td { background: #f5f3ff; font-weight: 700; }
.es .emodels { padding: 7px 9px; display: flex; flex-direction: column; gap: 5px; }
.es .emodels > b { font-size: 9.5px; }
.es .emrow { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 8.5px; color: #52525b; }
.es .emstack { display: flex; height: 16px; border-radius: 5px; overflow: hidden; background: #f4f4f5; }
.es .emstack i { display: grid; place-items: center; color: #fff; font-style: normal; font-size: 7.5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.es .elegend2 { display: flex; gap: 10px; flex-wrap: wrap; font-size: 8px; color: #52525b; }
.es .elegend2 i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; }
.es tr.elv0 td { background: #fafafa; }
.es tr.elv2 td { font-size: 8.5px; }
.es .elvl { font-size: 7px; text-transform: uppercase; letter-spacing: .05em; color: #a1a1aa; font-weight: 700; margin-right: 3px; }
.es .mono { font-family: ui-monospace, Consolas, monospace; }

/* ---------- Drona: Doc Tool, Karna creatives, creative reporting, custom reports ---------- */
.ds .ddirect { margin-left: auto; font-size: 8.5px; font-weight: 700; color: #0a7d4e; background: #e7f6ee; border-radius: 6px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 4px; }
.ds .ddirect .ico { width: 11px; height: 11px; }
.ds .dgr { font-size: 8px; font-weight: 700; border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.ds .dgr.g { background: #e7f6ee; color: #0a7d4e; } .ds .dgr.r { background: #fdecea; color: #c5300d; } .ds .dgr.n { background: #f1f1f1; color: #4b5563; } .ds .dgr.b { background: #e8efff; color: #1d4ed8; }
.ds .dyes { color: #0a7d4e; font-weight: 700; font-size: 8.5px; } .ds .dpend { color: #b45309; font-weight: 700; font-size: 8.5px; background: #fff4e0; border-radius: 5px; padding: 1px 5px; }
.ds .dthumb { display: inline-block; width: 16px; height: 20px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.ds .dnom { font-family: ui-monospace, Consolas, monospace; font-size: 8px; }
.ds .dst { font-size: 8px; font-weight: 700; } .ds .dst.live { color: #0a7d4e; } .ds .dst.paused { color: #b45309; } .ds .dst.off { color: #c5300d; }
.ds .dstage { font-size: 8px; font-weight: 700; color: #4f46e5; background: #eef2ff; border-radius: 5px; padding: 1px 6px; }
.ds .dgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ds .dcreative { background: #fff; border: 1px solid #ececec; border-radius: 9px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.ds .dcreative > b { font-size: 9px; font-family: ui-monospace, Consolas, monospace; }
.ds .dct { height: 52px; border-radius: 6px; position: relative; }
.ds .dct span { position: absolute; left: 5px; bottom: 4px; font-size: 7.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.35); border-radius: 4px; padding: 1px 5px; }
.ds .dcm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.ds .dcm span { font-size: 7px; color: #6b7280; display: flex; flex-direction: column; }
.ds .dcm b { font-size: 9.5px; color: #111; border-radius: 3px; padding: 0 2px; }
.ds .dshare { display: flex; align-items: center; gap: 5px; justify-content: flex-end; }
.ds .dshare i { display: block; height: 6px; background: #2563eb; border-radius: 3px; }
.ds .dshare span { font-size: 8.5px; min-width: 24px; }
.ds .dwidgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ds .dgrip { color: #c0c4cc; font-size: 9px; letter-spacing: -2px; }
.ds .ddrop { border: 1.5px dashed #c7d2fe; background: #f5f7ff; display: grid; place-items: center; text-align: center; font-size: 9px; font-weight: 700; color: #4f46e5; padding: 10px; }
.ds .ddrop span { font-weight: 500; color: #6b7280; font-size: 8px; }
.ds .dsched { border-left: 1px solid #ececec; background: #fff; padding: 9px; display: flex; flex-direction: column; gap: 4px; font-size: 9px; }
.ds .dsched > b { font-size: 11px; margin-bottom: 2px; }
.ds .dsched label { font-size: 7.5px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.ds .dsel.full { display: flex; width: 100%; box-sizing: border-box; }
.ds .dchan { display: flex; align-items: center; gap: 6px; border: 1px solid #e3e3e3; border-radius: 7px; padding: 4px 6px; font-weight: 600; }
.ds .dchan span { width: 14px; height: 14px; display: grid; place-items: center; }
.ds .dchan span svg { width: 14px; height: 14px; }
.ds .dchan i { margin-left: auto; font-style: normal; color: #fff; background: #2563eb; border-radius: 4px; width: 13px; height: 13px; display: grid; place-items: center; font-size: 8px; }
.ds .dchan.on { border-color: #bfd3fb; background: #f5f8ff; }
.ds .dppl { display: flex; flex-wrap: wrap; gap: 3px; }
.ds .dppl span { font-size: 8px; background: #eef2ff; color: #3730a3; border-radius: 99px; padding: 1px 7px; }
.ds .dppl span:last-child { background: #fff; border: 1px dashed #c7d2fe; }
.es .mono { font-size: 8px; letter-spacing: 0; }
.es tr.elv2 td.l { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.ds .dnom { font-size: 7.5px; }
.ds .dcwrap { display: inline-flex; flex-direction: column; vertical-align: middle; max-width: 210px; }
.ds .dcwrap .dnom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .dtk { font-size: 7.5px; color: #087f92; font-weight: 700; }

.deck .hcard.d0.act { --hx: 70px; } .deck .hcard.d1.act { --hx: 36px; } .deck .hcard.d2.act { --hx: 0px; --hy: -30px; }
.autofit { position: relative; overflow: hidden; width: 100%; }
.autofit > .fit { transform-origin: top left; }
.gallery .stage { min-width: 0; overflow: hidden; }
.gallery > * { min-width: 0; }
.autofit { min-width: 0; max-width: 100%; }

/* hero deck: every card sits in a parallel plane (only in-plane rotateZ), the shared tilt lives on the deck,
   so a lifted card can never slice through the cards behind it */
.deck { transform: rotateY(7deg) rotateX(3deg); }

/* ---------- chapter story panel: big analogy per step + "Up next" preview ---------- */
.cstory { --sp: 0; margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.cs-rail { display: flex; align-items: center; gap: 6px; }
.cs-rail button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--line); color: var(--faint); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.cs-rail button.done { background: color-mix(in srgb, var(--accent) 14%, #fff); border-color: transparent; color: var(--accent); }
.cs-rail button.on { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.cs-rail button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cs-of { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.cs-of b { color: var(--text); }
.cs-cards { display: grid; }
.cs-card { grid-area: 1 / 1; opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .55s ease, transform .8s var(--ease); pointer-events: none; }
.cs-card.past { transform: translate3d(0, -28px, 0); }
.cs-card.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.cs-card h4 { font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.cs-card blockquote { margin: 14px 0 0; padding: 14px 18px; border-radius: 14px; background: #fff; border-left: 4px solid var(--accent); box-shadow: 0 10px 30px rgba(14, 26, 61, .07); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--text); font-weight: 500; }
.cs-card blockquote span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.cs-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.cs-bar { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 14%, #fff); overflow: hidden; }
.cs-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.cs-next { all: unset; cursor: pointer; display: grid; gap: 3px; padding: 12px 16px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 5%, transparent);
  opacity: calc(.4 + var(--sp) * .6); transform: translate3d(0, calc((1 - var(--sp)) * 8px), 0); transition: border-color .3s, background .3s; }
.cs-next:hover { border-style: solid; background: color-mix(in srgb, var(--accent) 10%, transparent); opacity: 1; }
.cs-next small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cs-next small::after { content: " ↓"; }
.cs-next b { font-family: var(--display); font-size: 16px; color: var(--text); }
.cs-next span { font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-height: 760px) and (min-width: 901px) { .cs-card p { font-size: 13.5px; } .cs-card blockquote { padding: 11px 15px; } .cstory { gap: 12px; margin-top: 14px; } }
@media (max-width: 900px) {
  .cstory { margin-top: 10px; gap: 8px; }
  .cs-rail, .cs-bar, .cs-next, .cs-card p { display: none; }
  .cs-card h4 { font-size: 18px; }
  .cs-card blockquote { margin-top: 8px; padding: 9px 12px; font-size: 14px; }
  .cs-card blockquote span { font-size: 10px; margin-bottom: 3px; }
}
@media (prefers-reduced-motion: reduce) { .cs-card { transition: opacity .2s; transform: none !important; } .cs-next { transform: none; } }

/* ---------- perf v4: no live blur on the scroll path (heavy on integrated GPUs) ---------- */
.site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 26, 74, .96); }
.cstage::before { filter: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 100%); }
/* aurora: soft radial gradients instead of blur(70px) on animated circles */
.lp-hero .aurora i { filter: none; background-color: transparent !important; }
.lp-hero .aurora i:nth-child(1) { background-image: radial-gradient(closest-side, #F59E0B, transparent); opacity: .3; }
.lp-hero .aurora i:nth-child(2) { background-image: radial-gradient(closest-side, #0EA5B7, transparent); opacity: .4; }
.lp-hero .aurora i:nth-child(3) { background-image: radial-gradient(closest-side, #7C5CFC, transparent); opacity: .45; }
/* chapters that are off screen are not rendered at all */
.chap .chap-stick { contain: layout paint; }

/* ---------- v5: hero cards all the same height ---------- */
.hcard .dscreen { height: 250px !important; }
.deck .hcard:not(.act) { --hx: 0px; --hy: 0px; }

/* ---------- v5 chapter: screen in the middle, analogy card floats left / right per step ---------- */
.cgrid.cstory { --sp: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 3px minmax(0, 1fr) auto; gap: 14px; max-width: 1360px; margin: 0 auto; padding: 84px 28px 18px; align-items: stretch; }
.ctop { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ctop .chead img { width: 40px; height: 40px; }
.ctop .chead h3 { font-size: 24px; }
.ctop .cs-rail { margin-left: auto; }
.ctop .cfoot { margin-top: 0; }
.cgrid.cstory > .cs-bar { align-self: center; }
.cmain { position: relative; min-height: 0; display: grid; place-items: center; }
.cmain .cstage { width: min(860px, 100% - 120px); height: 100%; display: flex; align-items: center; transition: transform .9s var(--ease); transform: translate3d(70px, 0, 0); }
.cmain.flip .cstage { transform: translate3d(-70px, 0, 0); }
.cmain .screens { width: 100%; height: 100%; max-height: 560px; }
.cmain .cdots { right: -22px; }

.cmain .cs-cards { position: absolute; inset: 0; display: block; pointer-events: none; z-index: 3; }
.cs-card { position: absolute; width: 320px; max-width: 34%; padding: 18px 20px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(14, 26, 61, .16), 0 2px 0 color-mix(in srgb, var(--accent) 60%, transparent) inset; grid-area: auto; }
.cs-card.side-l { left: 0; top: 4%; transform: translate3d(-48px, 0, 0); }
.cs-card.side-r { right: 0; bottom: 4%; transform: translate3d(48px, 0, 0); }
.cs-card.past.side-l { transform: translate3d(-48px, -20px, 0); }
.cs-card.past.side-r { transform: translate3d(48px, -20px, 0); }
.cs-card.on { transform: none; }
.cs-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.cs-card h4 { margin-top: 4px; font-size: 21px; line-height: 1.2; }
.cs-card blockquote { margin: 12px 0 0; padding: 0 0 0 26px; border: 0; background: none; box-shadow: none; position: relative; font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--text); }
.cs-card blockquote::before { content: "\201C"; position: absolute; left: -2px; top: -12px; font-family: Georgia, serif; font-size: 46px; line-height: 1; color: var(--accent); opacity: .6; }
.cs-card details { margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 9px; }
.cs-card summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--accent); list-style: none; display: flex; align-items: center; gap: 6px; }
.cs-card summary::-webkit-details-marker { display: none; }
.cs-card summary::after { content: "+"; font-size: 15px; line-height: 1; transition: transform .3s; }
.cs-card details[open] summary::after { transform: rotate(45deg); }
.cs-card details p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.cgrid.cstory > .cs-next { justify-self: center; display: flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 99px; border-style: solid; border-width: 1px; background: #fff; box-shadow: 0 8px 24px rgba(14, 26, 61, .08); }
.cgrid.cstory > .cs-next span { display: none; }
.cgrid.cstory > .cs-next b { font-size: 14px; }

@media (max-height: 760px) and (min-width: 901px) { .cgrid.cstory { padding-top: 76px; gap: 10px; } .cs-card { padding: 14px 16px 12px; } .cs-card h4 { font-size: 19px; } .cs-card blockquote { font-size: 15.5px; } }
@media (max-width: 1100px) and (min-width: 901px) { .cmain .cstage { width: 100%; transform: none !important; } .ctop .cfoot { display: none; } }
@media (max-width: 900px) {
  .cgrid.cstory { padding: 74px 16px 14px; grid-template-rows: auto 3px minmax(0, 1fr); gap: 10px; }
  .ctop .cs-rail, .ctop .cfoot, .cgrid.cstory > .cs-next { display: none; }
  .cgrid.cstory > .cs-bar { display: block; }
  .cmain { display: flex; flex-direction: column; gap: 12px; place-items: initial; }
  .cmain .cs-cards { position: relative; inset: auto; display: grid; order: -1; pointer-events: auto; }
  .cs-card { position: relative; grid-area: 1 / 1; width: auto; max-width: none; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; padding: 12px 14px; box-shadow: 0 10px 30px rgba(14, 26, 61, .1); }
  .cs-card.side-l, .cs-card.side-r, .cs-card.past.side-l, .cs-card.past.side-r { transform: translate3d(0, 16px, 0); }
  .cs-card.on { transform: none; }
  .cs-card h4 { font-size: 17px; }
  .cs-card blockquote { font-size: 14.5px; margin-top: 6px; padding-left: 22px; }
  .cs-card blockquote::before { font-size: 36px; top: -8px; }
  .cs-card details { display: none; }
  .cmain .cstage { width: 100%; transform: none !important; flex: 1; min-height: 0; }
  .cmain .screens { min-height: 240px; }
  .hcard .dscreen { height: 170px !important; }
}

/* ---------- v6: no page progress line, slimmer chapter header ---------- */
.lp-progress { display: none; }
.cgrid.cstory { grid-template-rows: auto minmax(0, 1fr); }
.ctop .chead { gap: 10px; }
.ctop .chead h3 { font-size: 24px; margin: 0; }
.ctop .cfoot { margin-left: auto; }
.deck.has-act .hcard.act { box-shadow: 0 50px 90px rgba(0, 0, 0, .5), 0 0 0 1px var(--accent), 0 0 60px color-mix(in srgb, var(--accent) 40%, transparent); }

/* ---------- v6: left product trail ---------- */
.trail { position: fixed; left: 16px; top: 50%; z-index: 25; display: flex; flex-direction: column; gap: 12px; padding: 12px 6px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line-2); box-shadow: 0 12px 34px rgba(14, 26, 61, .1);
  opacity: 0; pointer-events: none; transform: translate3d(-18px, -50%, 0); transition: opacity .45s ease, transform .6s var(--ease); }
.trail.show { opacity: 1; pointer-events: auto; transform: translate3d(0, -50%, 0); }
.tr-app { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tr-logo { position: relative; display: block; width: 32px; height: 32px; border-radius: 10px; opacity: .45; filter: grayscale(.7); transition: opacity .3s, filter .3s, box-shadow .3s; }
.tr-logo img { width: 100%; height: 100%; border-radius: 10px; display: block; }
.tr-app.cur .tr-logo, .tr-logo:hover { opacity: 1; filter: none; }
.tr-app.cur .tr-logo { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.tr-ticks { display: flex; flex-direction: column; align-items: center; }
.tr-tick { position: relative; display: grid; place-items: center; width: 34px; height: 12px; }
.tr-tick::before { content: ""; width: 12px; height: 3px; border-radius: 3px; background: #d5dae6; transition: width .4s var(--ease), background .3s; }
.tr-tick.done::before { background: color-mix(in srgb, var(--accent) 45%, #fff); }
.tr-tick.on::before, .tr-tick:hover::before { width: 24px; background: var(--accent); }
.tr-tip { position: absolute; left: calc(100% + 10px); top: 50%; transform: translate3d(-6px, -50%, 0); white-space: nowrap; background: #0b1a4a; color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); z-index: 2; }
.tr-tick:hover .tr-tip, .tr-tick:focus-visible .tr-tip, .tr-logo:hover .tr-tip, .tr-logo:focus-visible .tr-tip { opacity: 1; transform: translate3d(0, -50%, 0); }
@media (min-width: 901px) { .cgrid.cstory { padding-left: 84px; } }
@media (max-width: 900px) { .trail { display: none; } .cgrid.cstory { grid-template-rows: auto minmax(0, 1fr); } }
.tr-app:not(.cur) .tr-tick.on:not(:hover)::before { width: 12px; background: #d5dae6; }

/* ---------- v7: colour tide. A soft shade of the product colour rises through each step;
   when it reaches the top the next step arrives and that shade becomes the new background ---------- */
.ctide { --ta: transparent; --tb: color-mix(in srgb, var(--accent) 7%, transparent); position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--ta); }
.ctide i { position: absolute; inset: 0; display: block; background: var(--tb); transform: translate3d(0, 100%, 0); will-change: transform;
  box-shadow: 0 -1px 0 color-mix(in srgb, var(--accent) 16%, transparent), 0 -40px 60px -30px color-mix(in srgb, var(--accent) 14%, transparent); }
.ctide.alt { background: var(--tb); }
.ctide.alt i { background: #fbfcff; }
.chap .cgrid, .chap .cintro { z-index: 1; }
.chap .cintro { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .ctide { display: none; } }
/* tide tuned: visible, still soft */
.ctide { --tb: color-mix(in srgb, var(--accent) 11%, #fbfcff); }
.ctide i { box-shadow: 0 -1.5px 0 color-mix(in srgb, var(--accent) 30%, transparent), 0 -60px 80px -40px color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- v8: colour tide removed; quiet progress instead ---------- */
.ctide { display: none !important; }
/* current trail line fills as you scroll through the step */
.tr-tick.on::before { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.tr-fill { position: absolute; left: 5px; top: 50%; width: 24px; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.tr-tick:not(.on) .tr-fill { opacity: 0; }
.tr-tick.on:hover .tr-fill { opacity: 1; }
/* hairline along the top of the analogy card, growing with the same progress */
.cs-card { box-shadow: 0 30px 70px rgba(14, 26, 61, .16); overflow: hidden; }
.cs-prog { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: .9; pointer-events: none; }

/* ---------- v11: products crossfade into each other (one moment, no solid slide) ---------- */
.chap { background: none; }
.chap-stick { background: radial-gradient(1100px 700px at 85% 15%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%), radial-gradient(900px 600px at 0% 100%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), #fbfcff; will-change: opacity; }
.chap + .chap { border-top: 0; margin-top: -100vh; margin-top: -100svh; }

/* ---------- v11: "made in Karna" link inside a card ---------- */
.cs-x { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 9px 11px; border-radius: 12px; text-decoration: none !important; background: color-mix(in srgb, var(--xc) 9%, #fff); border: 1px solid color-mix(in srgb, var(--xc) 25%, transparent); transition: background .25s, border-color .25s; }
.cs-x:hover { background: color-mix(in srgb, var(--xc) 15%, #fff); border-color: var(--xc); }
.cs-xl { grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 4px; }
.cs-xl img { width: 24px; height: 24px; border-radius: 7px; }
.cs-xl i { font-style: normal; font-size: 12px; color: var(--muted); }
.cs-xt { font-size: 12.5px; color: var(--text); line-height: 1.3; }
.cs-x em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--xc); }
@media (max-width: 900px) { .cs-x { margin-top: 8px; } }

/* ---------- v11: How it works is a journey you scroll through ---------- */
@media (min-width: 901px) and (min-height: 601px) {
  .how { height: 230vh; padding: 0 !important; }
  .how > .how-pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 24px; box-sizing: border-box; }
}
.how-steps.go .how-line i { animation: none; }
.how-line i { transition: transform .25s linear; }
.how-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent), 0 6px 16px color-mix(in srgb, var(--accent) 40%, transparent); transition: left .25s linear, background .4s; }
.how-steps.go .how-step { animation: stepIn .7s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms); }
.how-step { transform: translate3d(40px, 0, 0); }
.how-step .hn, .how-step h4, .how-step p { transition: opacity .45s ease, transform .55s var(--ease), background .4s, color .4s, box-shadow .4s, border-color .4s; }
.how-step:not(.lit) .hn { opacity: .45; transform: scale(.92); box-shadow: none; }
.how-step:not(.lit) h4, .how-step:not(.lit) p { opacity: .35; }
.how-step.lit .hn { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.how-step.now .hn { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 40%, transparent); }
.how-step.now .hn b { background: #fff; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 900px) { .how-dot { display: none; } }
@media (prefers-reduced-motion: reduce) { .how-step:not(.lit) .hn, .how-step:not(.lit) h4, .how-step:not(.lit) p { opacity: 1; transform: none; } }

/* ---------- v12: morphing background per tool ----------
   Three soft colour fields in the tool's own palette drift slowly and rearrange on every step;
   one very faint word behind them names what the step is about. */
.chap[data-k="bhishm"] { --c1: #7C5CFC; --c2: #4F46E5; --c3: #EC4899; }
.chap[data-k="drona"]  { --c1: #0EA5B7; --c2: #2563EB; --c3: #10B981; }
.chap[data-k="karna"]  { --c1: #F59E0B; --c2: #F97316; --c3: #F43F5E; }
.chap-stick { background: #fbfcff; }
.cbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cbg i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; display: block;
  transition: translate 1.8s cubic-bezier(.22, .9, .25, 1); animation: cbgBreathe 14s ease-in-out infinite alternate; will-change: translate, scale; }
.cbg .b1 { left: -18vmax; top: -26vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 26%, transparent), transparent); }
.cbg .b2 { right: -22vmax; top: 4vh; background: radial-gradient(closest-side, color-mix(in srgb, var(--c2) 18%, transparent), transparent); animation-duration: 17s; animation-delay: -5s; }
.cbg .b3 { left: 22vw; bottom: -36vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--c3) 15%, transparent), transparent); animation-duration: 20s; animation-delay: -9s; }
@keyframes cbgBreathe { from { scale: 1; } to { scale: 1.18; } }
/* where the colour sits for each step */
.cbg[data-s="1"] .b1 { translate: 58vw 12vh; }  .cbg[data-s="1"] .b2 { translate: -52vw 26vh; } .cbg[data-s="1"] .b3 { translate: -18vw -8vh; }
.cbg[data-s="2"] .b1 { translate: 8vw 46vh; }   .cbg[data-s="2"] .b2 { translate: -12vw -22vh; } .cbg[data-s="2"] .b3 { translate: 34vw -26vh; }
.cbg[data-s="3"] .b1 { translate: 62vw 50vh; }  .cbg[data-s="3"] .b2 { translate: -56vw -6vh; } .cbg[data-s="3"] .b3 { translate: -30vw -34vh; }
.cbg[data-s="4"] .b1 { translate: 26vw 16vh; }  .cbg[data-s="4"] .b2 { translate: -30vw 36vh; } .cbg[data-s="4"] .b3 { translate: 10vw -44vh; }
/* the faint word that names the step */
.cw { position: absolute; left: 50%; bottom: 3vh; translate: -50% 30px; font-family: var(--display); font-weight: 800; font-size: clamp(90px, 15vw, 230px); letter-spacing: -.05em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c1) 16%, transparent); opacity: 0; transition: opacity .9s ease, translate 1.2s cubic-bezier(.22, .9, .25, 1); }
.cbg[data-s="0"] .cw[data-i="0"], .cbg[data-s="1"] .cw[data-i="1"], .cbg[data-s="2"] .cw[data-i="2"], .cbg[data-s="3"] .cw[data-i="3"], .cbg[data-s="4"] .cw[data-i="4"] { opacity: 1; translate: -50% 0; transition-delay: .25s; }
/* only the product in view animates */
.chap:not(.near) .cbg i { animation-play-state: paused; }
@media (max-width: 900px) { .cw { font-size: 22vw; bottom: 2vh; } .cbg i { width: 90vmax; height: 90vmax; } }
@media (prefers-reduced-motion: reduce) { .cbg i { animation: none; transition: none; } .cw { transition: none; } }
/* step word: in the open band above the screen, where it can be read */
.cw { top: 84px; bottom: auto; font-size: clamp(64px, 8.5vw, 132px); -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c1) 22%, transparent); }
@media (max-height: 760px) and (min-width: 901px) { .cw { top: 70px; font-size: clamp(54px, 7vw, 110px); } }
@media (max-width: 900px) { .cw { top: auto; bottom: 2vh; font-size: 20vw; } }
/* step word v2: solid soft gradient instead of an outline (outlines show seams inside the letters) */
.cw { -webkit-text-stroke: 0; color: transparent;
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--c1) 24%, transparent) 0%, color-mix(in srgb, var(--c2) 13%, transparent) 55%, transparent 96%);
  -webkit-background-clip: text; background-clip: text; letter-spacing: -.04em; padding: 0 .06em .08em; }
.cw { top: 74px; font-size: clamp(54px, 7vw, 104px); }
@media (max-height: 760px) and (min-width: 901px) { .cw { top: 66px; font-size: clamp(48px, 6vw, 88px); } }
@media (max-width: 900px) { .cw { top: auto; bottom: 2vh; font-size: 18vw; } }

/* ---------- v13: step word only on the tool's slides, never over the product intro ---------- */
.chap.intro .cw { opacity: 0 !important; transition-delay: 0s !important; }

/* ---------- v13: performance ----------
   - nothing animates where nobody can see it (hidden demo screens, products not on screen, sections scrolled away)
   - products that are not on screen give their graphics layers back
   - smaller colour fields: same look, a fraction of the graphics memory */
.chap:not(.near) *, .scr:not(.on) *, .lp-sec.idle *, .lp-sec.idle *::before, .lp-sec.idle *::after, .lp-hero.gone * { animation-play-state: paused !important; }
.chap:not(.near) .chap-stick, .chap:not(.near) .cgrid, .chap:not(.near) .cintro, .chap:not(.near) .cbg i, .chap:not(.near) .scr.on { will-change: auto; }
.cbg i { width: 48vmax; height: 48vmax; }

/* ---------- v14: spotlight card per slide (real size, pops over the screen) ---------- */
.cmain .spots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spot { position: absolute; width: min(360px, 31%); opacity: 0; transform: translate3d(0, 26px, 0) scale(.94); transition: opacity .5s ease, transform .85s var(--ease); }
.spot.side-r { right: 0; bottom: 2%; transform-origin: 100% 100%; }
.spot.side-l { left: 0; top: 2%; transform-origin: 0 0; }
.spot.past { transform: translate3d(0, -22px, 0) scale(.96); }
.spot.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.spot.wide { width: min(440px, 37%); }
.spot.wide.side-r { right: 34px; }
.sp { --t: var(--text); position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; box-shadow: 0 34px 80px rgba(14, 26, 61, .2), 0 2px 0 color-mix(in srgb, var(--accent) 55%, transparent) inset; color: var(--t); font-size: 13px; line-height: 1.45; display: flex; flex-direction: column; gap: 9px; transition: transform .45s var(--ease), box-shadow .45s; }
.spot.on .sp:hover { transform: translateY(-4px); box-shadow: 0 44px 90px rgba(14, 26, 61, .26), 0 2px 0 var(--accent) inset; }
.sp-eb { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 80%, #111); }
.sp-eb.c { text-align: center; }
.sp-h { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; margin-top: -4px; }
.sp-sub { font-size: 12px; color: var(--muted); margin-top: -5px; }
.sp-sub b { color: var(--text); }
.sp-lbl { font-size: 10.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: -4px; }
.sp-q { background: #f7f8fb; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.sp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sp-chips.c { justify-content: center; }
.sp-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #f1f3f8; color: #475569; }
.sp-chip.on { background: color-mix(in srgb, var(--accent) 14%, #fff); color: color-mix(in srgb, var(--accent) 75%, #111); }
.sp-chip.g { background: #e7f6ee; color: #0a7d4e; }
.sp-btn { align-self: stretch; text-align: center; font-weight: 700; font-size: 12.5px; padding: 9px 12px; border-radius: 10px; background: var(--b, var(--accent)); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--b, var(--accent)) 30%, transparent); }
.sp-btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.sp-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.sp-foot { font-size: 11.5px; color: var(--faint); text-align: center; }
.sp-bar { position: relative; height: 7px; border-radius: 6px; background: #eef1f6; overflow: visible; }
.sp-bar i { display: block; height: 100%; border-radius: 6px; }
.sp-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 800; flex: none; }
.sp-timer { font-size: 11px; font-weight: 700; color: #b45309; background: #fff4e0; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.sp-mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.sp .edot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
/* karna */
.sp-nom { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: #0f172a; color: #94a3b8; border-radius: 10px; padding: 9px 11px; word-break: break-all; }
.sp-nom b.t { color: #fbbf24; } .sp-nom b.c { color: #5eead4; }
.sp-legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-top: -4px; flex-wrap: wrap; }
.sp-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.sp-legend i.t { background: #fbbf24; } .sp-legend i.c { background: #5eead4; }
.sp-pick { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); border-radius: 11px; padding: 6px 9px; }
.sp-pick b { flex: 1; font-size: 13px; }
.sp-pick span { font-size: 11.5px; color: var(--muted); }
.sp-pick em { font-style: normal; color: #087f92; font-weight: 800; }
.sp-pick.on { border-color: #087f92; background: #f0fafb; }
.sp-vers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-img { position: relative; height: 92px; border-radius: 12px; display: flex; align-items: flex-end; padding: 8px; color: #fff; font-weight: 800; font-size: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.sp-img span { background: rgba(0, 0, 0, .3); border-radius: 6px; padding: 1px 7px; }
.sp-img em { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 10.5px; background: #fff; color: #0f4c55; border-radius: 6px; padding: 1px 6px; }
.sp-img.on { outline: 3px solid #087f92; outline-offset: 2px; }
.sp-img.big { height: 130px; }
.sp-who { justify-content: flex-start; font-size: 12px; color: var(--muted); }
.sp-who .sp-timer { margin-left: auto; }
.sp.dark { background: #0b1220; border-color: #1e293b; --t: #e2e8f0; }
.sp.dark .sp-eb { color: #5eead4; }
.sp.dark .sp-lbl, .sp.dark .sp-foot { color: #64748b; }
.sp.dark .sp-btn.ghost { background: transparent; color: #e2e8f0; border-color: #334155; }
.sp-pill { font-size: 11px; font-weight: 700; border: 1px solid #38bdf8; color: #7dd3fc; border-radius: 99px; padding: 2px 9px; }
.sp-prog { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.sp-prog i { display: block; height: 100%; border-radius: 4px; background: #2dd4bf; }
.sp-url { font-size: 12px; border: 1px solid #334155; border-radius: 9px; padding: 7px 9px; color: #cbd5e1; }
.sp-img.big em { background: rgba(255, 255, 255, .14); color: #fff; }
/* karna live: carousel */
.sp-carwrap { display: flex; flex-direction: column; gap: 10px; }
.sp-car { position: relative; height: 318px; }
.lc { position: absolute; top: 4px; left: 50%; width: 196px; margin-left: -98px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 5px; font-size: 12px;
  box-shadow: 0 24px 50px rgba(14, 26, 61, .18); transition: transform .7s var(--ease), box-shadow .5s, filter .5s; }
.lc::before { content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 30px; background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 45%, transparent), transparent); opacity: .55; transition: opacity .5s, inset .5s; }
.lc.c { z-index: 3; }
.lc.l { z-index: 1; transform: translate3d(-104px, 16px, 0) rotate(-7deg) scale(.88); filter: saturate(.85); }
.lc.r { z-index: 2; transform: translate3d(104px, 16px, 0) rotate(7deg) scale(.88); filter: saturate(.85); }
.sp-car:hover .lc.l { transform: translate3d(-206px, 0, 0) rotate(-2deg) scale(.95); filter: none; }
.sp-car:hover .lc.r { transform: translate3d(206px, 0, 0) rotate(2deg) scale(.95); filter: none; }
.sp-car:hover .lc::before { opacity: 1; inset: -26px; }
.lc-img { position: relative; height: 96px; border-radius: 11px; display: flex; align-items: flex-end; justify-content: space-between; padding: 7px; }
.lc-img span { font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .3); border-radius: 6px; padding: 1px 6px; }
.lc-img em { font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 1px 7px; background: #fff; }
.lc-img em.gd { color: #0a7d4e; } .lc-img em.av { color: #b45309; }
.lc > b { font-size: 13.5px; }
.lc-id { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--faint); margin-top: -4px; }
.lc-roas { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 5px; font-size: 11px; color: var(--muted); }
.lc-roas b { font-family: var(--display); font-size: 22px; }
.lc-m { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; font-size: 10.5px; color: var(--muted); }
.lc-m span { display: flex; justify-content: space-between; } .lc-m b { color: var(--text); }
/* drona */
.sp-roas { display: flex; flex-direction: column; gap: 7px; position: relative; }
.sp-rw { display: grid; grid-template-columns: 82px minmax(0, 1fr) 38px; align-items: center; gap: 8px; font-size: 12px; }
.sp-rw small { display: block; font-size: 10px; color: var(--faint); }
.sp-rw b { text-align: right; }
.sp-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #0f172a; border-radius: 2px; }
.sp-target { font-size: 10.5px; color: var(--faint); text-align: right; margin-top: -4px; }
.sp-budget { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border-radius: 10px; padding: 8px 11px; font-size: 12px; color: var(--muted); }
.sp-budget s { color: var(--faint); margin-left: auto; }
.sp-budget b { color: #0a7d4e; font-size: 15px; }
.sp-cre { display: flex; gap: 10px; align-items: center; }
.sp-thumb { width: 46px; height: 58px; border-radius: 9px; flex: none; }
.sp-spark { width: 100%; height: auto; }
.sp-spark text { font-size: 10px; fill: #94a3b8; font-family: inherit; }
.sp-spark text.v { fill: #0f172a; font-weight: 700; font-size: 11px; }
.sp-up { color: #0a7d4e; font-weight: 800; font-size: 12.5px; }
.sp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #f7f8fb; border-radius: 10px; padding: 7px; text-align: center; font-size: 10.5px; color: var(--muted); }
.sp-strip b { display: block; font-size: 15px; color: var(--text); }
.sp-cmphead { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 8px; font-size: 10.5px; color: var(--muted); }
.sp-cmphead i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.sp-cmprow { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 12px; }
.sp-cmpbars { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-cmpbars > div { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 5px; }
.sp-cmpbars b { font-size: 12px; text-align: right; }
.sp-insight { font-size: 12px; background: color-mix(in srgb, var(--accent) 8%, #fff); border-radius: 10px; padding: 8px 10px; }
.sp-big { display: flex; align-items: center; gap: 12px; }
.sp-big b { font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: -.03em; color: color-mix(in srgb, var(--accent) 80%, #111); }
.sp-big span { font-size: 12.5px; font-weight: 700; } .sp-big small { font-weight: 400; color: var(--muted); }
.sp-kvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sp-kvs > div { background: #f7f8fb; border-radius: 10px; padding: 7px 8px; display: flex; flex-direction: column; }
.sp-kvs span { font-size: 10.5px; color: var(--muted); } .sp-kvs b { font-size: 14px; } .sp-kvs small { font-size: 9.5px; color: var(--faint); }
.sp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 74px; align-items: end; }
.sp-days div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.sp-days i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; }
.sp-days span { font-size: 10px; color: var(--faint); }
.sp.wa { background: #efeae2; gap: 10px; }
.wa-top { display: flex; align-items: center; gap: 9px; background: #075e54; color: #fff; margin: -16px -18px 0; padding: 10px 14px; border-radius: 18px 18px 0 0; }
.wa-top small { display: block; font-size: 11px; opacity: .8; }
.wa-av { width: 30px; height: 30px; border-radius: 50%; background: #0EA5B7; display: grid; place-items: center; font-weight: 800; }
.wa-b { position: relative; background: #fff; border-radius: 0 12px 12px 12px; padding: 9px 11px 20px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-b > b { margin-bottom: 3px; }
.wa-link { color: #027eb5; font-weight: 700; margin-top: 4px; }
.wa-b > i { position: absolute; right: 9px; bottom: 5px; font-style: normal; font-size: 10px; color: #53bdeb; }
/* bhishm */
.sp-tl { display: flex; flex-direction: column; gap: 0; }
.tl { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 6px 0 6px 18px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: #e7e9f0; }
.tl:first-child::before { top: 14px; } .tl:last-child::before { bottom: calc(100% - 14px); }
.tl > i { position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff; }
.tl-d { font-size: 10.5px; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .05em; }
.tl b { display: block; font-size: 13px; }
.tl-ev { font-size: 11.5px; color: var(--muted); } .tl-ev em { font-style: normal; color: #15803d; font-weight: 700; }
.tl-q { text-align: right; } .tl-q b { font-size: 15px; } .tl-q small { font-size: 10px; color: var(--faint); }
.sp-rank { display: flex; gap: 9px; align-items: center; font-size: 12.5px; }
.sp-rank .rk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: color-mix(in srgb, var(--accent) 14%, #fff); color: color-mix(in srgb, var(--accent) 80%, #111); flex: none; }
.sp-rank .grow { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sp-split { display: flex; height: 22px; border-radius: 8px; overflow: hidden; }
.sp-split i { display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; white-space: nowrap; overflow: hidden; }
.sp-div { display: flex; flex-direction: column; gap: 6px; }
.dv { display: grid; grid-template-columns: 120px minmax(0, 1fr) 66px; gap: 8px; align-items: center; font-size: 12px; }
.dv-t { position: relative; height: 10px; }
.dv-t::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #cbd5e1; }
.dv-t i { position: absolute; top: 0; height: 100%; border-radius: 5px; }
.dv-t i.p { left: 50%; background: #16a34a; } .dv-t i.n { right: 50%; background: #ef4444; }
.dv b { text-align: right; font-size: 12px; } .dv b.p { color: #15803d; } .dv b.n { color: #dc2626; }
.sp-tree { display: flex; flex-direction: column; gap: 6px; }
.sp-tree > div { position: relative; border: 1px solid var(--line-2); border-radius: 11px; padding: 7px 10px; display: flex; flex-direction: column; gap: 2px; }
.sp-tree span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.sp-tree b { font-size: 13px; } .sp-tree em { font-style: normal; font-size: 12px; color: #6d28d9; font-weight: 700; }
.sp-tree .t1 { margin-left: 14px; } .sp-tree .t2 { margin-left: 28px; border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 5%, #fff); }
.sp-kvs.three { margin-top: 4px; } .sp-kvs.three > div { background: #fff; }
.sp-link { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none !important; color: color-mix(in srgb, var(--xc) 70%, #111); background: color-mix(in srgb, var(--xc) 10%, #fff); border: 1px solid color-mix(in srgb, var(--xc) 30%, transparent); border-radius: 11px; padding: 8px 10px; }
.sp-link img { width: 22px; height: 22px; border-radius: 6px; }
.sp-link:hover { border-color: var(--xc); }
/* smaller screens: the spotlight would cover the tool, so it stays out */
@media (max-width: 1100px), (max-height: 680px) { .cmain .spots { display: none; } }
@media (prefers-reduced-motion: reduce) { .spot, .lc { transition: opacity .2s; } }
.sp-carwrap { gap: 22px; }
.sp-carwrap > .sp-eb { align-self: center; background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 12px; box-shadow: 0 6px 16px rgba(14, 26, 61, .08); position: relative; z-index: 5; }
.sp-car { transition: transform .7s var(--ease); }
.spot.side-r .sp-car:hover { transform: translate3d(-70px, 0, 0); }

/* ---------- v15: Karna ticket levels ---------- */
.sp-lv { display: flex; flex-direction: column; gap: 6px; }
.sp-lv > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; align-items: start; }
.sp-lv > div > span { font-size: 10.5px; font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; padding-top: 3px; }
.sp-lv .sp-chip { font-size: 10.5px; padding: 2px 8px; }
.sp-nom2 { display: flex; flex-wrap: wrap; gap: 3px; background: #0f172a; border-radius: 10px; padding: 8px; }
.sp-nom2 span { display: flex; flex-direction: column; align-items: center; padding: 2px 5px; border-radius: 6px; background: hsl(var(--h) 70% 60% / .16); }
.sp-nom2 b { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: hsl(var(--h) 85% 72%); font-weight: 700; }
.sp-nom2 small { font-size: 8.5px; color: #94a3b8; }

/* ---------- v15 layout: step card in a top corner (left / right by step), spotlight always bottom-right ---------- */
.cs-card.side-l { left: 0; right: auto; top: 0; bottom: auto; }
.cs-card.side-r { right: 0; left: auto; top: 0; bottom: auto; }
.spot.side-l, .spot.side-r { left: auto; right: 0; top: auto; bottom: 0; transform-origin: 100% 100%; }
.spot.wide.side-l, .spot.wide.side-r { right: 34px; }
.cmain .cstage { transform: none; }
.cmain.flip .cstage { transform: translate3d(-80px, 0, 0); }
.sp-lv { gap: 5px; } .sp-lv > div { grid-template-columns: 84px minmax(0, 1fr); }
.sp-nom2 { padding: 7px; }
/* shorter laptop screens: the spotlight scales down so it clears the step card above it */
@media (max-height: 780px) and (min-width: 1101px) { .spot { zoom: .86; } }
@media (max-height: 720px) and (min-width: 1101px) { .spot { zoom: .8; } }

/* ---------- v16: annotated ticket (feature callouts around a card) ---------- */
.fd { position: relative; width: 404px; height: 304px; margin: 4px auto 0; }
.fd-card { position: absolute; left: 122px; top: 0; width: 160px; height: 300px; border-radius: 18px; background: #f1f2f6; border: 1px solid #e3e6ee; box-shadow: 0 18px 40px rgba(14, 26, 61, .14); }
.fd-media { position: absolute; left: 7px; right: 7px; top: 7px; height: 104px; border-radius: 13px; background: linear-gradient(140deg, #3b1d06 0%, #b45309 55%, #F59E0B 100%); overflow: hidden; }
.fd-play { position: absolute; left: 50%; top: 50%; margin: -15px 0 0 -9px; width: 0; height: 0; border-left: 24px solid rgba(255, 255, 255, .85); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.fd-c { position: absolute; font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #3b1d06; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; transition: box-shadow .25s, background .25s, color .25s; }
.fd-c.tl { left: 8px; top: 8px; } .fd-c.tr { right: 8px; top: 8px; } .fd-c.bl { left: 8px; bottom: 8px; } .fd-c.br { right: 8px; bottom: 8px; background: #fde68a; }
.fd-c b { width: 14px; height: 14px; border-radius: 50%; background: #f26b1d; color: #fff; font-size: 7px; display: grid; place-items: center; }
.fd-fields { position: absolute; left: 7px; right: 7px; top: 119px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.fd-f { height: 32px; box-sizing: border-box; background: #fff; border-radius: 7px; padding: 3px 6px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 1px 2px rgba(14, 26, 61, .06); transition: box-shadow .25s; min-width: 0; }
.fd-f small { font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #9aa3b5; line-height: 1.1; }
.fd-f b { font-size: 10px; font-family: ui-monospace, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.fd-code { position: absolute; left: 7px; right: 7px; top: 233px; bottom: 7px; border-radius: 9px; background: #0f172a; padding: 6px 7px; display: flex; flex-direction: column; gap: 4px; }
.fd-code .fd-c { position: static; background: #1e293b; color: #fbbf24; }
.fd-nm { font-family: ui-monospace, Consolas, monospace; font-size: 8px; color: #94a3b8; line-height: 1.35; word-break: break-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fln { position: absolute; height: 1.5px; margin-top: -.75px; background: #c4cad6; transform: scaleX(0); transition: transform .5s var(--ease), background .25s; z-index: 2; pointer-events: none; }
.fln.l { transform-origin: 100% 50%; } .fln.r { transform-origin: 0 50%; }
.fln::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: inherit; box-shadow: 0 0 0 2px #fff; }
.fln.l::after { right: -3px; } .fln.r::after { left: -3px; }
.fl { position: absolute; width: 104px; height: 30px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transition: opacity .4s ease, color .25s; cursor: default; }
.fl.l { left: 0; text-align: right; } .fl.r { left: 300px; text-align: left; }
.fl b { font-size: 12px; line-height: 1.2; } .fl small { font-size: 10px; color: var(--faint); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot.on .fln { transform: none; transition-delay: calc(var(--k) * 55ms + .55s); }
.spot.on .fl { opacity: 1; transition-delay: calc(var(--k) * 55ms + .75s); }
.fd:has([data-f="1"]:hover) .fln[data-f="1"],
.fd:has([data-f="2"]:hover) .fln[data-f="2"],
.fd:has([data-f="3"]:hover) .fln[data-f="3"],
.fd:has([data-f="4"]:hover) .fln[data-f="4"],
.fd:has([data-f="5"]:hover) .fln[data-f="5"],
.fd:has([data-f="6"]:hover) .fln[data-f="6"],
.fd:has([data-f="7"]:hover) .fln[data-f="7"],
.fd:has([data-f="8"]:hover) .fln[data-f="8"],
.fd:has([data-f="9"]:hover) .fln[data-f="9"],
.fd:has([data-f="10"]:hover) .fln[data-f="10"],
.fd:has([data-f="11"]:hover) .fln[data-f="11"],
.fd:has([data-f="12"]:hover) .fln[data-f="12"] { background: #d97706; transition-delay: 0s; }
.fd:has([data-f="1"]:hover) .fl[data-f="1"],
.fd:has([data-f="2"]:hover) .fl[data-f="2"],
.fd:has([data-f="3"]:hover) .fl[data-f="3"],
.fd:has([data-f="4"]:hover) .fl[data-f="4"],
.fd:has([data-f="5"]:hover) .fl[data-f="5"],
.fd:has([data-f="6"]:hover) .fl[data-f="6"],
.fd:has([data-f="7"]:hover) .fl[data-f="7"],
.fd:has([data-f="8"]:hover) .fl[data-f="8"],
.fd:has([data-f="9"]:hover) .fl[data-f="9"],
.fd:has([data-f="10"]:hover) .fl[data-f="10"],
.fd:has([data-f="11"]:hover) .fl[data-f="11"],
.fd:has([data-f="12"]:hover) .fl[data-f="12"] { color: #b45309; transition-delay: 0s; }
.fd:has([data-f="1"]:hover) .ft[data-f="1"],
.fd:has([data-f="2"]:hover) .ft[data-f="2"],
.fd:has([data-f="3"]:hover) .ft[data-f="3"],
.fd:has([data-f="4"]:hover) .ft[data-f="4"],
.fd:has([data-f="5"]:hover) .ft[data-f="5"],
.fd:has([data-f="6"]:hover) .ft[data-f="6"],
.fd:has([data-f="7"]:hover) .ft[data-f="7"],
.fd:has([data-f="8"]:hover) .ft[data-f="8"],
.fd:has([data-f="9"]:hover) .ft[data-f="9"],
.fd:has([data-f="10"]:hover) .ft[data-f="10"],
.fd:has([data-f="11"]:hover) .ft[data-f="11"],
.fd:has([data-f="12"]:hover) .ft[data-f="12"] { box-shadow: 0 0 0 2px #f59e0b, 0 0 14px rgba(245, 158, 11, .55); }
@media (prefers-reduced-motion: reduce) { .fln { transform: none; } .fl { opacity: 1; } }
.fl { width: 96px; } .fl.r { left: 308px; }
.fln { background: #94a3b8; height: 1.5px; }
/* ticket diagram: sub-labels never truncate; extra levels as chips */
.fl small { white-space: nowrap; overflow: visible; text-overflow: clip; }
.fd-more { margin-top: 2px; }
/* landing: the prototype badge sits bottom-left so it never covers the spotlight */
body:has(.lp) .democtl { right: auto; left: 18px; }
body:has(.lp) .democtl .panel { right: auto; left: 0; }

/* ---------- v17: roomier ticket diagram ---------- */
.spot.xwide { width: min(548px, 44%); right: 18px; }
.spot.xwide .sp { padding: 22px 24px 20px; gap: 12px; background: rgba(255, 255, 255, .96); }
.spot.xwide .sp-h { font-size: 19px; }
.fd { width: 500px; height: 384px; margin: 6px auto 0; }
.fd-card { left: 155px; width: 190px; height: 380px; border-radius: 22px; background: #f4f5f8; border-color: #e8ebf1; box-shadow: 0 22px 50px rgba(14, 26, 61, .12); }
.fd-media { left: 9px; right: 9px; top: 9px; height: 130px; border-radius: 15px; }
.fd-play { margin: -17px 0 0 -10px; border-left-width: 28px; border-top-width: 17px; border-bottom-width: 17px; }
.fd-c { font-size: 11px; padding: 3px 8px; border-radius: 7px; }
.fd-c.tl { left: 10px; top: 10px; } .fd-c.tr { right: 10px; top: 10px; } .fd-c.bl { left: 10px; bottom: 10px; } .fd-c.br { right: 10px; bottom: 10px; }
.fd-c b { width: 16px; height: 16px; font-size: 8px; }
.fd-fields { left: 9px; right: 9px; top: 150px; gap: 8px; }
.fd-f { height: 40px; padding: 4px 8px; border-radius: 9px; }
.fd-f small { font-size: 8.5px; } .fd-f b { font-size: 12px; }
.fd-code { left: 9px; right: 9px; top: 296px; bottom: 9px; border-radius: 11px; padding: 8px 9px; gap: 6px; }
.fd-nm { font-size: 9px; -webkit-line-clamp: 3; }
.fl { width: 112px; height: 34px; } .fl.r { left: 388px; }
.fl b { font-size: 13.5px; } .fl small { font-size: 11px; }
.fln { height: 1.5px; }
.fd-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--faint); font-weight: 600; margin-top: 2px; }
@media (max-width: 1300px) and (min-width: 1101px) { .spot.xwide { zoom: .9; width: 548px; } }

/* ---------- product page (/product/:id) ---------- */
.pp { --a: #2F5BEA; --a50: #EEF3FF; background: #fbfcff; overflow: hidden; }
.pp section { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pp-hero { position: relative; padding-top: 56px !important; padding-bottom: 40px !important; }
.pp-glow { position: absolute; inset: -120px -200px auto; height: 760px; pointer-events: none; z-index: 0; }
.pp-glow i { position: absolute; border-radius: 50%; }
.pp-glow i:first-child { width: 720px; height: 720px; right: 0; top: -80px; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 22%, transparent), transparent); }
.pp-glow i:last-child { width: 560px; height: 560px; left: 80px; top: 180px; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 10%, transparent), transparent); }
.pp-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.pp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none !important; margin-bottom: 22px; }
.pp-back:hover { color: var(--a); }
.pp-id { display: flex; align-items: center; gap: 12px; }
.pp-id img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 14px 30px color-mix(in srgb, var(--a) 35%, transparent); }
.pp-id b { display: block; font-family: var(--display); font-size: 22px; }
.pp-id small { font-size: 13px; font-weight: 700; color: var(--a); }
.pp h1 { font-family: var(--display); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 14px; }
.pp-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 470px; }
.pp-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pp-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.pp-meta span { display: inline-flex; align-items: center; gap: 5px; } .pp-meta .ico { color: var(--a); }
.pp-shot { position: relative; border-radius: 18px; background: #fff; padding: 10px; box-shadow: 0 40px 90px rgba(14, 26, 61, .18), 0 0 0 1px var(--line-2); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.pp-shot .autofit { border-radius: 12px; }
.pp-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 10px 30px rgba(14, 26, 61, .06); }
.pp-stats div { padding: 22px 26px; display: flex; align-items: baseline; gap: 12px; }
.pp-stats div + div { border-left: 1px solid var(--line-2); }
.pp-stats b { font-family: var(--display); font-size: 40px; letter-spacing: -.03em; color: var(--a); line-height: 1; }
.pp-stats span { font-size: 14px; font-weight: 600; color: var(--muted); }
.pp-sh { text-align: center; margin: 0 auto 40px; }
.pp-sh h2, .pp-price h2 { font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; margin-top: 8px; }
.pp-walk { padding-top: 90px !important; }
.pp-step { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; padding: 40px 0 90px; }
.pp-step.rev .pp-txt { order: 2; }
.pp-txt { max-width: 380px; }
.pp-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--a50); color: var(--a); font-family: var(--display); font-weight: 800; font-size: 15px; }
.pp-txt h3 { font-family: var(--display); font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 16px 0 10px; }
.pp-txt p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.pp-x { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--text); text-decoration: none !important; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px 6px 6px; background: #fff; }
.pp-x img { width: 22px; height: 22px; border-radius: 6px; }
.pp-vis { position: relative; border-radius: 16px; background: #fff; padding: 8px; box-shadow: 0 30px 70px rgba(14, 26, 61, .12), 0 0 0 1px var(--line-2); }
.pp-vis .autofit { border-radius: 10px; }
.pp-spot { position: absolute; right: -26px; bottom: -64px; top: auto; left: auto; width: 360px; opacity: 1; transform: none; pointer-events: auto; z-index: 3; }
.pp-spot.wide { width: 440px; } .pp-spot.xwide { width: 548px; right: -40px; }
.pp-step.rev .pp-spot { right: auto; left: -26px; }
.pp-step.rev .pp-spot.xwide { left: -40px; }
.pp-inside { padding-top: 40px !important; padding-bottom: 80px !important; }
.pp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pp-feat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; font-size: 15px; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.pp-feat:hover { border-color: color-mix(in srgb, var(--a) 40%, transparent); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14, 26, 61, .08); }
.pp-feat > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--a50); color: var(--a); flex: none; }
.pp-rest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 80px !important; }
.pp-col { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.pp-plats { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-plats span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; }
.pp-plats i { width: 22px; height: 22px; display: grid; place-items: center; } .pp-plats svg { width: 22px; height: 22px; }
.pp-suite { display: flex; flex-direction: column; gap: 10px; }
.pp-suite a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; text-decoration: none !important; color: var(--text); transition: border-color .25s; }
.pp-suite a:hover { border-color: var(--o); }
.pp-suite img { width: 36px; height: 36px; border-radius: 10px; }
.pp-suite span { flex: 1; } .pp-suite b { display: block; } .pp-suite small { color: var(--muted); font-size: 12.5px; }
.pp-price { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 90px !important; padding: 34px 40px !important; border-radius: 24px; background: linear-gradient(120deg, color-mix(in srgb, var(--a) 12%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--a) 25%, transparent); max-width: 1152px !important; }
.pp-price h2 small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.pp-price .pp-cta { margin-top: 0; }
.pp-rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s ease, transform .9s var(--ease); }
.pp-rv.in-view { opacity: 1; transform: none; }
@media (max-width: 1100px) { .pp-spot { display: none; } .pp-step { padding-bottom: 50px; } }
@media (max-width: 900px) {
  .pp-in, .pp-step, .pp-rest { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp-step.rev .pp-txt { order: 0; }
  .pp-shot { transform: none; }
  .pp-stats { grid-template-columns: minmax(0, 1fr); } .pp-stats div + div { border-left: 0; border-top: 1px solid var(--line-2); }
  .pp-feats { grid-template-columns: minmax(0, 1fr); }
  .pp-price { padding: 24px !important; margin: 0 16px 60px !important; }
}
@media (prefers-reduced-motion: reduce) { .pp-rv { opacity: 1; transform: none; transition: none; } }
/* product page step visual: a stage — the screen sits back in one corner, the spotlight in the other, nothing spills out */
.pp-vis { padding: 0; background: none; box-shadow: none; min-height: 470px; }
.pp-vis.wide { min-height: 500px; } .pp-vis.xwide { min-height: 560px; }
.pp-scr { position: absolute; left: 0; top: 0; width: 80%; border-radius: 16px; background: #fff; padding: 8px; box-shadow: 0 30px 70px rgba(14, 26, 61, .12), 0 0 0 1px var(--line-2); }
.pp-step.rev .pp-scr { left: auto; right: 0; }
.pp-spot, .pp-step.rev .pp-spot { top: auto; bottom: 0; right: 0; left: auto; }
.pp-step.rev .pp-spot, .pp-step.rev .pp-spot.xwide { right: auto; left: 0; }
.pp-spot.xwide { right: 0; }
.pp-step { padding: 30px 0 60px; }
@media (max-width: 1100px) { .pp-vis, .pp-vis.wide, .pp-vis.xwide { min-height: 0; } .pp-scr { position: relative; width: 100%; } }

/* account chooser: delete beside each saved account */
.acct-row { display: flex; align-items: center; gap: 6px; }
.acct-row .pick { flex: 1; }
.acct-del { flex: none; color: var(--faint); }
.acct-del:hover { color: #c5300d; background: #fdecea; }

/* ---------- signup type pick, first-run tools, brands, levels ---------- */
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-pick input { position: absolute; opacity: 0; pointer-events: none; }
.type-pick span { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .2s; }
.type-pick span .ico { color: var(--muted); }
.type-pick b { font-size: 15px; }
.type-pick input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.type-pick input:checked + span .ico { color: var(--blue); }
.type-pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pk-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pk-tool { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pk-tool input { position: absolute; opacity: 0; }
.pk-tool img { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 6px; }
.pk-tool b { font-family: var(--display); font-size: 16px; }
.pk-tool small { font-size: 12px; color: var(--muted); }
.pk-tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; }
.pk-tool:has(input:checked) { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 15%, transparent); }
.pk-tool:has(input:checked) .pk-tick { background: var(--a); border-color: var(--a); color: #fff; }
.bd-plats { display: flex; gap: 6px; }
.bd-plats span { width: 26px; height: 26px; padding: 5px; border-radius: 8px; border: 1px solid var(--line-2); opacity: .3; filter: grayscale(1); }
.bd-plats span.on { opacity: 1; filter: none; border-color: var(--line); }
.bd-plats svg { width: 100%; height: 100%; display: block; }
.bd-rows { display: flex; flex-direction: column; gap: 8px; }
.bd-row { display: grid; grid-template-columns: 34px 110px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.bd-row > .select, .bd-row > .btn, .bd-row > .seg { justify-self: stretch; }
.bd-row > .btn { justify-self: start; }
.bd-lg { width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: var(--surface-2); } .bd-lg svg { width: 100%; height: 100%; display: block; }
.bd-sync { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 4px; }
.bd-sync span { display: inline-flex; align-items: center; gap: 6px; }
.lv-seg { display: grid; grid-template-columns: repeat(4, 1fr); }
.lv-seg button { padding: 0 6px; }
.select.lv-None { color: var(--faint); } .select.lv-Manage { color: var(--blue); font-weight: 700; } .select.lv-Edit { font-weight: 600; }
@media (max-width: 640px) { .pk-tools { grid-template-columns: 1fr; } .bd-row { grid-template-columns: 30px minmax(0, 1fr); } .bd-row > :last-child { grid-column: 1 / -1; } }


/* ---------- home: what you're missing + suite loop ---------- */
.miss { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.miss-h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.miss-h img { width: 40px; height: 40px; border-radius: 11px; margin-right: 2px; }
.miss-h h2 { font-size: 18px; }
.miss-h span { font-size: 12.5px; color: var(--a); font-weight: 700; }
.miss-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.miss-c { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 4px; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.miss-c:hover { border-color: color-mix(in srgb, var(--a) 40%, transparent); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 26, 61, .07); }
.miss-c b { font-size: 14.5px; padding: 6px 4px 0; }
.miss-c p { font-size: 12.5px; line-height: 1.45; color: var(--muted); padding: 0 4px; }
.miss-v { position: relative; height: 108px; border-radius: 10px; background: linear-gradient(160deg, var(--a50), #fff 90%); padding: 14px 12px 12px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; font-size: 10.5px; }
.miss-tag { position: absolute; top: 5px; right: 8px; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.mv-div, .mv-rank, .mv-stock, .mv-sug { display: flex; flex-direction: column; gap: 6px; }
.mv-div > div { display: grid; grid-template-columns: 44px 1fr; gap: 2px 6px; align-items: center; }
.mv-div > div span { grid-row: 1 / span 2; font-weight: 600; }
.mv-div i, .mv-rank i { height: 6px; border-radius: 4px; width: var(--w); background: color-mix(in srgb, var(--a) 35%, #fff); }
.mv-div i.b { grid-column: 2; background: var(--a); }
.mv-div em { display: flex; gap: 6px; align-items: center; font-style: normal; color: var(--faint); font-size: 9.5px; }
.mv-div em b { width: 8px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--a) 35%, #fff); }
.mv-div em b.b { background: var(--a); margin-left: 6px; }
.mv-path { display: flex; align-items: center; gap: 3px; }
.mv-path span { padding: 5px 6px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; white-space: nowrap; }
.mv-path span.end { background: var(--a); color: #fff; border-color: var(--a); }
.mv-path i { flex: 1; height: 1.5px; min-width: 3px; background: color-mix(in srgb, var(--a) 45%, transparent); }
.mv-rank > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
.mv-rank span { font-weight: 600; white-space: nowrap; }
.mv-rank i { grid-column: 1; background: var(--a); }
.mv-rank em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 800; color: var(--a); font-size: 12px; }
.mv-fun { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mv-fun div { width: var(--w); text-align: center; padding: 3px 0; border-radius: 5px; background: color-mix(in srgb, var(--a) 18%, #fff); font-weight: 600; font-size: 9.5px; white-space: nowrap; }
.mv-fun div.hi { background: var(--a); color: #fff; }
.mv-rep { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.mv-rep svg { width: 100%; height: 44px; }
.mv-rep div { display: flex; flex-direction: column; }
.mv-rep b { font-size: 15px; font-family: var(--display); }
.mv-rep span { color: var(--faint); }
.mv-sug > div, .mv-stock > div { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 7px; white-space: nowrap; }
.mv-sug b { font-size: 9.5px; padding: 1px 6px; border-radius: 5px; min-width: 50px; text-align: center; }
.mv-sug b.up, .mv-stock b.ok, .mv-queue b.ok { color: #12813f; background: #e7f6ec; }
.mv-sug b.down, .mv-stock b.bad { color: #c5300d; background: #fdecea; }
.mv-sug b.fix, .mv-stock b.warn, .mv-queue b.warn { color: #a5620a; background: #fdf3e2; }
.mv-queue b.blue { color: var(--a); background: var(--a50); }
.mv-stock > div { justify-content: space-between; }
.mv-stock b { font-size: 9.5px; padding: 1px 6px; border-radius: 5px; }
.mv-bulk { display: flex; flex-direction: column; gap: 8px; }
.mv-sel { display: flex; flex-direction: column; gap: 3px; }
.mv-sel i { height: 9px; border-radius: 3px; background: #fff; border: 1px solid var(--line-2); }
.mv-sel i.on { background: color-mix(in srgb, var(--a) 22%, #fff); border-color: color-mix(in srgb, var(--a) 40%, transparent); }
.mv-acts { display: flex; gap: 4px; flex-wrap: wrap; }
.mv-acts span { padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; }
.mv-acts span.on { background: var(--a); color: #fff; border-color: var(--a); }
.mv-plan { display: flex; align-items: center; gap: 4px; padding: 0 12px 14px; }
.mv-plan span { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-weight: 800; position: relative; }
.mv-plan span b { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 600; color: var(--muted); }
.mv-plan span.on { background: var(--a); border-color: var(--a); color: #fff; }
.mv-plan i { flex: 1; height: 1.5px; background: color-mix(in srgb, var(--a) 40%, transparent); }
.mv-queue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mv-queue div { background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 6px; display: flex; flex-direction: column; gap: 3px; }
.mv-queue b { align-self: flex-start; font-size: 14px; font-family: var(--display); padding: 0 6px; border-radius: 5px; }
.mv-queue span { line-height: 1.2; font-weight: 600; }
.mv-chips, .mv-ideas { display: flex; flex-wrap: wrap; gap: 5px; }
.mv-chips span { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 7px; font-weight: 700; }
.mv-chips small { font-size: 8.5px; color: var(--faint); font-weight: 600; }
.mv-ideas span { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 9px; font-weight: 600; }
.mv-ideas .ico { color: var(--a); width: 12px; height: 12px; }
.mv-trend { display: flex; align-items: flex-end; gap: 8px; height: 100%; }
.mv-trend div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.mv-trend i { width: 70%; height: calc(var(--h) * .6); border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--a) 55%, #fff); }
.mv-trend div:first-child i { background: var(--a); }
.mv-trend span { font-size: 9px; text-align: center; line-height: 1.1; font-weight: 600; }
.eco { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.eco-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.eco-h h2 { font-size: 18px; }
.eco-h span { font-size: 12.5px; color: var(--muted); }
.eco-row { display: grid; grid-template-columns: 1fr 130px 1fr 130px 1fr; align-items: center; }
.eco-n { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 18px 12px; border: 1.5px dashed var(--line); border-radius: 16px; }
.eco-n img { width: 44px; height: 44px; border-radius: 12px; filter: grayscale(.7); opacity: .7; margin-bottom: 4px; }
.eco-n b { font-family: var(--display); font-size: 16px; }
.eco-n > span { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.eco-n.own { border: 1.5px solid var(--a); background: color-mix(in srgb, var(--a) 6%, #fff); box-shadow: 0 10px 26px color-mix(in srgb, var(--a) 18%, transparent); }
.eco-n.own img { filter: none; opacity: 1; }
.eco-l { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.eco-l i { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.eco-l.on i { background: var(--blue); }
.eco-l span { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.eco-back { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; }
.eco-back i { width: 80%; height: 18px; border: 2px dashed var(--line); border-top: 0; border-radius: 0 0 18px 18px; }
.eco-back span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 4px 12px; }
@media (max-width: 860px) { .eco-row { grid-template-columns: 1fr; gap: 6px; } .eco-l i { width: 2px; height: 22px; } .eco-back { display: none; } }
.miss-v { height: 128px; padding: 22px 12px 10px; justify-content: center; }
.mv-sel i { height: 7px; }
.mv-bulk { gap: 7px; }
.mv-plan { padding-bottom: 16px; }


/* ---------- Home v2: honest header, setup card, tool showcase ---------- */
.hm-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: stretch; }
.hm-hi { border-radius: 20px; padding: 26px 28px; background: radial-gradient(120% 140% at 100% 0%, #3d63f0 0%, #1b2f7a 55%, #121d4d 100%); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hm-hi h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hm-hi p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.hm-st { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hm-st span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.hm-st span i { width: 18px; height: 18px; display: grid; place-items: center; filter: grayscale(1) brightness(1.6); opacity: .6; } .hm-st span i svg { width: 18px; height: 18px; }
.hm-st span.on { color: #fff; background: rgba(255, 255, 255, .16); } .hm-st span.on i { filter: none; opacity: 1; }
.hm-st span.on .ico { color: #6ee7a0; }
.hm-setup { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hm-sh { display: flex; align-items: center; gap: 12px; }
.hm-sh > div:last-child { display: flex; flex-direction: column; } .hm-sh b { font-size: 15px; } .hm-sh span { font-size: 12.5px; color: var(--muted); }
.hm-ring { position: relative; width: 46px; height: 46px; flex: none; }
.hm-ring svg { width: 46px; height: 46px; display: block; }
.hm-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11.5px !important; font-weight: 800; color: var(--text); }
.hm-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hm-steps a { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 9px; font-size: 12.5px; color: var(--text); text-decoration: none !important; border: 1px solid transparent; }
.hm-steps a:hover { background: var(--surface-2); }
.hm-steps .tk { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.hm-steps a.done { color: var(--faint); } .hm-steps a.done .tk { background: var(--ok); border-color: var(--ok); color: #fff; } .hm-steps .tk .ico { width: 10px; height: 10px; }
.hm-steps a.next { grid-column: 1 / -1; order: -1; background: var(--blue-50); border-color: color-mix(in srgb, var(--blue) 25%, transparent); padding: 9px 10px; }
.hm-steps a.next .tk { border-color: var(--blue); }
.hm-steps a.next em { font-style: normal; color: var(--muted); margin-left: auto; font-size: 12px; }
.hm-steps a.next > .ico { color: var(--blue); }
.hm-h2 { font-size: 19px; }
.hm-why { background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.hm-why-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hm-tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 12px; }
.hm-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.hm-tabs img { width: 24px; height: 24px; border-radius: 7px; }
.hm-tabs button.on { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(14, 26, 61, .08), inset 0 -2px 0 var(--a); }
.hm-show { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 28px; align-items: start; animation: fadeUp .35s ease; }
.hm-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--a); }
.hm-kind img { width: 26px; height: 26px; border-radius: 8px; }
.hm-pitch h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -.03em; margin: 10px 0 18px; }
.hm-swap { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.hm-sw-h, .hm-sw { display: grid; grid-template-columns: 1fr 1fr; }
.hm-sw-h span { padding: 9px 14px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); }
.hm-sw-h span + span { color: var(--a); background: var(--a50); }
.hm-sw span { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; font-size: 13.5px; line-height: 1.35; border-top: 1px solid var(--line-2); }
.hm-sw .was { color: var(--muted); } .hm-sw .was .ico { color: #d3483a; flex: none; margin-top: 1px; }
.hm-sw .now { font-weight: 600; background: color-mix(in srgb, var(--a50) 55%, #fff); } .hm-sw .now .ico { color: var(--a); flex: none; margin-top: 1px; }
.hm-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hm-cta > span { font-size: 13px; color: var(--muted); }
.hm-see { display: flex; flex-direction: column; gap: 10px; }
.hm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hm-chips button { height: 32px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; }
.hm-chips button.on { background: var(--a); border-color: var(--a); color: #fff; }
.hm-scr { position: relative; border-radius: 14px; padding: 7px; background: #fff; box-shadow: 0 24px 60px rgba(14, 26, 61, .14), 0 0 0 1px var(--line-2); }
.hm-scr .autofit { border-radius: 9px; overflow: hidden; }
.hm-tag { position: absolute; right: 14px; bottom: 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .92); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
.hm-cap { font-size: 13px; color: var(--muted); } .hm-cap b { color: var(--text); }
.hm-more { border-top: 1px solid var(--line-2); padding-top: 18px; }
.hm-more h3 { font-size: 15px; margin-bottom: 12px; }
.hm-own { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--a); border-radius: 14px; text-decoration: none !important; color: var(--text); }
.hm-own img { width: 42px; height: 42px; border-radius: 11px; } .hm-own b { display: block; font-family: var(--display); } .hm-own span:not(.btn) { font-size: 12px; color: var(--faint); }
@media (max-width: 1180px) { .hm-show { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .hm-top { grid-template-columns: minmax(0, 1fr); } .hm-sw-h, .hm-sw { grid-template-columns: 1fr; } .hm-sw-h span + span { display: none; } .hm-sw .now { border-top: 0; } }
.hm-ring circle:first-child { stroke: #E8ECF5; } .hm-ring circle + circle { stroke: var(--blue); }
.hm-tabs button, .hm-chips button { border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.hm-chips button { border: 1px solid var(--line); background: #fff; }
.hm-chips button.on { background: var(--a); border-color: var(--a); }
.hm-tabs button.on { background: #fff; }


/* ================= Home stories ================= */
.st { background: #fff; border: 1px solid var(--line-2); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.st-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.st-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--a); letter-spacing: .02em; }
.st-k img { width: 26px; height: 26px; border-radius: 8px; }
.st-t h2 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
.st-ctl { display: flex; align-items: center; gap: 8px; }
.st-seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.st-seg button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); height: 36px; padding: 0 14px; border-radius: 9px; cursor: pointer; transition: background .25s, color .25s; }
.st-seg button[data-m=without].on { background: #fff; color: #c5300d; box-shadow: 0 2px 8px rgba(14, 26, 61, .08); }
.st-seg button[data-m=with].on { background: var(--a); color: #fff; }
.st-rp { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.st-stage { position: relative; border-radius: 18px; padding: 80px 22px 22px; background: linear-gradient(180deg, #f7f9fd, #fff); border: 1px solid var(--line-2); overflow: hidden; transition: background .5s, border-color .5s, box-shadow .5s; }
.st[data-mode=without] .st-stage { background: linear-gradient(180deg, #fcefeb, #fff); border-color: #f3cdc5; }
.st[data-mode=with] .st-stage { background: linear-gradient(180deg, #e8f6ee, #fff); border-color: #bfe6cd; }
.st-sample { position: absolute; right: 12px; top: 10px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
/* on-stage state badge: tells Without vs With at a glance */
.st-flag { position: absolute; left: 14px; top: 12px; z-index: 3; max-width: calc(100% - 96px); display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px rgba(14, 26, 61, .12); opacity: 0; }
.st-flag-tx { min-width: 0; }
.st-flag.in { animation: st-flag-in .5s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes st-flag-in { from { opacity: 0; transform: translateY(-9px) scale(.95); } to { opacity: 1; transform: none; } }
.st-flag-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.st-flag-ic svg { width: 17px; height: 17px; }
.st-flag-m { display: block; font-family: var(--display); font-weight: 800; font-size: 14.5px; letter-spacing: -.01em; line-height: 1.12; white-space: nowrap; }
.st-flag-d { display: block; font-size: 11.5px; font-weight: 600; margin-top: 1px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st[data-mode=without] .st-flag { border: 1px solid #f3cdc5; color: #c5300d; }
.st[data-mode=without] .st-flag-ic { background: #fdecea; color: #c5300d; }
.st[data-mode=with] .st-flag { border: 1px solid #bfe6cd; color: #0f8f46; }
.st[data-mode=with] .st-flag-ic { background: #e8f6ee; color: #12a150; }
.st-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 64px; }
.st-stats div { border-radius: 14px; padding: 12px 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; transition: background .4s; animation: fadeUp .4s ease; }
.st-stats b { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.st-stats span { font-size: 12.5px; color: var(--muted); }
.st-stats.bad div { background: #fdf0ee; } .st-stats.bad b { color: #c5300d; }
.st-stats.good div { background: color-mix(in srgb, var(--a50) 80%, #fff); } .st-stats.good b { color: var(--a); }
.st-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.st-cta > span { font-size: 13px; color: var(--muted); }

/* ---- Karna pipeline ---- */
.kp { position: relative; }
.kp-cols { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 26px; }
.kp-col { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); position: relative; }
.kp-col span { background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 12px; }
.kp-flag { position: absolute; top: 32px; font-style: normal; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 1px 7px; opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s; }
.kp.done .kp-flag { opacity: 1; transform: none; }
.st[data-mode=without] .kp-col:nth-child(3) .kp-flag::after { content: '2 lost'; } .st[data-mode=without] .kp-col:nth-child(4) .kp-flag::after { content: '1 stuck'; }
.st[data-mode=without] .kp-flag { background: #fdecea; color: #c5300d; }
.st[data-mode=with] .kp-col:nth-child(3) .kp-flag::after { content: '2 reworked'; } .st[data-mode=with] .kp-col:nth-child(4) .kp-flag::after { content: 'On time'; }
.st[data-mode=with] .kp-flag { background: var(--a50); color: var(--a); }
.kp-track { position: relative; height: 196px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--line-2) calc(20% - 1px) 20%); border-radius: 12px; }
.kt { position: absolute; top: calc(var(--y) + 14px); left: 2%; width: 74px; padding: 4px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); box-shadow: 0 6px 14px rgba(14, 26, 61, .1); transform: translateX(-50%); opacity: 0; }
.kt-th { display: block; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--h), color-mix(in srgb, var(--h) 40%, #fff)); }
.kt-n { display: block; font-size: 9.5px; font-weight: 700; margin-top: 3px; white-space: nowrap; text-align: center; }
.kt b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; opacity: 0; pointer-events: none; z-index: 2; }
.kt-r { top: -17px; }
.kt-r.wo { background: #c5300d; color: #fff; } .kt-r.wi { background: #f59e0b; color: #fff; }
.kt-c { top: -17px; background: #fdf3e2; color: #a5620a; }
.kt-b { bottom: -15px; } .kt-b.wo { background: #eef1f6; color: var(--faint); }
.kt-b.wi.good { background: #e7f6ec; color: #12813f; } .kt-b.wi.mid { background: #fdf3e2; color: #a5620a; } .kt-b.wi.low { background: #fdecea; color: #c5300d; }
.kp.run .kt { animation: 4s var(--d) both cubic-bezier(.45, .05, .35, 1); }
.st[data-mode=without] .kp.run .kt[data-wo=pass], .st[data-mode=with] .kp.run .kt[data-wi=pass] { animation-name: kt-pass; }
.st[data-mode=without] .kp.run .kt[data-wo=drop] { animation-name: kt-drop; }
.st[data-mode=without] .kp.run .kt[data-wo=stuck] { animation-name: kt-stuck; }
.st[data-mode=with] .kp.run .kt[data-wi=rework] { animation-name: kt-rework; }
.kp.run .kt b { animation: 4s var(--d) both linear; }
.st[data-mode=without] .kp.run .kt[data-wo=drop] .kt-r.wo, .st[data-mode=with] .kp.run .kt[data-wi=rework] .kt-r.wi { animation-name: kt-rz; }
.st[data-mode=without] .kp.run .kt[data-wo=stuck] .kt-c { animation-name: kt-cz; }
.st[data-mode=without] .kp.run .kt[data-wo=pass] .kt-b.wo, .st[data-mode=with] .kp.run .kt .kt-b.wi { animation-name: kt-bz; }
@keyframes kt-pass { 0% { left: 2%; opacity: 0 } 6% { left: 10%; opacity: 1 } 18% { left: 10% } 30% { left: 30% } 42% { left: 30% } 54% { left: 50% } 64% { left: 50% } 76% { left: 70% } 86% { left: 70% } 100% { left: var(--e); opacity: 1 } }
@keyframes kt-drop { 0% { left: 2%; opacity: 0 } 6% { left: 10%; opacity: 1 } 18% { left: 10% } 30% { left: 30% } 42% { left: 30% } 54% { left: 50%; border-color: #dfe4ee; transform: translateX(-50%) } 58% { border-color: #e5484d; transform: translateX(-50%) rotate(-4deg) } 62% { transform: translateX(-50%) rotate(4deg) } 68% { left: 50%; opacity: 1; transform: translateX(-50%) rotate(0); border-color: #e5484d } 84%, 100% { left: 50%; opacity: 0; transform: translate(-50%, 80px) rotate(18deg); border-color: #e5484d } }
@keyframes kt-stuck { 0% { left: 2%; opacity: 0 } 6% { left: 10%; opacity: 1 } 18% { left: 10% } 30% { left: 30% } 42% { left: 30% } 54% { left: 50% } 64% { left: 50% } 76% { left: 70%; border-color: #dfe4ee } 86%, 100% { left: 70%; opacity: 1; border-color: #f59e0b } }
@keyframes kt-rework { 0% { left: 2%; opacity: 0 } 6% { left: 10%; opacity: 1 } 18% { left: 10% } 30% { left: 30% } 42% { left: 30% } 52% { left: 50%; border-color: #dfe4ee } 60% { left: 50%; border-color: #f59e0b } 68% { left: 30%; border-color: #f59e0b } 74% { left: 30%; border-color: #dfe4ee } 84% { left: 50% } 92% { left: 70% } 100% { left: var(--e); opacity: 1 } }
@keyframes kt-rz { 0%, 54% { opacity: 0 } 58%, 70% { opacity: 1 } 78%, 100% { opacity: 0 } }
@keyframes kt-cz { 0%, 82% { opacity: 0 } 88%, 100% { opacity: 1 } }
@keyframes kt-bz { 0%, 95% { opacity: 0 } 100% { opacity: 1 } }
.kp-loop { display: block; width: 100%; height: 34px; margin-top: 6px; fill: none; stroke-width: 2; opacity: 0; transition: opacity .5s; }
.kp.done .kp-loop { opacity: 1; }
.st[data-mode=without] .kp-loop path { stroke: #e5484d; stroke-dasharray: 6 8; }
.st[data-mode=with] .kp-loop path { stroke: var(--a); stroke-dasharray: 10 6; animation: kp-flow 1s linear infinite; }
@keyframes kp-flow { to { stroke-dashoffset: -32; } }
.kp-loop-l { display: flex; justify-content: center; margin-top: -4px; height: 22px; }
.kp-loop-l span { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; opacity: 0; transition: opacity .5s; }
.kp.done .kp-loop-l span { opacity: 1; }
.st[data-mode=without] .kp-loop-l .wo { display: inline-flex; background: #fdecea; color: #c5300d; }
.st[data-mode=with] .kp-loop-l .wi { display: inline-flex; background: var(--a50); color: var(--a); }

/* ---- Drona table ---- */
.dp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
.dp-t { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; padding-bottom: 50px; }
.dp-hd, .dp-r { display: grid; grid-template-columns: 30px minmax(0, 1.6fr) 1fr 1fr .6fr; align-items: center; height: 34px; padding: 0 10px; font-size: 12.5px; }
.dp-hd { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); }
.dp-r { border-top: 1px solid var(--line-2); transition: background .3s; }
.dp-nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-bg { font-variant-numeric: tabular-nums; font-weight: 600; transition: color .3s; }
.dp-ro { font-weight: 700; }
.dp-cb { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s; }
.dp-cb .ico { width: 10px; height: 10px; }
.dp-r.sel .dp-cb { background: var(--a); border-color: var(--a); color: #fff; }
.dp-r.sel { background: color-mix(in srgb, var(--a50) 60%, #fff); }
.dp-r.edit { background: #fff6e0; box-shadow: inset 3px 0 0 #f59e0b; }
.dp-r.done1 .dp-bg { color: #a5620a; }
.dp-r.flash .dp-bg { color: var(--a); animation: dp-fl .7s ease; }
@keyframes dp-fl { 0% { background: color-mix(in srgb, var(--a) 25%, transparent); } 100% { background: transparent; } }
.dp-st em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.dp-st em.on { background: #e7f6ec; color: #12813f; } .dp-st em.w { background: #eef1f6; color: var(--muted); }
.dp-st em.p { background: #fdf3e2; color: #a5620a; } .dp-st em.t { background: var(--a50); color: var(--a); }
.dp-r.leaking { background: #fdf0ee; } .dp-r.leaking .dp-nm::after { content: ' · 0 in stock'; color: #c5300d; font-weight: 700; }
.dp-r.leaking .dp-bg { color: #c5300d; animation: dp-pulse 1s ease infinite; }
@keyframes dp-pulse { 50% { opacity: .45; } }
.dp-r.saved { animation: fadeUp .4s ease; }
.dp-bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 10px; background: #0f1a3d; color: #fff; font-size: 12.5px; transform: translateY(60px); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.dp.bar .dp-bar { transform: none; }
.dp-bar b { margin-right: auto; }
.dp-bar span { padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, .1); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.dp-bar .dp-act { background: var(--a); }
.dp-bar .dp-act.press { animation: dp-press .4s ease; }
@keyframes dp-press { 50% { transform: scale(.9); } }
.dp-cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 3; opacity: 0; transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .3s; transform: translate(250px, 34px); pointer-events: none; }
.dp-cur svg { width: 22px; height: 22px; fill: #0f1a3d; stroke: #fff; stroke-width: 1.5; }
.dp-side { display: flex; flex-direction: column; gap: 10px; }
.dp-k { flex: 1; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.dp-k span { font-size: 12px; color: var(--muted); font-weight: 600; }
.dp-k b { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dp-k.leak b { color: #c5300d; }
.dp-side.good .dp-k b { color: var(--a); } .dp-side.bad .dp-k b { color: #c5300d; }

/* ---- Bhishm journey ---- */
.bs { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: center; }
.bs-path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 44px 0 50px; }
.bs-line { position: absolute; left: 12.5%; right: 12.5%; top: 67px; height: 2px; background: repeating-linear-gradient(90deg, #cfd6e4 0 6px, transparent 6px 11px); }
.bs-dot { position: absolute; top: 61px; left: 12.5%; width: 14px; height: 14px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 5px color-mix(in srgb, var(--a) 22%, transparent); transform: translateX(-50%); opacity: 0; z-index: 2; }
.bs.run .bs-dot { animation: bs-go 2.8s .2s both cubic-bezier(.45, .05, .35, 1); }
@keyframes bs-go { 0% { left: 12.5%; opacity: 1 } 30% { left: 37.5% } 40% { left: 37.5% } 62% { left: 62.5% } 72% { left: 62.5% } 95% { left: 87.5%; opacity: 1 } 100% { left: 87.5%; opacity: 0 } }
.bs-n { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; z-index: 1; }
.bs-ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; padding: 10px; margin-bottom: 6px; box-shadow: 0 6px 14px rgba(14, 26, 61, .08); }
.bs-ic svg { width: 100%; height: 100%; }
.bs-n[data-j="3"] .bs-ic { background: #0f1a3d; color: #fff; border-color: #0f1a3d; }
.bs-n b { font-size: 13px; } .bs-n small { font-size: 11.5px; color: var(--muted); }
.bs-claim { position: absolute; top: -34px; font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: #c5300d; color: #fff; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s, transform .35s cubic-bezier(.2, 1.4, .4, 1); white-space: nowrap; }
.bs-claim.on { opacity: 1; transform: none; }
.bs-claim.zero { background: #eef1f6; color: var(--muted); }
.bs-cr { position: absolute; bottom: -44px; width: 86%; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .3s; }
.bs-cr.on { opacity: 1; }
.bs-cr i { display: block; height: 6px; width: 0; border-radius: 4px; background: var(--a); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.bs-cr span { font-size: 11.5px; font-weight: 800; color: var(--a); }
.bs-led { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.bs-lr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--line-2); }
.bs-lr span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; } .bs-lr svg { width: 16px; height: 16px; }
.bs-lr b { font-variant-numeric: tabular-nums; }
.bs-lr.sum b { font-size: 15px; } .bs.without .bs-lr.sum b { color: #c5300d; } .bs.with .bs-lr.sum b { color: var(--a); }
.bs-lr.real { border-bottom: 0; }
.bs-verdict { margin-top: 6px; text-align: center; font-size: 13px; font-weight: 800; border-radius: 9px; padding: 0; height: 0; overflow: hidden; transition: height .3s, padding .3s; }
.bs-verdict.bad, .bs-verdict.good { height: 32px; padding: 7px; }
.bs-verdict.bad { background: #fdecea; color: #c5300d; } .bs-verdict.good { background: var(--a50); color: var(--a); }

/* ---- proof rows ---- */
.st-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pf { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pf-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-h b { font-size: 14.5px; }
.pf-tag { font-size: 11.5px; font-weight: 700; color: var(--a); background: var(--a50); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.rj { display: flex; flex-direction: column; gap: 7px; }
.rj-s { display: grid; grid-template-columns: 104px minmax(0, 1fr) 28px 30px; align-items: center; gap: 4px 8px; font-size: 12.5px; }
.rj-n { font-weight: 600; color: var(--muted); }
.rj-bar { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.rj-bar i { display: block; height: 100%; width: var(--w); background: color-mix(in srgb, var(--a) 45%, #fff); border-radius: 6px; }
.rj-s b { text-align: right; } .rj-s em { font-style: normal; font-weight: 800; color: #c5300d; font-size: 12px; }
.rj-s.hot .rj-n { color: var(--text); } .rj-s.hot .rj-bar i { background: var(--a); }
.rj-why { grid-column: 2 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.rj-why span { font-size: 11px; color: var(--muted); background: #fdf0ee; border-radius: 6px; padding: 1px 7px; } .rj-why b { color: #c5300d; }
.lv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lv-c { position: relative; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 5px; }
.lv-th { display: flex; align-items: flex-end; height: 62px; border-radius: 8px; padding: 5px; background: linear-gradient(140deg, var(--h), color-mix(in srgb, var(--h) 35%, #fff)); }
.lv-th span { font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .25); border-radius: 5px; padding: 1px 5px; }
.lv-c > b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-m { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 6px; }
.lv-m span { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--faint); } .lv-m b { color: var(--text); }
.lv-c em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 9.5px; font-weight: 800; border-radius: 5px; padding: 1px 6px; }
.lv-c em.g { background: #e7f6ec; color: #12813f; } .lv-c em.a { background: #fdf3e2; color: #a5620a; }
.cl { display: flex; flex-direction: column; gap: 6px; }
.cl-r { display: grid; grid-template-columns: 64px 92px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12.5px; padding: 6px 8px; border-radius: 9px; background: var(--surface-2); }
.cl-r em { font-style: normal; font-size: 11px; font-weight: 800; text-align: center; padding: 2px 0; border-radius: 6px; }
.cl-r em.up { background: #e7f6ec; color: #12813f; } .cl-r em.down { background: #fdecea; color: #c5300d; } .cl-r em.fix { background: #fdf3e2; color: #a5620a; } .cl-r em.stop { background: #e6e9f0; color: var(--muted); } .cl-r em.test { background: var(--a50); color: var(--a); }
.cl-r span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-r i { font-style: normal; font-weight: 700; white-space: nowrap; }
.ef { display: flex; flex-direction: column; gap: 10px; }
.ef-r { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; }
.ef-r span { font-weight: 600; color: var(--muted); }
.ef-r div { height: 14px; background: var(--surface-2); border-radius: 7px; overflow: hidden; }
.ef-r i { display: block; height: 100%; width: var(--w); background: #e5484d; border-radius: 7px; }
.ef-r.on i { background: var(--a); } .ef-r.on b { color: var(--a); }
.ef-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ef-steps span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; background: var(--a50); color: var(--a); border-radius: 99px; padding: 4px 12px 4px 4px; }
.ef-steps i { width: 20px; height: 20px; border-radius: 50%; background: var(--a); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.cv { display: flex; flex-direction: column; gap: 9px; }
.cv-r { display: grid; grid-template-columns: 80px minmax(0, 1fr) 76px; gap: 10px; align-items: center; font-size: 12.5px; }
.cv-r > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .cv-r > span i { width: 16px; height: 16px; } .cv-r svg { width: 16px; height: 16px; }
.cv-b { display: flex; flex-direction: column; gap: 3px; }
.cv-b i { display: block; height: 7px; width: var(--w); min-width: 2px; border-radius: 4px; }
.cv-b i.c, .cv-k i.c { background: #f3b8b2; } .cv-b i.r, .cv-k i.r { background: var(--a); }
.cv-r > b { text-align: right; font-variant-numeric: tabular-nums; }
.cv-k { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cv-k span { display: inline-flex; align-items: center; gap: 5px; } .cv-k i { width: 10px; height: 6px; border-radius: 3px; }
.cv-k .tot { margin-left: auto; font-weight: 700; color: var(--text); }
.pt { display: flex; flex-direction: column; gap: 7px; }
.pt-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); }
.pt-r div { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .pt-r .ico { width: 12px; height: 12px; color: var(--faint); }
.pt-r span { font-size: 12px; font-weight: 600; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; padding: 2px 8px; }
.pt-r span.o { background: var(--a); color: #fff; border-color: var(--a); }
.pt-r b { font-family: var(--display); color: var(--a); }
@media (max-width: 1100px) { .st-proof, .dp, .bs { grid-template-columns: minmax(0, 1fr); } .dp-side { flex-direction: row; } .lv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .st-stats { grid-template-columns: 1fr; } .kp-col span { font-size: 10px; padding: 4px 6px; } .kt { width: 58px; } }
@media (prefers-reduced-motion: reduce) { .kp.run .kt, .kp.run .kt b, .bs.run .bs-dot { animation-duration: .01s !important; animation-delay: 0s !important; } }
.hm-gaps { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 4px 4px 0; }
.hm-gaps > div:first-child span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.hm-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-jump button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, transform .2s; }
.hm-jump button:hover { border-color: var(--a); transform: translateY(-1px); }
.hm-jump img { width: 28px; height: 28px; border-radius: 8px; }
.hm-jump .ico { color: var(--a); }
.st { scroll-margin-top: 84px; }
.st-stats div.wait { gap: 8px; justify-content: center; }
.st-stats div.wait i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #e9edf5 0%, #f6f8fc 50%, #e9edf5 100%); background-size: 200% 100%; animation: st-shim 1.2s linear infinite; }
.st-stats div.wait i:first-child { width: 46%; height: 14px; } .st-stats div.wait i + i { width: 70%; }
@keyframes st-shim { to { background-position: -200% 0; } }
.bs-lr em { font-style: normal; }
.lv-m { grid-template-columns: 1fr 1fr; gap: 4px; }
.lv-m span { flex-direction: column; justify-content: flex-start; font-size: 9.5px; line-height: 1.2; }
.lv-m b { font-size: 12px; }


/* ================= Home story engine: benefit tabs ================= */
.st-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -4px; }
.st-tab { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); height: 34px; padding: 0 14px; border-radius: 99px; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.st-tab span { position: relative; z-index: 1; }
.st-tab .st-tp { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--a) 14%, transparent); }
.st-tab.on { color: var(--text); border-color: color-mix(in srgb, var(--a) 55%, transparent); }
.st-tab:hover { border-color: var(--a); }
.st-scene { min-height: 300px; display: flex; flex-direction: column; justify-content: center; animation: st-in .45s ease; }
@keyframes st-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-t h2 { min-height: 1.1em; }

/* ---- K2 rejections ---- */
.k2 { position: relative; height: 296px; }
.k2-st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.k2-st > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); opacity: .45; transition: opacity .3s, border-color .3s; }
.k2-st > div.on { opacity: 1; }
.k2-st span { font-size: 12px; font-weight: 700; color: var(--muted); }
.k2-st b { font-family: var(--display); font-size: 24px; }
.k2-st em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #c5300d; min-height: 15px; }
.k2-d { position: absolute; width: 12px; height: 12px; margin-left: -6px; border-radius: 4px; background: #e5484d; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .3s, left .7s cubic-bezier(.5, 0, .2, 1), top .7s cubic-bezier(.5, 0, .2, 1), background .3s; }
.k2-d.on { opacity: 1; transform: none; }
.k2-d.gone { opacity: 0; transform: translateY(30px) scale(.4); background: #b9c0cc; transition-duration: .9s; }
.k2-d.fly { background: var(--a); }
.k2-bins { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.k2-bin { position: relative; overflow: hidden; height: 62px; border-radius: 12px; border: 1.5px dashed var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 6px; }
.k2-f { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: color-mix(in srgb, var(--a) 16%, transparent); transition: height .4s ease; }
.k2-bin b { position: relative; font-family: var(--display); font-size: 18px; }
.k2-bin span { position: relative; font-size: 11px; font-weight: 700; color: var(--muted); }
.k2-bins.blind .k2-bin { opacity: .55; } .k2-bins.blind b { color: var(--faint); }
.k2-bin.top { border-style: solid; border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); }
.k2-bin.top::before { content: 'Fix first'; position: absolute; top: 5px; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--a); border-radius: 5px; padding: 1px 6px; z-index: 1; }

/* ---- K3 live scores ---- */
.k3 { position: relative; height: 270px; }
.k3-c { position: absolute; top: 18px; width: calc(25% - 12px); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 8px 8px 12px; box-shadow: 0 10px 24px rgba(14, 26, 61, .08); opacity: 0; transform: translateY(16px) rotateX(20deg); transition: opacity .4s, transform .4s, left .8s cubic-bezier(.6, 0, .2, 1), box-shadow .3s, border-color .3s; }
.k3-c.on { opacity: 1; transform: none; }
.k3-th { display: flex; align-items: flex-end; height: 92px; border-radius: 10px; padding: 6px; background: linear-gradient(140deg, var(--h), color-mix(in srgb, var(--h) 35%, #fff)); }
.k3-th span { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .25); border-radius: 5px; padding: 1px 6px; }
.k3-n { display: block; font-size: 13px; margin: 8px 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k3-m { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.k3-m span { display: flex; flex-direction: column; font-size: 10.5px; color: var(--faint); background: var(--surface-2); border-radius: 8px; padding: 5px 7px; }
.k3-m b { font-family: var(--display); font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.k3-c.blank .k3-m b { color: #c9cfda; }
.k3-g { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 2px 7px; background: rgba(255, 255, 255, .9); color: var(--faint); transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.k3-c.blank .k3-g, .k3-g.good, .k3-g.avg { transform: scale(1); }
.k3-g.good { background: #e7f6ec; color: #12813f; } .k3-g.avg { background: #fdf3e2; color: #a5620a; }
.k3-cr { position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--a); border-radius: 99px; padding: 3px 10px; opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; }
.k3-c.win { border-color: var(--a); box-shadow: 0 16px 36px color-mix(in srgb, var(--a) 28%, transparent); }
.k3-c.win .k3-cr { opacity: 1; transform: translate(-50%, 0); }

/* ---- K4 next brief ---- */
.k4 { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 14px; align-items: center; }
.k4-src { display: flex; flex-direction: column; gap: 8px; }
.k4-w { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 10px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; transition: opacity .3s; }
.k4-w.dim { opacity: .4; }
.k4-w > i { grid-row: span 2; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(140deg, var(--h), color-mix(in srgb, var(--h) 35%, #fff)); }
.k4-w b { font-size: 13px; display: block; } .k4-w span { font-size: 11.5px; color: #12813f; font-weight: 700; }
.k4-chips { grid-column: 2; display: flex; gap: 5px; flex-wrap: wrap; }
.k4-chips em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--surface-2); border-radius: 6px; padding: 2px 8px; transition: background .3s, color .3s, transform .3s; }
.k4-chips em.go { background: var(--a); color: #fff; transform: translateX(6px); }
.k4-arw { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--a); }
.k4-brief { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 28px rgba(14, 26, 61, .07); }
.k4-bh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.k4-tag { font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 8px; opacity: 0; transition: opacity .3s; }
.k4-tag.bad { opacity: 1; background: #fdecea; color: #c5300d; } .k4-tag.good { opacity: 1; background: var(--a50); color: var(--a); }
.k4-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.k4-row span { color: var(--muted); font-weight: 600; }
.k4-row b { min-height: 18px; font-weight: 700; }
.k4-row b.guess { color: var(--faint); font-style: italic; font-weight: 500; animation: fadeUp .3s ease; }
.k4-row b.won { color: var(--a); animation: k4-pop .4s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes k4-pop { from { transform: scale(.7); opacity: 0; } }
.k4-caret { display: inline-block; width: 2px; height: 14px; background: var(--line); vertical-align: middle; animation: ds-pulse 1s infinite; }

/* ---- K5 category ---- */
.k5 { display: flex; flex-direction: column; gap: 12px; }
.k5-k { display: flex; gap: 16px; font-size: 12px; color: var(--muted); font-weight: 600; }
.k5-k span { display: inline-flex; align-items: center; gap: 6px; } .k5-k i { width: 12px; height: 8px; border-radius: 3px; }
.k5-k i.y, .k5-b.y i { background: var(--a); } .k5-k i.c, .k5-b.c i { background: #8aa0c8; }
.k5-r { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 6px 10px; border-radius: 12px; transition: background .3s; }
.k5-r.pick { background: color-mix(in srgb, var(--a50) 80%, #fff); box-shadow: inset 3px 0 0 var(--a); }
.k5-l { font-size: 13px; font-weight: 700; }
.k5-bars { display: flex; flex-direction: column; gap: 4px; }
.k5-b { display: flex; align-items: center; gap: 8px; }
.k5-b i { display: block; height: 11px; width: 0; border-radius: 6px; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.k5-b.on i { width: var(--w); }
.k5-b b { font-size: 11.5px; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s .4s; }
.k5-b.on b { opacity: 1; }
.k5-b.c.ghost i { background: repeating-linear-gradient(90deg, #dfe4ee 0 6px, transparent 6px 10px); width: 50%; }
.k5-b.c.ghost b { color: var(--faint); }
.k5-gap { font-style: normal; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 3px 8px; justify-self: start; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.k5-gap.on { opacity: 1; transform: none; }
.k5-gap.hot { background: var(--a); color: #fff; } .k5-gap.gap { background: var(--a50); color: var(--a); } .k5-gap.ok { background: #e7f6ec; color: #12813f; }

/* ---- D2 stock guard ---- */
.d2 { position: relative; display: flex; flex-direction: column; gap: 10px; padding-bottom: 64px; }
.d2-r { display: grid; grid-template-columns: 160px minmax(0, 1fr) 72px 110px 84px; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: background .3s, border-color .3s; }
.d2-p b { display: block; font-size: 13px; } .d2-p span { font-size: 11.5px; color: var(--muted); }
.d2-g { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.d2-g i { display: block; height: 100%; background: #12a150; border-radius: 6px; transition: width .25s linear, background .3s; }
.d2-r.low .d2-g i { background: #f59e0b; } .d2-r.zero .d2-g i { background: #e5484d; }
.d2-u { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.d2-r.zero .d2-u { color: #c5300d; }
.d2-s { font-style: normal; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; justify-self: start; white-space: nowrap; }
.d2-s.on { background: #e7f6ec; color: #12813f; } .d2-s.p { background: #fdf3e2; color: #a5620a; animation: k4-pop .35s; } .d2-s.w { background: #fff6e0; color: #a5620a; }
.d2-sp { text-align: right; font-variant-numeric: tabular-nums; }
.d2-r.leak { background: #fdf0ee; border-color: #f3c4bd; } .d2-r.leak .d2-sp { color: #c5300d; }
.d2-toast { position: absolute; left: 50%; bottom: 0; display: flex; align-items: center; gap: 10px; background: #0f1a3d; color: #fff; border-radius: 14px; padding: 10px 16px; transform: translate(-50%, 20px); opacity: 0; transition: opacity .4s, transform .4s cubic-bezier(.2, 1.2, .4, 1); }
.d2-toast.on { opacity: 1; transform: translate(-50%, 0); }
.d2-toast svg { width: 26px; height: 26px; } .d2-toast b { display: block; font-size: 13px; } .d2-toast span { font-size: 11.5px; color: rgba(255, 255, 255, .7); }

/* ---- D3 creative queue ---- */
.d3 { position: relative; height: 230px; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; }
.d3-col { border: 1.5px dashed var(--line); border-radius: 14px; padding: 8px 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.d3-col.r { border-color: color-mix(in srgb, var(--a) 40%, transparent); background: color-mix(in srgb, var(--a50) 50%, transparent); }
.d3-col b { font-size: 12.5px; }
.d3-n { font-family: var(--display); font-weight: 800; font-size: 14px; background: #fff; border-radius: 7px; padding: 0 8px; }
.d3-n.t { color: var(--a); }
.d3-c { position: absolute; width: 22%; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 8px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px; box-shadow: 0 6px 14px rgba(14, 26, 61, .07); transition: left .7s cubic-bezier(.6, 0, .2, 1), top .7s cubic-bezier(.6, 0, .2, 1), border-color .3s, background .3s; }
.d3-c i { grid-row: span 2; width: 26px; height: 32px; border-radius: 6px; background: linear-gradient(140deg, var(--h), color-mix(in srgb, var(--h) 35%, #fff)); }
.d3-c b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3-c em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.d3-c.old { border-color: #f5c77a; } .d3-c.old em { color: #a5620a; }
.d3-c.stale { background: #fdf0ee; border-color: #f3c4bd; } .d3-c.stale em { color: #c5300d; }
.d3-c.test em { color: var(--a); }
.d3-c.good { border-color: #9bd8b0; } .d3-c.good em { color: #12813f; }
.d3-c.weak { opacity: .6; } .d3-c.weak em { color: #c5300d; }

/* ---- D4 daily calls ---- */
.d4 { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.d4-hd, .d4-r { display: grid; grid-template-columns: minmax(0, 1.4fr) .7fr .5fr .6fr minmax(0, 1.5fr); gap: 10px; align-items: center; padding: 0 14px; height: 40px; font-size: 12.5px; }
.d4-hd { height: 32px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); }
.d4-r { border-top: 1px solid var(--line-2); transition: background .3s; font-variant-numeric: tabular-nums; }
.d4-nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d4-r.stare { background: #fbfbf4; }
.d4-q { font-style: normal; font-weight: 800; color: var(--faint); }
.d4-c { display: flex; align-items: center; gap: 8px; min-width: 0; }
.d4-c em { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 8px; animation: k4-pop .35s cubic-bezier(.2, 1.5, .4, 1); }
.d4-c small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadeUp .4s ease; }
.d4-c em.up { background: #e7f6ec; color: #12813f; } .d4-c em.down { background: #fdecea; color: #c5300d; } .d4-c em.fix { background: #fdf3e2; color: #a5620a; } .d4-c em.hold { background: #eef1f6; color: var(--muted); } .d4-c em.stop { background: #0f1a3d; color: #fff; }
.d4-r.called.up { background: #f6fcf8; } .d4-r.called.down, .d4-r.called.stop { background: #fdf6f5; }

/* ---- D5 reports ---- */
.d5 { position: relative; }
.d5.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: center; }
.d5-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid #d9dee8; border-radius: 8px; overflow: hidden; background: #fff; }
.d5-grid i { height: 30px; border-right: 1px solid #e6e9f0; border-bottom: 1px solid #e6e9f0; font-style: normal; font-size: 11px; display: flex; align-items: center; justify-content: flex-end; padding: 0 6px; color: #3c4559; font-variant-numeric: tabular-nums; }
.d5-grid i.on { background: #f3f8f4; }
.d5-clock { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 12px; }
.d5-clock .ico { width: 26px; height: 26px; color: var(--muted); }
.d5-clock b { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.d5-clock span { font-size: 11.5px; color: var(--muted); }
.d5-clock.bad b { color: #c5300d; }
.d5.rep { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; align-items: center; }
.d5-card { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 30px rgba(14, 26, 61, .08); opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.d5-card.on { opacity: 1; transform: none; }
.d5-h { display: flex; justify-content: space-between; } .d5-h span { font-size: 12px; color: var(--muted); }
.d5-k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.d5-k div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; } .d5-k span { display: block; font-size: 11px; color: var(--muted); } .d5-k b { font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.d5-sp { width: 100%; height: 64px; fill: none; stroke: var(--a); stroke-width: 2.5; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.2s ease; }
.d5-sp.on { stroke-dashoffset: 0; }
.d5-cr { display: flex; gap: 6px; flex-wrap: wrap; opacity: 0; transition: opacity .4s; } .d5-cr.on { opacity: 1; }
.d5-cr span { font-size: 11.5px; background: var(--a50); border-radius: 7px; padding: 3px 8px; } .d5-cr b { margin-left: 6px; color: var(--a); }
.d5-sent { display: flex; align-items: center; gap: 10px; background: #0f1a3d; color: #fff; border-radius: 14px; padding: 12px 14px; opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .4s cubic-bezier(.2, 1.2, .4, 1); }
.d5-sent.on { opacity: 1; transform: none; }
.d5-sent svg { width: 28px; height: 28px; flex: none; } .d5-sent b { display: block; font-size: 13px; } .d5-sent span { font-size: 11.5px; color: rgba(255, 255, 255, .7); }

/* ---- B2 awareness ---- */
.b2 { position: relative; display: flex; flex-direction: column; gap: 12px; }
.b2-r { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px 150px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; transition: background .3s, border-color .3s; }
.b2-l b { display: block; font-size: 13px; } .b2-l span { font-size: 11.5px; color: var(--muted); }
.b2-bar { height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.b2-bar i { display: block; height: 100%; width: 0; background: var(--a); border-radius: 6px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.b2-v { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.b2-t { font-style: normal; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 3px 9px; justify-self: start; opacity: 0; transform: scale(.8) rotate(-4deg); transition: opacity .3s, transform .35s cubic-bezier(.2, 1.5, .4, 1); background: var(--a50); color: var(--a); white-space: nowrap; }
.b2-t.on { opacity: 1; transform: none; }
.b2-r.dead { background: #fdf0ee; border-color: #f3c4bd; } .b2-r.dead .b2-bar i { background: #e5484d; } .b2-r.dead .b2-v { color: #c5300d; } .b2-r.dead .b2-t { background: #c5300d; color: #fff; }
.b2-r.alive { border-color: var(--a); background: color-mix(in srgb, var(--a50) 60%, #fff); } .b2-r.alive .b2-t { background: var(--a); color: #fff; }
.b2-fl { position: absolute; left: 90px; top: 30px; width: 0; height: 0; pointer-events: none; }
.b2-fl i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); opacity: 0; }
.b2.flow .b2-fl i { animation: b2-go 1.4s var(--d) ease-in-out 2 both; }
.b2.flow .b2-fl i:nth-child(even) { animation-name: b2-go2; }
@keyframes b2-go { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, 76px); } }
@keyframes b2-go2 { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(50px, 152px); } }

/* ---- B3 site journey ---- */
.b3.box { display: grid; grid-template-columns: 1fr 50px 1.2fr 50px 1fr; align-items: center; gap: 6px; }
.b3-in, .b3-out > div { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; text-align: center; }
.b3-in .ico { color: var(--a); } .b3-in b, .b3-out b { font-family: var(--display); font-size: 20px; } .b3-in span, .b3-out span { font-size: 11.5px; color: var(--muted); }
.b3-out { display: flex; flex-direction: column; gap: 8px; } .b3-out .x { background: #fdf0ee; border-color: #f3c4bd; } .b3-out .x b { color: #c5300d; }
.b3-ar { height: 2px; background: repeating-linear-gradient(90deg, #b9c0cc 0 6px, transparent 6px 10px); position: relative; }
.b3-ar::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: #b9c0cc; }
.b3-bx { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 160px; border-radius: 18px; background: #0f1a3d; color: #fff; }
.b3-bx b { font-family: var(--display); font-size: 56px; line-height: 1; } .b3-bx span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.b3-bx.pulse { animation: b3-p 1.4s ease infinite; }
@keyframes b3-p { 50% { box-shadow: 0 0 0 10px rgba(15, 26, 61, .08); } }
.b3.box > * { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.b3.box.go > * { opacity: 1; transform: none; } .b3.box.go > :nth-child(2) { transition-delay: .2s; } .b3.box.go > :nth-child(3) { transition-delay: .4s; } .b3.box.go > :nth-child(4) { transition-delay: .6s; } .b3.box.go > :nth-child(5) { transition-delay: .8s; }
.b3.fun { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; padding-bottom: 46px; }
.b3-s { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.b3-col { width: 100%; height: 170px; display: flex; align-items: flex-end; background: var(--surface-2); border-radius: 12px; overflow: hidden; }
.b3-col i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--a), color-mix(in srgb, var(--a) 60%, #fff)); border-radius: 12px; transition: height .7s cubic-bezier(.2, .8, .2, 1); }
.b3-s.on .b3-col i { height: var(--h); }
.b3-s b { font-family: var(--display); font-size: 17px; opacity: 0; transition: opacity .3s .4s; } .b3-s.on b { opacity: 1; }
.b3-s > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.b3-drop { position: absolute; left: -12px; top: 40%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; color: #c5300d; background: #fff; border: 1px solid #f3c4bd; border-radius: 6px; padding: 1px 6px; opacity: 0; transition: opacity .3s .5s; z-index: 1; }
.b3-s.on .b3-drop { opacity: 1; }
.b3-drop.hot { background: #c5300d; color: #fff; border-color: #c5300d; }
.b3-fix { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--a); border-radius: 99px; padding: 6px 14px; opacity: 0; transition: opacity .4s, transform .4s; white-space: nowrap; }
.b3-fix.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- B4 creative truth ---- */
.b4 { display: flex; flex-direction: column; gap: 10px; }
.b4-hd { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.b4-by { background: #eef1f6; color: var(--text); border-radius: 7px; padding: 2px 10px; transition: background .3s, color .3s; }
.b4.truth .b4-by { background: var(--a); color: #fff; }
.b4-list { position: relative; height: 208px; }
.b4-r { position: absolute; left: 0; right: 0; height: 44px; display: grid; grid-template-columns: 26px 30px minmax(0, 1fr) 90px 100px 150px; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; font-size: 13px; opacity: 0; transform: translateX(-12px); transition: opacity .35s, transform .35s, top .8s cubic-bezier(.6, 0, .2, 1); }
.b4-r.on { opacity: 1; transform: none; }
.b4-p { font-family: var(--display); font-weight: 800; color: var(--muted); }
.b4-r > i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(140deg, var(--h), color-mix(in srgb, var(--h) 35%, #fff)); }
.b4-r > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b4-ctr { color: var(--muted); font-variant-numeric: tabular-nums; }
.b4-o { font-weight: 800; font-variant-numeric: tabular-nums; }
.b4.truth .b4-o { color: var(--a); }
.b4-t { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 8px; justify-self: start; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.b4-t.on { opacity: 1; } .b4-t.warn { background: #fdf3e2; color: #a5620a; } .b4-t.bad { background: #fdecea; color: #c5300d; } .b4-t.good { background: var(--a); color: #fff; }

/* ---- proof panels animate in ---- */
.st-proof .rj-bar i, .st-proof .ef-r i, .st-proof .cv-b i { transition: width 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
.st-proof:not(.in) .rj-bar i, .st-proof:not(.in) .ef-r i, .st-proof:not(.in) .cv-b i { width: 0 !important; }
.st-proof .rj-s, .st-proof .rj-why span, .st-proof .cl-r, .st-proof .ef-steps span, .st-proof .cv-r, .st-proof .pt-r, .st-proof .pt-r span { transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.st-proof .rj-s, .st-proof .cl-r, .st-proof .cv-r, .st-proof .pt-r { transition-delay: calc(var(--i, 0) * 110ms); }
.st-proof .rj-why span { transition-delay: calc(var(--i, 0) * 110ms + 700ms + var(--j, 0) * 90ms); }
.st-proof .ef-steps span { transition-delay: calc(var(--i, 0) * 180ms + 900ms); }
.st-proof .pt-r span { transition-delay: calc(var(--i, 0) * 110ms + 300ms + var(--j, 0) * 120ms); }
.st-proof:not(.in) .rj-s, .st-proof:not(.in) .cl-r, .st-proof:not(.in) .cv-r, .st-proof:not(.in) .pt-r { opacity: 0; transform: translateX(-14px); }
.st-proof:not(.in) .rj-why span, .st-proof:not(.in) .ef-steps span, .st-proof:not(.in) .pt-r span { opacity: 0; transform: scale(.7); }
.st-proof .lv-c { transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 150ms + 200ms); transform-origin: 50% 100%; }
.st-proof:not(.in) .lv-c { opacity: 0; transform: perspective(600px) rotateX(-40deg) translateY(16px); }
.st-proof .lv-c em { transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--i, 0) * 150ms + 1300ms); }
.st-proof:not(.in) .lv-c em { transform: scale(0); }
.st-proof .rj-s.hot { animation: none; }
.st-proof.in .rj-s.hot .rj-bar { animation: rj-glow 1.6s 1.4s ease 2; }
@keyframes rj-glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 22%, transparent); } }
@media (max-width: 1100px) { .d2-r { grid-template-columns: 1fr 1fr; } .b2-r { grid-template-columns: 1fr 60px; } .b2-bar { grid-column: 1 / -1; } .b4-r { grid-template-columns: 22px 26px minmax(0, 1fr) 80px; } .b4-ctr, .b4-t { display: none; } .k4 { grid-template-columns: minmax(0, 1fr); } .k4-arw { justify-self: center; transform: rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .st-proof * { transition: none !important; } }
.st-scene > *, .b2 > *, .d2 > *, .k5 > *, .b4 > *, .k4-src > *, .k4-brief > * { flex-shrink: 0; }
.st { scroll-margin-top: 80px; }


/* ---------- benefit cards (replace plain tabs) ---------- */
.st-tabs-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: -8px; }
.st-tabs-h b { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.st-tabs-h span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.st-lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.st-lg.tap { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
.st-lg.seen { background: #12A150; }
.st-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 0; }
.st-tab { height: auto; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--c) 22%, var(--line-2)); background: color-mix(in srgb, var(--c) 5%, #fff); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.st-tab:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 18%, transparent); }
.st-ti { position: relative; z-index: 1; width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.st-tt { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.st-tt b { font-size: 13.5px; font-weight: 800; line-height: 1.15; }
.st-tt small { font-size: 11.5px; font-weight: 600; color: var(--c); line-height: 1.2; margin-top: 1px; }
.st-tab .st-tp { top: auto; height: 3px; background: var(--c); border-radius: 0 3px 3px 0; }
.st-tab.on { background: color-mix(in srgb, var(--c) 12%, #fff); border-color: var(--c); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 22%, transparent); }
.st-tab.on .st-ti { background: var(--c); color: #fff; }
.st-tap { position: relative; z-index: 1; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #F59E0B; color: transparent; }
.st-tap .ico { width: 10px; height: 10px; }
.st-tab:not(.seen) .st-tap { animation: st-tap 1.6s ease infinite; }
.st-tab:not(.seen) .st-tap { width: auto; height: 20px; padding: 0 8px; border-radius: 99px; color: #fff; }
.st-tab:not(.seen) .st-tap .ico { display: none; }
.st-tab:not(.seen) .st-tap::before { content: 'Tap'; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
@keyframes st-tap { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .45); } 60% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); } }
.st-tab.seen .st-tap { background: #12A150; color: #fff; }
.st-tab.seen:not(.on) { background: #fff; }


/* ---------- suite dashboard ---------- */
.db-src { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: var(--a, var(--muted)); background: color-mix(in srgb, var(--a, #8a94a8) 10%, #fff); border-radius: 99px; padding: 2px 8px 2px 3px; white-space: nowrap; }
.db-src img { width: 16px; height: 16px; border-radius: 5px; }
.db-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.db-k { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.db-kh { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.db-k > b { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.db-k > em { font-style: normal; font-size: 12px; color: var(--muted); }
.db-k b.bad, .db-c em.bad { color: #c5300d; } .db-k b.warn, .db-c b.warn { color: #a5620a; } .db-c b.ok { color: #12813f; }
.db-k.locked > b, .db-k.locked > em { filter: blur(5px); opacity: .6; }
.db-kl { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; text-decoration: none !important; }
.db-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.db-c { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 180px; }
.db-c.w2 { grid-column: span 2; }
.db-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .db-h b { font-size: 14.5px; }
.db-b { display: flex; flex-direction: column; gap: 8px; }
.db-c.locked .db-b { filter: blur(6px); opacity: .5; pointer-events: none; user-select: none; }
.db-lock { position: absolute; inset: 52px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.db-lock img { width: 34px; height: 34px; border-radius: 10px; } .db-lock b { font-size: 13px; }
.db-note { font-size: 12px; color: var(--muted); }
.db-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.db-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.db-row b { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; } .db-row span { font-size: 11.5px; color: var(--muted); }
.db-row em { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 8px; }
.db-row em.bad { background: #fdecea; color: #c5300d; } .db-row em.warn { background: #fdf3e2; color: #a5620a; } .db-row em.ok { background: #e7f6ec; color: #12813f; }
.db-act { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--a); border-radius: 8px; padding: 5px 10px; text-decoration: none !important; white-space: nowrap; }
.db-act.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.db-pl { width: 16px; height: 16px; display: inline-block; } .db-pl svg { width: 16px; height: 16px; }
.db-cv { display: flex; flex-direction: column; gap: 10px; }
.db-cvr { display: grid; grid-template-columns: 140px minmax(0, 1fr) 80px; gap: 12px; align-items: center; font-size: 13px; }
.db-cvr > span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; } .db-cvr svg { width: 16px; height: 16px; }
.db-cvr > div { display: flex; flex-direction: column; gap: 3px; }
.db-cvr i { display: block; height: 9px; min-width: 2px; border-radius: 5px; }
.db-cvr i.c, .db-leg i.c { background: #f3b8b2; } .db-cvr i.r, .db-leg i.r { background: var(--bhishm, #7C5CFC); }
.db-cvr b { text-align: right; font-variant-numeric: tabular-nums; }
.db-leg { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); } .db-leg span { display: inline-flex; align-items: center; gap: 5px; } .db-leg i { width: 10px; height: 6px; border-radius: 3px; display: inline-block; } .db-leg .tot { margin-left: auto; font-weight: 700; color: var(--text); }
.db-spark svg { width: 100%; height: 90px; }
.db-mini { display: flex; gap: 14px; font-size: 12px; color: var(--muted); } .db-mini b { color: var(--text); margin-left: 3px; }
.db-rj { display: flex; flex-direction: column; gap: 6px; }
.db-rj div { display: grid; grid-template-columns: 70px minmax(0, 1fr) 20px; gap: 8px; align-items: center; font-size: 12.5px; }
.db-rj i { display: block; height: 9px; border-radius: 5px; background: #f5c77a; }
.db-rj b { text-align: right; }
.db-pd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.db-pd div { display: flex; flex-direction: column; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.db-pd b { font-family: var(--display); font-size: 20px; } .db-pd span { font-size: 11.5px; color: var(--muted); }
.db-bar { height: 8px; border-radius: 5px; background: var(--surface-2); overflow: hidden; } .db-bar i { display: block; height: 100%; border-radius: 5px; }
.db-loops h2 { font-size: 17px; margin-bottom: 12px; }
.db-loops > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.db-loop { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.db-loop span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; } .db-loop img { width: 22px; height: 22px; border-radius: 6px; }
.db-loop > .ico { color: var(--faint); }
.db-loop em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; color: var(--faint); }
.db-loop.on { border-style: solid; border-color: var(--blue); } .db-loop.on em { color: var(--blue); }
@media (max-width: 1200px) { .db-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .db-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .db-kpis, .db-grid, .db-loops > div { grid-template-columns: minmax(0, 1fr); } .db-c.w2 { grid-column: auto; } }


/* ---------- story fits one screen ---------- */
.st { padding: 18px 22px 16px; gap: 12px; }
.st-h { align-items: center; }
.st-t h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 4px; }
.st-ctl { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.st-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: 6px; }
.st-buy .btn { height: 40px; padding: 0 18px; font-weight: 800; box-shadow: 0 8px 20px color-mix(in srgb, var(--a) 30%, transparent); }
.st-buy small { font-size: 11.5px; color: var(--muted); } .st-buy small a { color: var(--text); font-weight: 700; }
.st-tabs-h { margin-bottom: -6px; }
.st-tab { padding: 7px 10px 9px; gap: 8px; }
.st-ti { width: 28px; height: 28px; border-radius: 9px; }
.st-tt b { font-size: 13px; } .st-tt small { font-size: 11px; }
.st-stage { padding: 64px 18px 14px; }
.st-flag { top: 10px; left: 12px; padding: 5px 12px 5px 6px; }
.st-flag-ic { width: 24px; height: 24px; }
.st-scene { min-height: 0; }
.st-stats { min-height: 0; gap: 8px; }
.st-stats div { flex-direction: row; align-items: baseline; gap: 8px; padding: 9px 14px; }
.st-stats b { font-size: 17px; white-space: nowrap; }
.st-stats span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-stats div.wait { flex-direction: row; align-items: center; }
.st-stats div.wait i:first-child { width: 30%; } .st-stats div.wait i + i { width: 50%; }
.st-more { border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.st-more summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; font-size: 13px; color: var(--muted); }
.st-more summary::-webkit-details-marker { display: none; }
.st-more summary b { color: var(--text); }
.st-more summary > .ico:last-child { margin-left: auto; transition: transform .25s; }
.st-more[open] summary > .ico:last-child { transform: rotate(180deg); }
.st-more summary > .ico:first-child { color: var(--a); }
.st-more .st-proof { padding: 0 14px 14px; }
.st-more:hover { border-color: color-mix(in srgb, var(--a) 40%, transparent); }
/* shorter scenes */
.kp-cols { margin-bottom: 18px; }
.kp-track { height: 176px; }
.dp-hd, .dp-r { height: 30px; }
.dp-t { padding-bottom: 46px; }
.k2 { height: 262px; } .k2-bins { gap: 6px; } .k2-bin { height: 54px; }
.k3 { height: 236px; } .k3-th { height: 74px; }
.d3 { height: 210px; }
.b3-col { height: 140px; } .b3-bx { height: 130px; }
.b2-r { padding: 11px 14px; } .d2-r { padding: 10px 14px; } .d4-hd, .d4-r { height: 36px; } .d4-hd { height: 30px; }
@media (max-height: 820px) { .st-scene { zoom: .88; } .st-t h2 { font-size: 22px; } }
@media (max-height: 720px) { .st-scene { zoom: .8; } .st-tabs-h { display: none; } }


/* ---------- story body: motion left, proof right ---------- */
.st-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr); gap: 14px; align-items: stretch; }
.st-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-left .st-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.st-left .st-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-left .st-stats div { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 12px; }
.st-left .st-stats b { font-size: 16px; }
.st-left .st-stats span { font-size: 11.5px; white-space: normal; line-height: 1.25; }
.st-right { min-width: 0; display: flex; }
.st-right .st-proof { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.st-right .pf { flex: 1; padding: 12px 14px; gap: 8px; border-radius: 14px; }
.st-right .pf-h b { font-size: 13.5px; }
.st-right .pf-tag { font-size: 10.5px; padding: 2px 8px; }
/* Karna: rejections compact */
.st-right .rj { gap: 4px; }
.st-right .rj-s { grid-template-columns: 92px minmax(0, 1fr) 24px 26px; gap: 2px 6px; font-size: 12px; }
.st-right .rj-bar { height: 8px; }
.st-right .rj-why span { font-size: 10.5px; padding: 0 6px; }
/* Karna: live cards in one row */
.st-right .lv { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.st-right .lv-c { padding: 5px 5px 6px; gap: 3px; }
.st-right .lv-th { height: 40px; padding: 4px; }
.st-right .lv-th span { font-size: 8.5px; padding: 0 4px; }
.st-right .lv-c > b { font-size: 11px; }
.st-right .lv-m { grid-template-columns: 1fr 1fr; gap: 2px 4px; }
.st-right .lv-m span { font-size: 9px; } .st-right .lv-m b { font-size: 11px; }
.st-right .lv-c em { top: 8px; right: 8px; font-size: 8.5px; padding: 0 5px; }
/* Drona */
.st-right .cl { gap: 4px; }
.st-right .cl-r { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 2px 8px; padding: 5px 8px; font-size: 12px; }
.st-right .cl-r span { grid-column: 2; grid-row: 2; font-size: 11px; }
.st-right .cl-r i { grid-column: 3; grid-row: 1 / span 2; font-size: 11.5px; }
.st-right .cl-r em { grid-row: 1 / span 2; }
.st-right .ef-r { grid-template-columns: 78px minmax(0, 1fr); gap: 4px 8px; font-size: 12px; }
.st-right .ef-r b { grid-column: 2; font-size: 11.5px; }
.st-right .ef-r div { height: 10px; }
.st-right .ef-steps span { font-size: 11.5px; padding: 3px 10px 3px 3px; } .st-right .ef-steps i { width: 18px; height: 18px; }
/* Bhishm */
.st-right .cv-r { grid-template-columns: 70px minmax(0, 1fr) 70px; gap: 8px; font-size: 12px; }
.st-right .cv-k { font-size: 10.5px; gap: 10px; }
.st-right .pt { gap: 5px; } .st-right .pt-r { padding: 5px 8px; } .st-right .pt-r span { font-size: 11px; padding: 1px 6px; }
@media (max-width: 1180px) { .st-body { grid-template-columns: minmax(0, 1fr); } .st-right .st-proof { flex-direction: row; } }
@media (max-width: 760px) { .st-right .st-proof { flex-direction: column; } }
.st-left .dp-t { padding-bottom: 40px; } .st-left .dp-bar { bottom: 5px; height: 32px; }
.st-right .cl-r { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 6px 8px; }
.st-right .cl-r span { display: none; }
.st-right .cl-r i, .st-right .cl-r em { grid-row: auto; }
.st-right .cl-r i { grid-column: auto; }



/* ---------- dashboard v2: creative wall ---------- */
.db-fr { display: inline-flex; gap: 4px; }
.db-fr > span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #12813f; background: #e7f6ec; border-radius: 99px; padding: 3px 9px 3px 5px; }
.db-fr > span.old { color: #a5620a; background: #fdf3e2; }
.db-fr svg { width: 14px; height: 14px; }
.db-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.db-grid.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.db-ri { width: 26px; height: 26px; border-radius: 8px; }
.cwall { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.cw-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cw-h > div:first-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cw-h h2 { font-size: 17px; margin: 0; }
.cw-h > div:first-child > span { display: inline-flex; gap: 4px; }
.cw-f { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; }
.cw-f button { border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 5px 10px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.cw-f button i { font-style: normal; font-size: 10.5px; background: rgba(0, 0, 0, .06); border-radius: 6px; padding: 0 5px; }
.cw-f button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.cw-g6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cw-c { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; animation: cwIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.cw-c:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 24, 40, .08); }
.cw-c[hidden] { display: none; }
@keyframes cwIn { from { opacity: 0; transform: translateY(10px); } }
/* thumbnail = a faux creative */
.cw-th { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, var(--h) 18%, #fff); }
.cw-th.can { cursor: pointer; }
.cw-sl { position: absolute; top: 0; bottom: 0; left: 0; display: flex; width: calc(var(--n) * 100%); }
.cw-fr { flex: 1; position: relative; background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--h) 35%, #fff), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--h) 70%, #fff), var(--h)); }
.cw-fr.alt { background: linear-gradient(200deg, color-mix(in srgb, var(--h) 45%, #fff), color-mix(in srgb, var(--h) 85%, #000)); }
.cw-p { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); display: block; background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7)); box-shadow: 0 10px 20px rgba(0, 0, 0, .18); }
.cw-p.bottle { width: 26%; height: 42%; border-radius: 10px 10px 8px 8px; }
.cw-p.bottle::before { content: ""; position: absolute; left: 30%; right: 30%; top: -16%; height: 16%; background: #222; border-radius: 4px 4px 0 0; }
.cw-p.jar { width: 40%; height: 24%; border-radius: 8px; }
.cw-p.jar::before { content: ""; position: absolute; left: -4%; right: -4%; top: -22%; height: 26%; background: #222; border-radius: 6px; }
.cw-p::after { content: ""; position: absolute; left: 18%; right: 18%; top: 40%; height: 18%; background: var(--h); opacity: .55; border-radius: 3px; }
.cw-cap { position: absolute; left: 8px; right: 8px; top: 34px; height: 40px; }
.cw-cap span { position: absolute; left: 0; right: 0; font-family: var(--display); font-weight: 800; font-size: 14px; line-height: 1.15; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; }
.cw-cap span:first-child, .cw-cap span.cw-st { opacity: 1; }
.cw-fmt { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); border-radius: 6px; padding: 2px 6px 2px 4px; }
.cw-fmt svg { width: 12px; height: 12px; }
.cw-g { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 2px 7px; background: #fff; }
.cw-g.g { color: #12813f; } .cw-g.a { color: #a5620a; } .cw-g.p { color: #c5300d; } .cw-g.r { color: #2F5BEA; }
.cw-pl, .cw-ps { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .2s, opacity .2s; }
.cw-pl svg, .cw-ps svg { width: 18px; height: 18px; }
.cw-ps { opacity: 0; }
.cw-th.can:hover .cw-pl { transform: scale(1.1); }
.cw-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; opacity: 0; }
.cw-bar i { display: block; height: 100%; width: 0; background: #fff; }
/* playing */
.cw-th.play .cw-pl { opacity: 0; transform: scale(.6); }
.cw-th.play:hover .cw-ps, .cw-th.paused .cw-ps { opacity: 1; }
.cw-th.play .cw-bar { opacity: 1; }
.cw-th.play .cw-bar i { animation: cwBar var(--d) linear forwards; }
.cw-th.play .cw-p { animation: cwKen var(--d) ease-in-out forwards; }
.cw-th.play .cw-cap span:not(.st) { opacity: 0; animation: cwCap calc(var(--d) / 3) linear forwards; animation-delay: calc(var(--d) / 3 * var(--k)); }
.cw-th.play .cw-sl.multi { animation: cwSl var(--d) cubic-bezier(.7, 0, .3, 1) forwards; }
.cw-th.paused, .cw-th.paused * { animation-play-state: paused !important; }
@keyframes cwBar { to { width: 100%; } }
@keyframes cwKen { 0% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-42%) scale(1.12) rotate(-3deg); } 100% { transform: translateX(-50%) scale(1.05); } }
@keyframes cwCap { 0% { opacity: 0; transform: translateY(8px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes cwSl { 0%, 28% { transform: translateX(0); } 33%, 61% { transform: translateX(calc(-100% / var(--n))); } 66%, 100% { transform: translateX(calc(-200% / var(--n))); } }
/* card body */
.cw-b { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cw-b > b { font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.cw-hw { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: #7C5CFC; background: #f1edff; border-radius: 5px; padding: 1px 6px 1px 4px; }
.cw-hw svg { width: 11px; height: 11px; }
.cw-ms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cw-m { display: grid; grid-template-columns: 16px 1fr; column-gap: 5px; align-items: center; background: var(--surface-2); border-radius: 8px; padding: 5px 6px; }
.cw-m img { width: 16px; height: 16px; border-radius: 5px; grid-row: 1 / span 2; }
.cw-m b { font-size: 13px; line-height: 1.1; }
.cw-m small { font-size: 10px; color: var(--muted); line-height: 1.1; }
.cw-m > .ico { width: 13px; height: 13px; color: var(--faint); }
.cw-stage { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #2F5BEA; font-weight: 700; background: #eef2fe; border-radius: 8px; padding: 7px 8px; }
.cw-a { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 800; color: #fff; background: var(--a); border-radius: 8px; padding: 6px 8px; text-decoration: none !important; }
.cw-a.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.cw-a.off { color: var(--muted); }
.cw-note { display: none; }
@media (max-width: 1280px) { .cw-g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .db-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .db-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cw-g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }



/* ---------- Home: slim action strip, wider canvas ---------- */
.page:has(> .hm-bar) { max-width: 1640px; }
.hm-bar { display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 16px 14px 22px; }
.hm-who { display: flex; align-items: center; gap: 14px; }
.hm-who h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.hm-pl { display: inline-flex; gap: 4px; }
.hm-pl i { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; position: relative; filter: grayscale(1); opacity: .45; }
.hm-pl i svg { width: 16px; height: 16px; }
.hm-pl i.on { filter: none; opacity: 1; }
.hm-pl i.on::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; }
.hm-prog { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hm-segs { display: flex; gap: 4px; max-width: 420px; }
.hm-segs a { flex: 1; height: 6px; border-radius: 3px; background: var(--line-2); }
.hm-segs a.done { background: var(--ok); }
.hm-segs a.next { background: var(--blue); animation: hmPulse 1.6s ease-in-out infinite; }
@keyframes hmPulse { 50% { opacity: .35; } }
.hm-prog span { font-size: 12.5px; color: var(--muted); } .hm-prog b { color: var(--text); }
.hm-go { height: 42px; padding: 0 18px; background: var(--blue); color: #fff; font-weight: 800; gap: 8px; white-space: nowrap; box-shadow: 0 8px 18px color-mix(in srgb, var(--blue) 28%, transparent); }
.hm-go:hover { filter: brightness(1.08); }
@media (max-width: 760px) { .hm-bar { flex-wrap: wrap; gap: 14px; } .hm-prog { flex-basis: 100%; order: 3; } .hm-go { margin-left: auto; } }
/* story: give the proof column real room on wide screens */
@media (min-width: 1500px) { .st-body { grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr); gap: 18px; } }



/* ---------- Home: focus gate (blur until the whole story is on screen) ---------- */
.st { position: relative; overflow: clip; }
.st > :not(.st-gate) { filter: blur(var(--bl, 0px)); transition: filter .45s ease; }
.st:not(.gated) > :not(.st-gate) { filter: none; }
.st-gate { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity .45s ease; background: linear-gradient(180deg, color-mix(in srgb, var(--a) 6%, rgba(255, 255, 255, .35)), rgba(255, 255, 255, .25)); }
.st.gated .st-gate { opacity: 1; }
.st-gl { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); will-change: transform; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 30px 16px; border-radius: 22px; background: rgba(255, 255, 255, .9); border: 1px solid color-mix(in srgb, var(--a) 25%, transparent); box-shadow: 0 24px 60px -18px color-mix(in srgb, var(--a) 45%, transparent), 0 2px 8px rgba(14, 26, 61, .06); backdrop-filter: blur(6px); text-align: center; }
.st-gl img { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px; }
.st-gl small { font-size: 13px; font-weight: 600; color: var(--muted); }
.st-gl b { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--a); }
.st-gl span { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.st-gl span .ico { animation: glBob 1.6s ease-in-out infinite; }
@keyframes glBob { 50% { transform: translateY(3px); } }
.st.gated .st-gl { animation: glIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes glIn { from { opacity: 0; scale: .92; } }
@media (prefers-reduced-motion: reduce) { .st > :not(.st-gate), .st-gate { transition: none; } .st-gl span .ico { animation: none; } }


/* ---------- focus gate label: one large line, no box ---------- */
.st-gate { background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .35)); }
.st-gl { display: block; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; border-radius: 0; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 46px); letter-spacing: -.035em; line-height: 1; color: var(--text); text-shadow: 0 0 28px #fff, 0 0 10px #fff, 0 0 2px #fff; }
.st-gl b { font: inherit; color: var(--a); }
@media (max-width: 560px) { .st-gl { font-size: 20px; } }



/* ---------- Karna rejections: "Fix first" sits above the bin, never on the count ---------- */
.k2-bin.top { overflow: visible; }
.k2-bin.top::before { top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.k2-f { border-radius: 0 0 10px 10px; }

/* ---------- Karna TAT watch scene ---------- */
.k6 { position: relative; display: flex; flex-direction: column; gap: 8px; padding-bottom: 58px; }
.k6-hd, .k6-r { display: grid; grid-template-columns: minmax(150px, 1.3fr) minmax(0, 1.6fr) 50px 92px; gap: 12px; align-items: center; }
.k6-hd { padding: 0 14px; font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.k6-r { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 14px; transition: background .3s, border-color .3s; }
.k6-n { display: flex; align-items: center; gap: 10px; min-width: 0; }
.k6-n > i { width: 28px; height: 34px; border-radius: 7px; flex: none; background: linear-gradient(150deg, var(--h), color-mix(in srgb, var(--h) 40%, #fff)); }
.k6-n div { display: flex; flex-direction: column; min-width: 0; } .k6-n b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .k6-n span { font-size: 11px; color: var(--muted); }
.k6-bar { position: relative; height: 10px; border-radius: 6px; background: var(--surface-2); }
.k6-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--a); transition: width .25s linear, background .3s; }
.k6-bar em { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #c5300d; border-radius: 2px; }
.k6-h { font-family: var(--display); font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.k6-s { justify-self: start; font-style: normal; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 3px 8px; background: #e7f6ec; color: #12813f; white-space: nowrap; }
.k6-r.near .k6-bar i { background: #f59e0b; } .k6-r.near .k6-s { background: #fdf3e2; color: #a5620a; }
.k6-r.late { background: #fdf0ee; border-color: #f3c4bd; } .k6-r.late .k6-bar i { background: #e5484d; } .k6-r.late .k6-s { background: #fdecea; color: #c5300d; } .k6-r.late .k6-h { color: #c5300d; }
.k6-r.esc { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); } .k6-r.esc .k6-s { background: var(--a); color: #fff; animation: k6Pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.k6-r.ok .k6-s { background: #e7f6ec; color: #12813f; } .k6-r.ok .k6-bar i { background: #12a150; }
@keyframes k6Pop { from { transform: scale(.6); } }
.k6-lim { position: absolute; left: 0; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #c5300d; }
.k6-toast { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 14px 8px 10px; box-shadow: 0 12px 28px rgba(14, 26, 61, .12); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.k6-toast.on { opacity: 1; transform: none; }
.k6-toast svg { width: 22px; height: 22px; } .k6-toast div { display: flex; flex-direction: column; } .k6-toast b { font-size: 12.5px; } .k6-toast span { font-size: 11.5px; color: var(--muted); }

/* ---------- story right column: "How it works" for the playing tab ---------- */
.st-right { display: flex; }
.sd { width: 100%; display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px 16px; }
.sd-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sd-h span { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.sd-h b { font-size: 12px; font-weight: 800; color: var(--a); background: var(--a50, #f3f5fb); border-radius: 99px; padding: 3px 10px; }
.sd-src { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.sd-src span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; background: var(--surface-2); text-align: center; min-width: 0; }
.sd-src span > .ico, .sd-lg svg { width: 18px; height: 18px; color: var(--muted); }
.sd-lg { display: grid; place-items: center; }
.sd-src small { font-size: 11px; font-weight: 700; line-height: 1.15; color: var(--text); }
.sd-ln { display: block; width: 100%; height: 30px; overflow: visible; }
.sd-ln path { fill: none; stroke: var(--a); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .7; }
.sd-hub { align-self: center; display: inline-flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--a) 10%, #fff); border: 1.5px solid color-mix(in srgb, var(--a) 40%, transparent); border-radius: 99px; padding: 5px 14px 5px 5px; }
.sd-hub img { width: 26px; height: 26px; border-radius: 8px; }
.sd-hub b { font-size: 12.5px; white-space: nowrap; }
.sd-dn { align-self: center; display: block; width: 2px; height: 14px; background: var(--a); opacity: .7; transform-origin: top; }
.sd-card { border: 1.5px solid color-mix(in srgb, var(--a) 30%, transparent); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--a) 60%, transparent); }
.sd-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sd-ch b { font-size: 14px; } .sd-ch em { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--a); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.sd-r { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 4px 0; border-top: 1px solid var(--line-2); }
.sd-r span { color: var(--muted); } .sd-r b { font-variant-numeric: tabular-nums; }
.sd-fl { display: grid; grid-template-columns: 16px auto; column-gap: 6px; align-items: center; background: #fdf3e2; border-radius: 9px; padding: 6px 9px; color: #a5620a; }
.sd-fl .ico { width: 14px; height: 14px; grid-row: 1 / span 2; }
.sd-fl b { font-size: 12.5px; color: #8a4f06; } .sd-fl span { font-size: 11.5px; }
.sd-pts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.sd-pts span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sd-pts .ico { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; color: #fff; background: var(--a); }
/* the build: sources → lines → tool → card → flag → reasons */
.sd > *, .sd-src span, .sd-r, .sd-pts span { transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.sd:not(.go) .sd-src span, .sd:not(.go) .sd-hub, .sd:not(.go) .sd-card, .sd:not(.go) .sd-r, .sd:not(.go) .sd-fl, .sd:not(.go) .sd-pts span { opacity: 0; transform: translateY(-8px); }
.sd:not(.go) .sd-dn { transform: scaleY(0); }
.sd.go .sd-src span { transition-delay: calc(var(--i) * 110ms); }
.sd.go .sd-ln path { animation: sdLn .7s ease forwards; animation-delay: calc(450ms + var(--i) * 90ms); }
.sd.go .sd-hub { transition-delay: 1000ms; animation: sdPulse 1.2s ease 1.2s; }
.sd.go .sd-dn { transition: transform .3s ease 1300ms; }
.sd.go .sd-card { transition-delay: 1450ms; }
.sd.go .sd-r { transition-delay: calc(1650ms + var(--i) * 160ms); }
.sd.go .sd-fl { transition: opacity .45s ease 2250ms, transform .5s cubic-bezier(.2, 1.5, .4, 1) 2250ms; animation: sdFlag 1.4s ease 2700ms 2; }
.sd.go .sd-pts span { transition-delay: calc(2700ms + var(--i) * 180ms); }
@keyframes sdLn { to { stroke-dashoffset: 0; } }
@keyframes sdPulse { 40% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--a) 14%, transparent); } }
@keyframes sdFlag { 50% { box-shadow: 0 0 0 4px #f59e0b55; } }
@media (prefers-reduced-motion: reduce) { .sd *, .sd { transition: none !important; animation: none !important; } .sd-ln path { stroke-dashoffset: 0; } }
@media (max-width: 1180px) { .sd { max-width: none; } }
.k2-bin { justify-content: center; padding: 8px 0 6px; gap: 2px; }
.k2-bin b { font-size: 17px; line-height: 1.05; }
.k2-bin span { line-height: 1.1; }

/* ---------- "How it works" v2: pixel-true lines, a Without state, data that keeps flowing With ---------- */
.sd-ln { height: 34px; }
.sd-ln path { fill: none; stroke-linecap: round; vector-effect: none; }
.sd-ln path.b { stroke: var(--a); stroke-width: 1.75; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sd-ln path.f { stroke: var(--a); stroke-width: 3; opacity: 0; stroke-dasharray: .035 .2; }
.sd.go:not(.off) .sd-ln path.f { animation: sdFlow 1.6s linear infinite, sdFlowIn .3s ease forwards; animation-delay: 1.2s, 1.2s; }
@keyframes sdFlow { to { stroke-dashoffset: -.235; } }
@keyframes sdFlowIn { to { opacity: .9; } }
/* without: sources sit apart, broken grey stubs, a blank answer */
.sd.off { background: #fbfbfd; }
.sd.off .sd-h b { color: var(--muted); background: var(--surface-2); }
.sd.off .sd-ln path.b { stroke: #c3c8d4; opacity: 1; stroke-dasharray: .06 .06; stroke-dashoffset: 0; animation: none; clip-path: inset(0 0 45% 0); }
.sd.off .sd-hub { background: var(--surface-2); border: 1.5px dashed #c3c8d4; color: var(--muted); padding: 5px 14px 5px 6px; }
.sd-hx { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fdecea; color: #c5300d; }
.sd-hx .ico { width: 13px; height: 13px; }
.sd.off .sd-dn { background: repeating-linear-gradient(#c3c8d4 0 3px, transparent 3px 6px); }
.sd.off .sd-card { border: 1.5px dashed #d5d9e2; box-shadow: none; background: #fff; }
.sd.off .sd-ch em { background: var(--surface-2); color: var(--muted); }
.sd-q { display: inline-block; width: 54px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #eceef3 0, #f7f8fa 50%, #eceef3 100%); background-size: 200% 100%; animation: sdSk 1.4s linear infinite; vertical-align: middle; }
@keyframes sdSk { to { background-position: -200% 0; } }
.sd-fl.no { background: #fdecea; color: #c5300d; } .sd-fl.no b { color: #a1260a; }
.sd.off .sd-pts span { color: var(--faint); }
.sd.off .sd-pts .ico { background: #c3c8d4; }
/* without plays quicker and quieter: things arrive, but nothing connects */
.sd.go.off .sd-hub { transition-delay: 650ms; animation: sdShake .5s ease 1.1s; }
.sd.go.off .sd-card { transition-delay: 900ms; }
.sd.go.off .sd-r { transition-delay: calc(1000ms + var(--i) * 120ms); }
.sd.go.off .sd-fl { animation: none; transition-delay: 1450ms; }
.sd.go.off .sd-pts span { transition-delay: calc(1700ms + var(--i) * 120ms); }
.sd.go.off .sd-dn { transition-delay: 800ms; }
@keyframes sdShake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .sd-ln path.f, .sd-q { animation: none !important; } .sd.go:not(.off) .sd-ln path.f { opacity: .9; } }

/* ---------- Without → With hand-off: a middle split ---------- */
.st-sw { position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.st-sw-h { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 28px clamp(18px, 3vw, 40px); transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .4s ease; }
.st-sw-h.l { background: linear-gradient(160deg, #fdeeea, #fbe3dd); color: #7a2412; transform: translateX(-101%); align-items: flex-end; text-align: right; }
.st-sw-h.r { background: linear-gradient(160deg, var(--a), color-mix(in srgb, var(--a) 72%, #0e1a3d)); color: #fff; transform: translateX(101%); }
.st-sw.in .st-sw-h { transform: none; }
.st-sw.out .st-sw-h.l { transform: translateX(-101%); transition-duration: .7s; }
.st-sw.out .st-sw-h.r { transform: translateX(101%); transition-duration: .7s; transition-delay: .08s; }
.st-sw-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.st-sw-k img { width: 22px; height: 22px; border-radius: 6px; background: #fff; }
.st-sw-h.l b { font-family: var(--display); font-size: clamp(30px, 3.2vw, 48px); line-height: 1; color: #c5300d; }
.st-sw-h.l small { font-size: 14px; font-weight: 600; max-width: 260px; }
.st-sw-g { display: flex; align-items: baseline; gap: 10px; }
.st-sw-g b { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; white-space: nowrap; }
.st-sw-g small { font-size: 13.5px; font-weight: 600; opacity: .85; }
/* content lands after the halves meet */
.st-sw-h > * { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.st-sw.in .st-sw-h > * { opacity: 1; transform: none; transition-delay: .45s; }
.st-sw.in .st-sw-h.r > .st-sw-g { transition-delay: calc(.55s + var(--i) * .12s); }
.st-sw.out .st-sw-h > * { opacity: 0; transition-delay: 0s; }
/* the seam: a bright line and an arrow badge right in the middle */
.st-sw::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px 4px rgba(255, 255, 255, .8); transform: scaleY(0); transition: transform .4s ease .35s; }
.st-sw.in::after { transform: scaleY(1); }
.st-sw.out::after { transform: scaleY(0); transition-delay: 0s; transition-duration: .25s; }
.st-sw-m { position: absolute; left: 50%; top: 50%; z-index: 1; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--a); box-shadow: 0 8px 24px rgba(14, 26, 61, .25); transform: scale(0); transition: transform .45s cubic-bezier(.2, 1.6, .4, 1) .45s; }
.st-sw-m .ico { width: 20px; height: 20px; }
.st-sw.in .st-sw-m { transform: scale(1); }
.st-sw.out .st-sw-m { transform: scale(0) rotate(90deg); transition-delay: 0s; transition-duration: .3s; }
@media (max-width: 720px) { .st-sw-g { flex-direction: column; gap: 0; } .st-sw-h { padding: 18px 14px; } }
@media (prefers-reduced-motion: reduce) { .st-sw, .st-sw * { transition: none !important; } }
.st-sw-g { flex-direction: column; align-items: flex-start; gap: 0; }
.st-sw-h.r { gap: 10px; }
/* split, calmer: ~0.8 s close, content settles by ~1.6 s, readable hold, ~1 s open (real time, not sped up) */
.st-sw-h { transition: transform .85s cubic-bezier(.65, 0, .25, 1), opacity .5s ease; }
.st-sw.out .st-sw-h.l, .st-sw.out .st-sw-h.r { transition-duration: 1s; }
.st-sw.out .st-sw-h.r { transition-delay: .1s; }
.st-sw-h > * { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.st-sw.in .st-sw-h > * { transition-delay: .7s; }
.st-sw.in .st-sw-h.r > .st-sw-g { transition-delay: calc(.85s + var(--i) * .2s); }
.st-sw.out .st-sw-h > * { transition-duration: .35s; }
.st-sw::after { transition: transform .55s ease .55s; }
.st-sw-m { transition: transform .6s cubic-bezier(.2, 1.5, .4, 1) .7s; }
.st-sw.out::after { transition-duration: .35s; }
.st-sw.out .st-sw-m { transition-duration: .4s; }

/* ---------- People (live): a role in each tool ---------- */
.pp-hot { border-color: #f5c46a; background: #fffaf0; } .pp-hot b { color: #a5620a; }
.pp-bar { padding: 14px 18px; gap: 10px; align-items: center; }
.pp-t td { vertical-align: middle; }
.pp-row { cursor: pointer; transition: background .15s; } .pp-row:hover { background: #f7f9fe; }
.pp-sub { display: block; font-size: 11px; color: var(--faint); margin-top: 1px; }
.pp-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 7px; color: var(--c); background: var(--c5, #f3f5fb); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); white-space: nowrap; }
.pp-chip i { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 1px 5px; border-radius: 4px; background: #fff; color: var(--muted); }
.pp-chip.off { opacity: .45; text-decoration: line-through; }
.pp-none { color: var(--faint); font-size: 12px; }
.pp-mor { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; background: #fff4d6; color: #a5620a; vertical-align: 2px; margin-left: 2px; }
.pp-suite { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--text); }
.pp-suite.r-admin { background: #16307F; color: #fff; } .pp-suite.r-brand { background: #fdf3e2; color: #a5620a; } .pp-suite.r-viewer { background: #eef0f5; color: var(--muted); }
.pp-reqs { padding: 6px 0; border-color: #f5c46a; }
.pp-rh { display: flex; align-items: baseline; gap: 10px; padding: 10px 18px 6px; }
.pp-req { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line-2); }
.pp-req img { vertical-align: -3px; }
/* person panel + invite */
.pp-panel { gap: 6px; }
.pp-h4 { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin: 14px 0 4px; }
.pp-panel > .pp-h4:first-of-type { margin-top: 2px; }
.pp-suiteseg { width: 100%; } .pp-suiteseg button { flex: 1; } .pp-suiteseg button:disabled { opacity: .55; cursor: not-allowed; }
.pp-tools { display: flex; flex-direction: column; gap: 8px; }
.pp-tool { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.pp-tool .grow { display: flex; flex-direction: column; min-width: 0; } .pp-tool b { font-size: 13.5px; }
.pp-who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-who button { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; }
.pp-who button .ico { grid-row: span 2; color: var(--muted); } .pp-who button small { color: var(--muted); font-size: 12px; }
.pp-who button.on { border-color: var(--blue, #2F5BEA); background: #f3f6ff; } .pp-who button.on .ico { color: var(--blue, #2F5BEA); }
.pp-admin { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; align-self: end; cursor: pointer; }
.pp-admin span { display: flex; flex-direction: column; } .pp-admin small { font-size: 11.5px; color: var(--muted); }
.pp-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-brands label { cursor: pointer; } .pp-brands input { display: none; }
.pp-brands span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; }
.pp-brands input:checked + span { border-color: var(--blue, #2F5BEA); background: #f3f6ff; color: var(--blue, #2F5BEA); }
/* roles + activity */
.pp-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding: 18px; }
.pp-rc { border: 1px solid var(--line-2); border-top: 3px solid var(--c, #16307F); border-radius: 14px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.pp-rch { display: flex; align-items: center; gap: 8px; } .pp-rch img { width: 26px; height: 26px; border-radius: 8px; } .pp-rch b { font-size: 15px; }
.pp-rr { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.pp-rr b { font-size: 13px; display: flex; align-items: center; gap: 6px; } .pp-rr span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pp-side { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; background: #eef2ff; color: #2F5BEA; }
.pp-side.b { background: #fdf3e2; color: #a5620a; } .pp-side.a { background: #eef0f5; color: var(--muted); }
.pp-act { padding: 6px 18px 14px; } .pp-a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
/* a member's Home */
.pp-mh .hm-who { gap: 10px; }
.pp-mts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pp-mt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px dashed #cfd5e2; border-radius: 14px; background: #fbfcfe; }
.pp-mt .grow { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; } .pp-mt b { font-size: 15px; } .pp-mt small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.pp-mt img { flex: none; filter: grayscale(.85); opacity: .7; }
.pp-mt.on { border: 1.5px solid color-mix(in srgb, var(--c) 35%, transparent); background: linear-gradient(160deg, var(--c5), #fff 60%); }
.pp-mt.on img { filter: none; opacity: 1; }
.pp-mbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-mbs > span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 900px) { .pp-mts, .pp-who { grid-template-columns: 1fr; } .pp-req { flex-wrap: wrap; } }
.pp-t th img, .pp-req img, .pp-tool img, .pp-mt img, .pp-rch img { display: inline-block; }
.pp-t th img, .pp-req .small img { vertical-align: -3px; margin-right: 2px; }
.pp-req .small { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
@media (min-width: 1200px) { .pp-roles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pp-mh .hm-go, .pp-mh > .xs { margin-left: auto; }

/* dashboard: a tool hasn't sent numbers yet */
.db-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:28px 12px;text-align:center;color:var(--muted,#64748b)}
.db-empty img{width:28px;height:28px;opacity:.8;margin-bottom:4px}
.db-empty b{color:var(--ink,#0f172a);font-size:14px}
.db-empty span{font-size:12.5px}
.cw-th.img .cw-fr,.cw-th.img .cw-cap{visibility:hidden}
