:root {
  --bg: #05060A;
  --bg-2: #0A0C12;
  --bg-3: #11141C;
  --fg: #F2F3F7;
  --fg-dim: #A8ADBC;
  --fg-mute: #6B7185;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --cyan: oklch(0.78 0.14 200);
  --violet: oklch(0.65 0.22 290);
  --magenta: oklch(0.72 0.22 340);
  --grad: linear-gradient(125deg, oklch(0.78 0.14 200) 0%, oklch(0.65 0.22 290) 50%, oklch(0.72 0.22 340) 100%);
  --grad-soft: linear-gradient(125deg, oklch(0.78 0.14 200 / 0.14) 0%, oklch(0.65 0.22 290 / 0.14) 50%, oklch(0.72 0.22 340 / 0.14) 100%);
  --ok: oklch(0.75 0.15 155);
  --warn: oklch(0.78 0.16 70);
  --danger: oklch(0.70 0.20 25);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: oklch(0.65 0.22 290 / 0.5); color: #fff; }

.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', monospace; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.bg-field {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, oklch(0.65 0.22 290 / 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 30%, oklch(0.72 0.22 340 / 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 50%, oklch(0.78 0.14 200 / 0.08), transparent 60%);
}
.grid-lines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 20%, black 30%, transparent 80%);
}

/* NAV */
nav.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(5,6,10,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand .sub { color: var(--fg-mute); font-weight: 400; font-size: 12px; letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; font-size: 14px; color: var(--fg-dim); align-items: center; }
.nav-simple { padding: 8px 14px; border-radius: 8px; color: var(--fg-dim); transition: background .15s, color .15s; }
.nav-simple:hover { background: rgba(255,255,255,0.04); color: var(--fg); }
.nav-item { position: relative; }
.nav-trigger { background: transparent; border: 0; color: var(--fg-dim); font-size: 14px; padding: 8px 14px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .15s, color .15s; }
.nav-trigger .caret { font-size: 10px; opacity: 0.6; }
.nav-item:hover .nav-trigger, .nav-item.open .nav-trigger { background: rgba(255,255,255,0.05); color: var(--fg); }
.nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav-mobile-sep { display: none; }
.nav-mobile-only { display: none; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* MOBILE NAV BURGER */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 6px 8px; border-radius: 8px; transition: background .15s; flex-shrink: 0; }
.nav-burger:hover { background: rgba(255,255,255,0.05); }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--fg-dim); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease, background 0.15s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--fg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--fg); }
@media (max-width: 980px) {
  .nav-burger { display: flex; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(8,10,16,0.98); backdrop-filter: blur(24px) saturate(130%); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); z-index: 98; align-items: flex-start; gap: 2px; }
  .nav-simple, .nav-item { width: 100%; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .nav-mobile-sep { display: block; height: 1px; background: var(--line); margin: 8px 0 4px; width: 100%; }
  .nav-mobile-only { display: block; font-size: 14px; }
}
@media (max-width: 640px) {
  /* Hide text CTAs on very small screens, burger is enough */
  .nav-cta .btn { display: none; }
  .nav-cta .btn.btn-primary { display: flex; }
}

