/* ==========================================================================
   LIGHT EDITORIAL LAYER + NEW HOMEPAGE (loaded last)
   ========================================================================== */

body { background: var(--bg-stone); }

/* Editorial serif headings */
html { font-size: 16px; }
body { font-family: var(--font-body); font-size: 16px; font-weight: 400; }
p { font-size: 1rem; }
h1, h2, h3, h4, .serif { font-family: var(--font-display); }
h1 { font-size: calc(clamp(2.625rem, calc(4vw + 10px), 3.625rem) + 10px); font-weight: 600; letter-spacing: -0.25px; line-height: 1.15; }   /* hero 48px */
h2 { font-size: calc(clamp(2.225rem, calc(2.8vw + 10px), 2.675rem) + 10px); font-weight: 600; letter-spacing: -0.25px; line-height: 1.25; }      /* section ~33px */
h3 { font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--color-electric-blue); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(246,245,240,0.85);
  border-bottom: 1px solid var(--border-stone);
  backdrop-filter: blur(14px);
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text-dark); letter-spacing: -0.02em; }
.brand-word em { font-style: normal; font-weight: 500; color: var(--color-electric-blue); margin-left: 2px; }
.nav-link { border-radius: var(--radius-full); color: var(--text-dark-muted); font-size: 14px; font-weight: 500; }
.nav-link:hover, .nav-link.active { background: rgba(20,22,31,0.05); border-color: transparent; color: var(--text-dark); font-weight: 500; }
.mega-dropdown { border-radius: var(--radius-lg); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border-stone-strong); background: #fff; color: var(--text-dark);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius-full); padding: 0.7rem 1.4rem; font-size: 14px; font-weight: 600; }
.btn-primary { background: var(--bg-navy); color: #fff; border-color: var(--bg-navy); }
.btn-primary:hover { background: var(--color-electric-blue); border-color: var(--color-electric-blue); box-shadow: 0 8px 24px var(--color-electric-glow); }
.btn-outline { background: transparent; color: var(--text-dark); border-color: var(--border-stone-strong); }
.btn-outline:hover { background: #fff; border-color: var(--text-dark); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 14px; }
.btn-light { background: #fff; color: var(--bg-navy); border-color: #fff; }
.btn-light:hover { background: var(--color-sky-blue); border-color: var(--color-sky-blue); }
:focus-visible { outline: 2px solid var(--color-electric-blue); outline-offset: 3px; }

.badge-pill { border-radius: var(--radius-full); background: #fff; }
.text-gradient { color: var(--color-electric-blue); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 5rem 0 3rem; text-align: center; overflow: hidden; }
.hero h1 { max-width: 900px; margin: 1.5rem auto 1.4rem; color: var(--text-dark); }
.hero-sub { max-width: 580px; margin: 0 auto 2rem; font-size: 1.125rem; color: var(--text-dark-muted); }
.hero-cta { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.circuit { position: absolute; top: 60px; width: 300px; height: 380px; color: var(--color-electric-blue); opacity: .55; pointer-events: none; }
.circuit.l { left: 0; } .circuit.r { right: 0; transform: scaleX(-1); }

/* Browser frame around real screenshots */
.frame {
  background: #fff; border: 1px solid var(--border-stone-strong);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-elevated);
  text-align: left;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F0EFEA; border-bottom: 1px solid var(--border-stone); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d3cc; display: block; }
.frame-bar span { margin-left: 10px; flex: 1; max-width: 340px; font-size: .72rem; color: var(--text-dark-subtle); background: #fff; border-radius: 6px; padding: 3px 10px; border: 1px solid var(--border-stone); }
.frame img { display: block; width: 100%; height: auto; }
.hero .frame { max-width: 1080px; margin: 0 auto; }

/* ---------- Navy statement banner ---------- */

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark-subtle); margin-bottom: 1rem; }
.eyebrow::before { content: "[ "; } .eyebrow::after { content: " ]"; }
.sec-head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }

/* Ceilings */
.ceil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-stone-strong); }
.ceil { padding: 2rem 1.5rem 1rem 0; }
.ceil + .ceil { padding-left: 1.5rem; border-left: 1px solid var(--border-stone); }
.ceil svg { width: 34px; height: 34px; color: var(--text-dark); margin-bottom: 3rem; display: block; stroke-width: 1.3; }
.ceil h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.ceil p { font-size: .9rem; }

/* Showcase (tab/accordion + real screenshot) */
.showcase { display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem; align-items: start; }
.showcase.rev { grid-template-columns: 1fr 320px; }
.showcase.rev .sc-list { order: 2; }
.sc-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-stone-strong); }
.sc-item { border-bottom: 1px solid var(--border-stone-strong); }
.sc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: 1.35rem 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.25rem; color: var(--text-dark-subtle); transition: color .2s;
}
.sc-btn:hover { color: var(--text-dark); }
.sc-btn .plus { width: 22px; height: 22px; flex: none; position: relative; }
.sc-btn .plus::before, .sc-btn .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%,-50%); transition: transform .25s; }
.sc-btn .plus::before { width: 14px; height: 1.5px; } .sc-btn .plus::after { width: 1.5px; height: 14px; }
.sc-item.active .sc-btn { color: var(--text-dark); }
.sc-item.active .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.sc-desc { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.sc-desc p { padding: 0 2rem 1.5rem 0; font-size: .98rem; }
.sc-item.active .sc-desc { max-height: 160px; }
.sc-stage { position: relative; }
.sc-stage .frame { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.sc-stage .frame.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.sc-bg { background: var(--bg-stone-muted); border-radius: var(--radius-xl); padding: 1.5rem; }

/* Trust cards */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trust-card { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 2rem; }
.trust-card .ico { height: 120px; margin-bottom: 1.5rem; border-radius: 12px; background: var(--bg-stone-muted); display: flex; align-items: center; justify-content: center; color: var(--color-electric-blue); }
.trust-card .ico svg { width: 54px; height: 54px; stroke-width: 1.2; }
.trust-card h3 { font-weight: 700; font-size: calc(1.925rem + 10px); margin-bottom: .5rem; }

/* For whom */
.who { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.who span { padding: .8rem 1.4rem; border: 1px solid var(--border-stone-strong); border-radius: var(--radius-full); background: #fff; font-weight: 500; }

/* CTA */
.cta-panel { background: var(--bg-navy); color: #fff; border-radius: var(--radius-xl); text-align: center; padding: 5.5rem 2rem; position: relative; overflow: hidden; }
.cta-panel::before { content:""; position:absolute; left:50%; bottom:-260px; width:900px; height:420px; transform:translateX(-50%); background: radial-gradient(closest-side, rgba(31,91,255,.55), transparent); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; max-width: 780px; margin: 0 auto 1.25rem; }
.cta-panel h2 em { color: var(--color-sky-blue); }
.cta-panel p { color: var(--text-light-muted); max-width: 520px; margin: 0 auto 2rem; }

/* Footer stays navy */
.site-footer { background: var(--bg-navy); }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word em { color: var(--color-sky-blue); }

.form-control { border-radius: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .circuit { display: none; } }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { padding: .5rem 1rem; font-size: .85rem; }
  .header-inner nav { position: fixed; inset: var(--header-height) 0 auto 0; background: var(--bg-stone); border-bottom: 1px solid var(--border-stone); padding: 1rem 1.5rem 1.5rem; display: none; }
  body.menu-open .header-inner nav { display: block; }
  body.menu-open .nav-menu { display: flex; flex-direction: column; align-items: stretch; }
  .mega-dropdown { display: none; }
  .nav-link { padding: .85rem 1rem; font-size: 1rem; }
  .ceil-grid { grid-template-columns: 1fr 1fr; }
  .ceil:nth-child(3) { border-left: 0; padding-left: 0; }
  .showcase, .showcase.rev { grid-template-columns: 1fr; gap: 1.5rem; }
  .showcase.rev .sc-list { order: 0; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero { padding-top: 3rem; }
  .ceil-grid { grid-template-columns: 1fr; }
  .ceil, .ceil + .ceil { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--border-stone); }
  .ceil svg { margin-bottom: 1.25rem; }
  .sc-btn { font-size: 1.15rem; }
  .sc-bg { padding: 1rem; }
  .brand-word { font-size: 1.1rem; }
}

/* ---------- Motion support ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { scroll-behavior: auto; }
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform, opacity; }
[data-rise] > *, [data-scale] { will-change: transform; }
.sc-item .sc-btn { position: relative; }
.sc-item::after { content: ""; display: block; height: 2px; width: 0; background: var(--color-electric-blue); margin-top: -2px; transition: width .5s ease; }
.sc-item.active::after { width: 100%; }

/* ---------- Built for the trade (dark bento) ---------- */
.trade { background: var(--bg-navy); color: #fff; border-radius: var(--radius-xl); padding: 4.5rem 3rem 3rem; position: relative; overflow: hidden; }
.trade::before { content: ""; position: absolute; left: 50%; top: -220px; width: 760px; height: 380px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(31,91,255,.5), transparent); }
.trade > * { position: relative; }
.trade-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.trade-head .eyebrow { color: var(--text-light-subtle); }
.trade-head h2 { color: #fff; margin-bottom: .9rem; }
.trade-head h2 em { color: var(--color-sky-blue); }
.trade-head p { color: var(--text-light-muted); }
.trade-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.t-card { background: rgba(255,255,255,.05); border: 1px solid var(--border-navy); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; }
.t-card h3 { color: #fff; font-size: calc(1.775rem + 10px); margin: .25rem 0 .35rem; }
.t-card p { color: var(--text-light-muted); font-size: .92rem; margin-bottom: 1.5rem; }
.t-card .t-vis { margin-top: auto; }
.t-audit { grid-column: span 7; } .t-branch { grid-column: span 5; }
.t-ai { grid-column: span 5; } .t-who { grid-column: span 7; justify-content: center; }
.t-vis { background: rgba(0,0,0,.28); border: 1px solid var(--border-navy); border-radius: 12px; padding: 1rem; min-height: 190px; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.log-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; background: rgba(255,255,255,.05); border-radius: 10px; padding: .65rem .8rem; }
.log-row b { display: block; font-size: .82rem; font-weight: 600; }
.log-row small { font-size: .78rem; color: var(--text-light-muted); }
.log-row small i { font-style: normal; color: var(--color-sky-blue); padding: 0 .2rem; }
.log-row time { font-family: var(--font-mono); font-size: .72rem; color: var(--text-light-subtle); }
.tag { font-size: .7rem; font-weight: 600; padding: .25rem .55rem; border-radius: 6px; min-width: 52px; text-align: center; }
.t-blue { background: rgba(56,189,248,.16); color: #7dd3fc; } .t-amber { background: rgba(245,158,11,.16); color: #fbbf24; } .t-green { background: rgba(16,185,129,.16); color: #34d399; }
.node { text-align: center; font-size: .82rem; font-weight: 600; padding: .55rem .9rem; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--border-navy); }
.node.root { align-self: center; background: var(--color-electric-blue); border-color: transparent; }
.node-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: relative; }
.node-row::before { content: ""; position: absolute; left: 25%; right: 25%; top: -.6rem; height: .6rem; border: 1px solid var(--border-navy); border-bottom: 0; border-radius: 8px 8px 0 0; }
.role-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.role-row span { font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--border-navy); color: var(--text-light-muted); }
.role-row span.on { background: rgba(56,189,248,.16); border-color: rgba(56,189,248,.5); color: #7dd3fc; }
.bub { max-width: 88%; font-size: .85rem; padding: .7rem .95rem; border-radius: 14px; line-height: 1.45; }
.bub.u { align-self: flex-end; background: var(--color-electric-blue); border-bottom-right-radius: 4px; }
.bub.a { align-self: flex-start; background: rgba(255,255,255,.08); border: 1px solid var(--border-navy); border-bottom-left-radius: 4px; }
.bub.a b { display: block; font-weight: 600; } .bub.a small { color: var(--text-light-muted); font-size: .78rem; }
.t-who h3 { margin-top: 0; font-size: calc(1.975rem + 10px); }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.25rem; }
.who-list span { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border-navy); font-size: .9rem; font-weight: 500; }
.who-list svg { width: 20px; height: 20px; color: var(--color-sky-blue); flex: none; }
@media (max-width: 1024px) {
  .trade { padding: 3rem 1.25rem 1.25rem; }
  .t-audit, .t-branch, .t-ai, .t-who { grid-column: span 12; }
}
@media (max-width: 640px) { .who-list { grid-template-columns: 1fr; } }

/* ---------- Fan carousel ---------- */
.fan-section { background: #05070F; color: #fff; padding: 6rem 0 5rem; overflow: hidden; position: relative; }
.fan-section::before { content: ""; position: absolute; left: 50%; top: -200px; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(31,91,255,.35), transparent); pointer-events: none; }
.fan-section .container { position: relative; }
.fan-section h2 { color: #fff; }
.fan-section .eyebrow { color: var(--text-light-subtle); }
.fan-nav { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 3rem; }
.fan-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 150px); }
.fan-chips::-webkit-scrollbar { display: none; }
.fan-chip { flex: none; background: rgba(255,255,255,.09); color: #fff; border: 0; border-radius: 10px; padding: .7rem 1.1rem; font: 600 14px var(--font-body); cursor: pointer; transition: background .3s, color .3s; white-space: nowrap; }
.fan-chip:hover { background: rgba(255,255,255,.16); }
.fan-chip.on { background: #fff; color: #05070F; border-radius: 999px; }
.fan-arrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1rem; cursor: pointer; transition: background .2s; }
.fan-arrow:hover { background: rgba(255,255,255,.14); }
.fan-stage { position: relative; height: 640px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fan-stage.drag { cursor: grabbing; }
.fan-card {
  position: absolute; left: 50%; top: 20px; width: var(--cw, 400px); height: 520px; margin-left: calc(var(--cw, 400px) / -2);
  background: var(--bg); color: var(--fg); border-radius: 22px; padding: 1.6rem 1.6rem 0; overflow: hidden;
  display: flex; flex-direction: column; transform-origin: 50% 50%;
  transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease, filter .6s ease;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); will-change: transform;
}
.fan-stage.drag .fan-card { transition: none; }
.fc-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.fc-top h3 { color: inherit; font-size: calc(1.975rem + 10px); font-weight: 600; }
.fc-ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--bg); display: flex; align-items: center; justify-content: center; }
.fan-card[data-i="2"] .fc-ico { color: #16171d; }
.fc-ico svg { width: 24px; height: 24px; }
.fan-card p { color: inherit; opacity: .85; font-size: .92rem; line-height: 1.55; margin-bottom: 1.2rem; }
.fc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.fc-stats b { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.fc-stats span { font-size: .78rem; opacity: .8; line-height: 1.35; display: block; }
.fc-shot { margin-top: auto; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.4); background: #fff; height: 190px; }
.fc-shot img { width: 100%; height: auto; display: block; pointer-events: none; }
.fan-cursor { position: absolute; left: 0; top: 0; z-index: 50; width: 66px; height: 66px; border-radius: 50%; background: rgba(60,60,70,.9); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.fan-stage:hover .fan-cursor { opacity: 1; }
@media (hover: none) { .fan-cursor { display: none; } }
@media (max-width: 640px) { .fan-stage { height: 600px; } .fan-card { height: 500px; } }

/* ---- Fan carousel: closer match to reference ---- */
.fan-section { background: #050506; padding: 5.5rem 0 4rem; }
.fan-section::before { display: none; }
.fan-section h2 { font-size: calc(3.125rem + 10px); font-weight: 500; letter-spacing: -0.25px; }
.fan-section .sec-head { margin-bottom: 2.25rem; }
.fan-nav { margin-bottom: 2.75rem; }
.fan-chip { background: #141416; border-radius: 6px; font-weight: 500; }
.fan-chip:hover { background: #1f1f23; }
.fan-chip.on { background: #fff; color: #050506; border-radius: 999px; }
.fan-stage { height: 700px; }
.fan-card { top: 10px; height: 480px; padding: 1.5rem 1.5rem 0; border-radius: 20px; box-shadow: none; }
.fc-top { gap: .9rem; margin-bottom: .9rem; }
.fc-top h3 { font-size: calc(1.875rem + 10px); font-weight: 500; letter-spacing: -0.01em; }
.fc-ico { border-radius: 10px; background: #fff; color: #16171d; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.fan-card[data-i="1"] .fc-ico, .fan-card[data-i="5"] .fc-ico { color: #16171d; }
.fan-card p { font-size: .9rem; opacity: .9; margin-bottom: 1.25rem; }
.fc-stats b { font-size: 1.4rem; font-weight: 500; }
.fc-stats span { font-size: .82rem; opacity: .85; }
.fc-shot { position: relative; height: 170px; background: #0c0c10; border-radius: 90px 90px 0 0; overflow: hidden; box-shadow: none; margin: auto -0.4rem 0; }
.fc-shot img { position: absolute; left: 50%; top: 26px; width: 78%; transform: translateX(-50%); border-radius: 10px; }
@media (max-width: 640px) { .fan-section h2 { font-size: calc(2.425rem + 10px); } .fan-stage { height: 640px; } .fan-card { height: 470px; } }
.fan-section .sec-head { max-width: 980px; }

/* ---- Full-width layout (matches reference) ---- */
.container { max-width: var(--container-max); padding-left: clamp(1.25rem, 2.6vw, 2.75rem); padding-right: clamp(1.25rem, 2.6vw, 2.75rem); }
.hero .frame { max-width: 1500px; }
.sc-stage .frame img { max-height: calc(100vh - 300px); object-fit: cover; object-position: top left; }
.showcase { grid-template-columns: minmax(280px, 26%) 1fr; }
.showcase.rev { grid-template-columns: 1fr minmax(280px, 26%); }
@media (max-width: 1024px) { .showcase, .showcase.rev { grid-template-columns: 1fr; } .sc-stage .frame img { max-height: none; } }

/* ---- Black surfaces (no blue), like the reference ---- */
.trade { background: #050506; margin-top: 3rem; }
.trade::before, .cta-panel::before { display: none; }
.t-card { background: #111114; border-color: rgba(255,255,255,.08); }
.t-vis { background: #0a0a0c; border-color: rgba(255,255,255,.08); }
.log-row { background: #16161a; }
.node { background: #16161a; border-color: rgba(255,255,255,.1); }
.node.root { background: #fff; color: #050506; }
.bub.u { background: #fff; color: #050506; }
.bub.a { background: #16161a; }
.who-list span { background: #16161a; border-color: rgba(255,255,255,.08); }
.cta-panel { border: 1px solid rgba(255,255,255,.08); }

/* ---- Header: dark bar like the reference ---- */
:root { --header-height: 58px; }
.site-header { background: rgba(11,11,13,.94); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(14px); }
.header-inner { gap: 1rem; }
.header-inner nav { margin-left: auto; margin-right: 1.5rem; }
.site-header .brand-word { color: #fff; font-size: 1.2rem; }
.site-header .brand-word em { color: #4C8DFF; }
.site-header .brand-mark { width: 32px; height: 32px; }
.nav-menu { gap: .35rem; }
.nav-link { padding: .5rem .7rem; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.92); border-radius: 6px; }
.nav-link:hover, .nav-link.active { background: transparent; color: #fff; font-weight: 500; text-decoration: none; opacity: 1; }
.nav-link:hover { color: #7FB0FF; }
.nav-link svg.chevron { width: 9px; height: 9px; }
.btn-blue { background: #1a5cff; color: #fff; border-color: #1a5cff; font-size: 13px; font-weight: 600; padding: .55rem 1.15rem; gap: .5rem; }
.btn-blue:hover { background: #3b72ff; border-color: #3b72ff; box-shadow: 0 6px 20px rgba(26,92,255,.45); }
.mega-dropdown { background: #111114; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); top: calc(100% + 6px); }
.dropdown-col-title { color: #7FB0FF; border-bottom-color: rgba(255,255,255,.1); }
.dropdown-item:hover { background: rgba(255,255,255,.06); }
.dropdown-item-title { color: #fff; }
.dropdown-item-desc { color: rgba(255,255,255,.6); }
.nav-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 1024px) {
  .header-inner nav { background: #0b0b0d; border-bottom: 1px solid rgba(255,255,255,.08); margin: 0; }
  .nav-link { font-size: 15px; padding: .85rem .5rem; }
}

/* ---------- Controls section (blue gradient accordion) ---------- */
.comp-section { background: linear-gradient(180deg, #6ea1fd 0%, #1565fc 100%); color: #fff; padding: 5.5rem 0; margin: 3rem 0 0; overflow: hidden; }
.comp-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: stretch; }
.comp-left { display: flex; flex-direction: column; justify-content: space-between; gap: 5rem; min-height: 560px; }
.comp-ball { width: 140px; height: 140px; filter: drop-shadow(0 14px 24px rgba(5,20,80,.35)); animation: ballfloat 6s ease-in-out infinite; }
@keyframes ballfloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(6deg); } }
.comp-left h2 { color: #fff; font-size: calc(3.125rem + 10px); font-weight: 500; margin-bottom: 1.25rem; max-width: 640px; }
.comp-left p { color: rgba(255,255,255,.92); font-size: .95rem; max-width: 620px; }
.comp-left u { text-underline-offset: 3px; }
.comp-right { border-top: 1px solid rgba(255,255,255,.35); }
.comp-item { border-bottom: 1px solid rgba(255,255,255,.35); position: relative; }
.comp-item::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: #fff; }
.comp-item.open.play::after { width: 100%; transition: width 6s linear; }
.comp-head { width: 100%; display: flex; align-items: center; gap: 2rem; background: none; border: 0; color: #fff; text-align: left; padding: 1.6rem .25rem; cursor: pointer; font-family: var(--font-body); }
.comp-head .num { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; opacity: .9; width: 2rem; flex: none; }
.comp-head .ttl { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.25px; flex: 1; }
.comp-head .chev { flex: none; transition: transform .3s ease; opacity: .85; }
.comp-item.open .chev { transform: rotate(180deg); }
.comp-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.16,1,.3,1); }
.comp-body > div { overflow: hidden; }
.comp-item.open .comp-body { grid-template-rows: 1fr; }
.comp-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: .2rem 0 1.6rem; }
.comp-chips span { display: flex; align-items: center; gap: .6rem; background: #fff; color: #10203f; border-radius: 10px; padding: .9rem 1rem; font-size: 13px; font-weight: 500; line-height: 1.25; }
.comp-chips svg { flex: none; }
@media (max-width: 1100px) { .comp-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
  .comp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .comp-left { min-height: 0; gap: 2rem; }
  .comp-left h2 { font-size: calc(2.525rem + 10px); }
}
@media (max-width: 640px) { .comp-head { gap: 1rem; } .comp-head .ttl { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .comp-ball { animation: none; } .comp-item.open.play::after { transition: none; } }

/* ---- Consistent vertical rhythm: 6rem between any two sections ---- */
:root { --sec-y: 6rem; }
.section { padding: calc(var(--sec-y) / 2) 0; }
.hero { padding: 5rem 0 calc(var(--sec-y) / 2); }
.fan-section { padding: var(--sec-y) 0; margin: calc(var(--sec-y) / 2) 0; }
.sec-head { margin-bottom: 3.5rem; }
.fan-section .sec-head { margin-bottom: 3rem; }
.fan-nav { margin-bottom: 3rem; }
.trade { margin-top: 0; }
.trade-head { margin-bottom: 3.5rem; }
.comp-band { background: #050506; padding: 2.25rem 0; margin: calc(var(--sec-y) / 2) 0; }
.comp-section { margin: 0; padding: var(--sec-y) 0; }
.site-footer { margin-top: calc(var(--sec-y) / 2); }
@media (max-width: 640px) {
  :root { --sec-y: 4rem; }
  .section { padding: calc(var(--sec-y) / 2) 0; }
  .comp-band { padding: 1.25rem 0; }
}

/* ---------- AI section (black, animated thread + needle visual) ---------- */
.ai-section { display: grid; grid-template-columns: 1fr 1fr; background: #050506; color: #fff; min-height: 820px; margin: calc(var(--sec-y) / 2) 0; overflow: hidden; }
.ai-visual { position: relative; overflow: hidden; background: radial-gradient(60% 50% at 55% 60%, rgba(76,125,255,.18), transparent 70%), #050506; min-height: 520px; }
.ai-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-logo { position: absolute; left: 1.75rem; top: 1.6rem; font-size: 2.6rem; font-weight: 600; letter-spacing: -0.5px; color: #fff; z-index: 2; }
.ai-logo span { font-weight: 300; font-style: italic; position: relative; margin-left: 2px; }
.ai-logo i { position: absolute; right: -14px; top: -4px; width: 12px; height: 12px; background: #38d6f8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ai-thread { fill: none; stroke-width: 20; stroke-linecap: round; opacity: .92; stroke-dasharray: 1; stroke-dashoffset: 0; animation: threadflow 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes threadflow { 0%, 100% { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .92; } 50% { stroke-dasharray: .92 .08; stroke-dashoffset: -.04; opacity: .7; } }
.ai-needle { animation: needlego 7s ease-in-out infinite; transform-box: fill-box; }
@keyframes needlego { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-34px, -22px); } }
.ai-spark { transform-box: fill-box; transform-origin: center; animation: sparkpulse 3.5s ease-in-out infinite; }
@keyframes sparkpulse { 0%, 100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.25); opacity: 1; } }
.ai-prism { animation: prismglow 9s ease-in-out infinite; }
@keyframes prismglow { 0%, 100% { opacity: .92; } 50% { opacity: 1; } }

.ai-copy { padding: 4rem clamp(1.5rem, 3vw, 3.5rem) 3.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.ai-copy h2 { color: #fff; font-size: calc(3.225rem + 10px); line-height: 1.2; margin-bottom: 1.5rem; }
.ai-copy h2 .lite { font-weight: 300; }
.ai-copy h2 strong { font-weight: 700; }
.ai-copy p { color: rgba(255,255,255,.88); font-size: 1.1rem; line-height: 1.6; max-width: 900px; }
.ai-copy p b { color: #fff; font-weight: 700; }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ai-card { background: #0b0b0e; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1.5rem 1.4rem 1.6rem; transition: border-color .3s, transform .3s; }
.ai-card:hover { border-color: rgba(76,141,255,.6); transform: translateY(-4px); }
.ai-ico { width: 38px; height: 38px; border-radius: 50%; background: #1c1c22; display: flex; align-items: center; justify-content: center; color: #cfd6e6; margin-bottom: 2.4rem; }
.ai-ico svg { width: 18px; height: 18px; }
.ai-card h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 1.3rem; }
.ai-card ul { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.ai-card li { display: flex; align-items: center; gap: .8rem; font-size: 13px; color: rgba(255,255,255,.9); }
.ai-card li svg { flex: none; }
.ai-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: #fff; color: #050506; }
@media (max-width: 1100px) { .ai-cards { grid-template-columns: 1fr; } .ai-ico { margin-bottom: 1.2rem; } }
@media (max-width: 900px) {
  .ai-section { grid-template-columns: 1fr; min-height: 0; }
  .ai-visual { min-height: 420px; }
  .ai-copy h2 { font-size: calc(2.525rem + 10px); }
}
@media (prefers-reduced-motion: reduce) { .ai-thread, .ai-needle, .ai-spark, .ai-prism { animation: none; } }

/* remove the black bands around the blue section */
.comp-band { background: none; padding: 0; margin: calc(var(--sec-y) / 2) 0; }

/* ---------- Inner pages ---------- */
.page-hero { padding-bottom: calc(var(--sec-y) / 2); }
.page-hero .hero-cta { margin-bottom: 3.25rem; }
.page-hero .interactive-stage, .page-hero .dark-panel { max-width: 1500px; margin-left: auto; margin-right: auto; }
.page-top { padding-top: 5rem; }

.split { display: grid; grid-template-columns: minmax(300px, 34%) 1fr; gap: 4rem; align-items: center; }
.split.rev { grid-template-columns: 1fr minmax(300px, 34%); }
.split.rev .split-text { order: 2; }
.split-text h2 { margin: .25rem 0 1.1rem; }
.split-text p { margin-bottom: 1.5rem; max-width: 520px; }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--text-dark); }
.tick-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--color-electric-blue); stroke-width: 2.2; }

.dark-panel { background: #050506; color: #fff; border-radius: var(--radius-xl); padding: 3rem; text-align: left; }
.dark-panel h3 { color: #fff; font-size: calc(2.125rem + 10px); margin-bottom: .6rem; }
.dark-panel p { color: var(--text-light-muted); max-width: 640px; }
.dark-panel .formula-display { background: #111114; border: 1px solid rgba(255,255,255,.08); margin-top: 1.75rem; padding: 1.75rem; }
.formula-term.result { border: 1px solid var(--color-emerald); padding: 6px 16px; border-radius: 10px; background: var(--color-emerald-bg); }
.formula-term.result .term-label, .formula-term.result .term-val { color: var(--color-emerald); }
.formula-term.result .term-val { font-size: 1.2rem; }

.canvas-head { padding: 1.25rem 2rem; background: #0b0b0e; border-bottom: 1px solid var(--border-navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: #fff; font-weight: 600; }
.page-hero .interactive-stage { background: #050506; }
.page-hero .stage-screen { min-height: 0; padding: 2.5rem; background: none; }
.page-hero .canvas-node { background: #111114; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpi { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; border-top: 3px solid var(--text-dark); }
.kpi small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dark-subtle); margin-bottom: .5rem; }
.kpi b { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; }
.kpi.k-free { border-top-color: var(--color-sky-blue); } .kpi.k-free b { color: #0b8fc4; }
.kpi.k-res { border-top-color: var(--color-electric-blue); } .kpi.k-res b { color: var(--color-electric-blue); }
.kpi.k-iss { border-top-color: var(--color-amber); } .kpi.k-iss b { color: #b7791f; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-copy h1 { margin: 1.25rem 0; font-size: calc(clamp(2.625rem, calc(3.6vw + 10px), 3.625rem) + 10px); }
.contact-points { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.25rem; }
.contact-points > div { display: flex; gap: 1rem; align-items: flex-start; }
.contact-points .icon-tile { margin: 0; flex: none; }
.contact-points b { display: block; margin-bottom: .2rem; }
.contact-points p { font-size: .92rem; }
.form-card { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-card); }
.form-card h3 { font-size: calc(2.025rem + 10px); margin-bottom: 1.5rem; }

.about-card { grid-column: span 6; min-height: 220px; }
.about-card .ai-ico { margin-bottom: 1.25rem; }

@media (max-width: 1024px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 2rem; }
  .split.rev .split-text { order: 0; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card { grid-column: span 12; }
  .dark-panel { padding: 1.75rem; }
}
@media (max-width: 640px) { .kpi-row { grid-template-columns: 1fr; } .form-card { padding: 1.5rem; } }

/* ---------- Feature cards (light) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 2rem; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(31,91,255,.35); box-shadow: 0 24px 50px -28px rgba(10,17,40,.35); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 2.5rem; display: flex; align-items: center; justify-content: center; background: rgba(31,91,255,.08); border: 1px solid rgba(31,91,255,.18); color: var(--color-electric-blue); }
.icon-tile svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: calc(1.825rem + 10px); margin-bottom: .6rem; }
.feature-card p { font-size: .95rem; }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: 1fr; } .icon-tile { margin-bottom: 1.5rem; } }

/* ---------- Mobile polish ---------- */
@media (max-width: 1024px) {
  .btn-blue { white-space: nowrap; }
}
@media (max-width: 640px) {
  .header-inner { gap: .5rem; }
  .header-actions { gap: .5rem; }
  .btn-blue { padding: .5rem .9rem; font-size: 12px; }
  .btn-blue svg { display: none; }
  .site-header .brand-word { font-size: 1.05rem; }
  .site-header .brand-mark { width: 28px; height: 28px; }

  /* app screenshots: keep them readable, swipe sideways to see the rest */
  .frame { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .frame::-webkit-scrollbar { display: none; }
  .frame img { min-width: 720px; max-width: none; }
  .frame-bar { min-width: 720px; }
  .sc-stage .frame img { max-height: none; }

  /* audit-log rows */
  .log-row { grid-template-columns: auto 1fr; }
  .log-row time { grid-column: 2; }

  .hero h1 { font-size: calc(2.625rem + 10px); }
  .hero-cta .btn, .ai-btns .btn { width: 100%; }
  .trade { padding: 2.5rem 1rem 1rem; }
  .cta-panel { padding: 3.5rem 1.25rem; }
  .cta-panel h2 { font-size: calc(2.225rem + 10px); }
  .dark-panel h3 { font-size: calc(1.875rem + 10px); }
  .formula-display { flex-direction: column; align-items: stretch; text-align: center; }
  .formula-op { display: none; }
  .canvas-head { padding: 1rem 1.25rem; }
  .page-hero .stage-screen { padding: 1.25rem; }
  .comp-left h2 { font-size: calc(2.325rem + 10px); }
  .comp-chips { grid-template-columns: 1fr 1fr; }
  .ai-copy { padding: 2.5rem 1.25rem; }
  .form-card { padding: 1.25rem; }
}

/* grid children must be allowed to shrink (wide screenshots scroll inside their frame) */
.split > *, .contact-grid > *, .comp-grid > *, .showcase > *, .trade-grid > *, .ai-section > *, .audience > * { min-width: 0; }
.split-vis, .sc-stage { max-width: 100%; }

/* ---- Full logo (header + footer) ---- */
.brand-full { height: 34px; width: auto; display: block; }
.site-footer .brand-full { height: 40px; }
@media (max-width: 640px) { .brand-full { height: 28px; } }

/* ---- Solutions menu: invisible bridge so the pointer can reach the sub menu ---- */
.nav-item { padding-bottom: 0; }
.mega-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:focus-within .mega-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }

/* ---------- Hero background (ERP modules) ---------- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hb-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(31,91,255,.22) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 25%, transparent 75%); }
.hb-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hb-glow.g1 { width: 480px; height: 480px; left: -120px; top: -80px; background: #bcd2ff; }
.hb-glow.g2 { width: 460px; height: 460px; right: -120px; top: -60px; background: #b8e6fb; }
.hb-lines { position: absolute; left: 0; top: 40px; width: 100%; height: 560px; color: rgba(31,91,255,.35); }
.hb-lines path { stroke-dasharray: 5 6; animation: hbflow 18s linear infinite; }
@keyframes hbflow { to { stroke-dashoffset: -220; } }
.hchip { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .8rem; background: rgba(255,255,255,.92); border: 1px solid var(--border-stone-strong); border-radius: 14px; box-shadow: 0 10px 30px rgba(20,22,31,.08); text-align: left; animation: hbob 7s ease-in-out infinite; }
.hchip i { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.hchip i.b { background: linear-gradient(135deg,#6ea1fd,#1565fc); } .hchip i.g { background: linear-gradient(135deg,#6ee7a8,#16a34a); }
.hchip i.y { background: linear-gradient(135deg,#fde68a,#f59e0b); } .hchip i.p { background: linear-gradient(135deg,#c4b5fd,#7c3aed); }
.hchip b { display: block; font-size: .85rem; font-weight: 600; color: var(--text-dark); line-height: 1.2; }
.hchip span { font-size: .75rem; color: var(--text-dark-subtle); }
.hchip.c1.l { left: 4%; top: 70px; } .hchip.c2.l { left: 11%; top: 190px; animation-delay: -2s; } .hchip.c3.l { left: 3%; top: 310px; animation-delay: -4s; }
.hchip.c1.r { right: 4%; top: 70px; animation-delay: -1s; } .hchip.c2.r { right: 11%; top: 190px; animation-delay: -3s; } .hchip.c3.r { right: 3%; top: 310px; animation-delay: -5s; }
@keyframes hbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1300px) { .hchip.c2 { display: none; } .hb-lines { display: none; } }
@media (max-width: 1000px) { .hchip { display: none; } }
@media (prefers-reduced-motion: reduce) { .hchip, .hb-lines path { animation: none; } }

/* Banner: heading + text left, stats right */

/* Showcase A: heading sits above the tabs on the left */
.sc-side { min-width: 0; }
.sc-head { text-align: left; margin: 0 0 2rem; max-width: none; }
.sc-head h2 { margin-left: 0; margin-right: 0; }
.showcase.rev .sc-side { order: 2; }
@media (max-width: 1024px) { .showcase.rev .sc-side { order: 0; } }

/* Fan section call to action */
.fan-cta { position: relative; z-index: 60; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: -120px; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
@media (max-width: 640px) { .fan-cta { margin-top: -70px; } }

/* ---------- AI section: live Copilot chat demo (replaces thread animation) ---------- */
.ai-visual { display: flex; align-items: center; justify-content: center; padding: 6rem 2rem 3rem; background: #050506; }
.ai-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(76,125,255,.28) 1.2px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 60% at 50% 55%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 55%, #000 20%, transparent 75%); }
.ai-bgglow { position: absolute; width: 520px; height: 520px; left: 50%; top: 55%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(56,189,248,.22), rgba(76,125,255,.10) 55%, transparent); filter: blur(20px); }
.aic { position: relative; z-index: 2; width: min(520px, 100%); background: #0d0f16; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(76,125,255,.12); overflow: hidden; text-align: left; }
.aic-bar { display: flex; align-items: center; gap: 6px; padding: .8rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); background: #11141d; }
.aic-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b2f3b; display: block; }
.aic-bar span { margin-left: .6rem; font-size: .8rem; font-weight: 600; color: #e6e9f2; flex: 1; }
.aic-bar em { font-style: normal; font-size: .72rem; color: #7ee2a8; display: flex; align-items: center; gap: .4rem; }
.aic-bar em b { width: 7px; height: 7px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 0 rgba(52,210,123,.6); animation: aicpulse 2s infinite; }
@keyframes aicpulse { 70% { box-shadow: 0 0 0 7px rgba(52,210,123,0); } 100% { box-shadow: 0 0 0 0 rgba(52,210,123,0); } }
.aic-body { padding: 1.4rem 1.2rem; min-height: 300px; display: flex; flex-direction: column; gap: 1rem; }
.aic-user, .aic-ai { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; font-size: .88rem; line-height: 1.5; border-radius: 14px; padding: .75rem 1rem; max-width: 92%; }
.aic-user.show, .aic-ai.show { opacity: 1; transform: none; }
.aic-user { align-self: flex-end; background: #1a5cff; color: #fff; border-bottom-right-radius: 4px; min-height: 1.5em; }
.aic-ai { align-self: flex-start; background: #171a24; color: #d6dbe8; border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 4px; width: 92%; }
.aic-ai b { display: block; color: #fff; font-weight: 600; margin-bottom: .6rem; }
.aic-dots { display: inline-flex; gap: 5px; padding: .25rem 0; }
.aic-dots i { width: 7px; height: 7px; border-radius: 50%; background: #7d86a0; animation: aicdot 1s infinite; }
.aic-dots i:nth-child(2) { animation-delay: .15s; } .aic-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes aicdot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.aic-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; margin-top: .4rem; background: rgba(255,255,255,.04); border-radius: 8px; font-size: .8rem; opacity: 0; animation: aicin .4s forwards; }
.aic-row:nth-of-type(2) { animation-delay: .1s; } .aic-row:nth-of-type(3) { animation-delay: .25s; } .aic-row:nth-of-type(4) { animation-delay: .4s; }
.aic-row span { font-family: var(--font-mono); color: #fff; } .aic-row em { font-style: normal; } .aic-row em.warn { color: #fbbf24; } .aic-row em.ok { color: #7ee2a8; }
@keyframes aicin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.aic-bar2 { display: grid; grid-template-columns: 1fr 90px auto; align-items: center; gap: .7rem; margin-top: .55rem; font-size: .78rem; }
.aic-bar2 i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; display: block; }
.aic-bar2 i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg,#fb923c,#f43f5e); border-radius: 99px; animation: aicgrow .9s .2s forwards; }
.aic-bar2 em { font-style: normal; color: #fff; font-family: var(--font-mono); }
@keyframes aicgrow { to { width: var(--w); } }
.aic-split { display: flex; gap: 3px; height: 12px; margin: .3rem 0 .7rem; } .aic-split i { height: 100%; width: 0; background: var(--c); border-radius: 99px; animation: aicsplit .9s .2s forwards; }
@keyframes aicsplit { to { width: var(--w); } }
.aic-key { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: #aab2c6; } .aic-key s { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: .4rem; text-decoration: none; }
.aic-input { display: flex; align-items: center; justify-content: space-between; margin: 0 1rem 1rem; padding: .6rem .6rem .6rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; font-size: .8rem; color: #6f7893; }
.aic-input button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #1a5cff; color: #fff; font-size: .9rem; }
@media (max-width: 1100px) { .ai-visual { padding: 5.5rem 1.25rem 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .aic-bar em b, .aic-dots i { animation: none; } .aic-row, .aic-bar2 i::after, .aic-split i { animation-duration: .01s; } }

/* ---------- Control section: white base + shield / audit-log animation ---------- */
.comp-section { background: transparent; color: var(--text-dark); border: 0; border-radius: 0; }
.comp-left h2 { color: var(--text-dark); }
.comp-left p { color: var(--text-dark-muted); }
.comp-right { border-top: 1px solid var(--border-stone-strong); }
.comp-item { border-bottom: 1px solid var(--border-stone-strong); }
.comp-item::after { background: var(--color-electric-blue); }
.comp-head { color: var(--text-dark); }
.comp-head .num { color: var(--text-dark-subtle); opacity: 1; }
.comp-chips span { background: #fff; color: var(--text-dark); border: 1px solid var(--border-stone); }

.cv { display: flex; align-items: center; gap: 1.5rem; max-width: 560px; }
.cv-shield { position: relative; flex: none; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.cv-shield svg { position: relative; z-index: 2; filter: drop-shadow(0 10px 18px rgba(21,101,252,.35)); animation: ballfloat 6s ease-in-out infinite; }
.cv-shield i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(21,101,252,.45); opacity: 0; animation: cvring 3.6s ease-out infinite; }
.cv-shield i.r2 { animation-delay: 1.2s; } .cv-shield i.r3 { animation-delay: 2.4s; }
@keyframes cvring { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.cv-tick { stroke-dasharray: 60; stroke-dashoffset: 60; animation: cvtick 4s ease-in-out infinite; }
@keyframes cvtick { 0% { stroke-dashoffset: 60; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
.cv-log { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .55rem; }
.cv-row { display: flex; align-items: center; gap: .7rem; padding: .65rem .85rem; background: #fff; border: 1px solid var(--border-stone); border-radius: 10px; font-size: .8rem; opacity: 0; animation: cvrow 12s ease-in-out infinite backwards; animation-delay: calc(var(--i) * 1.2s); }
.cv-row s { flex: none; width: 8px; height: 8px; border-radius: 50%; text-decoration: none; }
.cv-row s.g { background: #22c55e; } .cv-row s.b { background: #1f5bff; } .cv-row s.r { background: #ef4444; } .cv-row s.y { background: #f59e0b; }
.cv-row span { flex: 1; color: var(--text-dark); font-weight: 500; min-width: 0; }
.cv-row em { font-style: normal; font-size: .72rem; color: var(--text-dark-subtle); white-space: nowrap; }
@keyframes cvrow { 0% { opacity: 0; transform: translateY(10px); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 640px) { .cv { flex-direction: column; align-items: flex-start; } .cv-log { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cv-shield svg, .cv-shield i, .cv-tick, .cv-row { animation: none; } .cv-row { opacity: 1; } .cv-tick { stroke-dashoffset: 0; } .cv-shield i { display: none; } }

/* ---------- Call to action (shared): ask-bar style ---------- */
.cta2-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--border-stone-strong); font-size: .78rem; font-weight: 600; color: var(--text-dark); }
.cta2-eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: aicpulse 2s infinite; }
@keyframes cta2drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,30px); } }
.ctaE { position: relative; text-align: center; padding: 5rem clamp(1.25rem, 4vw, 4rem) 4rem; border-radius: 32px; background: #fff; border: 1px solid var(--border-stone-strong); overflow: hidden; isolation: isolate; }
.ctaE::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(60% 60% at 50% 50%, rgba(31,91,255,.18), rgba(56,189,248,.12) 50%, transparent 75%); animation: cta2drift 10s ease-in-out infinite; }
.ctaE h2 { max-width: 820px; margin: 1.3rem auto 2.2rem; color: var(--text-dark); }
.ctaE-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 760px; margin: 0 auto; padding: .6rem .6rem .6rem 1.6rem; background: #fff; border: 1.5px solid var(--text-dark); border-radius: 999px; box-shadow: 0 18px 40px rgba(20,22,31,.12); }
.ctaE-q { display: flex; align-items: center; gap: .5rem; min-width: 0; font-size: 1.05rem; text-align: left; }
.ctaE-pre { color: var(--text-dark-subtle); white-space: nowrap; }
.ctaE-ph { position: relative; display: inline-block; height: 1.5em; min-width: 16em; color: var(--text-dark); font-weight: 600; }
.ctaE-ph span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; animation: ctaEtype 12s infinite; }
.ctaE-ph span::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; background: var(--color-electric-blue); vertical-align: -3px; animation: ctaEblink .8s steps(1) infinite; }
.ctaE-ph span:nth-child(2) { animation-delay: 4s; } .ctaE-ph span:nth-child(3) { animation-delay: 8s; }
@keyframes ctaEtype { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 14% { clip-path: inset(0 0 0 0); } 30% { opacity: 1; clip-path: inset(0 0 0 0); } 33%, 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes ctaEblink { 50% { opacity: 0; } }
.ctaE-go { flex: none; display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.7rem; border: 0; border-radius: 999px; background: var(--color-electric-blue); color: #fff; font: 600 .95rem var(--font-body); cursor: pointer; transition: transform .25s, background .25s; }
.ctaE-go:hover { background: #14161F; transform: scale(1.04); } .ctaE-go svg { transition: transform .25s; } .ctaE-go:hover svg { transform: translateX(5px); }
.ctaE-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.ctaE-chips button { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border-stone-strong); background: #F6F5F0; font: 500 .85rem var(--font-body); color: var(--text-dark); cursor: pointer; transition: all .2s; }
.ctaE-chips button:hover { background: var(--color-electric-blue); border-color: var(--color-electric-blue); color: #fff; transform: translateY(-2px); }
.ctaE-note { margin-top: 1.6rem; color: var(--text-dark-muted); font-size: .95rem; }
@media (max-width: 1000px) {
  .ctaE-bar { flex-direction: column; border-radius: 24px; padding: 1rem; align-items: stretch; }
  .ctaE-q { flex-direction: column; align-items: flex-start; }
  .ctaE-ph { min-width: 0; width: 100%; }
  .ctaE-go { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ctaE-ph span, .ctaE::before, .cta2-eyebrow b { animation: none; } .ctaE-ph span:first-child { opacity: 1; } }

/* Bigger logo (+20px) and a taller header bar to fit it */
:root { --header-height: 74px; }
.site-header .brand-full { height: 54px; }
@media (max-width: 640px) { :root { --header-height: 66px; } .site-header .brand-full { height: 48px; } }

/* ---------- FAQ + contact form (above footer) ---------- */
.faq-section { padding: calc(var(--sec-y) / 2) 0 var(--sec-y); }
.faq-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.faq-head h2 { margin: .4rem 0 1rem; color: var(--text-dark); }
.faq-head p { color: var(--text-dark-muted); font-size: 1.05rem; }
.faq-grid { display: grid; grid-template-columns: minmax(300px, .85fr) 1.15fr; gap: 3rem; align-items: start; }
.faq-form-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--border-stone-strong); border-radius: 24px; padding: 2rem; box-shadow: 0 24px 50px rgba(20,22,31,.08); }
.faq-form-card h3 { font-size: calc(1.45rem + 10px); margin-bottom: .4rem; color: var(--text-dark); }
.faq-form-card > p { color: var(--text-dark-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.faq-form { display: flex; flex-direction: column; gap: 1rem; }
.faq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.faq-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--text-dark); min-width: 0; }
.faq-form input, .faq-form select, .faq-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border-stone-strong); border-radius: 12px; background: #F6F5F0; font: 400 .92rem var(--font-body); color: var(--text-dark); transition: border-color .2s, background .2s, box-shadow .2s; }
.faq-form textarea { resize: vertical; min-height: 84px; }
.faq-form input::placeholder, .faq-form textarea::placeholder { color: var(--text-dark-subtle); }
.faq-form input:focus, .faq-form select:focus, .faq-form textarea:focus { outline: none; background: #fff; border-color: var(--color-electric-blue); box-shadow: 0 0 0 3px rgba(31,91,255,.15); }
.faq-submit { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: 1rem 1.6rem; border: 0; border-radius: 999px; background: var(--color-electric-blue); color: #fff; font: 600 .95rem var(--font-body); cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.faq-submit:hover { background: #14161F; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,22,31,.25); }
.faq-submit svg { transition: transform .25s; } .faq-submit:hover svg { transform: translateX(5px); }
.faq-ok { padding: .8rem 1rem; border-radius: 12px; background: #dcfce7; color: #166534; font-size: .88rem; }
.faq-ok[hidden] { display: none; }

.faq-list { border-top: 1px solid var(--border-stone-strong); }
.faq-item { border-bottom: 1px solid var(--border-stone-strong); position: relative; }
.faq-item h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 1.5rem; background: none; border: 0; text-align: left; padding: 1.4rem .25rem; cursor: pointer; font-family: var(--font-body); color: var(--text-dark); }
.faq-q .num { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--text-dark-subtle); width: 2rem; flex: none; }
.faq-q .ttl { flex: 1; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.2px; transition: color .2s; }
.faq-q:hover .ttl { color: var(--color-electric-blue); }
.faq-q .chev { flex: none; transition: transform .3s ease; color: var(--text-dark-muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item.open .ttl { color: var(--color-electric-blue); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.16,1,.3,1); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 2.5rem 1.5rem 3.5rem; color: var(--text-dark-muted); font-size: 1rem; line-height: 1.65; }
.faq-q:focus-visible { outline: 2px solid var(--color-electric-blue); outline-offset: 2px; border-radius: 8px; }

@media (max-width: 1000px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-form-card { position: static; }
}
@media (max-width: 640px) {
  .faq-row { grid-template-columns: 1fr; }
  .faq-form-card { padding: 1.4rem; border-radius: 20px; }
  .faq-q { gap: 1rem; } .faq-q .ttl { font-size: 1rem; } .faq-a p { padding: 0 .5rem 1.25rem 3rem; }
}
@media (prefers-reduced-motion: reduce) { .faq-a, .faq-q .chev, .faq-submit { transition: none; } }

/* ---------- Full-width white mega menu with call-to-action bar ---------- */
.nav-item.has-mega, .nav-item:has(> .mega-dropdown) { position: static; }
.mega-dropdown {
  left: 0; right: 0; min-width: 0; width: auto; top: 100%;
  transform: translateY(10px);
  background: #fff; border: 0; border-radius: 0 0 14px 14px;
  padding: 2rem clamp(1.25rem, 2.6vw, 2.75rem) 1.25rem;
  gap: 1rem 3rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown { transform: translateY(0); }
.mega-dropdown .dropdown-col-title { color: #14161F; font-size: 13px; letter-spacing: 0; border-bottom-color: #ECEAE2; }
.mega-dropdown .dropdown-item:hover { background: #F6F5F0; }
.mega-dropdown .dropdown-item-title { color: #14161F; font-weight: 500; }
.mega-dropdown .dropdown-item-desc { color: #6B6F7B; }
.mega-cta {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #FDF3D8; border-radius: 10px; padding: .85rem 1rem .85rem 1.25rem; margin-top: .75rem;
}
.mega-cta p { margin: 0; font-size: 15px; font-weight: 600; color: #14161F; }
@media (max-width: 1024px) { .mega-dropdown { display: none; } }

/* ---------- Results bento ---------- */
@keyframes bn-pulse { 0% { left: 6px; opacity: 0; } 10%,90% { opacity: 1; } 100% { left: calc(100% - 44px); opacity: 0; } }
@keyframes bn-grow { from { width: 0; } }
@keyframes bn-node { 0%,100% { background: rgba(255,255,255,.35); } 50% { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25); } }
@keyframes bn-ring { from { stroke-dashoffset: 100; } }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bn { position: relative; overflow: hidden; border-radius: 26px; padding: 2rem; background: #fff; border: 1px solid var(--border-stone); box-shadow: var(--shadow-card); text-align: left; }
.bn h3, .bn h4 { margin: 0; color: var(--text-dark); letter-spacing: -.25px; }
.bn p { margin: .5rem 0 0; color: var(--text-dark-muted); font-size: .95rem; line-height: 1.55; }
.bn-trace { grid-row: 1 / 3; color: #fff; border: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(139,92,246,.55), transparent 55%), linear-gradient(160deg, #6ea1fd 0%, #1565fc 70%); display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; box-shadow: 0 40px 80px -30px rgba(21,101,252,.6); }
.bn-trace::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 20% 100%, #000, transparent 75%); }
.bn-trace > * { position: relative; }
.bn-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.bn-trace h3 { color: #fff; font-size: calc(clamp(1.9rem, 3vw, 2.9rem) + 10px); line-height: 1.1; margin-top: 1.25rem; max-width: 520px; font-weight: 600; }
.bn-trace h3 b { font-weight: 700; }
.bn-trace p { color: rgba(255,255,255,.85); max-width: 440px; font-size: 1.05rem; }
.bn-chain { position: relative; display: flex; justify-content: space-between; margin-top: 2.25rem; padding-top: 26px; }
.bn-chain::before { content: ''; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: rgba(255,255,255,.3); }
.bn-chain::after { content: ''; position: absolute; left: 6px; top: 4px; width: 38px; height: 6px; border-radius: 6px; background: #fff; box-shadow: 0 0 14px #fff; animation: bn-pulse 3.6s linear infinite; }
.bn-chain span { position: relative; font-size: 13px; font-weight: 600; }
.bn-chain span i { position: absolute; left: 0; top: -26px; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.9); animation: bn-node 3.6s ease-in-out infinite; z-index: 1; }
.bn-chain span:nth-child(2) i { animation-delay: .7s; } .bn-chain span:nth-child(3) i { animation-delay: 1.4s; } .bn-chain span:nth-child(4) i { animation-delay: 2.1s; } .bn-chain span:nth-child(5) i { animation-delay: 2.8s; }
.bn-chain span:last-child { text-align: right; } .bn-chain span:last-child i { left: auto; right: 0; }
.bn-stat { display: flex; flex-direction: column; justify-content: flex-end; min-height: 215px; background: linear-gradient(180deg, #fff, #f4f7ff); }
.bn-stat h4 { font-size: 1.15rem; margin-top: 1.1rem; } .bn-stat h4 b { color: var(--color-electric-blue); font-size: 1.5rem; margin-right: 4px; }
.bn-ring { position: relative; width: 92px; height: 92px; }
.bn-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bn-ring circle { fill: none; stroke-width: 3.4; } .bn-ring .t { stroke: rgba(31,91,255,.12); }
.bn-ring .v { stroke: #1F5BFF; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); filter: drop-shadow(0 0 4px rgba(31,91,255,.5)); animation: bn-ring 1.6s ease-out both; }
.bn-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.35rem; color: var(--text-dark); letter-spacing: -.5px; }
.bn-bars { display: grid; gap: 10px; }
.bn-bars div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; }
.bn-bars em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text-dark-subtle); }
.bn-bars i { display: block; height: 14px; width: var(--w); border-radius: 10px; background: #d9dce8; animation: bn-grow 1.4s ease-out both; }
.bn-bars i.on { background: linear-gradient(90deg, #1F5BFF, #38BDF8); box-shadow: 0 6px 18px -4px rgba(31,91,255,.6); }
.bn-zero { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: #0b0c10; border-color: #0b0c10; color: #fff; }
.bn-zero::before { content: ''; position: absolute; right: -60px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56,189,248,.35), transparent); }
.bn-zero > * { position: relative; }
.bn-zero-l { display: flex; align-items: center; gap: 1.25rem; }
.bn-zero-l > b { font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -2px; background: linear-gradient(135deg,#fff,#7fb0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bn-zero h4 { color: #fff; font-size: 1.15rem; } .bn-zero p { color: #aab3c9; max-width: 300px; }
.bn-log { display: grid; gap: 10px; min-width: 260px; }
.bn-log span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.bn-log i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; flex: none; }
.bn-log .bad i { background: #E5484D; } .bn-log .good i { background: #22c55e; }
.bn-log em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: #9fb0d4; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .bn-trace { grid-column: 1 / 3; grid-row: auto; min-height: 380px; } .bn-zero { grid-column: 1 / 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bn-trace, .bn-zero { grid-column: auto; } .bn { padding: 1.5rem; } .bn-chain span { font-size: 11.5px; } }
@media (max-width: 640px) { .bn-log { min-width: 0; width: 100%; } .bn-log .good em, .bn-log .bad em { display: none; } }

/* ---------- Footer: light, grid pattern, mono links ---------- */
.site-footer { background: #ECEBE5; color: #14161F; border-top: 1px solid #d9d8d0; position: relative; overflow: hidden;
  background-image: linear-gradient(#d9d8d0 1px, transparent 1px), linear-gradient(90deg, #d9d8d0 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.sf-wrap { max-width: 1920px; margin: 0 auto; padding: 0 clamp(1.25rem, 2.6vw, 2.75rem); }
.sf-top { padding: 3.5rem 0 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sf-logo img { height: clamp(64px, 9vw, 120px); width: auto; display: block; }
.sf-tag { max-width: 340px; font-size: 15px; color: #4a4d58; margin: 0; }
.sf-main { display: grid; grid-template-columns: 110px 1fr 300px; border-top: 1px solid #d0cfc7; background: #ECEBE5; }
.sf-label { border-right: 1px solid #d0cfc7; padding: 1.6rem 0; }
.sf-label span { background: #14161F; color: #fff; font: 700 11px/1 'Geist Mono', monospace; padding: 6px 10px; letter-spacing: .04em; }
.sf-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 1.6rem 2rem 2.2rem; }
.sf-title { font-size: 15px; font-weight: 600; margin-bottom: 1.1rem; }
.sf-title2 { margin-top: 1.8rem; }
.sf-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.sf-cols a { font: 600 11.5px/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: .02em; color: #14161F; text-decoration: none; display: inline-flex; gap: 8px; }
.sf-cols a::before { content: ""; width: 6px; height: 6px; border-left: 1px solid #888; border-bottom: 1px solid #888; margin-top: 1px; flex: none; }
.sf-cols a:hover { color: #1F5BFF; }
.sf-card { position: relative; margin: 1rem 1rem 1.5rem 0; }
.sf-card .c { position: absolute; width: 8px; height: 8px; border: 0 solid #14161F; }
.sf-card .tl { top: 0; left: 0; border-width: 1px 0 0 1px; } .sf-card .tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.sf-card .bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; } .sf-card .br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.sf-card-in { margin: 10px; height: calc(100% - 20px); min-height: 240px; background: linear-gradient(160deg, #e4e4e2, #d3d3d1); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.sf-card-in img { width: 72px; height: 72px; opacity: .9; }
.sf-mono { font: 500 8.5px/1.4 'Geist Mono', monospace; color: #6b6e78; align-self: flex-start; }
.sf-status b { color: #1F5BFF; font-weight: 600; }
.sf-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 1.4rem; font-size: 13px; color: #4a4d58; border-top: 1px solid #d0cfc7; background: #ECEBE5; }
.sf-social { display: flex; gap: 10px; }
.sf-social a { width: 38px; height: 38px; background: #fff; display: grid; place-items: center; color: #14161F; }
.sf-social a:hover { color: #1F5BFF; }
@media (max-width: 1000px) { .sf-main { grid-template-columns: 1fr; } .sf-label { border: 0; padding-bottom: 0; padding-left: 1rem; } .sf-cols { grid-template-columns: 1fr 1fr; } .sf-card { margin: 0 1rem 1.5rem; } }
@media (max-width: 560px) { .sf-cols { grid-template-columns: 1fr; } .sf-bottom { flex-direction: column; gap: 1rem; } }

/* ---------- Mobile menu (drawer under the header) ---------- */
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 1024px) {
  .nav-toggle { position: relative; z-index: 3; }
  .nav-toggle svg path { transition: d .2s; }
  .header-inner nav {
    position: absolute; top: 100%; left: 0; right: 0; bottom: auto; inset-inline: 0;
    height: calc(100dvh - var(--hh, 66px)); overflow-y: auto; overscroll-behavior: contain;
    background: #0b0b0e; border: 0; border-top: 1px solid rgba(255,255,255,.08);
    padding: .5rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
    display: block; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  body.menu-open .header-inner nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  body.menu-open { overflow: hidden; }
  .nav-menu { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; font-size: 1.15rem; font-weight: 600; color: #fff; border: 0; border-radius: 0; background: none; }
  .nav-link:hover, .nav-link.active { background: none; border: 0; color: #7fb0ff; }
  .nav-link svg.chevron { width: 14px; height: 14px; transition: transform .25s; }
  .nav-item.open > .nav-link svg.chevron { transform: rotate(180deg); }
  .nav-item:hover .nav-link svg.chevron { transform: none; }
  .nav-item.open:hover .nav-link svg.chevron { transform: rotate(180deg); }
  .mega-dropdown { position: static; display: none; width: auto; min-width: 0; opacity: 1; visibility: visible; pointer-events: auto; transform: none; background: transparent; box-shadow: none; border-radius: 0; padding: 0 0 1rem .25rem; grid-template-columns: 1fr; gap: 1rem; }
  .nav-item.open > .mega-dropdown { display: grid; animation: mm-in .25s ease; }
  .mega-dropdown::before, .mega-cta { display: none; }
  .mega-dropdown .dropdown-col-title { color: #8fa0c4; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border: 0; margin: 0 0 .25rem; padding: 0; }
  .mega-dropdown .dropdown-link-group { gap: 2px; }
  .mega-dropdown .dropdown-item { padding: .7rem .75rem; border-radius: 10px; background: rgba(255,255,255,.04); }
  .mega-dropdown .dropdown-item:hover { background: rgba(255,255,255,.1); }
  .mega-dropdown .dropdown-item-title { color: #fff; font-size: .95rem; }
  .mega-dropdown .dropdown-item-desc { color: #9aa6c2; font-size: .8rem; }
}

/* footer: right rail + corner squares (same positions as before) */
.sf-main { grid-template-columns: 110px minmax(0, 1fr) 300px 110px; position: relative; }
.sf-rail { border-left: 1px solid #d0cfc7; display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding: .6rem 0; position: relative; }
.sf-main::before, .sf-main::after { content: ""; position: absolute; width: 7px; height: 7px; background: #14161F; }
.sf-main::before { left: -3px; top: -3px; } .sf-main::after { right: -3px; top: -3px; }
.sf-bottom { position: relative; }
@media (max-width: 1000px) { .sf-main { grid-template-columns: 1fr; } .sf-rail { flex-direction: row; border-left: 0; border-top: 1px solid #d0cfc7; padding: 1rem; } }
/* back-to-top button (bottom-left) */
.to-top { position: fixed; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #1F5BFF; color: #fff; box-shadow: 0 8px 22px rgba(31,91,255,.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #14161F; }

/* ---- Fan cards: no dark screenshot backdrop, screen higher and larger ---- */
.fc-shot { height: 230px; background: transparent; border-radius: 0; margin: auto 0 0; }
.fc-shot img { top: 0; width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 -8px 30px -12px rgba(0,0,0,.35); }

/* ---- Dark sections: same side width as other sections (boxed, not full-bleed) ---- */
.fan-section, .ai-section {
  width: auto; max-width: calc(var(--container-max) - 2 * clamp(1.25rem, 2.6vw, 2.75rem));
  margin-left: clamp(1.25rem, 2.6vw, 2.75rem); margin-right: clamp(1.25rem, 2.6vw, 2.75rem);
  border-radius: 24px;
}
@media (min-width: 1920px) { .fan-section, .ai-section { margin-left: auto; margin-right: auto; } }

/* ---- Mega menu: same side width as page sections ---- */
@media (min-width: 1025px) {
  .mega-dropdown {
    left: clamp(1.25rem, 2.6vw, 2.75rem); right: clamp(1.25rem, 2.6vw, 2.75rem);
    border-radius: 16px; top: calc(100% + 6px);
  }
}

/* ---- Figtree (free, Roobert-like) + Geist Mono labels. Put font files in assets/fonts/ ---- */

body { font-size: 18px; font-weight: 500; }
h1, h2, h3, h4 { font-weight: 500; }
h1 { font-size: calc(40px + 10px); letter-spacing: -1.2px; line-height: 1.1; }
h2 { font-size: calc(36px + 10px); letter-spacing: -0.8px; line-height: 1.1; }
h3 { letter-spacing: -0.48px; }
@media (max-width: 640px) { h1 { font-size: calc(32px + 10px); } h2 { font-size: calc(28px + 10px); } }

.eyebrow, .tag, .badge-pill, .cta2-eyebrow { font-family: var(--font-mono); }

/* ---- Tighter letter spacing (designer feedback; ref: outtake.ai, auth0.com) ---- */
body { letter-spacing: -0.01em; }
h1, h1 * { letter-spacing: -0.04em !important; }
h2, h2 * { letter-spacing: -0.035em !important; }
h3, h3 *, h4, h4 * { letter-spacing: -0.025em !important; }
h1, h2 { line-height: 1.05; }

/* ---- Controls section redesign: centred header, tab list + dark detail panel ---- */
.comp-top { text-align: center; max-width: 820px; margin: 0 auto 3rem; }
.comp-top h2 { margin: .25rem 0 1rem; }
.comp-top p { color: var(--text-dark-muted); max-width: 640px; margin: 0 auto; }
.comp-right { border: 0; background: #fff; border: 1px solid var(--border-stone); border-radius: 24px; padding: 12px; box-shadow: var(--shadow-card); }
.comp-item { border: 0; }
.comp-item::after { content: none; }
.comp-head { position: relative; border-radius: 14px; padding: 1.15rem 1.25rem; gap: 1.1rem; transition: background .25s; }
.comp-head:hover { background: var(--bg-stone); }
.comp-head .num { font-size: .75rem; width: auto; color: var(--text-dark-subtle); }
.comp-head .ttl { font-size: 1.15rem; }
.comp-item.open .comp-head { background: var(--bg-stone); }
.comp-item.open .comp-head .num { color: var(--color-electric-blue); }
.comp-head::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--color-electric-blue); transform: scaleX(0); transform-origin: left; }
.comp-item.open.play .comp-head::after { transform: scaleX(1); transition: transform 6s linear; }
.comp-body > div.cp { overflow: visible; }
.cp { background: #050506; color: #fff; border-radius: 16px; padding: 2rem; height: 100%; position: relative; overflow: hidden !important; display: flex; flex-direction: column; gap: 1.1rem; }
.cp::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(31,91,255,.55), transparent 65%); pointer-events: none; }
.cp > * { position: relative; }
.cp-top { display: flex; align-items: center; justify-content: space-between; }
.cp-badge { font-family: var(--font-mono); font-size: .75rem; color: #8fb0ff; border: 1px solid rgba(143,176,255,.4); border-radius: 999px; padding: .25rem .65rem; }
.cp-live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; color: #a7b0c4; text-transform: uppercase; letter-spacing: .06em; }
.cp-live b { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: aicpulse 2s infinite; }
.cp h3 { color: #fff; font-size: 2rem; margin: .5rem 0 0; }
.cp > p { color: #a7b0c4; font-size: 1rem; max-width: 460px; margin: 0; }
.cp-chips { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.cp-chips li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: #e7ecf8; }
.cp-chips svg { flex: none; }
.cp-log { margin-top: auto; padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cp-row { display: flex; align-items: center; gap: .75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; }
.cp-row i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #22c55e; }
.cp-row i.b { background: #3b82f6; } .cp-row i.r { background: #ef4444; } .cp-row i.y { background: #f59e0b; }
.cp-row span { flex: 1; min-width: 0; }
.cp-row em { font-style: normal; font-family: var(--font-mono); font-size: .72rem; color: #8b94ab; white-space: nowrap; }
@media (min-width: 1025px) {
  .comp-right { display: grid; grid-template-columns: minmax(320px, .8fr) 1.2fr; grid-template-rows: repeat(6, auto); gap: 4px 12px; }
  .comp-item { display: contents; }
  .comp-head { grid-column: 1; align-self: start; }
  .comp-head .chev { transform: rotate(-90deg); }
  .comp-body { grid-column: 2; grid-row: 1 / span 6; display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility .35s; min-height: 520px; }
  .comp-item.open .comp-body { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1024px) {
  .comp-body { grid-template-rows: 0fr; }
  .comp-item.open .comp-body { grid-template-rows: 1fr; }
  .comp-item.open .comp-body > div { margin: .25rem 0 .75rem; }
  .comp-item.open .chev { transform: rotate(180deg); }
}
@media (max-width: 640px) { .cp { padding: 1.4rem; } .cp-chips { grid-template-columns: 1fr; } .cp h3 { font-size: 1.5rem; } .cp-row { flex-wrap: wrap; } }

/* ---- Footer: isometric lifecycle stack (Order > BOM > Planning > Production > Inventory > Dispatch) ---- */
.sf-card-in .fl { width: 100%; max-width: 290px; height: auto; flex: 1; min-height: 0; overflow: visible; }
.fl-slab { animation: flLift 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.fl-top { animation: flTop 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.fl-lbl { font: 600 9px 'Geist Mono', monospace; fill: #6b6e78; letter-spacing: .04em; animation: flLbl 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.fl-dot { animation: flDot 7.2s linear infinite; }
.fl-shadow { animation: flShadow 4.4s ease-in-out infinite; }
.fl-st { position: relative; display: inline-block; width: 7.5em; height: 1.4em; vertical-align: top; font-weight: 600; color: #1F5BFF; }
.fl-st i { position: absolute; left: 0; top: 0; font-style: normal; opacity: 0; animation: flSt 7.2s linear infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes flLift { 0%, 18%, 100% { transform: translateY(0); } 4%, 14% { transform: translateY(-12px); } }
@keyframes flTop { 0%, 18%, 100% { fill: #fbfbf8; } 4%, 14% { fill: #cfdcff; } }
@keyframes flLbl { 0%, 18%, 100% { fill: #6b6e78; } 4%, 14% { fill: #1F5BFF; } }
@keyframes flDot { 0% { transform: translateY(0); } 100% { transform: translateY(-140px); } }
@keyframes flShadow { 0%, 100% { opacity: .9; } 50% { opacity: .5; } }
@keyframes flSt { 0% { opacity: 1; } 16.6% { opacity: 1; } 16.7%, 100% { opacity: 0; } }
/* rail objects light up with the matching slab */
.sf-mini { animation: smLift 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.sf-mini .sm-top { animation: smTop 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes smLift { 0%, 18%, 100% { transform: translateY(0) scale(1); } 4%, 14% { transform: translateY(-8px) scale(1.12); } }
@keyframes smTop { 0%, 18%, 100% { fill: #fbfbf8; } 4%, 14% { fill: #1F5BFF; } }
@media (prefers-reduced-motion: reduce) { .fl-slab, .fl-top, .fl-lbl, .fl-dot, .fl-shadow, .fl-st i, .sf-mini, .sf-mini .sm-top { animation: none; } .fl-st i:first-child { opacity: 1; } }
.sf-mini { width: 60px; height: 80px; overflow: visible; } @media (max-width: 1000px) { .sf-mini { width: 44px; height: 60px; } }


/* Same gap between all home sections: adjacent margins collapse, so give the band the full gap */
.ai-section + .comp-band { margin-top: var(--sec-y); }

/* ---------- Trade section: phones ---------- */
@media (max-width: 640px) {
  .trade { padding: 2.5rem .75rem .75rem; border-radius: 24px; }
  .trade-head { margin-bottom: 1.75rem; padding: 0 .5rem; }
  .trade-grid { gap: .75rem; }
  .t-card { padding: 1.1rem; border-radius: 18px; }
  .t-card h3, .t-who h3 { font-size: 1.65rem; line-height: 1.15; }
  .t-card p { margin-bottom: 1rem; }
  .t-vis { padding: .7rem; min-height: 0; border-radius: 12px; }
  .log-row { grid-template-columns: auto 1fr; gap: .6rem; padding: .6rem .7rem; }
  .log-row time { grid-column: 2; margin-top: -.35rem; }
  .tag { min-width: 46px; }
  .bub { max-width: 94%; }
  .who-list { gap: .5rem; }
  .who-list span { padding: .7rem .85rem; }
}

/* footer copyright: centered, clear of the back-to-top button */
.sf-bottom { justify-content: center; text-align: center; }

/* ---------- Inner pages: workflow steps, dark grid, reports, FAQ ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; counter-reset: fs; }
.flow-step { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; }
.flow-step .fs-num { display: inline-block; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--color-electric-blue); background: rgba(31,91,255,.08); border-radius: 999px; padding: .25rem .7rem; margin-bottom: 1.5rem; }
.flow-step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.flow-step p { font-size: .92rem; }

.dk-wrap .eyebrow { color: var(--text-light-subtle); }
.dk-wrap h3 { max-width: 760px; }
.dk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; }
.dk-card { background: #111114; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 1.5rem; min-width: 0; }
.dk-card .ai-ico { margin-bottom: 1.5rem; }
.dk-card h4 { color: #fff; font-size: 1.2rem; font-weight: 600; margin-bottom: .4rem; }
.dk-card p { font-size: .92rem; margin: 0; }

.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.report-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 1.4rem; min-width: 0; }
.report-card .icon-tile { margin: 0; flex: none; width: 44px; height: 44px; }
.report-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.report-card p { font-size: .9rem; margin: 0; }

.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 1.15rem 1.4rem; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--color-electric-blue); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: .8rem 0 0; font-size: .95rem; }

@media (max-width: 1024px) {
  .dk-grid, .report-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing page ---------- */
.price-hero { text-align: center; padding-bottom: 2rem; }
.price-hero .hero-sub { margin-left: auto; margin-right: auto; }
.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 1.5rem; border-radius: 999px; background: #fff; border: 1px solid var(--border-stone); }
.bill-toggle button { border: 0; background: none; font: 600 14px/1 inherit; font-family: inherit; color: var(--text-dark-muted); padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.bill-toggle button.on { background: var(--text-dark); color: #fff; }
.bill-toggle i { font-style: normal; font-size: 11px; margin-left: .4rem; padding: 2px 7px; border-radius: 999px; background: #1F5BFF; color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: 1500px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-stone); border-radius: 24px; padding: 2rem; }
.price-card.hot { background: #050506; color: #fff; border-color: #050506; box-shadow: 0 30px 60px rgba(20,22,31,.18); }
.price-flag { position: absolute; top: -13px; left: 2rem; background: #1F5BFF; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.5rem; margin: 0 0 .3rem; color: inherit; }
.price-tag { min-height: 3em; font-size: .92rem; color: var(--text-dark-muted); margin: 0 0 1.25rem; }
.price-card.hot .price-tag, .price-card.hot .price-amt small { color: rgba(255,255,255,.65); }
.price-amt { margin-bottom: 1.5rem; }
.price-amt b { display: block; font-size: 2.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -.5px; }
.price-amt small { color: var(--text-dark-subtle); font-size: .88rem; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 1.75rem; }
.price-card.hot .btn-primary { background: #1F5BFF; }
.price-card ul { list-style: none; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--border-stone); display: grid; gap: .8rem; }
.price-card.hot ul { border-color: rgba(255,255,255,.14); }
.price-card li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.price-card li span { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #1F5BFF; }
.price-card.hot li span { color: #38BDF8; }
.price-card li svg { width: 100%; height: 100%; }
.price-note { text-align: center; margin-top: 1.75rem; font-size: .88rem; color: var(--text-dark-subtle); }
.price-table-wrap { max-width: 1500px; margin: 0 auto; overflow-x: auto; background: #fff; border: 1px solid var(--border-stone); border-radius: 20px; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 1rem 1.25rem; text-align: center; border-bottom: 1px solid var(--border-stone); font-size: .95rem; }
.price-table tbody th { text-align: left; font-weight: 500; }
.price-table thead th { font-weight: 600; font-size: 1rem; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table .hot { background: rgba(31,91,255,.06); }
.price-table .yes { display: inline-block; width: 20px; height: 20px; color: #1F5BFF; }
.price-table .yes svg { width: 100%; height: 100%; }
.price-table .no { color: var(--text-dark-subtle); }
@media (max-width: 1200px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
}
@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .price-tag { min-height: 0; }
}

/* ---- Mega menu: keep it open while the mouse travels from link to menu ---- */
.mega-dropdown::before { top: -48px; height: 48px; }
.mega-dropdown { transition: opacity .25s ease .15s, visibility 0s linear .4s, transform .25s ease .15s; }
.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown { transition-delay: 0s; }

/* After a menu click: stay closed until the mouse leaves the item */
.nav-item.menu-closed .mega-dropdown,
.nav-item.menu-closed:hover .mega-dropdown,
.nav-item.menu-closed:focus-within .mega-dropdown { opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s; }

/* ==========================================================================
   Inner pages v2: spotlight cards, ticker, count-up band, scroll timeline,
   and one animated "live" visual per page
   ========================================================================== */

/* cursor spotlight (set by Motion.inner) */
.glow { position: relative; overflow: hidden; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(31,91,255,.14), transparent 62%); pointer-events: none; }
.glow:hover::before { opacity: 1; }
.dk-card.glow::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(56,189,248,.2), transparent 62%); }
.icon-tile, .ai-ico { transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s ease, color .3s ease; }
.feature-card:hover .icon-tile, .report-card:hover .icon-tile { background: var(--color-electric-blue); color: #fff; transform: rotate(-6deg) scale(1.08); }
.dk-card:hover .ai-ico { background: var(--color-electric-blue); color: #fff; transform: scale(1.1); }

/* two drifting rows of chips */
.ticker { display: flex; flex-direction: column; gap: .7rem; overflow: hidden; margin-top: 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tk-row { display: flex; }
.tk-track { display: flex; flex: none; gap: .7rem; padding-right: .7rem; animation: tkmove 160s linear infinite; }
.tk-row.rev .tk-track { animation-direction: reverse; animation-duration: 184s; }
.ticker:hover .tk-track { animation-play-state: paused; }
.tk-track span { white-space: nowrap; font-family: var(--font-mono); font-size: .8rem; padding: .55rem 1.05rem; border: 1px solid var(--border-stone); border-radius: 999px; background: #fff; color: var(--text-dark); }
.tk-row.rev .tk-track span { background: transparent; }
@keyframes tkmove { to { transform: translateX(-100%); } }

/* dark count-up band */
.stat-x { position: relative; overflow: hidden; isolation: isolate; background: #050506; border-radius: var(--radius-xl); padding: 3.25rem 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.sx-blob { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); animation: cta2drift 14s ease-in-out infinite; }
.sx-blob.a { background: #1F5BFF; opacity: .5; left: -120px; top: -210px; }
.sx-blob.b { background: #38BDF8; opacity: .32; right: -120px; bottom: -250px; animation-delay: -6s; }
.sx-item { min-width: 0; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.16); opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.stat-x.on .sx-item { opacity: 1; transform: none; }
.stat-x .sx-item:nth-of-type(2) { transition-delay: .1s; } .stat-x .sx-item:nth-of-type(3) { transition-delay: .2s; } .stat-x .sx-item:nth-of-type(4) { transition-delay: .3s; }
.sx-item b { display: block; font-size: clamp(1.7rem, 2.8vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; background: linear-gradient(180deg, #fff 30%, #9db8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-item small { display: block; margin-top: .65rem; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light-muted); }

/* scroll timeline */
.tl { --p: 0; position: relative; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--border-stone); border-radius: 2px; }
.tl-line i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(var(--color-electric-blue), var(--color-sky-blue)); border-radius: 2px; box-shadow: 0 0 14px rgba(31,91,255,.5); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.tl-card { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-lg); padding: 1.35rem 1.6rem; opacity: .35; transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1), border-color .4s ease; }
.tl-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.tl-card p { font-size: .94rem; margin: 0; }
.tl-item:nth-child(even) .tl-card { grid-column: 1; margin-right: 3.4rem; text-align: right; transform: translateX(-26px); }
.tl-item:nth-child(odd) .tl-card { grid-column: 2; margin-left: 3.4rem; transform: translateX(26px); }
.tl-item.on .tl-card { opacity: 1; transform: none; border-color: rgba(31,91,255,.3); }
.tl-dot { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; border: 2px solid var(--border-stone); display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.16,1,.3,1); }
.tl-dot b { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--text-dark-subtle); transition: color .3s ease; }
.tl-item.on .tl-dot { background: var(--color-electric-blue); border-color: var(--color-electric-blue); box-shadow: 0 0 0 7px rgba(31,91,255,.14); transform: scale(1.06); }
.tl-item.on .tl-dot b { color: #fff; }

/* shared card for the live visuals */
.lv { background: #fff; border: 1px solid var(--border-stone); border-radius: var(--radius-xl); padding: 1.6rem; box-shadow: 0 30px 60px -40px rgba(10,17,40,.35); }
.lv-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-family: var(--font-mono); font-size: .78rem; color: var(--text-dark-subtle); flex-wrap: wrap; }
.lv-pill, .lv-note { font-style: normal; padding: .3rem .75rem; border-radius: 999px; background: rgba(31,91,255,.08); color: var(--color-electric-blue); font-size: .74rem; }
.lv-note b { font-weight: 600; }

/* Merchandising: order build */
.lv-bars { display: flex; align-items: flex-end; gap: 1rem; height: 250px; }
.lv-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .4rem; min-width: 0; }
.lv-bar .v { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; opacity: 0; transition: opacity .6s ease .8s; }
.lv-bar i { position: relative; display: block; width: 100%; height: calc((100% - 52px) * var(--h) / 100); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #5b8aff, #1F5BFF); transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.lv-bar i::before { content: ""; position: absolute; left: -1px; right: -1px; top: -9px; height: 9px; border: 1.5px dashed rgba(31,91,255,.55); border-bottom: 0; border-radius: 8px 8px 0 0; }
.lv-bar b { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--text-dark-subtle); }
.lv.on .lv-bar i { transform: none; } .lv.on .lv-bar .v { opacity: 1; }
.lv-bar:nth-child(2) i { transition-delay: .08s; } .lv-bar:nth-child(3) i { transition-delay: .16s; } .lv-bar:nth-child(4) i { transition-delay: .24s; } .lv-bar:nth-child(5) i { transition-delay: .32s; }
.lv-foot { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border-stone); }
.lv-foot small { display: block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dark-subtle); margin-bottom: .2rem; }
.lv-foot strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; }

/* BOM: size picker */
.lv-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.lv-chips button { font: inherit; font-weight: 600; font-size: .9rem; min-width: 52px; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--border-stone); background: #fff; color: var(--text-dark); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.lv-chips button:hover { border-color: var(--color-electric-blue); transform: translateY(-2px); }
.lv-chips button.on { background: var(--color-electric-blue); border-color: var(--color-electric-blue); color: #fff; }
.lv-table { width: 100%; border-collapse: collapse; }
.lv-table th { text-align: left; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dark-subtle); padding: .5rem .6rem; }
.lv-table td { padding: .8rem .6rem; border-top: 1px solid var(--border-stone); font-size: .93rem; transition: opacity .3s ease; }
.lv-table tbody tr { animation: aicin .45s both; }
.lv-table tbody tr:nth-child(2) { animation-delay: .05s; } .lv-table tbody tr:nth-child(3) { animation-delay: .1s; } .lv-table tbody tr:nth-child(4) { animation-delay: .15s; } .lv-table tbody tr:nth-child(5) { animation-delay: .2s; }
.lv-table tr.on td:last-child { color: var(--color-electric-blue); font-weight: 600; }
.lv-table tr.off td { opacity: .35; }

/* Job work: lot goes out and comes back */
.jw-track { display: flex; align-items: center; margin: 2.2rem 0 1.8rem; }
.jw-node { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex: none; }
.jw-node span { width: 54px; height: 54px; border-radius: 16px; background: #f1f3f9; display: flex; align-items: center; justify-content: center; color: var(--text-dark); }
.jw-node span svg { width: 24px; height: 24px; }
.jw-node.mid span { background: var(--color-electric-blue); color: #fff; box-shadow: 0 0 0 0 rgba(31,91,255,.4); animation: lvpulse 2.4s infinite; }
.jw-node small { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dark-subtle); }
.jw-lane { position: relative; flex: 1; height: 54px; min-width: 0; margin-bottom: 1.35rem; }
.jw-lane::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 2px dashed var(--border-stone); }
.jw-chip { position: absolute; top: 50%; left: 0; margin-top: -14px; opacity: 0; font-style: normal; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; line-height: 28px; padding: 0 .6rem; border-radius: 8px; background: var(--color-electric-blue); color: #fff; white-space: nowrap; animation: jwout 7s ease-in-out infinite; }
.jw-chip.back { background: #0b8fc4; animation-name: jwback; }
.jw-rate { display: flex; gap: .5rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .78rem; }
.jw-rate span { padding: .45rem .8rem; border-radius: 999px; background: #f1f3f9; }
.jw-rate b { font-weight: 600; }
.jw-rate .res { background: var(--color-electric-blue); color: #fff; }
@keyframes jwout { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 38% { left: calc(100% - 70px); opacity: 1; } 46%, 100% { left: calc(100% - 70px); opacity: 0; } }
@keyframes jwback { 0%, 50% { left: 0; opacity: 0; } 56% { opacity: 1; } 88% { left: calc(100% - 70px); opacity: 1; } 96%, 100% { left: calc(100% - 70px); opacity: 0; } }
@keyframes lvpulse { 70% { box-shadow: 0 0 0 14px rgba(31,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(31,91,255,0); } }

/* Inventory: stacked lot bars */
.lv-key { display: flex; align-items: center; gap: .2rem; }
.lv-key i { width: 9px; height: 9px; border-radius: 50%; margin: 0 .35rem 0 .8rem; }
.lv-key i:first-child { margin-left: 0; }
.lv-lots .f, .lv-key .f { background: #38BDF8; } .lv-lots .r, .lv-key .r { background: #1F5BFF; } .lv-lots .i, .lv-key .i { background: #F59E0B; }
.lot-row { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: center; padding: .85rem .5rem; border-radius: 12px; transition: background .25s ease; }
.lot-row:hover { background: #f6f7fb; }
.lot-id b { display: block; font-family: var(--font-mono); font-size: .85rem; }
.lot-id small { font-size: .78rem; color: var(--text-dark-subtle); }
.lot-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #eef0f6; }
.lot-bar i { display: block; height: 100%; width: 0; border-right: 2px solid #fff; transition: width 1.2s cubic-bezier(.16,1,.3,1); }
.lot-bar i:last-child { border-right: 0; }
.lv-lots.on .lot-bar i { width: var(--w); }
.lv-lots .lot-row:nth-of-type(2) i { transition-delay: .1s; } .lv-lots .lot-row:nth-of-type(3) i { transition-delay: .2s; } .lv-lots .lot-row:nth-of-type(4) i { transition-delay: .3s; }

/* About: modules orbit the core */
.orbit { --s: 440px; position: relative; width: var(--s); height: var(--s); max-width: 100%; margin: 0 auto; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(31,91,255,.12), transparent 66%); }
.orbit-ring { position: absolute; inset: 0; animation: orbitspin 50s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; inset: calc(var(--s) * .13); border: 1.5px dashed rgba(31,91,255,.3); border-radius: 50%; }
.orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--s) * .37)); }
.orbit-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
.orbit-chip { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 84px; padding: .75rem .9rem; border-radius: 16px; background: #fff; border: 1px solid var(--border-stone); box-shadow: 0 14px 30px -18px rgba(10,17,40,.4); animation: orbitspin 50s linear infinite reverse; }
.orbit-chip span { color: var(--color-electric-blue); display: flex; } .orbit-chip svg { width: 22px; height: 22px; }
.orbit-chip small { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dark); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 1px solid var(--border-stone); display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 0 0 0 rgba(31,91,255,.35); animation: lvpulse 3s infinite; }
.orbit-core img { width: 48%; }
.orbit:hover .orbit-ring, .orbit:hover .orbit-chip { animation-play-state: paused; }
@keyframes orbitspin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .stat-x { grid-template-columns: 1fr 1fr; padding: 2.25rem 1.5rem; }
}
@media (max-width: 760px) {
  .tl-line { left: 23px; margin-left: -1px; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-dot { left: 23px; }
  .tl-item:nth-child(n) .tl-card { grid-column: 1; margin: 0 0 0 3.6rem; text-align: left; transform: translateX(18px); }
  .tl-item.on:nth-child(n) .tl-card { transform: none; }
}
@media (max-width: 640px) {
  .orbit { --s: 300px; }
  .orbit-chip { min-width: 64px; padding: .5rem .55rem; }
  .orbit-chip small { font-size: .6rem; }
  .lot-row { grid-template-columns: 1fr; gap: .4rem; }
  .lv { padding: 1.2rem; }
  .lv-bars { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-track, .orbit-ring, .orbit-chip, .jw-chip, .jw-node.mid span, .orbit-core, .sx-blob { animation: none; }
  .jw-chip { opacity: 1; position: static; display: inline-block; margin: 0; }
  .sx-item, .tl-card { opacity: 1; transform: none; transition: none; }
}

/* ---------- Karpan AI + Deep Audit Trail pages ---------- */
.lv-chat { max-width: 720px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: .7rem; }
.cb { max-width: 82%; padding: .8rem 1.1rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.cb.u { align-self: flex-end; background: var(--color-electric-blue); color: #fff; border-bottom-right-radius: 4px; }
.cb.a { align-self: flex-start; background: #f1f3f9; border-bottom-left-radius: 4px; }
.cb.a b { display: block; font-weight: 600; margin-bottom: .2rem; }
.cb.a span { display: block; font-size: .85rem; color: var(--text-dark-subtle); }
.cb.typing { align-self: flex-start; background: #f1f3f9; border-bottom-left-radius: 4px; display: flex; gap: 5px; padding: .95rem 1.1rem; position: absolute; visibility: hidden; }
.lv-chat { position: relative; }
.lv-chat.on .cb.u:not(.two) { opacity: 1; transform: none; transition-delay: .2s; }
.lv-chat.on .cb.typing { visibility: visible; position: static; animation: cbtype 1.4s .9s both; }
.lv-chat.on .cb.a:not(.two) { opacity: 1; transform: none; transition-delay: 2.3s; }
.lv-chat.on .cb.u.two { opacity: 1; transform: none; transition-delay: 3.6s; }
.lv-chat.on .cb.a.two { opacity: 1; transform: none; transition-delay: 4.6s; }
.cb.typing i { width: 7px; height: 7px; border-radius: 50%; background: #98a2b8; animation: aicdot 1s infinite; }
.cb.typing i:nth-child(2) { animation-delay: .15s; } .cb.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cbtype { 0% { opacity: 0; transform: translateY(8px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; height: 0; padding: 0; margin: -.35rem 0; } }

.lv-chips.col { flex-direction: column; align-items: stretch; }
.lv-chips.col button { text-align: left; border-radius: 14px; padding: .8rem 1.1rem; font-weight: 500; }
.ask-a { margin-top: .4rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: #f1f3f9; min-height: 96px; }
.ask-a b { display: block; font-weight: 600; margin-bottom: .3rem; }
.ask-a span { display: block; font-size: .88rem; color: var(--text-dark-subtle); }
.ask-a.pop { animation: aicin .45s both; }

.lv-audit { max-width: 860px; margin: 0 auto; text-align: left; }
.split-vis .lv-audit { max-width: none; }
.lv-audit .log-row { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .85rem .4rem; border-top: 1px solid var(--border-stone); opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.lv-audit.on .log-row { opacity: 1; transform: none; }
.lv-audit .log-row[hidden] { display: none; }
.lv-audit .log-row:nth-of-type(2) { transition-delay: .1s; } .lv-audit .log-row:nth-of-type(3) { transition-delay: .25s; } .lv-audit .log-row:nth-of-type(4) { transition-delay: .4s; } .lv-audit .log-row:nth-of-type(5) { transition-delay: .55s; }
.lv-audit .log-row b { display: block; font-size: .92rem; font-weight: 600; }
.lv-audit .log-row small { font-size: .82rem; color: var(--text-dark-subtle); } .lv-audit .log-row small i { font-style: normal; color: var(--color-electric-blue); }
.lv-audit .log-row time { font-family: var(--font-mono); font-size: .74rem; color: var(--text-dark-subtle); text-align: right; }
.lv-audit .tag { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.lv-audit .t-blue { background: rgba(31,91,255,.1); color: var(--color-electric-blue); }
.lv-audit .t-amber { background: rgba(245,158,11,.14); color: #b7791f; }
.lv-audit .t-green { background: rgba(16,185,129,.12); color: #0d8a60; }
@media (max-width: 640px) {
  .cb { max-width: 94%; }
  .lv-audit .log-row { grid-template-columns: auto 1fr; }
  .lv-audit .log-row time { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .cb, .lv-audit .log-row { opacity: 1; transform: none; transition: none; }
  .cb.typing { display: none; }
}

/* ==========================================================================
   WHY KARPAN: dark intro, white circle grows over it, 4 cards open one by one
   Default (phones, no GSAP, reduced motion): dark intro, then cards stacked.
   .why-live (added by Motion.why on desktop) switches to the pinned version.
   ========================================================================== */
.why-sec { background: #050506; color: #fff; margin: calc(var(--sec-y) / 2) 0; position: relative; overflow: hidden; }
.why-sec::before { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(31,91,255,.30), transparent); pointer-events: none; }
.why-pin { position: relative; }
.why-intro { position: relative; padding: var(--sec-y) 0 3rem; }
.why-intro .eyebrow { color: var(--text-light-subtle); }
.why-intro h2 { color: #fff; max-width: 14ch; }
.why-sub { margin-top: 1.1rem; max-width: 44rem; font-size: 1.125rem; color: var(--text-light-muted); }
.why-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3.25rem; }
.why-t { display: flex; flex-direction: column; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--border-navy); }
.why-t i { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--color-sky-blue); }
.why-t span { font-size: 1.5rem; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; max-width: 11ch; }
.why-dots { display: none; }
.why-cards { background: var(--bg-stone); color: var(--text-dark); padding: 2.5rem 0; }
.why-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem clamp(1.25rem, 2.6vw, 2.75rem); }
.wc-n { display: block; font-family: var(--font-mono); font-size: .8rem; color: var(--text-dark-subtle); margin-bottom: 1rem; }
.why-card h3 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; }
.why-card p { margin-top: 1rem; font-size: 1.0625rem; color: var(--text-dark-muted); max-width: 34rem; }
.why-card ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.why-card li { display: flex; align-items: center; gap: .65rem; font-size: 1.0625rem; font-weight: 500; }
.why-card li svg { width: 18px; height: 18px; flex: none; color: var(--color-electric-blue); }
.wc-shot { min-width: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -24px rgba(20,22,31,.35), 0 0 0 1px var(--border-stone); }
.wc-shot img { display: block; width: 100%; height: auto; }

@media (max-width: 1024px) {
  .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-t span { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  .why-intro { padding: 4rem 0 2.5rem; }
}

@media (min-width: 1025px) {
  .why-live { margin: 0; }
  .why-live .why-pin { height: 100vh; height: 100svh; overflow: hidden; background: #050506; }
  .why-live .why-intro { position: absolute; inset: 0; display: flex; align-items: center; padding: 58px 0 0; z-index: 1; }
  .why-live .why-intro .container { width: 100%; }
  .why-live .why-intro h2 { max-width: 18ch; }
  .why-live .why-row { margin-top: 4.5rem; }
  .why-live .why-reveal { position: absolute; inset: 0; z-index: 2; background: var(--bg-stone); clip-path: circle(0% at 0% 58%); will-change: clip-path; pointer-events: none; }
  .why-live .why-cards { position: absolute; inset: 0; background: none; padding: 58px 0 0; }
  .why-live .why-card:first-child { opacity: 1; }
  .why-live .why-card { position: absolute; inset: 58px 0 0; max-width: 1920px; margin: 0 auto; padding: 0 clamp(1.25rem, 2.6vw, 2.75rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); opacity: 0; }
  .why-live .why-card h3 { font-size: clamp(2.25rem, 3.6vw, 3.6rem); }
  .why-live .why-card p { font-size: 1.1875rem; }
  .why-live .wc-shot { max-height: calc(100svh - 58px - 7rem); display: flex; }
  .why-live .wc-shot img { object-fit: cover; object-position: left top; }
  .why-live .why-dots { display: flex; gap: .5rem; position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 4; }
  .why-live .why-dots b { width: 8px; height: 8px; border-radius: 99px; background: rgba(20,22,31,.2); transition: width .3s, background .3s; }
  .why-live .why-dots b.on { width: 28px; background: var(--color-electric-blue); }
}
@media (prefers-reduced-motion: reduce) {
  .why-sec .why-card { opacity: 1; }
}

/* ---- Header: cream -> black, driven by scroll (--hp 0..1 set in app.js) ---- */
.site-header { --hp: 0; transition: none; background: color-mix(in srgb, #050506 calc(var(--hp) * 100%), #F6F5F0); border-bottom: 1px solid color-mix(in srgb, rgba(255,255,255,.08) calc(var(--hp) * 100%), var(--border-stone)); }
.site-header .brand-word { color: color-mix(in srgb, #fff calc(var(--hp) * 100%), var(--text-dark)); }
.nav-link { font-size: 19px; color: color-mix(in srgb, rgba(255,255,255,.92) calc(var(--hp) * 100%), var(--text-dark)); }
.nav-link:hover, .nav-link.active { color: color-mix(in srgb, #7FB0FF calc(var(--hp) * 100%), #1F5BFF); }
.site-header .brand-logo { position: relative; display: inline-flex; }
.site-header .logo-top { opacity: calc(1 - var(--hp)); }
.site-header .logo-scrolled { position: absolute; left: 0; top: 0; opacity: var(--hp); pointer-events: none; }
@media (max-width: 1024px) {
  .nav-link { font-size: 1.15rem; color: #fff; }
  .nav-link:hover, .nav-link.active { color: #7FB0FF; }
}

/* pointer cursor on all menu links */
.nav-link, .nav-item, .mega-dropdown a, .dropdown-item, .mega-cta .btn { cursor: pointer; }

/* mobile menu button follows the header colour (dark on cream, light on black) */
.site-header .nav-toggle { color: color-mix(in srgb, #fff calc(var(--hp) * 100%), var(--text-dark)); border-color: color-mix(in srgb, rgba(255,255,255,.25) calc(var(--hp) * 100%), rgba(20,22,31,.25)); background: transparent; }
body.menu-open .site-header .nav-toggle { color: #fff; border-color: rgba(255,255,255,.25); }

/* ---- Legal pages (Privacy Policy, Terms of Service) ---- */
.lg-head { max-width: 860px; margin: 0 auto 3rem; text-align: left; }
.lg-head h1 { margin: 1rem 0 .75rem; }
.lg-date { margin-top: 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted, #5b6070); }
.lg-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3.5rem; max-width: 1180px; margin: 0 auto; align-items: start; }
.lg-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .15rem; padding-right: 1rem; border-right: 1px solid var(--border-stone); }
.lg-toc-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted, #5b6070); margin-bottom: .6rem; }
.lg-toc a { font-size: .875rem; line-height: 1.4; padding: .35rem 0; color: var(--text-dark); opacity: .7; transition: opacity .2s, color .2s; }
.lg-toc a:hover { opacity: 1; color: var(--color-electric-blue); }
.lg-text section { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-stone); scroll-margin-top: 100px; }
.lg-text h2 { font-size: 1.35rem; margin-bottom: .85rem; }
.lg-text p, .lg-text li { font-size: 1rem; line-height: 1.75; color: var(--text-dark); }
.lg-text p + p { margin-top: .85rem; }
.lg-text ul { margin: .75rem 0 0 1.25rem; display: flex; flex-direction: column; gap: .5rem; list-style: disc; }
.lg-text a { color: var(--color-electric-blue); text-decoration: underline; text-underline-offset: 3px; }
.lg-note { font-size: .95rem; color: var(--text-dark); }
@media (max-width: 900px) {
  .lg-body { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .lg-toc { position: static; border-right: 0; border-bottom: 1px solid var(--border-stone); padding: 0 0 1rem; }
}

/* ---- Timed demo popup (js/nudge.js) ---- */
.nudge-overlay { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(5,5,6,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.nudge-overlay.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.nudge-card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.25rem; align-items: center; width: min(960px, 100%); padding: 1.5rem; border-radius: 32px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12306f 0%, #050506 55%), #050506; box-shadow: 0 40px 90px rgba(0,0,0,.45); transform: translateY(24px) scale(.97); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.nudge-overlay.open .nudge-card { transform: none; }
.nudge-visual { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #6ea1fd, #1565fc); display: flex; align-items: center; padding-left: 1.25rem; }
.nudge-visual img { width: 170%; max-width: none; height: auto; border-radius: 14px 0 0 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.nudge-copy { padding: 1rem 1.5rem 1rem 0; }
.nudge-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 600; letter-spacing: -.25px; color: #fff; }
.nudge-copy h2 em { font-style: normal; color: #6ea1fd; }
.nudge-copy p { margin-top: 1rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.nudge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.75rem; }
.nudge-cta { border: 0; cursor: pointer; font: 600 .95rem var(--font-main, inherit); padding: .9rem 1.6rem; border-radius: 12px; color: #fff; background: #1F5BFF; transition: background .2s, transform .2s; }
.nudge-cta:hover { background: #3a70ff; transform: translateY(-1px); }
.nudge-later { border: 0; background: none; cursor: pointer; font: 500 .9rem var(--font-main, inherit); color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
.nudge-later:hover { color: #fff; }
.nudge-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; color: #14161F; background: rgba(255,255,255,.75); transition: background .2s; }
.nudge-close:hover { background: #fff; }
@media (max-width: 760px) {
  .nudge-card { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.1rem; border-radius: 24px; }
  .nudge-visual { aspect-ratio: 16 / 9; }
  .nudge-copy { padding: 0 .4rem .5rem; }
}
@media (prefers-reduced-motion: reduce) { .nudge-overlay, .nudge-card { transition: none; } }
