/* ============================================================================
   OPTMIN — OptMins Labs Pvt. Ltd. | Shared stylesheet
   Theme: dark AI-native, indigo-violet brand ramp. Light + dark modes.
   ========================================================================= */

:root {
  --bg: 248 248 251;
  --surface: 255 255 255;
  --elevated: 242 242 248;
  --fg: 17 16 26;
  --fg2: 68 66 84;
  --fg3: 112 110 130;
  --edge: 226 225 237;
  --edge2: 198 196 216;
  --brand: 99 91 224;       /* #635BE0 indigo-violet */
  --brand2: 124 108 246;    /* #7C6CF6 */
  --brand3: 79 70 229;      /* #4F46E5 deep indigo */
  --brand4: 67 56 202;      /* #4338CA */
  --success: 5 150 105;
  --grid: 17 16 26;
  --grid-a: 0.05;
  --e1: 0 1px 2px -1px rgb(24 20 50 / .06), 0 2px 8px -2px rgb(24 20 50 / .07);
  --e2: 0 2px 4px -2px rgb(24 20 50 / .07), 0 10px 24px -6px rgb(24 20 50 / .10);
  --e3: 0 6px 14px -6px rgb(24 20 50 / .10), 0 20px 48px -12px rgb(24 20 50 / .14);
  --e4: 0 10px 24px -10px rgb(24 20 50 / .12), 0 36px 72px -18px rgb(24 20 50 / .20);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
html.dark {
  --bg: 10 10 16;          /* #0A0A10 deep ink */
  --surface: 19 18 28;     /* #13121C */
  --elevated: 28 26 41;    /* #1C1A29 */
  --fg: 240 239 248;
  --fg2: 176 172 196;
  --fg3: 132 128 154;
  --edge: 42 40 58;
  --edge2: 66 62 88;
  --brand: 139 124 246;    /* #8B7CF6 */
  --brand2: 167 139 250;   /* #A78BFA */
  --brand3: 129 140 248;   /* #818CF8 */
  --brand4: 108 92 231;    /* #6C5CE7 (the attached badge color) */
  --success: 16 185 129;
  --grid: 255 255 255;
  --grid-a: 0.045;
  --e1: 0 1px 2px -1px rgb(0 0 0 / .5), 0 2px 10px -2px rgb(0 0 0 / .5);
  --e2: 0 2px 4px -2px rgb(0 0 0 / .55), 0 12px 28px -6px rgb(0 0 0 / .6);
  --e3: 0 6px 16px -6px rgb(0 0 0 / .6), 0 24px 56px -12px rgb(0 0 0 / .7);
  --e4: 0 12px 28px -10px rgb(0 0 0 / .65), 0 44px 88px -18px rgb(0 0 0 / .8);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: rgb(var(--bg)); color: rgb(var(--fg));
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; line-height: 1.5;
}
::selection { background: rgb(var(--brand2) / .35); color: rgb(var(--fg)); }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
h1, h2, h3, .display { font-family: "Sora", Inter, sans-serif; letter-spacing: -.02em; }

/* ── layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.head { max-width: 660px; margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; line-height: 1.05; margin-top: 18px; }
.head p { margin-top: 16px; font-size: 1.125rem; color: rgb(var(--fg2)); }
.divide-t { border-top: 1px solid rgb(var(--edge) / .6); }
.divide-y { border-top: 1px solid rgb(var(--edge) / .6); border-bottom: 1px solid rgb(var(--edge) / .6); }
.bg-soft { background: rgb(var(--elevated) / .45); }

/* ── effects ── */
.grad-text {
  background-image: linear-gradient(110deg, rgb(var(--brand)), rgb(var(--brand2)), rgb(var(--brand3)), rgb(var(--brand4)), rgb(var(--brand2)));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pan 6s ease infinite;
}
@keyframes pan { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgb(var(--brand) / .3); background: rgb(var(--brand) / .1);
  color: rgb(var(--brand)); padding: 5px 13px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  backdrop-filter: blur(6px);
}
html:not(.dark) .eyebrow { color: rgb(var(--brand3)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; font-weight: 700; cursor: pointer; border: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .2s; font-family: inherit; }
.btn:active { transform: scale(.98); }
.btn-primary { background-image: linear-gradient(95deg, #4f46e5, #6c5ce7); color: #fff; box-shadow: 0 0 0 1px rgb(var(--brand) / .25), 0 12px 40px -8px rgb(var(--brand) / .5); }
html.dark .btn-primary { background-image: linear-gradient(95deg, #7c6cf6, #a78bfa); color: #14101f; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgb(var(--surface) / .4); color: rgb(var(--fg2)); border: 1px solid rgb(var(--edge2) / .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgb(var(--brand) / .45); color: rgb(var(--fg)); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 100%; transform: translateX(-150%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .45), transparent); }
.shine:hover::after { animation: shimmer .9s var(--ease); }
@keyframes shimmer { 100% { transform: translateX(180%) skewX(-20deg); } }

.card { position: relative; border: 1px solid rgb(var(--edge) / .7); background: rgb(var(--surface) / .55); border-radius: 22px; backdrop-filter: blur(14px); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.card:hover { transform: translateY(-5px); border-color: rgb(var(--brand) / .45); box-shadow: var(--e3); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgb(var(--brand) / .15), transparent 60%); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.card:hover::after { opacity: 1; }
.iconbox { display: inline-flex; padding: 12px; border-radius: 14px; box-shadow: var(--e1); transition: transform .3s var(--ease); }
.card:hover .iconbox { transform: scale(1.1) rotate(-3deg); }
.iconbox .icon { color: #fff; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.fu { opacity: 0; transform: translateY(24px); animation: fadeup .8s var(--ease) forwards; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

.band-dark {
  --bg: 10 10 16; --surface: 19 18 28; --elevated: 28 26 41;
  --fg: 240 239 248; --fg2: 176 172 196; --fg3: 132 128 154;
  --edge: 42 40 58; --edge2: 66 62 88;
  --brand: 139 124 246; --brand2: 167 139 250; --brand3: 129 140 248; --brand4: 108 92 231;
  --success: 16 185 129; --grid: 255 255 255; --grid-a: .045;
  background: rgb(var(--bg)); color: rgb(var(--fg));
  position: relative; isolation: isolate; overflow: hidden;
}
.band-dark .eyebrow { color: rgb(var(--brand)); }
.glow-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(var(--grid) / var(--grid-a)) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--grid) / var(--grid-a)) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%);
}
.glow-blob {
  position: absolute; left: 50%; top: -10%; z-index: -1; pointer-events: none;
  height: 560px; width: 900px; max-width: 120%; transform: translateX(-50%);
  border-radius: 999px; filter: blur(130px);
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--brand) / .3), transparent 70%);
}

/* ── header ── */
header.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(var(--edge) / .6); background: rgb(var(--bg) / .72); backdrop-filter: blur(14px) saturate(1.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background-image: linear-gradient(135deg, rgb(var(--brand)), rgb(var(--brand2))); color: #fff; font-size: .95rem; box-shadow: var(--e1); }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { font-size: .92rem; font-weight: 500; color: rgb(var(--fg2)); transition: color .2s; }
.nav-links a:hover { color: rgb(var(--fg)); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgb(var(--edge) / .7); background: rgb(var(--surface) / .5); color: rgb(var(--fg2)); cursor: pointer; transition: color .2s, border-color .2s; }
.iconbtn:hover { color: rgb(var(--fg)); border-color: rgb(var(--brand) / .4); }
.nav-contact { display: none; font-size: .92rem; font-weight: 600; color: rgb(var(--fg2)); }
.nav-contact:hover { color: rgb(var(--fg)); }
.menu-toggle { display: inline-grid; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-contact { display: inline; } .menu-toggle { display: none; } }
.mobile-menu { display: none; border-top: 1px solid rgb(var(--edge) / .6); background: rgb(var(--bg) / .96); backdrop-filter: blur(14px); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 500; color: rgb(var(--fg2)); border-bottom: 1px solid rgb(var(--edge) / .5); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── hero ── */
.hero { position: relative; isolation: isolate; padding-top: 60px; padding-bottom: 80px; }
@media (min-width: 640px) { .hero { padding-top: 84px; } }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; margin-top: 26px; }
.hero .sub { max-width: 640px; margin: 22px auto 0; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgb(var(--fg2)); line-height: 1.55; }
.hero .sub b { color: rgb(var(--fg)); font-weight: 600; }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.hero-cta .btn { width: 100%; max-width: 320px; }
@media (min-width: 560px) { .hero-cta { flex-direction: row; } .hero-cta .btn { width: auto; } }
.trustline { margin-top: 20px; font-size: .88rem; color: rgb(var(--fg3)); }

/* ── product console ── */
.console-wrap { position: relative; max-width: 960px; margin: 56px auto 0; }
.console-wrap .haze { position: absolute; inset: -40px -40px 0; z-index: -1; filter: blur(60px); background: radial-gradient(60% 60% at 50% 30%, rgb(var(--brand) / .38), transparent 70%); pointer-events: none; }
.console { border: 1px solid rgb(var(--edge2) / .6); border-radius: 18px; background: rgb(var(--surface) / .85); box-shadow: var(--e4); overflow: hidden; backdrop-filter: blur(12px); }
.console .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgb(var(--edge) / .7); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.console .bar .tab { margin-left: 14px; font-size: .8rem; color: rgb(var(--fg3)); font-weight: 500; }
.console-body { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px; }
@media (min-width: 720px) { .console-body { grid-template-columns: 1.4fr 1fr; } }
.panel { border: 1px solid rgb(var(--edge) / .6); border-radius: 14px; background: rgb(var(--bg) / .5); padding: 16px; }
.panel .ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel .ph .t { font-size: .82rem; font-weight: 600; }
.pill-ok { background: rgb(var(--success) / .15); color: rgb(var(--success)); font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-top: 6px; }
.bars span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(to top, rgb(var(--brand) / .35), rgb(var(--brand))); }
.lines { display: flex; flex-direction: column; gap: 11px; }
.lineitem { display: flex; gap: 9px; font-size: .8rem; color: rgb(var(--fg2)); align-items: flex-start; }
.lineitem .bullet { margin-top: 6px; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--brand)); flex: none; }
.kpi { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgb(var(--edge) / .6); font-size: .82rem; }
.kpi:last-child { border-bottom: none; }
.kpi b { font-family: "Sora"; }
.kpi .down { color: rgb(var(--success)); font-weight: 700; }