/* MEGA MENU */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(8,10,16,0.96);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 32px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 49;
}
.mega.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-intro { padding-right: 24px; border-right: 1px solid var(--line); }
.mega-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.mega-title { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; margin-bottom: 12px; }
.mega-p { color: var(--fg-dim); font-size: 13px; line-height: 1.55; margin: 0 0 16px; }
.mega-link { color: var(--fg); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.mega-link:hover { color: oklch(0.80 0.15 290); }
.mega-head { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.mega-a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; transition: background .15s; }
.mega-a:hover { background: rgba(255,255,255,0.04); }
.mega-a b { font-weight: 500; display: block; color: var(--fg); font-size: 13px; }
.mega-a i { font-style: normal; font-size: 12px; color: var(--fg-mute); }
.mega-a.small { padding: 6px 10px; color: var(--fg-dim); }
.mega-a.small:hover { color: var(--fg); }
.mega-ico { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; color: var(--fg); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: all 180ms ease; line-height: 1; }
.btn-primary { background: var(--grad); color: #0B0412; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 40px -10px oklch(0.65 0.22 290 / 0.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 18px 50px -10px oklch(0.65 0.22 290 / 0.8); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.22); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* HERO */
section.hero { position: relative; padding: 72px 0 48px; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); font-size: 12px; color: var(--fg-dim); font-family: 'JetBrains Mono', monospace; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px oklch(0.75 0.15 155 / 0.2); }

h1.hero-h { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.035em; margin: 22px 0 20px; font-weight: 500; }
h1.hero-h .serif { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero-sub { color: var(--fg-dim); font-size: 18px; line-height: 1.55; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; margin-top: 24px; color: var(--fg-mute); font-size: 13px; align-items: center; flex-wrap: wrap; }
.hero-trust .check { color: var(--ok); }

/* HERO STACKED CARDS */
.hero-visual { position: relative; min-height: 560px; }
@media (max-width: 1100px) { .hero-visual { min-height: 620px; } }
.stack-card {
  position: absolute;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20,22,32,0.95), rgba(10,12,18,0.95));
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.05) inset;
  font-size: 12px;
  transition: transform .3s, box-shadow .3s;
}
.stack-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -20px rgba(0,0,0,0.9), 0 0 0 1px oklch(0.65 0.22 290 / 0.3), 0 1px 0 rgba(255,255,255,0.05) inset; z-index: 10; }
.sc-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg); margin-bottom: 10px; font-weight: 500; }
.sc-ico { width: 20px; height: 20px; border-radius: 5px; background: var(--grad-soft); border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.sc-pill { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-dim); display: flex; align-items: center; gap: 5px; }
.sc-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.sc-messenger { top: 0; left: 0; right: 20%; z-index: 3; animation: float-a 10s ease-in-out infinite; }
.sc-orders { top: 210px; left: -10px; width: 260px; z-index: 4; animation: float-b 12s ease-in-out infinite; }
.sc-ai { top: 180px; right: -10px; width: 290px; z-index: 5; animation: float-c 11s ease-in-out infinite; }
.sc-ship { top: 380px; left: 50px; width: 320px; z-index: 4; animation: float-a 13s ease-in-out infinite; }
.sc-wh { top: 370px; right: -20px; width: 240px; z-index: 3; animation: float-b 14s ease-in-out infinite; }
.sc-crm { top: 110px; right: 110px; width: 200px; z-index: 2; animation: float-c 12s ease-in-out infinite; }
@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes float-c { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (max-width: 1100px) {
  .sc-messenger { right: 20%; }
}
@media (max-width: 640px) {
  .hero-visual { min-height: 700px; }
  .sc-messenger, .sc-orders, .sc-ai, .sc-ship, .sc-wh, .sc-crm { position: relative; top: auto; left: auto; right: auto; width: 100%; margin-bottom: 10px; animation: none; }
}

.sc-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.sc-row:last-child { border-bottom: 0; }
.av { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line-2); font-size: 9px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-txt { flex: 1; color: var(--fg-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--fg-dim); white-space: nowrap; }
.tag.urgent { background: oklch(0.70 0.20 25 / 0.15); color: oklch(0.80 0.15 25); border-color: oklch(0.70 0.20 25 / 0.3); }
.tag.intent { background: oklch(0.65 0.22 290 / 0.15); color: oklch(0.80 0.18 290); border-color: oklch(0.65 0.22 290 / 0.3); }
.tag.complaint { background: oklch(0.78 0.16 70 / 0.15); color: oklch(0.85 0.14 70); border-color: oklch(0.78 0.16 70 / 0.3); }
.tag.ok { background: oklch(0.75 0.15 155 / 0.15); color: oklch(0.85 0.13 155); border-color: oklch(0.75 0.15 155 / 0.3); }
.tag.followup { background: oklch(0.72 0.22 340 / 0.15); color: oklch(0.82 0.15 340); border-color: oklch(0.72 0.22 340 / 0.3); }

.ord-stat { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.ord-stat .ok, .ord-stat .nv, .ord-stat .wn { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.ord-stat .ok { color: oklch(0.85 0.13 155); }
.ord-stat .nv { color: var(--fg); }
.ord-stat .wn { color: oklch(0.78 0.16 70); }
.ord-stat .ol { font-size: 10px; color: var(--fg-mute); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; margin-top: 2px; }
.ord-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.ord-bar > span { display: block; height: 100%; background: var(--grad); border-radius: 2px; }

.ship-line { display: flex; align-items: center; gap: 6px; margin: 8px 0; }
.dotdot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--line); position: relative; }
.dotdot.done { background: oklch(0.75 0.15 155); border-color: oklch(0.75 0.15 155); }
.dotdot.active { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 4px oklch(0.65 0.22 290 / 0.2); }
.dotdot + .dotdot::before { content: ''; position: absolute; left: -12px; top: 50%; width: 10px; height: 1px; background: rgba(255,255,255,0.15); }
.ship-meta { font-size: 11px; color: var(--fg-dim); }
.ship-meta b { color: var(--fg); font-weight: 500; }

.wh-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 11px; border-bottom: 1px dashed var(--line); }
.wh-row:last-child { border-bottom: 0; }
.bc { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--fg); letter-spacing: -1px; }
.wh-sku { font-family: 'JetBrains Mono', monospace; color: var(--fg-dim); flex: 1; }

