/* Volqen ERP — "Deep orbit" design system
   Layout concept: a near-black navy canvas lit by electric-blue and sky glows taken
   from the hexagon logo; glass panels float above it and every section reveals as
   you scroll. Product screens stay light so they read like real software.
   Deliberately single (dark) theme. */
:root {
  --bg: #050A18;
  --bg-2: #08112A;
  --bg-3: #0C1838;
  --navy: #101D3A;
  --blue: #2463EB;
  --blue-d: #1A4FC6;
  --sky: #38B6F4;
  --ice: #EAF1FF;
  --text: #EAF1FF;
  --text-2: #C3D0EC;
  --muted: #8E9EC2;
  --line: rgba(148, 180, 255, .13);
  --line-2: rgba(148, 180, 255, .24);
  --glass: rgba(16, 29, 58, .55);
  --glass-2: rgba(255, 255, 255, .035);
  --ok: #34D399;   --ok-bg: rgba(52, 211, 153, .12);
  --beta: #FBBF24; --beta-bg: rgba(251, 191, 36, .12);
  --plan: #A78BFA; --plan-bg: rgba(167, 139, 250, .14);
  --tbc: #9FB0D6;  --tbc-bg: rgba(159, 176, 214, .12);
  --err: #FB7185;  --err-bg: rgba(251, 113, 133, .12);
  --grad: linear-gradient(100deg, #2463EB 0%, #38B6F4 55%, #9AE6FF 100%);
  --grad-text: linear-gradient(95deg, #FFFFFF 10%, #A9D8FF 45%, #38B6F4 75%, #2463EB 100%);

  --f-display: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-xs: .78rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-xl: 1.35rem; --fs-2xl: 1.75rem; --fs-3xl: clamp(2rem, 4vw, 3.1rem);
  --fs-4xl: clamp(2.6rem, 6.6vw, 5.4rem);

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .8);
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: var(--fs-md); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
/* ambient starfield + glows behind everything */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 38% 64%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 88% 72%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 22% 86%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(900px 600px at 85% -10%, rgba(36,99,235,.20), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(56,182,244,.08), transparent 60%);
}
img, svg { max-width: 100%; }
a { color: #7CC4FF; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #B7E1FF; }
h1, h2, h3, h4 { font-family: var(--f-display); color: #fff; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -.045em; line-height: 1.0; }
h2 { font-size: var(--fs-3xl); font-weight: 750; letter-spacing: -.035em; }
h3 { font-size: var(--fs-xl); font-weight: 650; }
h4 { font-size: var(--fs-lg); font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(56,182,244,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 em, h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 em .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-title em { background: none; }

.wrap { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section.tight { padding-block: clamp(40px, 5vw, 72px); }
.section.alt { background: linear-gradient(180deg, transparent, rgba(16,29,58,.45) 18%, rgba(16,29,58,.45) 82%, transparent); }
.section.sky { background: radial-gradient(900px 420px at 50% 0%, rgba(36,99,235,.22), transparent 70%); }
.section.dark { background: linear-gradient(180deg, transparent, #040814 15%, #040814 85%, transparent); }
.eyebrow { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--sky); font-weight: 500; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px var(--sky); transform: rotate(45deg); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.head { display: grid; gap: 16px; max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { text-align: center; margin-inline: auto; justify-items: center; }
.prose { max-width: 72ch; color: var(--text-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p { margin-top: 1em; }
.prose h2 { font-size: var(--fs-2xl); margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--sky); }
.prose b, .prose strong { color: #fff; }

/* Buttons */
.btn { --bx: 50%; --by: 50%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--f-body); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, border-color .2s, color .2s; white-space: nowrap; position: relative; isolation: isolate; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #04102B; box-shadow: 0 10px 30px -10px rgba(56,182,244,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary:hover { color: #04102B; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(56,182,244,.85), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: #fff; backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(56,182,244,.7); color: #fff; background: rgba(56,182,244,.08); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ice); color: var(--navy); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: #8FD3FF; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after, .card.link:hover .link-arrow::after, .ind:hover .link-arrow::after { transform: translateX(4px); }

/* Preview banner */
.preview-bar { background: linear-gradient(90deg, rgba(251,191,36,.14), rgba(251,191,36,.06)); color: #FDE68A; font-size: var(--fs-sm); border-bottom: 1px solid rgba(251,191,36,.2); }
.preview-bar .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; padding-block: 7px; text-align: center; flex-wrap: wrap; }
.preview-bar a { color: #FDE68A; font-weight: 600; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); z-index: 80; box-shadow: 0 0 10px var(--sky); pointer-events: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5,10,24,.72); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand svg { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(56,182,244,.25), 0 6px 20px -6px rgba(36,99,235,.8); }
.brand-word { font-family: var(--f-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: #fff; }
.brand-word span { font-weight: 600; margin-left: 4px; letter-spacing: 0; font-size: .78em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 14px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 999px; color: var(--text-2); font-weight: 500; font-size: .93rem; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { min-height: 42px; padding: 0 18px; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; background: rgba(10,20,48,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; width: min(780px, 92vw); display: none; }
.mega.open { display: grid; animation: drop .22s cubic-bezier(.2,.8,.2,1); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
.mega.cols-2 .mega-grid { grid-template-columns: repeat(2, 1fr); }
.mega.narrow { width: 340px; }
.mega.narrow .mega-grid { grid-template-columns: 1fr; }
.mega a.mi { display: flex; gap: 12px; padding: 10px; border-radius: var(--r-md); text-decoration: none; color: #fff; transition: background .2s; }
.mega a.mi:hover { background: rgba(56,182,244,.08); }
.mi-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(36,99,235,.18); border: 1px solid rgba(56,182,244,.25); color: #8FD3FF; display: grid; place-items: center; flex-shrink: 0; }
.mi-ico svg { width: 18px; height: 18px; }
.mi b { display: block; font-size: .92rem; font-weight: 600; }
.mi small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143,178,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143,178,255,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; will-change: transform; }
.orb-1 { width: 520px; height: 520px; background: rgba(36,99,235,.45); top: -180px; right: -120px; }
.orb-2 { width: 380px; height: 380px; background: rgba(56,182,244,.28); top: 220px; left: -160px; }
.orb-3 { width: 300px; height: 300px; background: rgba(124,58,237,.18); bottom: -120px; right: 20%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero h1 { color: #fff; }
.hero-center { text-align: center; display: grid; justify-items: center; gap: 26px; padding-block: clamp(64px, 9vw, 120px) 40px; }
.hero-center .lead { margin-inline: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: .85rem; color: var(--text-2); text-decoration: none; backdrop-filter: blur(8px); }
.hero-badge b { background: var(--grad); color: #04102B; border-radius: 999px; padding: 2px 10px; font-size: .75rem; }
.hero-badge:hover { border-color: rgba(56,182,244,.6); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero .lead { color: var(--text-2); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: var(--fs-sm); color: var(--muted); justify-content: center; }
.hero-points li { display: inline-flex; gap: 7px; align-items: center; }
.hero-points svg { width: 16px; height: 16px; color: var(--ok); }
.page-hero { padding-block: clamp(56px, 7vw, 100px) clamp(48px, 6vw, 80px); }
.page-hero .hero-copy { max-width: 860px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-split > * { min-width: 0; }

/* Hero product stage: tilts flat as you scroll */
.stage { perspective: 1600px; margin-top: 18px; width: 100%; }
.stage-inner { transform: rotateX(var(--tilt, 22deg)) scale(var(--sc, .94)); transform-origin: 50% 0; transition: transform .1s linear; position: relative; }
.stage-inner::before { content: ""; position: absolute; inset: 8% 6% -6%; background: var(--grad); filter: blur(80px); opacity: .45; z-index: -1; border-radius: 40px; }
.stage .mock { max-width: 1040px; margin-inline: auto; }

/* Product mockup (illustrative UI) — keeps light "real software" palette */
.mock { --ink: #0E1A33; --ink-2: #33415E; --muted: #5A6784; --line: #DCE4F3; --bg-alt: #F5F8FE; --sky-2: #D7E4FF; --ok: #0E7C55; --ok-bg: #E3F5EC; --beta: #8A5A00; --beta-bg: #FFF1D6; --err: #B42318;
  background: #F7F9FD; border-radius: 16px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; color: var(--ink); font-size: 12px; min-width: 0; text-align: left; }
.mock h4, .mock b { color: var(--ink); }
.mock-top { display: flex; align-items: center; gap: 8px; background: #fff; border-bottom: 1px solid var(--line); padding: 9px 12px; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5DCEA; display: block; }
.mock-dots i:nth-child(1) { background: #FF6B6B; } .mock-dots i:nth-child(2) { background: #FFC14D; } .mock-dots i:nth-child(3) { background: #3DD68C; }
.mock-url { flex: 1; background: var(--bg-alt); border-radius: 6px; padding: 4px 10px; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.mock-side { background: #0B1838; color: #9FB0D6; padding: 12px 8px; display: grid; align-content: start; gap: 2px; }
.mock-side .ms-brand { display: flex; align-items: center; gap: 7px; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 13px; padding: 2px 6px 12px; }
.mock-side .ms-brand svg { width: 20px; height: 20px; border-radius: 5px; }
.mock-side span { padding: 6px 8px; border-radius: 6px; font-size: 11px; display: flex; gap: 7px; align-items: center; }
.mock-side span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .5; }
.mock-side span.on { background: rgba(36,99,235,.45); color: #fff; }
.mock-main { padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.mock-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-h b { font-family: var(--f-display); font-size: 14px; }
.mock-h small { font-family: var(--f-mono); color: var(--muted); font-size: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.kpi small { color: var(--muted); font-size: 10px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-family: var(--f-mono); font-size: 13.5px; font-weight: 500; display: block; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 10px; color: var(--ok); font-family: var(--f-mono); }
.kpi em.dn { color: var(--err); }
.mock-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; min-width: 0; }
.panel-t { font-size: 10.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; display: flex; justify-content: space-between; }
.panel-t i { font-style: normal; font-family: var(--f-mono); color: var(--muted); font-weight: 400; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; background: var(--sky-2); border-radius: 3px 3px 0 0; display: block; transform-origin: bottom; }
.bars i.hi { background: linear-gradient(180deg, #38B6F4, #2463EB); }
.bars-x { display: flex; gap: 5px; font-family: var(--f-mono); font-size: 8.5px; color: var(--muted); margin-top: 4px; }
.bars-x span { flex: 1; text-align: center; }
.mini-list { display: grid; gap: 6px; list-style: none; }
.mini-list li { display: flex; justify-content: space-between; gap: 6px; font-size: 10.5px; align-items: center; color: var(--ink); }
.mini-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: 9.5px; padding: 2px 7px; border-radius: 99px; font-weight: 600; white-space: nowrap; }
.pill.w { background: var(--beta-bg); color: var(--beta); }
.pill.g { background: var(--ok-bg); color: var(--ok); }
.pill.b { background: #EAF1FF; color: #2463EB; }
.tbl { width: 100%; border-collapse: collapse; font-size: 10.5px; color: var(--ink); }
.tbl th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 5px 4px; border-bottom: 1px solid #EEF2F8; font-variant-numeric: tabular-nums; }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--f-mono); }
.mock-note { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); margin-top: 12px; text-align: right; }
.mock-wrap { position: relative; min-width: 0; }
.float-card { position: absolute; background: rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); padding: 10px 14px; font-size: 11px; color: #0E1A33; display: grid; gap: 3px; border: 1px solid #DCE4F3; animation: bob 6s ease-in-out infinite; }
.float-card b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: #0E1A33; }
.float-card small { color: #5A6784; }
.fc-1 { left: -30px; bottom: 60px; }
.fc-2 { right: -24px; top: -20px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Logo marquee / industries ribbon */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding-block: 8px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-2); text-decoration: none; white-space: nowrap; font-weight: 500; }
.marquee-item svg { width: 18px; height: 18px; color: var(--sky); }
.marquee-item:hover { color: #fff; border-color: rgba(56,182,244,.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Connected systems strip */
.systems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sys { padding: 22px 18px; display: grid; gap: 8px; text-decoration: none; color: #fff; position: relative; background: var(--bg-2); transition: background .25s; }
.sys:hover { background: var(--bg-3); color: #fff; }
.sys .ico { width: 30px; height: 30px; color: var(--sky); }
.sys b { font-family: var(--f-display); font-size: 1rem; }
.sys small { color: var(--muted); font-size: .8rem; line-height: 1.45; }

/* Grids & glass cards with cursor spotlight */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { --mx: 50%; --my: 0%; position: relative; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(56,182,244,.13), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }
.card.link { text-decoration: none; color: inherit; }
.card.link:hover { transform: translateY(-4px); border-color: rgba(56,182,244,.45); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(36,99,235,.35), rgba(56,182,244,.12)); border: 1px solid rgba(56,182,244,.3); color: #A9DCFF; display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--text-2); font-size: .96rem; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plain-list { list-style: none; display: grid; gap: 10px; color: var(--text-2); }
.plain-list b { color: #fff; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--text-2); }
.check-list li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(56,182,244,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338B6F4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: inset 0 0 0 1px rgba(56,182,244,.35); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento .card { padding: 30px; }
.b-wide { grid-column: span 4; } .b-mid { grid-column: span 3; } .b-sm { grid-column: span 2; } .b-tall { grid-row: span 2; }
.bento .big-num { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bento-visual { margin-top: auto; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-cloud span { font-family: var(--f-mono); font-size: .75rem; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255,255,255,.03); }
.hex-orbit { position: relative; height: 180px; display: grid; place-items: center; }
.hex-orbit svg.logo-big { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(56,182,244,.3), 0 0 60px rgba(36,99,235,.6); position: relative; z-index: 1; }
.hex-orbit .ring { position: absolute; border: 1px dashed rgba(56,182,244,.3); border-radius: 50%; }
.hex-orbit .r1 { width: 180px; height: 180px; animation: spin 30s linear infinite; }
.hex-orbit .r2 { width: 260px; height: 260px; animation: spin 50s linear infinite reverse; }
.hex-orbit .dot { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 14px var(--sky); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll story (sticky) */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-steps { display: grid; gap: 0; }
.story-step { min-height: 62vh; display: grid; align-content: center; gap: 14px; padding-block: 40px; opacity: .32; transition: opacity .45s; }
.story-step.active { opacity: 1; }
.story-step .num { font-family: var(--f-mono); color: var(--sky); font-size: .85rem; letter-spacing: .12em; }
.story-step p { color: var(--text-2); max-width: 46ch; }
.story-visual { position: sticky; top: 120px; height: min(560px, 72vh); display: grid; place-items: center; }
.story-panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.story-panel.active { opacity: 1; transform: none; }
.story-panel .mock { width: 100%; }

/* Horizontal "how it works" */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: j; position: relative; }
.journey::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); opacity: .5; }
.journey .card { padding-top: 76px; }
.journey .card::after { counter-increment: j; content: counter(j, decimal-leading-zero); position: absolute; top: 18px; left: 28px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .8rem; color: #04102B; background: var(--grad); box-shadow: 0 0 20px rgba(56,182,244,.6); }

/* Status badge */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; letter-spacing: .01em; background: var(--tbc-bg); color: var(--tbc); border: 1px solid rgba(159,176,214,.2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status[data-s="available"] { background: var(--ok-bg); color: var(--ok); border-color: rgba(52,211,153,.25); }
.status[data-s="beta"] { background: var(--beta-bg); color: var(--beta); border-color: rgba(251,191,36,.25); }
.status[data-s="planned"] { background: var(--plan-bg); color: var(--plan); border-color: rgba(167,139,250,.25); }
.status-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: var(--fs-sm); color: var(--muted); align-items: center; }
.status-legend b { color: #fff; }

/* Process flow */
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; }
.flow li span { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; color: #fff; }
.flow li + li::before { content: ""; width: 16px; height: 1px; background: var(--sky); box-shadow: 0 0 6px var(--sky); }

/* Steps */
.steps { list-style: none; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 1.05rem; color: var(--sky); padding-top: 2px; }
.steps h3, .steps h4 { font-size: var(--fs-lg); margin-bottom: 6px; }
.steps p { color: var(--text-2); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.feature-copy { display: grid; gap: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.02); }
.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: rgba(36,99,235,.12); font-family: var(--f-display); font-size: .95rem; color: #fff; }
.cmp tbody th { font-weight: 600; color: #fff; width: 26%; }
.cmp td { color: var(--text-2); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp td.yes { color: var(--ok); font-weight: 600; }
.cmp td.no { color: var(--muted); }

/* Industry tiles */
.ind { --mx: 50%; --my: 0%; display: grid; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); text-decoration: none; color: #fff; position: relative; overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s; min-width: 0; }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(36,99,235,.22), transparent 50%); opacity: 0; transition: opacity .3s; }
.ind:hover::before { opacity: 1; }
.ind:hover { border-color: rgba(56,182,244,.45); transform: translateY(-4px); color: #fff; }
.ind .ico { width: 40px; height: 40px; color: var(--sky); }
.ind p { color: var(--text-2); font-size: .94rem; }
.ind .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--f-mono); font-size: .7rem; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.04); color: var(--text-2); border: 1px solid var(--line); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); gap: 1px; }
.fact { padding: 30px 24px; display: grid; gap: 6px; background: var(--bg-2); }
.fact b { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.fact span { font-size: var(--fs-sm); color: var(--muted); }

/* Deploy */
.deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deploy .card { padding: 34px; }
.deploy .card h3 { font-size: var(--fs-2xl); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); gap: 4px; }
.billing-toggle button { font: inherit; font-size: .9rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--grad); color: #04102B; }
.billing-toggle small { font-weight: 500; opacity: .8; }
.pricing-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-bottom: 40px; }
.pricing-controls select { width: auto; min-width: 140px; border-radius: 999px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; display: grid; gap: 18px; align-content: start; padding: 32px; border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); min-width: 0; }
.tier.feat { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px rgba(56,182,244,.45); }
.tier h3 { font-size: 1.5rem; }
.tier .t-desc { color: var(--text-2); font-size: .95rem; min-height: 3em; }
.tier .t-price { display: grid; gap: 4px; }
.tier .t-amount { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.tier .t-amount small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .t-note { font-size: .82rem; color: var(--muted); }
.tier .t-limits { display: flex; flex-wrap: wrap; gap: 8px; }
.tier .t-limits span { font-family: var(--f-mono); font-size: .74rem; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.ribbon { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #04102B; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.price-card .price { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: #fff; }
.price-card .price small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.price-card.feat { border-color: rgba(56,182,244,.5); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; position: relative; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--sky); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 120%, rgba(56,182,244,.4), transparent 60%), radial-gradient(500px 300px at 0% -20%, rgba(36,99,235,.5), transparent 60%), #0A1636; border: 1px solid var(--line-2); overflow: hidden; isolation: isolate; }
.cta-inner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-2); margin-top: 12px; }
.cta-band .btn-row { justify-content: flex-end; }

/* Forms */
.form-shell { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-shell > * { min-width: 0; }
.form-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 38px); backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: #fff; }
.field .req { color: var(--err); margin-left: 2px; }
.field .hint { font-size: .8rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea { width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(5,10,24,.6); color: #fff; transition: border-color .2s, box-shadow .2s; }
select option { background: var(--bg-2); color: #fff; }
input::placeholder, textarea::placeholder { color: #6B7BA0; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56,182,244,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: .82rem; display: none; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.input-affix { display: flex; align-items: stretch; }
.input-affix input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-affix span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(255,255,255,.04); color: var(--text-2); font-family: var(--f-mono); font-size: .85rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 8px; top: 8px; margin: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .86rem; cursor: pointer; transition: all .2s; user-select: none; color: var(--text-2); background: rgba(255,255,255,.02); }
.chip input:checked + span { background: rgba(56,182,244,.16); border-color: var(--sky); color: #fff; font-weight: 600; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.chip input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sky); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-md); padding: 16px 18px; font-size: .94rem; display: grid; gap: 4px; margin-top: 16px; }
.form-status.ok { background: var(--ok-bg); color: #A7F3D0; border: 1px solid rgba(52,211,153,.3); }
.form-status.bad { background: var(--err-bg); color: #FECDD3; border: 1px solid rgba(251,113,133,.3); }
.form-status.prev { background: var(--beta-bg); color: #FDE68A; border: 1px solid rgba(251,191,36,.3); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.side-panel { display: grid; gap: 18px; }
.contact-line { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-line .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(36,99,235,.2); color: var(--sky); display: grid; place-items: center; }
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line b { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-line span, .contact-line a { font-weight: 600; color: #fff; word-break: break-word; }
.pending { color: var(--muted) !important; font-style: italic; font-weight: 400 !important; }

/* Signup wizard */
.wizard { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.wizard > * { min-width: 0; }
.wz-steps { display: flex; gap: 6px; list-style: none; margin-bottom: 26px; flex-wrap: wrap; }
.wz-steps li { flex: 1 1 0; min-width: 90px; display: grid; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.wz-steps li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s, box-shadow .3s; }
.wz-steps li.done::before, .wz-steps li.current::before { background: var(--grad); box-shadow: 0 0 10px rgba(56,182,244,.6); }
.wz-steps li.current { color: #fff; }
.wz-panel { display: grid; gap: 22px; animation: panelIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.wz-panel h2 { font-size: var(--fs-2xl); }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-body { display: grid; gap: 6px; height: 100%; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(255,255,255,.025); transition: border-color .2s, background .2s, box-shadow .2s; }
.choice-body .ico { width: 26px; height: 26px; color: var(--sky); }
.choice-body b { color: #fff; font-family: var(--f-display); font-size: 1.05rem; }
.choice-body small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.choice-body .c-price { font-family: var(--f-mono); color: var(--text-2); font-size: .85rem; }
.choice input:checked + .choice-body { border-color: var(--sky); background: rgba(56,182,244,.1); box-shadow: 0 0 0 1px var(--sky), 0 14px 40px -18px rgba(56,182,244,.7); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--sky); outline-offset: 2px; }
.summary { position: sticky; top: 100px; display: grid; gap: 14px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .9rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: #fff; text-align: right; word-break: break-word; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary .total b { font-family: var(--f-display); font-size: 1.6rem; }
.pay-methods { display: grid; gap: 10px; }
.provision { display: grid; gap: 14px; list-style: none; }
.provision li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; color: var(--muted); transition: color .3s; }
.provision li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); }
.provision li.run { color: #fff; }
.provision li.run::before { border-color: var(--sky); border-top-color: transparent; animation: spin .8s linear infinite; }
.provision li.ok { color: #fff; }
.provision li.ok::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A18' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.provision li.fail::before { border-color: var(--err); background: var(--err); }
.mono-box { font-family: var(--f-mono); font-size: .88rem; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(5,10,24,.7); border: 1px solid var(--line-2); color: #A9DCFF; word-break: break-all; }

/* Articles */
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.callout { border: 1px solid rgba(56,182,244,.3); background: rgba(36,99,235,.1); padding: 16px 20px; border-radius: var(--r-md); color: var(--text-2); margin: 1.4em 0; }
.callout b { color: #fff; }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, #030712); color: var(--muted); font-size: .92rem; padding-bottom: env(safe-area-inset-bottom, 0px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-block: 72px 40px; }
.foot-grid > * { min-width: 0; }
.site-footer h4 { color: #fff; font-size: .78rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-about { display: grid; gap: 16px; align-content: start; }
.foot-contact { display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.foot-word { font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 17vw, 15rem); letter-spacing: -.06em; line-height: .8; text-align: center; background: linear-gradient(180deg, rgba(56,182,244,.22), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-bottom: -.12em; white-space: nowrap; overflow: hidden; }

/* WhatsApp float + toast */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31,168,85,.7); border: 0; cursor: pointer; text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: rgba(12,24,56,.96); border: 1px solid var(--line-2); color: #fff; padding: 12px 18px; border-radius: var(--r-md); font-size: .9rem; z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-size: .88rem; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; color: var(--text-2); }
.filters button[aria-pressed="true"] { background: var(--grad); color: #04102B; border-color: transparent; font-weight: 600; }

/* Roadmap board */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.board-col { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.board-col h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.board-col h3 small { font-family: var(--f-mono); color: var(--muted); font-weight: 400; }
.board-item { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; font-size: .9rem; display: grid; gap: 2px; color: #fff; }
.board-item small { color: var(--muted); font-size: .8rem; }
.board-empty { font-size: .85rem; color: var(--muted); font-style: italic; padding: 6px 2px; }

/* Scroll reveal: elements in view at load show immediately; others rise in */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .8s; transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }
  .bars i { animation: grow 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 60ms + .4s); }
  @keyframes grow { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
  .hero-title .w { display: inline-block; animation: wordIn .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--w) * 70ms); }
  @keyframes wordIn { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage-inner { transform: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-menu .nav-link { padding: 9px 9px; font-size: .9rem; }
  .systems { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); } .kpis .kpi:nth-child(4) { display: none; }
  .wizard { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .nav-actions .btn-ghost { display: none; }
  .nav-menu { position: fixed; inset: calc(74px + env(safe-area-inset-top, 0px)) 0 0 0; background: rgba(5,10,24,.98); backdrop-filter: blur(16px); flex-direction: column; align-items: stretch; margin: 0; padding: 12px var(--gutter-r) 40px var(--gutter-l); overflow-y: auto; gap: 0; display: none; border-top: 1px solid var(--line); }
  .nav-open .nav-menu { display: flex; }
  .nav-open.site-header { background: rgba(5,10,24,.98); }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.02rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .mega { position: static; box-shadow: none; border: 0; width: auto; padding: 0 0 12px; background: transparent; backdrop-filter: none; }
  .mega-grid, .mega.cols-2 .mega-grid { grid-template-columns: 1fr; }
  .mega.narrow { width: auto; }
  .nav-actions { margin-left: 0; }
  .hero-grid, .hero-split, .split, .form-shell, .cta-inner, .story { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .deploy, .tiers { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-wide, .b-mid { grid-column: span 2; } .b-sm { grid-column: span 1; } .b-tall { grid-row: auto; }
  .journey { grid-template-columns: repeat(2, 1fr); } .journey::before { display: none; }
  .story-visual { display: none; }
  .story-step { min-height: 0; opacity: 1; padding-block: 24px; }
  .story-step .mobile-visual { display: block; }
  .fc-1 { left: 8px; } .fc-2 { right: 8px; }
}
.story-step .mobile-visual { display: none; margin-top: 10px; }
@media (max-width: 640px) {
  .nav-actions .btn-primary { display: none; }
  .g2, .g3, .g4, .form-grid, .board, .choice-grid, .choice-grid.cols-2, .journey, .bento { grid-template-columns: 1fr; }
  .b-wide, .b-mid, .b-sm { grid-column: auto; }
  .systems { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:nth-child(n+3) { display: none; }
  .mock-row { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps li { grid-template-columns: 40px 1fr; gap: 12px; }
  .card, .tier { padding: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .stage-inner { transform: none !important; }
  .facts { grid-template-columns: 1fr 1fr; }
}