/* ── marquee ── */
.marquee-band { padding: 30px 0; border-bottom: 1px solid rgb(var(--edge) / .6); }
.marquee-label { text-align: center; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: rgb(var(--fg3)); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.marquee .track span { font-family: "Sora"; font-weight: 600; font-size: 1.1rem; color: rgb(var(--fg3) / .8); white-space: nowrap; transition: color .2s; }
.marquee .track span:hover { color: rgb(var(--fg)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid rgb(var(--edge) / .6); background: rgb(var(--edge) / .3); border-radius: 26px; overflow: hidden; backdrop-filter: blur(12px); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgb(var(--surface) / .5); padding: 32px 20px; text-align: center; }
.stat .num { font-family: "Sora"; font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); }
.stat .lab { margin-top: 8px; font-size: .9rem; font-weight: 600; }
.stat .sub { margin-top: 4px; font-size: .76rem; color: rgb(var(--fg3)); }
.stats-note { margin-top: 16px; text-align: center; font-size: .78rem; color: rgb(var(--fg3)); }

/* ── grids ── */
.grid3 { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 768px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.bento { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.feat { padding: 26px; height: 100%; }
.feat h3 { font-size: 1.18rem; font-weight: 600; margin-top: 18px; }
.feat p { margin-top: 10px; font-size: .92rem; color: rgb(var(--fg2)); line-height: 1.6; }
.tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; border: 1px solid rgb(var(--brand) / .25); background: rgb(var(--brand) / .1); color: rgb(var(--brand)); padding: 5px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
html:not(.dark) .tag { color: rgb(var(--brand3)); }
.wide .feat-inner { display: flex; flex-direction: column; gap: 22px; height: 100%; }
@media (min-width: 1024px) { .wide .feat-inner { flex-direction: row; align-items: center; } .wide .feat-inner .txt { max-width: 19rem; } .wide .feat-inner .viz { flex: 1; } }
.mini { border: 1px solid rgb(var(--edge) / .5); border-radius: 14px; background: rgb(var(--bg) / .5); padding: 14px; text-align: left; }
.mini .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mini .mh .t { font-size: .75rem; font-weight: 600; }
.flowstep { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.flowstep .n { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; flex: none; }
.flowstep .lab { flex: 1; border: 1px solid rgb(var(--edge) / .5); background: rgb(var(--surface) / .6); padding: 7px 11px; border-radius: 10px; font-size: .78rem; color: rgb(var(--fg2)); }

/* ── differentiator before/after ── */
.ba { margin-top: 56px; border: 1px solid rgb(var(--edge) / .6); border-radius: 24px; overflow: hidden; background: rgb(var(--surface) / .4); backdrop-filter: blur(12px); }
.ba-row { display: grid; grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid rgb(var(--edge) / .6); }
.ba-row:last-child { border-bottom: none; }
@media (min-width: 820px) { .ba-row { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.ba-head { background: rgb(var(--elevated) / .6); }
.ba-cell { padding: 18px 22px; border-right: 1px solid rgb(var(--edge) / .5); display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.ba-cell:last-child { border-right: none; }
@media (max-width: 819px) { .ba-cell { border-right: none; border-bottom: 1px solid rgb(var(--edge) / .4); } .ba-row:last-child .ba-cell:last-child { border-bottom: none; } }
.ba-q { font-weight: 600; color: rgb(var(--fg)); }
.ba-head .ba-cell { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgb(var(--fg3)); }
.ba-bad { color: rgb(var(--fg3)); }
.ba-bad .icon { color: rgb(var(--fg3)); flex: none; }
.ba-good { color: rgb(var(--fg)); font-weight: 500; }
.ba-good .icon { color: rgb(var(--brand)); flex: none; }
.ba-head .ba-good { color: rgb(var(--brand)); }

/* ── steps ── */
.steps { position: relative; display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .rail { position: absolute; left: 16%; right: 16%; top: 48px; height: 1px; background: linear-gradient(to right, transparent, rgb(var(--brand) / .4), transparent); display: none; }
@media (min-width: 768px) { .steps .rail { display: block; } }
.step { position: relative; border: 1px solid rgb(var(--edge) / .6); background: rgb(var(--surface) / .6); border-radius: 20px; padding: 26px; backdrop-filter: blur(12px); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); border-color: rgb(var(--brand) / .45); box-shadow: var(--e3); }
.step .top { display: flex; justify-content: space-between; align-items: center; }
.step .badge { display: inline-flex; padding: 12px; border-radius: 14px; border: 1px solid rgb(var(--brand) / .25); background: rgb(var(--brand) / .1); color: rgb(var(--brand)); }
.step .no { font-family: "Sora"; font-size: 3rem; font-weight: 700; color: rgb(var(--edge2) / .7); }
.step h3 { margin-top: 18px; font-size: 1.12rem; font-weight: 600; }
.step p { margin-top: 10px; font-size: .92rem; color: rgb(var(--fg2)); line-height: 1.6; }

/* ── loop ── */
.loop { position: relative; margin-top: 56px; }
.loop .rail { position: absolute; left: 10%; right: 10%; top: 28px; height: 1px; background: linear-gradient(to right, transparent, rgb(var(--brand) / .4), transparent); display: none; }
@media (min-width: 768px) { .loop .rail { display: block; } }
.loop .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (min-width: 768px) { .loop .row { grid-template-columns: repeat(5, 1fr); } }
.loopstep { text-align: center; }
.loopstep .ic { margin: 0 auto; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; border: 1px solid rgb(var(--brand) / .3); background: rgb(var(--surface) / .7); color: rgb(var(--brand)); box-shadow: var(--e2); backdrop-filter: blur(12px); }
.loopstep .tt { margin-top: 12px; font-family: "Sora"; font-size: .9rem; font-weight: 600; }
.loopstep .dd { margin: 4px auto 0; max-width: 12rem; font-size: .78rem; color: rgb(var(--fg3)); }

/* ── compact security strip ── */
.sec-strip { margin-top: 48px; border: 1px solid rgb(var(--edge) / .6); border-radius: 22px; background: rgb(var(--surface) / .5); backdrop-filter: blur(12px); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: center; }
.sec-item { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: rgb(var(--fg2)); }
.sec-item .icon { width: 18px; height: 18px; color: rgb(var(--brand)); flex: none; }
.sec-sep { width: 1px; height: 18px; background: rgb(var(--edge2) / .6); display: none; }
@media (min-width: 900px) { .sec-sep { display: block; } }

/* ── pricing ── */
.price-grid { display: grid; gap: 22px; margin-top: 56px; align-items: stretch; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; display: flex; flex-direction: column; border: 1px solid rgb(var(--edge) / .6); background: rgb(var(--surface) / .55); border-radius: 26px; padding: 28px; backdrop-filter: blur(12px); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.tier:hover { transform: translateY(-6px); border-color: rgb(var(--brand) / .35); box-shadow: var(--e3); }
.tier.hot { border-color: rgb(var(--brand) / .5); box-shadow: 0 0 0 1px rgb(var(--brand) / .25), 0 12px 40px -8px rgb(var(--brand) / .5); }
@media (min-width: 1024px) { .tier.hot { transform: translateY(-14px); } .tier.hot:hover { transform: translateY(-20px); } }
.tier .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); border-radius: 999px; padding: 5px 14px; font-size: .72rem; font-weight: 700; background-image: linear-gradient(95deg, #4f46e5, #6c5ce7); color: #fff; box-shadow: var(--e2); white-space: nowrap; }
html.dark .tier .ribbon { background-image: linear-gradient(95deg, #7c6cf6, #a78bfa); color: #14101f; }
.tier h3 { font-size: 1.15rem; font-weight: 600; }
.tier .blurb { margin-top: 5px; font-size: .9rem; color: rgb(var(--fg3)); }
.tier .price { margin-top: 20px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.tier .price .amt { font-family: "Sora"; font-size: 2.2rem; font-weight: 700; }
.tier .price .cad { font-size: .9rem; color: rgb(var(--fg3)); }
.tier ul { list-style: none; margin-top: 24px; flex: 1; display: flex; flex-direction: column; gap: 13px; }
.tier li { display: flex; gap: 10px; font-size: .92rem; color: rgb(var(--fg2)); align-items: flex-start; }
.tier li .chk { color: rgb(var(--success)); flex: none; margin-top: 1px; width: 18px; height: 18px; }
.tier .btn { margin-top: 28px; }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid rgb(var(--edge) / .6); border-radius: 16px; background: rgb(var(--surface) / .5); backdrop-filter: blur(12px); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .25s var(--ease); color: rgb(var(--fg3)); flex: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 18px; font-size: .94rem; color: rgb(var(--fg2)); line-height: 1.65; }

/* ── final cta ── */
.cta { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid rgb(var(--brand) / .3); padding: 64px 24px; text-align: center; box-shadow: var(--e4); }
.cta .bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(110deg, #4338ca, #4f46e5, #6c5ce7, #4f46e5); background-size: 250% 100%; animation: pan 6s ease infinite; }
.cta .vig { position: absolute; inset: 0; z-index: -1; opacity: .4; background: radial-gradient(60% 80% at 50% 0%, #fff, transparent 70%); }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; color: #fff; line-height: 1.05; }
.cta p { margin: 16px auto 0; max-width: 36rem; font-size: 1.1rem; color: rgb(255 255 255 / .9); }
.cta-btns { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
@media (min-width: 560px) { .cta-btns { flex-direction: row; } }
.cta .btn-white { background: #fff; color: #4f46e5; box-shadow: var(--e2); }
.cta .btn-white:hover { transform: translateY(-2px); }
.cta .btn-outline { background: transparent; border: 1px solid rgb(255 255 255 / .5); color: #fff; }
.cta .btn-outline:hover { background: rgb(255 255 255 / .1); }

/* ── forms (demo / contact) ── */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .form-layout { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.form-aside h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.05; margin-top: 18px; }
.form-aside p.lead { margin-top: 18px; font-size: 1.1rem; color: rgb(var(--fg2)); line-height: 1.6; }
.aside-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.aside-list li { display: flex; gap: 13px; align-items: flex-start; }
.aside-list .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid rgb(var(--brand) / .25); background: rgb(var(--brand) / .1); color: rgb(var(--brand)); }
.aside-list .tt { font-weight: 600; font-size: .98rem; }
.aside-list .dd { font-size: .9rem; color: rgb(var(--fg3)); margin-top: 2px; line-height: 1.5; }
.contact-direct { margin-top: 30px; padding: 18px 20px; border: 1px solid rgb(var(--edge) / .6); border-radius: 16px; background: rgb(var(--surface) / .5); font-size: .92rem; color: rgb(var(--fg2)); }
.contact-direct a { color: rgb(var(--brand)); font-weight: 600; }
html:not(.dark) .contact-direct a { color: rgb(var(--brand3)); }

.form-card { border: 1px solid rgb(var(--edge) / .7); background: rgb(var(--surface) / .6); border-radius: 26px; padding: 30px; backdrop-filter: blur(14px); box-shadow: var(--e3); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: rgb(var(--fg2)); }
.field label .req { color: rgb(var(--brand)); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: rgb(var(--fg));
  background: rgb(var(--bg) / .6); border: 1px solid rgb(var(--edge2) / .6); border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgb(var(--fg3)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgb(var(--brand) / .6); box-shadow: 0 0 0 3px rgb(var(--brand) / .18); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { margin-top: 8px; font-size: .8rem; color: rgb(var(--fg3)); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgb(var(--success) / .12); color: rgb(var(--success)); border: 1px solid rgb(var(--success) / .3); }
.form-status.err { background: rgb(220 38 38 / .12); color: rgb(248 113 113); border: 1px solid rgb(220 38 38 / .3); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: rgb(220 38 38 / .6); }

/* ── footer ── */
footer.site { padding: 64px 0 40px; border-top: 1px solid rgb(var(--edge) / .6); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgb(var(--fg3)); font-weight: 600; margin-bottom: 16px; }
.foot-col a { display: block; font-size: .92rem; color: rgb(var(--fg2)); margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: rgb(var(--fg)); }
.foot-blurb { margin-top: 16px; font-size: .9rem; color: rgb(var(--fg3)); max-width: 22rem; line-height: 1.6; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(var(--edge) / .6); display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; font-size: .82rem; color: rgb(var(--fg3)); }
@media (min-width: 640px) { .foot-bottom { flex-direction: row; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .fu { opacity: 1 !important; transform: none !important; }
}

/* ===========================================================================
   v2 — feature pages, FinOps framework, animations, illustrations
   ======================================================================== */

/* refined type rhythm */
body { letter-spacing: -0.005em; }
h1, h2, h3 { letter-spacing: -0.028em; }

/* ── nav dropdown (Platform mega-menu) ── */
.has-drop { position: relative; }
.drop-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 500; color: rgb(var(--fg2)); font-family: inherit; }
.drop-btn:hover, .has-drop[data-open="true"] .drop-btn { color: rgb(var(--fg)); }
.drop-btn .chev { transition: transform .25s var(--ease); width: 15px; height: 15px; }
.has-drop[data-open="true"] .drop-btn .chev { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(620px, 90vw); background: rgb(var(--surface)); border: 1px solid rgb(var(--edge)); border-radius: 20px; box-shadow: var(--e4); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 60; }
.has-drop[data-open="true"] .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drop-item { display: flex; gap: 12px; padding: 12px; border-radius: 13px; transition: background .18s; }
.drop-item:hover { background: rgb(var(--brand) / .08); }
.drop-item .di { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.drop-item .di .icon { width: 18px; height: 18px; }
.drop-item .dt { display: block; font-size: .9rem; font-weight: 600; color: rgb(var(--fg)); }
.drop-item .dd { display: block; font-size: .78rem; color: rgb(var(--fg3)); margin-top: 2px; line-height: 1.4; }
/* invisible hover bridge so moving from the button to the panel doesn't close it */
.has-drop[data-open="true"]::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }

/* ── generic page hero (feature/inner pages) ── */
.phero { position: relative; isolation: isolate; padding: 64px 0 56px; }
.phero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .phero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; line-height: 1.04; margin-top: 18px; }
.phero .lead { margin-top: 18px; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: rgb(var(--fg2)); line-height: 1.6; max-width: 38rem; }
.phero .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs { font-size: .82rem; color: rgb(var(--fg3)); display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: rgb(var(--fg)); }
.crumbs .sep { opacity: .5; }

/* ── illustration frame ── */
.illo { position: relative; border: 1px solid rgb(var(--edge) / .7); border-radius: 22px; background: rgb(var(--surface) / .6); backdrop-filter: blur(12px); box-shadow: var(--e3); overflow: hidden; }
.illo-pad { padding: 22px; }
.illo svg { width: 100%; height: auto; display: block; }
.illo .glowdot { position: absolute; border-radius: 999px; filter: blur(48px); opacity: .5; z-index: 0; pointer-events: none; }

/* animated floating */
.float { animation: float 7s var(--ease) infinite; }
.float-2 { animation: float 9s var(--ease) infinite; animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.orbit { animation: spin 26s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-soft { animation: pulseSoft 3.5s var(--ease) infinite; }
@keyframes pulseSoft { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.dash { stroke-dasharray: 6 8; animation: dashmove 1.4s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -28; } }

/* tilt (JS-driven) */
.tilt { transition: transform .25s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ── value props / chips row ── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgb(var(--edge2) / .6); background: rgb(var(--surface) / .5); font-size: .82rem; font-weight: 500; color: rgb(var(--fg2)); }
.chip .icon { width: 15px; height: 15px; color: rgb(var(--brand)); }

/* ── split feature rows ── */
.splits { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; }
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split.rev .s-text { order: 2; } }
.split .s-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.split .s-text p { margin-top: 12px; color: rgb(var(--fg2)); line-height: 1.65; font-size: 1.02rem; }
.s-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.s-list li { display: flex; gap: 10px; font-size: .95rem; color: rgb(var(--fg2)); }
.s-list li .icon { width: 18px; height: 18px; color: rgb(var(--brand)); flex: none; margin-top: 2px; }

/* ── sub-feature grid (mega categories) ── */
.cat { margin-top: 40px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-head .badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--e1); }
.cat-head h3 { font-size: 1.4rem; font-weight: 700; }
.cat-head .sub { font-size: .9rem; color: rgb(var(--fg3)); margin-top: 1px; }
.cat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: 1fr 1fr 1fr; } }
.subcard { display: flex; gap: 13px; padding: 18px; border: 1px solid rgb(var(--edge) / .65); border-radius: 16px; background: rgb(var(--surface) / .5); backdrop-filter: blur(10px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.subcard:hover { transform: translateY(-3px); border-color: rgb(var(--brand) / .4); box-shadow: var(--e2); }
.subcard .si { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgb(var(--brand) / .22); background: rgb(var(--brand) / .1); color: rgb(var(--brand)); }
.subcard .si .icon { width: 18px; height: 18px; }
.subcard .st { font-weight: 600; font-size: .96rem; }
.subcard .sd { font-size: .82rem; color: rgb(var(--fg3)); margin-top: 3px; line-height: 1.45; }

/* ── SEE / KNOW / ACT pillars ── */
.skacta { display: grid; gap: 18px; margin-top: 50px; }
@media (min-width: 880px) { .skacta { grid-template-columns: repeat(3, 1fr); } }
.pillar { border: 1px solid rgb(var(--edge) / .65); border-radius: 22px; padding: 26px; background: rgb(var(--surface) / .5); backdrop-filter: blur(12px); position: relative; overflow: hidden; }
.pillar .ph-num { font-family: "Sora"; font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: rgb(var(--brand)); }
.pillar h3 { font-size: 1.5rem; font-weight: 700; margin-top: 6px; }
.pillar p { font-size: .92rem; color: rgb(var(--fg2)); margin-top: 8px; line-height: 1.55; }
.pillar ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.pillar li { display: flex; gap: 9px; font-size: .88rem; color: rgb(var(--fg2)); align-items: flex-start; }
.pillar li .icon { width: 16px; height: 16px; color: rgb(var(--brand)); flex: none; margin-top: 2px; }

/* ── persona grid ── */
.persona-grid { display: grid; gap: 16px; margin-top: 50px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .persona-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }
.persona { border: 1px solid rgb(var(--edge) / .65); border-radius: 18px; padding: 22px; background: rgb(var(--surface) / .5); backdrop-filter: blur(10px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.persona:hover { transform: translateY(-4px); border-color: rgb(var(--brand) / .4); box-shadow: var(--e3); }
.persona .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.persona h3 { font-size: 1.1rem; font-weight: 600; }
.persona .role { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: rgb(var(--brand)); font-weight: 700; margin-top: 2px; }
.persona p { font-size: .88rem; color: rgb(var(--fg2)); margin-top: 10px; line-height: 1.55; }
.persona .pwant { margin-top: 12px; font-size: .82rem; color: rgb(var(--fg3)); border-top: 1px solid rgb(var(--edge) / .5); padding-top: 10px; }
.persona .pwant b { color: rgb(var(--fg2)); font-weight: 600; }
.allied { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.allied .a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgb(var(--edge2) / .6); background: rgb(var(--surface) / .5); font-size: .86rem; font-weight: 500; color: rgb(var(--fg2)); }
.allied .a .icon { width: 16px; height: 16px; color: rgb(var(--brand)); }

/* ── FinOps domains (circular / quad) ── */
.domains { display: grid; gap: 18px; margin-top: 50px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .domains { grid-template-columns: 1fr 1fr; } }
.domain { position: relative; border: 1px solid rgb(var(--edge) / .65); border-radius: 22px; padding: 26px; background: rgb(var(--surface) / .5); backdrop-filter: blur(12px); overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.domain:hover { transform: translateY(-4px); border-color: rgb(var(--brand) / .4); box-shadow: var(--e3); }
.domain .dnum { position: absolute; top: 18px; right: 22px; font-family: "Sora"; font-size: 3.4rem; font-weight: 700; color: rgb(var(--brand) / .12); line-height: 1; }
.domain .di { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.domain h3 { font-size: 1.25rem; font-weight: 700; }
.domain p { font-size: .9rem; color: rgb(var(--fg2)); margin-top: 8px; line-height: 1.55; }
.domain .caps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.domain .caps span { font-size: .76rem; padding: 5px 11px; border-radius: 999px; border: 1px solid rgb(var(--edge2) / .6); color: rgb(var(--fg2)); background: rgb(var(--bg) / .4); }

/* ── comparison table ── */
.cmp { margin-top: 50px; border: 1px solid rgb(var(--edge) / .6); border-radius: 22px; overflow: hidden; background: rgb(var(--surface) / .4); backdrop-filter: blur(12px); }
.cmp-row { display: grid; grid-template-columns: 1.6fr .7fr .7fr; border-bottom: 1px solid rgb(var(--edge) / .55); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row > div { padding: 15px 18px; display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.cmp-row .c-mid { border-left: 1px solid rgb(var(--edge) / .5); border-right: 1px solid rgb(var(--edge) / .5); justify-content: center; color: rgb(var(--fg3)); }
.cmp-row .c-us { justify-content: center; }
.cmp-head { background: rgb(var(--elevated) / .6); }
.cmp-head > div { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: rgb(var(--fg3)); }
.cmp-head .c-us { color: rgb(var(--brand)); }
.cap-name { font-weight: 500; color: rgb(var(--fg)); }
.c-us .icon { width: 19px; height: 19px; color: rgb(var(--brand)); }
.c-no { color: rgb(var(--fg3)); font-size: 1.1rem; }

/* ── savings / ROI table ── */
.roi { display: grid; gap: 16px; margin-top: 50px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .roi { grid-template-columns: repeat(3, 1fr); } }
.roi-card { text-align: center; border: 1px solid rgb(var(--edge) / .65); border-radius: 22px; padding: 30px 22px; background: rgb(var(--surface) / .5); backdrop-filter: blur(12px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.roi-card:hover { transform: translateY(-5px); border-color: rgb(var(--brand) / .4); box-shadow: var(--e3); }
.roi-card .spend { font-size: .82rem; color: rgb(var(--fg3)); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.roi-card .amt { font-family: "Sora"; font-size: 2.1rem; font-weight: 700; margin-top: 8px; }
.roi-card .save { font-family: "Sora"; font-size: 2.4rem; font-weight: 700; margin-top: 14px; }
.roi-card .save .grad-text { display: inline; }
.roi-card .saveLab { font-size: .82rem; color: rgb(var(--fg3)); margin-top: 4px; }
.roi-arrow { color: rgb(var(--brand)); margin: 8px auto; width: 22px; height: 22px; }

/* small reveal helper for inner pages already covered by .reveal */

/* ===========================================================================
   v3 — glassier surfaces, highlights, and more visible decorative numbers
   ======================================================================== */
:root { --glass-hi: rgba(255,255,255,.75); --glass-sheen: rgba(255,255,255,.55); }
html.dark { --glass-hi: rgba(255,255,255,.09); --glass-sheen: rgba(255,255,255,.05); }

/* stronger frosted blur + saturation on all glass surfaces */
.card, .domain, .pillar, .persona, .subcard, .step, .sec, .roi-card, .tier,
.illo, .form-card, .stats, .console, .drop-panel, .mini, .panel, .sec-strip, .ba, .cmp {
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
}

/* top-edge highlight (the glassy sheen) — base state */
.card, .domain, .pillar, .persona, .subcard, .step, .sec, .roi-card {
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.illo, .form-card { box-shadow: var(--e3), inset 0 1px 0 var(--glass-hi); }

/* keep the sheen when these lift on hover */
.card:hover, .domain:hover, .persona:hover, .subcard:hover,
.step:hover, .sec:hover, .roi-card:hover, .tier:hover {
  box-shadow: var(--e3), inset 0 1px 0 var(--glass-hi);
}
.tier.hot { box-shadow: 0 0 0 1px rgb(var(--brand) / .25), 0 12px 40px -8px rgb(var(--brand) / .5), inset 0 1px 0 var(--glass-hi); }

/* soft diagonal sheen across larger glass cards */
.domain, .pillar, .illo, .form-card, .roi-card { position: relative; }
.domain::after, .pillar::after, .roi-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--glass-sheen), transparent 42%);
  opacity: .7; z-index: 0;
}
.domain > *, .pillar > *, .roi-card > * { position: relative; z-index: 1; }

/* decorative numbers — now clearly visible in both themes */
.domain .dnum { color: transparent; background-image: linear-gradient(160deg, rgb(var(--brand) / .55), rgb(var(--brand) / .12)); -webkit-background-clip: text; background-clip: text; opacity: 1; }
html:not(.dark) .domain .dnum { background-image: linear-gradient(160deg, rgb(var(--brand3) / .4), rgb(var(--brand3) / .12)); }

/* brighter primary-button glow + subtle inner highlight (extra "highlight") */
.btn-primary { box-shadow: 0 0 0 1px rgb(var(--brand) / .3), 0 10px 34px -8px rgb(var(--brand) / .55), inset 0 1px 0 rgba(255,255,255,.25); }

/* ===========================================================================
   v5 — challenges→solutions, outcome bands, blueprint grid, hero chips,
   reality stats, why-choose. Used by feature pages + enriched landing.
   ======================================================================== */
.chal-grid { display:grid; gap:18px; margin-top:48px; grid-template-columns:1fr; }
@media (min-width:780px){ .chal-grid{ grid-template-columns:1fr 1fr; } }
.chal { position:relative; border:1px solid rgb(var(--edge)/.65); border-radius:20px; padding:24px; background:rgb(var(--surface)/.5); -webkit-backdrop-filter:blur(20px) saturate(1.4); backdrop-filter:blur(20px) saturate(1.4); box-shadow:inset 0 1px 0 var(--glass-hi); transition:transform .25s var(--ease),border-color .25s,box-shadow .25s; }
.chal:hover { transform:translateY(-4px); border-color:rgb(var(--brand)/.4); box-shadow:var(--e3),inset 0 1px 0 var(--glass-hi); }
.chal .clabel { display:inline-flex; align-items:center; gap:8px; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:rgb(var(--fg3)); }
.chal .clabel .x { display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:rgb(248 113 113 /.15); color:rgb(248 113 113); }
.chal h3 { font-size:1.12rem; font-weight:600; margin-top:11px; }
.chal .cp { margin-top:8px; font-size:.92rem; color:rgb(var(--fg2)); line-height:1.55; }
.chal .ans { margin-top:16px; padding-top:16px; border-top:1px solid rgb(var(--edge)/.6); display:flex; gap:11px; }
.chal .ans .ai { flex:none; width:27px; height:27px; border-radius:8px; display:grid; place-items:center; background:rgb(var(--brand)/.12); color:rgb(var(--brand)); }
.chal .ans .at { font-weight:600; color:rgb(var(--fg)); font-size:.92rem; }
.chal .ans p { font-size:.9rem; color:rgb(var(--fg2)); line-height:1.5; margin-top:2px; }

.outcomes { display:grid; gap:1px; border:1px solid rgb(var(--edge)/.6); border-radius:24px; overflow:hidden; background:rgb(var(--edge)/.3); grid-template-columns:1fr; }
@media (min-width:680px){ .outcomes{ grid-template-columns:repeat(3,1fr); } }
.outcome { background:rgb(var(--surface)/.5); padding:30px 22px; text-align:center; -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); }
.outcome .big { font-family:"Sora"; font-weight:700; font-size:clamp(2rem,4vw,2.7rem); line-height:1; }
.outcome .small { margin-top:8px; font-size:.92rem; color:rgb(var(--fg2)); }

.blueprints { display:grid; gap:14px; margin-top:40px; grid-template-columns:1fr; }
@media (min-width:640px){ .blueprints{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .blueprints{ grid-template-columns:1fr 1fr 1fr; } }
.bp { display:flex; gap:12px; padding:16px; border:1px solid rgb(var(--edge)/.6); border-radius:14px; background:rgb(var(--surface)/.5); backdrop-filter:blur(10px); transition:transform .2s var(--ease),border-color .2s; }
.bp:hover { transform:translateY(-3px); border-color:rgb(var(--brand)/.4); }
.bp .bi { flex:none; width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:rgb(var(--brand)/.1); border:1px solid rgb(var(--brand)/.2); color:rgb(var(--brand)); }
.bp .bt { font-weight:600; font-size:.9rem; }
.bp .bd { font-size:.8rem; color:rgb(var(--fg3)); margin-top:2px; line-height:1.4; }

.hchip { position:absolute; display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:14px; background:rgb(var(--surface)/.85); border:1px solid rgb(var(--edge2)/.6); box-shadow:var(--e3),inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); font-size:.82rem; font-weight:600; z-index:3; }
.hchip .icon { width:16px; height:16px; color:rgb(var(--brand)); }
.hchip .pos { color:rgb(var(--success)); font-family:"Sora"; font-weight:700; }
@media (max-width:760px){ .hchip{ display:none; } }

.reality { display:grid; gap:18px; margin-top:48px; grid-template-columns:1fr; }
@media (min-width:780px){ .reality{ grid-template-columns:repeat(3,1fr); } }
.rstat { border:1px solid rgb(var(--edge)/.65); border-radius:22px; padding:28px; background:rgb(var(--surface)/.5); backdrop-filter:blur(18px); box-shadow:inset 0 1px 0 var(--glass-hi); transition:transform .25s var(--ease),border-color .25s,box-shadow .25s; }
.rstat:hover { transform:translateY(-4px); border-color:rgb(var(--brand)/.4); box-shadow:var(--e3),inset 0 1px 0 var(--glass-hi); }
.rstat .rn { font-family:"Sora"; font-weight:700; font-size:clamp(2.2rem,5vw,3rem); line-height:1; }
.rstat .rt { margin-top:10px; font-weight:600; }
.rstat .rd { margin-top:6px; font-size:.9rem; color:rgb(var(--fg3)); line-height:1.5; }

.why-grid { display:grid; gap:18px; margin-top:48px; grid-template-columns:1fr; }
@media (min-width:680px){ .why-grid{ grid-template-columns:1fr 1fr; } }
.why { display:flex; gap:14px; padding:22px; border:1px solid rgb(var(--edge)/.65); border-radius:18px; background:rgb(var(--surface)/.5); backdrop-filter:blur(14px); box-shadow:inset 0 1px 0 var(--glass-hi); transition:transform .25s var(--ease),border-color .25s,box-shadow .25s; }
.why:hover { transform:translateY(-4px); border-color:rgb(var(--brand)/.4); box-shadow:var(--e3),inset 0 1px 0 var(--glass-hi); }
.why .wi { flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center; color:#fff; box-shadow:var(--e1); }
.why h3 { font-size:1.05rem; font-weight:600; }
.why p { font-size:.9rem; color:rgb(var(--fg2)); margin-top:5px; line-height:1.55; }

/* ===========================================================================
   v7 — subtle animated background weave (contour lines) for dark hero bands
   ======================================================================== */
.weave { position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
  -webkit-mask-image:radial-gradient(135% 100% at 50% 8%, #000, transparent 80%);
  mask-image:radial-gradient(135% 100% at 50% 8%, #000, transparent 80%); }
.weave svg { position:absolute; left:50%; top:0; height:100%; width:1700px; min-width:1300px; transform:translateX(-50%); color:currentColor; }
.weave path { fill:none; stroke:currentColor; stroke-opacity:.06; stroke-width:1; }
.weave .vt { stroke-opacity:.03; }
@keyframes weavedrift { 0%{ transform:translateX(-50%);} 100%{ transform:translateX(-47%);} }
.weave.drift svg { animation:weavedrift 28s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce){ .weave.drift svg{ animation:none; } }

/* ===========================================================================
   v9 — uplift SEE/KNOW/ACT pillars: icon badge, taller cards, bigger text
   ======================================================================== */
.skacta { gap:22px; margin-top:56px; }
.pillar { padding:34px 32px; border-radius:24px; }
.pillar-ic { display:grid; place-items:center; width:60px; height:60px; border-radius:17px; color:#fff; box-shadow:var(--e2), inset 0 1px 0 rgba(255,255,255,.25); margin-bottom:20px; }
.pillar .ph-num { font-size:.82rem; letter-spacing:.22em; }
.pillar h3 { font-size:1.7rem; margin-top:8px; }
.pillar p { font-size:1.02rem; margin-top:11px; line-height:1.6; }
.pillar ul { margin-top:22px; gap:13px; }
.pillar li { font-size:1rem; gap:11px; align-items:flex-start; }
.pillar li .icon { width:19px; height:19px; margin-top:2px; }
@media (min-width:880px){ .pillar { padding:38px 34px; } }

/* ===========================================================================
   v10 — "The OPTMIN loop" signature journey (See → Know → Act)
   ======================================================================== */
.journey { display:flex; align-items:stretch; justify-content:center; margin-top:60px; flex-wrap:wrap; gap:0; }
.jstep { position:relative; flex:1 1 300px; max-width:380px; padding:40px 30px 34px; border-radius:26px;
  border:1px solid rgb(var(--edge)/.7); background:rgb(var(--surface)/.55);
  -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4);
  box-shadow:var(--e3), inset 0 1px 0 var(--glass-hi); overflow:hidden;
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.jstep::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(440px circle at 50% -12%, rgb(var(--brand)/.18), transparent 60%); opacity:.8; }
.jstep > * { position:relative; z-index:1; }
.jstep:hover { transform:translateY(-8px); border-color:rgb(var(--brand)/.55); box-shadow:var(--e4), inset 0 1px 0 var(--glass-hi); }
.jorb { position:relative; width:84px; height:84px; border-radius:24px; display:grid; place-items:center; color:#fff;
  background:linear-gradient(140deg, var(--g1), var(--g2));
  box-shadow:0 16px 44px -10px var(--g2), inset 0 1px 0 rgba(255,255,255,.35);
  animation:float 7s var(--ease) infinite; }
.jorb svg { position:relative; z-index:1; }
.jorb .jhalo { position:absolute; inset:-20px; border-radius:34px; z-index:0; filter:blur(16px);
  background:radial-gradient(circle, var(--g2), transparent 68%); opacity:.55; animation:pulseSoft 3.6s var(--ease) infinite; }
.jnum { margin-top:24px; font-family:"Sora"; font-size:.82rem; font-weight:700; letter-spacing:.22em; color:rgb(var(--brand)); }
.jstep h3 { font-size:1.9rem; font-weight:700; margin-top:8px; line-height:1.1; }
.jstep p { font-size:1.05rem; color:rgb(var(--fg2)); margin-top:12px; line-height:1.6; }
.jlist { list-style:none; margin-top:26px; display:flex; flex-direction:column; gap:14px; }
.jlist li { display:flex; gap:12px; align-items:flex-start; font-size:1.02rem; font-weight:500; color:rgb(var(--fg)); }
.jlist li .icon { width:19px; height:19px; color:rgb(var(--brand)); flex:none; margin-top:3px; }
.jconn { display:flex; align-items:center; justify-content:center; flex:0 0 60px; align-self:center; color:rgb(var(--brand)); }
.jconn .jdash { width:30px; height:2px; background:repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 13px); opacity:.55; }
.jconn .jhead { display:grid; place-items:center; margin-left:-4px; animation:nudge 1.8s var(--ease) infinite; }
.jconn .jhead .icon { width:22px; height:22px; }
@keyframes nudge { 0%,100%{ transform:translateX(0);} 50%{ transform:translateX(4px);} }
@media (max-width:980px){ .journey{ gap:22px; } .jconn{ display:none; } .jstep{ flex:1 1 100%; max-width:560px; } }
@media (prefers-reduced-motion: reduce){ .jorb,.jorb .jhalo,.jconn .jhead{ animation:none; } }

/* ===========================================================================
   v11 — refined loop icon (circular node + rotating gradient ring) + spacing
   ======================================================================== */
#loop { margin-top: 0; }
#loop .head { max-width: 720px; }
.journey { margin-top: 64px; }
.jstep { padding-top: 46px; }
.jorb { width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgb(var(--surface)/.96), rgb(var(--surface)/.5));
  box-shadow: 0 18px 52px -14px var(--g2), inset 0 1px 0 var(--glass-hi); }
.jorb svg { color: rgb(var(--fg)); width: 38px; height: 38px; position: relative; z-index: 2; }
.jorb::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2.5px; z-index: 1;
  background: conic-gradient(from 0deg, var(--g1), var(--g2), var(--g1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite; }
.jorb .jhalo { inset: -24px; border-radius: 50%; filter: blur(20px); opacity: .42;
  background: radial-gradient(circle, var(--g2), transparent 64%); z-index: 0; }
@media (prefers-reduced-motion: reduce){ .jorb::before { animation: none; } }

/* ===========================================================================
   v12 — clean 4-card "agent for every job" highlight band (amnic-style)
   ======================================================================== */
.agents4 { display:grid; gap:20px; margin-top:60px; grid-template-columns:1fr; }
@media (min-width:560px){ .agents4{ grid-template-columns:1fr 1fr; } }
@media (min-width:1040px){ .agents4{ grid-template-columns:repeat(4,1fr); } }
.agcard { position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; min-height:330px;
  padding:36px 24px 30px; border-radius:24px; border:1px solid rgb(var(--edge)/.7); background:rgb(var(--surface)/.55); overflow:hidden;
  -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4);
  box-shadow:inset 0 1px 0 var(--glass-hi);
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.agcard::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(360px circle at 50% -6%, rgb(var(--brand)/.16), transparent 58%); opacity:.75; }
.agcard > * { position:relative; z-index:1; }
.agcard:hover { transform:translateY(-8px); border-color:rgb(var(--brand)/.55); box-shadow:var(--e4), inset 0 1px 0 var(--glass-hi); }
.agcard h3 { font-size:1.25rem; font-weight:600; }
.agcard .agimg { flex:1; display:grid; place-items:center; width:100%; padding:16px 0; }
.agcard .agimg svg { width:122px; height:auto; filter:drop-shadow(0 10px 26px rgb(var(--brand)/.4)); }
.agcard p { font-size:.95rem; color:rgb(var(--fg2)); line-height:1.55; max-width:15rem; margin:0 auto; }

/* v13 — 3-up variant of the clean agent cards (used for See/Know/Act on home) */
.agents3 { display:grid; gap:20px; margin-top:60px; grid-template-columns:1fr; }
@media (min-width:720px){ .agents3{ grid-template-columns:repeat(3,1fr); } }
.agents3 .agcard { min-height:340px; }

/* ===========================================================================
   v14 — unify stat/number styling across the site (consistent scale + gradient)
   ======================================================================== */
.stat .num, .rstat .rn, .outcome .big { font-size: clamp(2.5rem, 4.6vw, 3.2rem); line-height: 1; }
.stat { padding: 38px 22px; }
.stat .lab { font-size: .95rem; margin-top: 12px; }
.stat .sub { font-size: .8rem; }
.rstat { padding: 32px 30px; }
.rstat .rt { font-size: 1.02rem; }
/* tighten the reality grid so it doesn't feel overstretched */
.reality { margin-top: 52px; }

/* ===========================================================================
   v15 — UNIFIED gradient line-art icons across every section & page
   (matches See/Know/Act + the 4-card band). Solid blocks → glassy gradient chips.
   ======================================================================== */
/* solid gradient blocks become soft glassy tinted chips */
.iconbox, .wi, .pi, .persona .pi {
  background: rgb(var(--brand) / .1) !important;
  border: 1px solid rgb(var(--brand) / .26);
  box-shadow: inset 0 1px 0 var(--glass-hi) !important;
}
/* gradient-stroked icon everywhere it sits inside a feature/section chip */
.iconbox .icon,
.wi .icon,
.pi .icon,
.step .badge .icon,
.cat-head .badge .icon,
.subcard .si .icon,
.aside-list .ic .icon,
.sec .ic .icon,
.loopstep .ic .icon,
.sec-strip .sec-item .icon,
.chip .icon,
.tag .icon {
  stroke: url(#ig);
  filter: drop-shadow(0 5px 14px rgb(var(--brand) / .3));
}
/* keep the icon-only filled accents from vanishing: nudge their fill to brand */
.iconbox .icon [fill], .wi .icon [fill], .pi .icon [fill] { fill: #c084fc; }
/* slightly larger, more confident chips for the main feature icons */
.iconbox { padding: 13px; border-radius: 15px; }

/* ===========================================================================
   v16 — finish icon consistency (menu + category badges), animate the loop,
   and make challenge "solution" panels visually resolve.
   ======================================================================== */
/* extend the glassy gradient-chip treatment to the dropdown + category badges */
.di, .cat-head .badge {
  background: rgb(var(--brand) / .1) !important;
  border: 1px solid rgb(var(--brand) / .26);
  box-shadow: inset 0 1px 0 var(--glass-hi) !important;
}
.di .icon, .cat-head .badge .icon { stroke: url(#ig); filter: drop-shadow(0 4px 12px rgb(var(--brand) / .3)); }

/* ── animated closed loop: traveling progress line + sequential step glow ── */
.loop .rail { overflow: visible; }
.loop .rail::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--brand) / .95), transparent);
  background-size: 36% 100%; background-repeat: no-repeat; background-position: -40% 0;
  animation: railflow 4.5s linear infinite;
}
@keyframes railflow { to { background-position: 140% 0; } }
.loop .loopstep .ic { transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s; }
.loop .loopstep:nth-child(1) .ic { animation: stepglow 4.5s ease-in-out infinite .15s; }
.loop .loopstep:nth-child(2) .ic { animation: stepglow 4.5s ease-in-out infinite .95s; }
.loop .loopstep:nth-child(3) .ic { animation: stepglow 4.5s ease-in-out infinite 1.75s; }
.loop .loopstep:nth-child(4) .ic { animation: stepglow 4.5s ease-in-out infinite 2.55s; }
.loop .loopstep:nth-child(5) .ic { animation: stepglow 4.5s ease-in-out infinite 3.35s; }
@keyframes stepglow {
  0%, 100% { box-shadow: var(--e2); }
  7%, 15% { box-shadow: 0 0 0 4px rgb(var(--brand) / .2), 0 12px 32px -6px rgb(var(--brand) / .65); transform: translateY(-5px) scale(1.06); border-color: rgb(var(--brand) / .75); color: rgb(var(--brand)); }
}

/* ── challenge cards: solution becomes a highlighted "resolved" panel ── */
.chal .ans {
  margin-top: 16px; padding: 15px 16px; border: 1px solid rgb(var(--brand) / .2);
  border-radius: 14px; background: rgb(var(--brand) / .06); align-items: flex-start;
}
.chal .ans .ai { background: linear-gradient(135deg,#7c6cf6,#c084fc); border: none; }
.chal .ans .ai .icon { stroke: #fff; filter: none; }
.chal .ans .at { color: rgb(var(--brand)); display: inline-flex; align-items: center; gap: 6px; }
html:not(.dark) .chal .ans .at { color: rgb(var(--brand3)); }

@media (prefers-reduced-motion: reduce) {
  .loop .rail::after, .loop .loopstep .ic { animation: none !important; }
}

/* ===========================================================================
   v17 — eye-catching outcome stat bands (glass panel, number glow, accents)
   ======================================================================== */
.outcomes {
  border: 1px solid rgb(var(--edge) / .6); border-radius: 26px; overflow: hidden; gap: 0;
  background: radial-gradient(120% 150% at 50% -25%, rgb(var(--brand) / .14), transparent 60%), rgb(var(--surface) / .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--e3), inset 0 1px 0 var(--glass-hi);
}
.outcome { position: relative; background: transparent; padding: 44px 26px; overflow: hidden; transition: background .3s var(--ease); }
.outcome + .outcome { box-shadow: inset 1px 0 0 rgb(var(--edge) / .5); }
@media (max-width: 679px) { .outcome + .outcome { box-shadow: inset 0 1px 0 rgb(var(--edge) / .5); } }
.outcome::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 96px; pointer-events: none; opacity: .75; filter: blur(16px);
  background: radial-gradient(circle, rgb(var(--brand) / .3), transparent 68%);
}
.outcome:hover { background: rgb(var(--brand) / .06); }
.outcome .big { position: relative; filter: drop-shadow(0 6px 18px rgb(var(--brand) / .35)); }
.outcome .big::after {
  content: ""; display: block; width: 44px; height: 3px; margin: 16px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, #8b7cf6, #c084fc);
}
.outcome .small { position: relative; margin-top: 14px; font-weight: 500; color: rgb(var(--fg2)); }

/* ===========================================================================
   v18 — outcome bands → clean on-theme stat cards (fix clipped labels/bar)
   ======================================================================== */
.outcomes {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  background: none !important; border: none !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: 0; overflow: visible;
}
@media (min-width: 680px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome {
  position: relative; text-align: center; padding: 30px 22px; border-radius: 20px;
  background: rgb(var(--surface) / .55); border: 1px solid rgb(var(--edge) / .65);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--e2), inset 0 1px 0 var(--glass-hi); overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.outcome::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at 50% -10%, rgb(var(--brand) / .14), transparent 60%); opacity: .8;
  width: auto; height: auto; transform: none; filter: none;
}
.outcome:hover { transform: translateY(-5px); border-color: rgb(var(--brand) / .45); box-shadow: var(--e3), inset 0 1px 0 var(--glass-hi); }
.outcome > * { position: relative; z-index: 1; }
.outcome .big { font-size: clamp(1.85rem, 3vw, 2.35rem); line-height: 1.05; filter: none; }
.outcome .big::after { width: 38px; height: 3px; margin: 12px auto 0; }
.outcome .small { margin-top: 12px; font-size: .92rem; color: rgb(var(--fg2)); }

/* ===========================================================================
   v19 — suite as grouped, highlighted category cards (2x2)
   ======================================================================== */
.suite { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .suite { grid-template-columns: 1fr 1fr; } }
.gcard { position: relative; border: 1px solid rgb(var(--edge) / .7); border-radius: 24px; padding: 30px;
  background: rgb(var(--surface) / .55); overflow: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--e2), inset 0 1px 0 var(--glass-hi);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.gcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at 0% 0%, rgb(var(--brand) / .1), transparent 55%); opacity: .85; }
.gcard > * { position: relative; z-index: 1; }
.gcard:hover { transform: translateY(-5px); border-color: rgb(var(--brand) / .42); box-shadow: var(--e3), inset 0 1px 0 var(--glass-hi); }
.gcard-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid rgb(var(--edge) / .6); }
.gchip { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: rgb(var(--brand) / .1); border: 1px solid rgb(var(--brand) / .26); box-shadow: inset 0 1px 0 var(--glass-hi); }
.gcard-head h3 { font-size: 1.35rem; font-weight: 700; }
.gcard-head .gsub { font-size: .9rem; color: rgb(var(--fg3)); margin-top: 2px; }
.gfeats { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gfeats { grid-template-columns: 1fr 1fr; } }
.gfeat { display: flex; gap: 12px; align-items: flex-start; }
.gfeat .gi { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgb(var(--brand) / .1); border: 1px solid rgb(var(--brand) / .22); }
.gfeat .gt { font-weight: 600; font-size: .95rem; }
.gfeat .gd { font-size: .82rem; color: rgb(var(--fg3)); margin-top: 3px; line-height: 1.45; }
.gchip .icon, .gfeat .gi .icon { stroke: url(#ig); filter: drop-shadow(0 4px 12px rgb(var(--brand) / .3)); }

/* ===========================================================================
   v20 — group-card headers without icons (gradient accent) +
   highlight the winning OPTMIN column in comparison & question tables
   ======================================================================== */
.gcard-head { display: block; padding-bottom: 0; margin-bottom: 24px; border-bottom: none; }
.gcard-head h3 { font-size: 1.45rem; font-weight: 700; }
.gcard-head .gsub { font-size: .92rem; color: rgb(var(--fg3)); margin-top: 5px; }
.gcard-head::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; margin-top: 16px; background: linear-gradient(90deg, #8b7cf6, #c084fc); }

/* comparison table — make the OPTMIN column the visible winner */
.cmp-row .c-us { background: rgb(var(--brand) / .06); }
.cmp-head .c-us { background: rgb(var(--brand) / .12); }
.cmp-row:hover { background: rgb(var(--brand) / .04); }
.cmp-row .c-us .icon { filter: drop-shadow(0 2px 9px rgb(var(--brand) / .55)); }

/* questions (before/after) table — highlight the "With OPTMIN" column */
.ba-row .ba-good { background: rgb(var(--brand) / .06); }
.ba-head .ba-good { background: rgb(var(--brand) / .12); }
.ba-row:hover { background: rgb(var(--brand) / .035); }
.ba-good .icon { filter: drop-shadow(0 2px 9px rgb(var(--brand) / .5)); }

/* ===========================================================================
   v21 — spider-web background "lens" + discipline solution cards
   ======================================================================== */
.webfx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(120% 110% at 82% 0%, #000, transparent 72%);
  mask-image: radial-gradient(120% 110% at 82% 0%, #000, transparent 72%); }
.webfx svg { position: absolute; right: -6%; top: -14%; width: 1150px; max-width: 130%; height: auto; }

/* discipline solution cards (FinOps / AIOps / GreenOps) */
.soln-grid { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .soln-grid { grid-template-columns: repeat(3, 1fr); } }
.soln { position: relative; display: flex; flex-direction: column; color: inherit;
  border: 1px solid rgb(var(--edge) / .7); border-radius: 24px; padding: 30px; overflow: hidden;
  background: rgb(var(--surface) / .55); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--e2), inset 0 1px 0 var(--glass-hi);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.soln::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at 50% -10%, rgb(var(--brand) / .14), transparent 58%); opacity: .8; }
.soln > * { position: relative; z-index: 1; }
.soln:hover { transform: translateY(-6px); border-color: rgb(var(--brand) / .5); box-shadow: var(--e4), inset 0 1px 0 var(--glass-hi); }
.soln-ic { width: 56px; height: 56px; border-radius: 16px; }
.soln .stag { margin-top: 18px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgb(var(--brand)); }
html:not(.dark) .soln .stag { color: rgb(var(--brand3)); }
.soln h3 { font-size: 1.5rem; font-weight: 700; margin-top: 4px; }
.soln .schal { margin-top: 12px; font-size: .92rem; color: rgb(var(--fg2)); line-height: 1.55; }
.soln .shelp { margin-top: 16px; padding: 14px 15px; border: 1px solid rgb(var(--brand) / .2); border-radius: 14px; background: rgb(var(--brand) / .06); }
.soln .shelp .at { font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--brand)); }
html:not(.dark) .soln .shelp .at { color: rgb(var(--brand3)); }
.soln .shelp p { margin-top: 6px; font-size: .9rem; color: rgb(var(--fg2)); line-height: 1.5; }
.soln .slink { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: rgb(var(--brand)); }
html:not(.dark) .soln .slink { color: rgb(var(--brand3)); }
.soln:hover .slink .icon { transform: translateX(4px); transition: transform .25s var(--ease); }

/* ===========================================================================
   v23 — wide grouped Solutions dropdown
   ======================================================================== */
.drop-panel-wide { width: min(840px, 94vw); left: auto; right: -40px; transform: translateY(8px); }
.has-drop-wide[data-open="true"] .drop-panel-wide { transform: translateY(0); }
.drop-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
@media (max-width: 760px){ .drop-cols { grid-template-columns: 1fr; } }
.drop-col { padding: 4px; }
.drop-col .drop-h { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgb(var(--fg3)); padding: 8px 12px 6px; }

/* ===========================================================================
   v24fix — center the wide Solutions dropdown (was overflowing left)
   ======================================================================== */
.drop-panel-wide { left: 50%; right: auto; width: min(720px, 92vw); transform: translateX(-50%) translateY(8px); }
.has-drop-wide[data-open="true"] .drop-panel-wide { transform: translateX(-50%) translateY(0); }

/* ============================================================
   v27 — homepage hero console: bring the dashboard to life
   (bar rise + live current-bar pulse + periodic sheen sweep)
   ============================================================ */
.console { position: relative; }
.console::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgb(var(--brand)/.12) 46%, rgba(255,255,255,.14) 50%, rgb(var(--brand)/.12) 54%, transparent 66%);
  transform: translateX(-130%); animation: consoleSheen 7s ease-in-out 1.4s infinite;
}
@keyframes consoleSheen { 0%{transform:translateX(-130%)} 26%{transform:translateX(130%)} 100%{transform:translateX(130%)} }

.bars span { transform-origin: bottom; animation: barGrow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars span:nth-child(1){animation-delay:.05s} .bars span:nth-child(2){animation-delay:.12s}
.bars span:nth-child(3){animation-delay:.19s} .bars span:nth-child(4){animation-delay:.26s}
.bars span:nth-child(5){animation-delay:.33s} .bars span:nth-child(6){animation-delay:.40s}
.bars span:nth-child(7){animation-delay:.47s}
.bars span:nth-child(8){ animation: barGrow .9s cubic-bezier(.2,.8,.2,1) .54s both, barCur 2.4s ease-in-out 1.5s infinite; }
@keyframes barGrow { from{transform:scaleY(.05); opacity:.35} to{transform:scaleY(1); opacity:1} }
@keyframes barCur { 0%,100%{filter:none} 50%{filter:drop-shadow(0 0 6px rgb(var(--brand)/.85))} }

/* floating KPI chips already float; add a soft live dot on Pulse bullets */
.lineitem .bullet { animation: bulletPulse 2.6s ease-in-out infinite; }
.lineitem:nth-child(2) .bullet{animation-delay:.4s} .lineitem:nth-child(3) .bullet{animation-delay:.8s} .lineitem:nth-child(4) .bullet{animation-delay:1.2s}
@keyframes bulletPulse { 0%,100%{opacity:.55; transform:scale(1)} 50%{opacity:1; transform:scale(1.35)} }

@media (prefers-reduced-motion: reduce) {
  .console::after, .bars span, .bars span:nth-child(8), .lineitem .bullet { animation: none !important; }
}

/* ============================================================
   v29 — richer ROI / "what it's worth" cards
   ============================================================ */
.roi-card .roi-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.roi-card .roi-tier { font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:rgb(var(--fg3)); font-weight:700; }
.roi-card .roi-badge { display:inline-flex; align-items:center; gap:4px; font-size:.7rem; font-weight:700; color:rgb(var(--brand)); background:rgb(var(--brand)/.1); border:1px solid rgb(var(--brand)/.25); padding:3px 9px 3px 7px; border-radius:999px; white-space:nowrap; }
.roi-card .roi-badge .icon { width:13px; height:13px; }
.roi-card .roi-track { position:relative; height:10px; border-radius:6px; background:rgb(var(--fg)/.08); overflow:visible; margin:16px 0 7px; }
.roi-card .roi-fill { position:absolute; left:0; top:0; bottom:0; width:0; border-radius:6px; background:linear-gradient(90deg,#a78bfa,#6c5ce7); transition:width 1.1s cubic-bezier(.2,.8,.2,1); transition-delay:.15s; }
.roi-card.in .roi-fill { width:var(--w); }
.roi-card .roi-mark { position:absolute; top:-3px; bottom:-3px; width:2px; border-radius:2px; background:rgb(var(--fg)/.4); }
.roi-card .roi-cap { font-size:.72rem; color:rgb(var(--fg3)); text-align:left; margin-bottom:14px; }
.roi-card .save { margin-top:6px; }
.roi-card .saveLab { line-height:1.3; }
@media (prefers-reduced-motion: reduce){ .roi-card .roi-fill { transition:none; } }

/* ============================================================
   v31 — ambient page background: aurora + drifting constellation
   (shows through transparent sections; dark band sections cover it)
   ============================================================ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(38% 48% at 12% 16%, rgb(var(--brand) / .10), transparent 70%),
    radial-gradient(42% 52% at 88% 10%, rgb(var(--brand2) / .10), transparent 70%),
    radial-gradient(48% 52% at 80% 94%, rgb(var(--brand) / .08), transparent 72%);
  animation: bgAurora 26s ease-in-out infinite alternate;
}
#bgfx { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  opacity: .62; animation: bgFloat 44s ease-in-out infinite alternate; }
#bgfx svg { position: absolute; top: -4%; left: -2%; width: 104%; height: 108%; }
html.dark #bgfx { opacity: .85; }
.webfx-node { fill-opacity: .5; animation: bgTwinkle 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bgAurora { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-26px,0) scale(1.06); } }
@keyframes bgFloat { from { transform: translateY(0); } to { transform: translateY(-22px); } }
@keyframes bgTwinkle { 0%,100% { fill-opacity: .28; } 50% { fill-opacity: .9; } }
@media (prefers-reduced-motion: reduce) { body::before, #bgfx, .webfx-node { animation: none !important; } }

/* ── v31b — constellation inside dark bands (visible where global layer can't reach) ── */
.band-dark > .wrap { position: relative; z-index: 1; }
.bandweb { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  opacity: .95; animation: bgFloat 50s ease-in-out infinite alternate; }
.bandweb svg { position: absolute; top: -6%; left: -3%; width: 106%; height: 112%; }
@media (prefers-reduced-motion: reduce) { .bandweb { animation: none !important; } }

/* ── v31c — fade the constellation out of the center so it frames content, not fights it ── */
#bgfx svg, .bandweb svg {
  -webkit-mask-image: radial-gradient(118% 92% at 50% 42%, transparent 0%, transparent 22%, #000 64%);
  mask-image: radial-gradient(118% 92% at 50% 42%, transparent 0%, transparent 22%, #000 64%);
}