.crm-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 11px; color: var(--fg-dim); }
.crm-row:last-child { border-bottom: 0; }
.crm-row b { color: var(--fg); font-weight: 500; }

/* INTEGRATIONS STRIP */
.strip { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.01); position: relative; z-index: 1; }
.strip-label { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 28px; }
.strip-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.integ { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--fg-dim); background: rgba(255,255,255,0.02); transition: all .2s; }
.integ:hover { color: var(--fg); border-color: var(--line-2); background: rgba(255,255,255,0.04); }

/* SECTIONS */
section.block { position: relative; padding: 120px 0; z-index: 1; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 24px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: linear-gradient(to right, transparent, var(--fg-mute)); }
h2.section-h { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 18px; max-width: 820px; }
h2.section-h .serif { font-style: italic; font-weight: 400; }
.section-lede { color: var(--fg-dim); font-size: 18px; line-height: 1.55; max-width: 640px; }

/* PLATFORM MAP */
.platform-map { margin-top: 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 900px) { .platform-map { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .platform-map { grid-template-columns: 1fr; } }
.pm-col { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)); }
.pm-h { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.pm-item { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.02); margin-bottom: 6px; font-size: 13px; color: var(--fg); }

/* MODULES BENTO */
.modules-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mod {
  grid-column: span 2;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border-radius: 14px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
  min-height: 320px;
}
.mod:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mod.wide { grid-column: span 3; }
.mod.full { grid-column: span 6; }
.mod-ico { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 16px; color: var(--fg); }
.mod-h { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.mod-promise { color: var(--fg); font-size: 13px; margin-bottom: 10px; }
.mod-promise .grad-text { font-weight: 500; }
.mod-bullets { list-style: none; padding: 0; margin: 0 0 16px; color: var(--fg-dim); font-size: 13px; line-height: 1.7; }
.mod-bullets li::before { content: '—  '; color: var(--fg-mute); }
.mod-visual { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 900px) { .modules-grid { grid-template-columns: 1fr 1fr; } .mod, .mod.wide, .mod.full { grid-column: span 2; } }
@media (max-width: 560px) { .modules-grid { grid-template-columns: 1fr; } .mod, .mod.wide, .mod.full { grid-column: span 1; } }

.fui-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,0.02); font-size: 11px; margin-bottom: 4px; }
.fui-row .txt { color: var(--fg-dim); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fui-row .chip { font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 1px 5px; border-radius: 3px; background: rgba(255,255,255,0.04); color: var(--fg-dim); }

/* SPOTLIGHT */
.spot-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 48px; }
@media (max-width: 1000px) { .spot-grid { grid-template-columns: 1fr; gap: 32px; } }
.spot-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.spot-list li { display: flex; gap: 14px; align-items: flex-start; }
.spot-list .idx { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); flex-shrink: 0; min-width: 28px; padding-top: 2px; }
.spot-list b { font-weight: 500; font-size: 15px; display: block; margin-bottom: 4px; }
.spot-list p { color: var(--fg-dim); font-size: 14px; line-height: 1.55; margin: 0; }

.flow { border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; background: radial-gradient(ellipse at 50% 0%, oklch(0.65 0.22 290 / 0.15), transparent 70%), linear-gradient(180deg, #0A0C12, #070910); position: relative; overflow: hidden; }
.flow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.flow-node { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); font-size: 12px; color: var(--fg-dim); }
.flow-node .label { font-family: 'JetBrains Mono', monospace; color: var(--fg-mute); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.flow-node .val { color: var(--fg); font-size: 13px; }
.flow-arrow { color: var(--fg-mute); font-family: monospace; }
.flow-branch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ANN CHIPS */
.ann-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 48px; }
@media (max-width: 900px) { .ann-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ann-grid { grid-template-columns: 1fr; } }
.ann-chip { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); transition: all .25s; }
.ann-chip:hover { border-color: var(--line-2); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.ann-chip .tag-top { margin-bottom: 10px; }
.ann-chip .quote { color: var(--fg-dim); font-size: 13px; line-height: 1.5; font-style: italic; }
.ann-chip .sig { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-mute); display: flex; justify-content: space-between; }

/* OPS SECTION */
.ops-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
@media (max-width: 1000px) { .ops-grid { grid-template-columns: 1fr; gap: 32px; } }
.ops-dashboard { border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; background: linear-gradient(180deg, #0A0C12, #070910); }
.ops-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.02); margin-bottom: 16px; font-size: 12px; }
.ops-tab { flex: 1; padding: 6px 10px; border-radius: 6px; text-align: center; color: var(--fg-dim); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.ops-tab.on { background: rgba(255,255,255,0.06); color: var(--fg); }

.ops-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); margin-bottom: 8px; font-size: 12px; }
.ops-row .order-id { font-family: 'JetBrains Mono', monospace; color: var(--fg-mute); width: 72px; }
.ops-row .cust { flex: 1; color: var(--fg); }
.ops-row .stage { font-family: 'JetBrains Mono', monospace; font-size: 10px; }

/* CRM section */
.crm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
@media (max-width: 1000px) { .crm-grid { grid-template-columns: 1fr; gap: 32px; } }
.crm-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; background: linear-gradient(180deg, #0A0C12, #070910); }
.rfm { display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; margin-top: 12px; }
.rfm span { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,0.04); }
.seg-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); margin-bottom: 8px; font-size: 13px; }
.seg-row .cnt { font-family: 'JetBrains Mono', monospace; color: var(--fg-mute); font-size: 11px; }

/* SOLUTIONS TABS */
.sol-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); margin-top: 48px; width: fit-content; flex-wrap: wrap; }
.sol-tab { padding: 10px 18px; border-radius: 8px; font-size: 14px; color: var(--fg-dim); cursor: pointer; border: none; background: transparent; transition: all .2s; }
.sol-tab.active { background: rgba(255,255,255,0.06); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2); }
.sol-tab:hover:not(.active) { color: var(--fg); }
.sol-panel { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .sol-panel { grid-template-columns: 1fr; } }
.sol-benefit { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005)); }
.sol-benefit .b-h { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.sol-benefit .b-p { color: var(--fg-dim); font-size: 13px; line-height: 1.55; }
.sol-benefit .b-metric { margin-top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); }

/* WHY CARDS */
.why-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); }
.why-card h4 { font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.why-card p { color: var(--fg-dim); font-size: 13px; margin: 0; line-height: 1.55; }

/* BLOG */
.blog-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { padding: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.blog-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.blog-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-title { font-size: 16px; font-weight: 500; letter-spacing: -0.012em; color: var(--fg); line-height: 1.35; }
.blog-excerpt { font-size: 13px; color: var(--fg-dim); line-height: 1.55; flex: 1; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.blog-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 2px 7px; border-radius: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--fg-mute); }

/* TRUST */
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; margin-top: 40px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }
.trust-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-stat { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); }
.trust-stat .big { font-size: 36px; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.trust-stat .big .serif { font-style: italic; }
.trust-stat .sm { color: var(--fg-dim); font-size: 13px; margin-top: 8px; }
.logo-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 40px; opacity: 0.7; }
@media (max-width: 700px) { .logo-strip { grid-template-columns: repeat(3,1fr); } }
.logo-slot { padding: 20px 10px; border: 1px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-mute); }

/* AI READY */
.airead { margin-top: 48px; border: 1px solid var(--line-2); border-radius: 16px; padding: 36px; background: linear-gradient(180deg, #0A0C12, #070910); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .airead { grid-template-columns: 1fr; } }
.code-block { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: #05060A; border: 1px solid var(--line); border-radius: 10px; padding: 16px; color: var(--fg-dim); line-height: 1.6; overflow-x: auto; }
.code-block .kw { color: oklch(0.80 0.15 290); }
.code-block .str { color: oklch(0.85 0.13 155); }
.code-block .cm { color: var(--fg-mute); }

/* PRICING */
.pricing-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)); display: flex; flex-direction: column; }
.plan.trial { border-style: dashed; }
.plan.featured { border-color: transparent; background: linear-gradient(180deg, oklch(0.65 0.22 290 / 0.15), rgba(255,255,255,0.01)); position: relative; box-shadow: 0 0 0 1px oklch(0.65 0.22 290 / 0.4), 0 20px 60px -20px oklch(0.65 0.22 290 / 0.5); }
.plan.featured::before { content: 'Most popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono', monospace; font-size: 10px; background: var(--grad); color: #0B0412; padding: 4px 10px; border-radius: 999px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.plan-name { font-size: 14px; font-family: 'JetBrains Mono', monospace; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.plan-price { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.plan-price .per { font-size: 14px; color: var(--fg-mute); font-weight: 400; letter-spacing: 0; }
.plan-for { color: var(--fg-dim); font-size: 13px; margin: 8px 0 20px; min-height: 36px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; color: var(--fg-dim); line-height: 1.65; flex: 1; }
.plan-list li::before { content: '✓  '; color: oklch(0.80 0.15 155); }
.plan .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq-q .caret2 { color: var(--fg-mute); transition: transform .3s; font-family: 'JetBrains Mono', monospace; font-weight: 300; font-size: 22px; flex-shrink: 0; }
.faq-item.open .faq-q .caret2 { transform: rotate(45deg); color: var(--fg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: var(--fg-dim); font-size: 15px; line-height: 1.6; max-width: 780px; }
.faq-item.open .faq-a { max-height: 280px; padding-top: 14px; }

/* STATIC FAQ — SEO-safe, no JS required, <details>/<summary> accordion */
.faq-intro { margin-bottom: 8px; }
.faq-static { margin-top: 40px; }
.faq-group { margin-bottom: 36px; }
.faq-group-label { font-size: 11px; font-weight: 500; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.12em; font-family: 'JetBrains Mono', monospace; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: block; margin-bottom: 0; }
details.faq-d { border-bottom: 1px solid var(--line); }
details.faq-d summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500; letter-spacing: -0.012em; color: var(--fg); user-select: none; }
details.faq-d summary::-webkit-details-marker { display: none; }
details.faq-d summary::after { content: '+'; color: var(--fg-mute); font-family: 'JetBrains Mono', monospace; font-weight: 300; font-size: 22px; flex-shrink: 0; transition: transform .25s; }
details.faq-d[open] summary::after { transform: rotate(45deg); color: var(--fg); }
details.faq-d summary:hover { color: var(--fg); }
.faq-body { padding: 0 0 22px; color: var(--fg-dim); font-size: 14px; line-height: 1.65; max-width: 760px; }
.faq-body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
.faq-body a:hover { opacity: 1; }
@media (max-width: 640px) { details.faq-d summary { font-size: 15px; padding: 16px 0; } }

/* FINAL CTA */
.final-cta { margin: 60px 0 120px; border: 1px solid var(--line-2); border-radius: 20px; padding: 72px 56px; text-align: center; background: radial-gradient(ellipse 60% 60% at 50% 100%, oklch(0.65 0.22 290 / 0.28), transparent 70%), radial-gradient(ellipse 80% 40% at 50% 0%, oklch(0.72 0.22 340 / 0.15), transparent 70%), linear-gradient(180deg, #0A0C12, #070910); position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 50% 60% at 50% 100%, black, transparent 70%); }
.final-cta h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; margin: 0 0 20px; position: relative; }
.final-cta h2 .serif { font-style: italic; }
.final-cta p { color: var(--fg-dim); font-size: 18px; max-width: 560px; margin: 0 auto 36px; position: relative; }
.final-cta .hero-cta { justify-content: center; position: relative; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 12px; font-weight: 500; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 16px; font-family: 'JetBrains Mono', monospace; }
.footer-col a { display: block; color: var(--fg-dim); font-size: 14px; padding: 6px 0; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--fg-mute); font-size: 12px; font-family: 'JetBrains Mono', monospace; flex-wrap: wrap; gap: 12px; }

/* TWEAKS */
#tweaks-panel { position: fixed; bottom: 20px; right: 20px; z-index: 100; width: 280px; padding: 18px; background: rgba(10,12,18,0.96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); font-size: 13px; display: none; }
#tweaks-panel.open { display: block; }
#tweaks-panel h5 { margin: 0 0 14px; font-size: 13px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-mute); }
.tweak-row { margin-bottom: 14px; }
.tweak-row label { display: block; font-size: 12px; color: var(--fg-dim); margin-bottom: 6px; }
.tweak-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-opt { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--fg-dim); font-size: 12px; cursor: pointer; }
.tweak-opt.active { background: var(--grad); color: #0B0412; border-color: transparent; font-weight: 500; }

body[data-accent="violet"] { --grad: linear-gradient(125deg, oklch(0.70 0.18 270) 0%, oklch(0.62 0.22 295) 50%, oklch(0.68 0.20 320) 100%); }
body[data-accent="green"] { --grad: linear-gradient(125deg, oklch(0.78 0.14 170) 0%, oklch(0.72 0.18 155) 50%, oklch(0.80 0.15 130) 100%); }
body[data-accent="amber"] { --grad: linear-gradient(125deg, oklch(0.78 0.14 60) 0%, oklch(0.72 0.18 40) 50%, oklch(0.74 0.18 20) 100%); }

body[data-density="comfy"] section.block { padding: 140px 0; }
body[data-density="compact"] section.block { padding: 80px 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
