/* ==========================================================================
   Vector Byte — design system
   ========================================================================== */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #0f182a;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e8edf7;
  --muted: #9aa7bd;
  --faint: #6b7890;
  --brand: #5b8cff;
  --brand-2: #22d3ee;
  --warm: #ff6b8b;
  --ok: #34d399;
  --grad: linear-gradient(120deg, #5b8cff 0%, #22d3ee 100%);
  --grad-warm: linear-gradient(120deg, #ff6b8b 0%, #ffb86b 100%);
  --glow: 0 0 0 1px rgba(91, 140, 255, .35), 0 20px 60px -20px rgba(91, 140, 255, .45);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .7);
  --nav-bg: rgba(7, 11, 20, .72);
  --code-bg: #060a13;
  --grid-line: rgba(255, 255, 255, .045);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --container: 1180px;
}
:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --bg-3: #e6ecf6;
  --surface: rgba(255, 255, 255, .85);
  --surface-2: #ffffff;
  --line: rgba(12, 20, 36, .09);
  --line-2: rgba(12, 20, 36, .18);
  --text: #0c1424;
  --muted: #4a5a75;
  --faint: #7a8aa4;
  --brand: #2f64f0;
  --brand-2: #0891b2;
  --warm: #e5446d;
  --grad: linear-gradient(120deg, #2f64f0 0%, #0891b2 100%);
  --glow: 0 0 0 1px rgba(47, 100, 240, .3), 0 20px 50px -22px rgba(47, 100, 240, .4);
  --shadow: 0 20px 50px -28px rgba(12, 20, 36, .35);
  --nav-bg: rgba(246, 248, 252, .8);
  --code-bg: #0c1424;
  --grid-line: rgba(12, 20, 36, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.warm-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

/* ---------- buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.4em;
  border-radius: 999px; font-weight: 600; font-size: .96rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(91, 140, 255, .6), 0 24px 70px -18px rgba(91, 140, 255, .65); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }
.btn-sm { padding: .55em 1.05em; font-size: .88rem; }
.btn .ic { width: 1.1em; height: 1.1em; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .35em .85em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .84rem; font-weight: 500;
}
.chip .ic { width: 1em; height: 1em; color: var(--brand-2); }
.chip.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--brand-2); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { width: 36px; height: 36px; }
.brand-word { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; }
.brand-word b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: .5em .85em; border-radius: 999px; font-size: .93rem; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"]:not(.btn) { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 8px; }
.nav-tools { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--brand); }
.icon-btn .ic { width: 20px; height: 20px; }
.t-light, .b-close { display: none; }
:root[data-theme="light"] .t-dark { display: none; }
:root[data-theme="light"] .t-light { display: block; }
.nav-burger { display: none; }
.nav-burger[aria-expanded="true"] .b-open { display: none; }
.nav-burger[aria-expanded="true"] .b-close { display: block; }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; }
.bg-circuit { background-image: url('../img/bg-circuit.svg'); background-size: 420px; }
.bg-grid { background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; }
.has-fade-mask { -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0; }
.orb.a { width: 420px; height: 420px; background: #3b5bff; top: -120px; left: -120px; }
.orb.b { width: 360px; height: 360px; background: #06b6d4; bottom: -100px; right: -80px; opacity: .35; }
.orb.c { width: 300px; height: 300px; background: #ff6b8b; top: 30%; right: 8%; opacity: .16; }
:root[data-theme="light"] .orb { opacity: .16; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.console {
  background: var(--code-bg); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 80px -30px rgba(91, 140, 255, .5);
  overflow: hidden; font-family: var(--font-mono); font-size: .82rem; color: #cbd5e8; position: relative;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 10px; color: #7d8aa3; font-size: .76rem; }
.console pre { margin: 0; padding: 18px 20px 22px; line-height: 1.75; white-space: pre-wrap; min-height: 290px; overflow: hidden; }
.tk-k { color: #c792ea; } .tk-t { color: #5ccfe6; } .tk-s { color: #a5e075; } .tk-c { color: #5b6b86; } .tk-f { color: #82aaff; } .tk-n { color: #ffb86b; }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--brand-2); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { color: var(--brand-2); }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.float-card.f1 { top: -18px; right: -14px; }
.float-card.f2 { bottom: 40px; left: -34px; animation-delay: -2s; }
.float-card.f3 { bottom: -20px; right: 30px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.console-wrap { position: relative; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: rgba(91, 140, 255, .5); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 0; font-size: .96rem; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(91, 140, 255, .22), rgba(34, 211, 238, .12)); border: 1px solid rgba(91, 140, 255, .35); color: var(--brand-2);
}
.icon-badge .ic { width: 26px; height: 26px; }
.icon-badge.warm { background: linear-gradient(145deg, rgba(255, 107, 139, .22), rgba(255, 184, 107, .1)); border-color: rgba(255, 107, 139, .38); color: var(--warm); }
.card-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 18px; color: var(--brand-2); font-weight: 600; font-size: .92rem; }
.card-link .ic { width: 1em; height: 1em; transition: transform .2s; }
.card:hover .card-link .ic { transform: translateX(4px); }
.num { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); position: absolute; top: 24px; right: 24px; }

/* ---------- split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li .ic { color: var(--ok); margin-top: .25em; width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.checks li strong { display: block; }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-stage::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 139, .28), rgba(91, 140, 255, .18) 55%, transparent 70%); filter: blur(30px); }
.phone-stage svg.phone { position: relative; width: min(300px, 78vw); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.phone-note { position: absolute; bottom: -4px; font-size: .74rem; color: var(--faint); }

/* ---------- diagram ---------- */
.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; overflow-x: auto; }
.diagram svg { min-width: 760px; width: 100%; height: auto; }
.diagram .box { fill: var(--bg-3); stroke: var(--line-2); }
.diagram .box-a { fill: rgba(91, 140, 255, .14); stroke: rgba(91, 140, 255, .55); }
.diagram .box-w { fill: rgba(255, 107, 139, .12); stroke: rgba(255, 107, 139, .5); }
.diagram text { fill: var(--text); font-family: var(--font); font-size: 13px; font-weight: 600; }
.diagram text.sub { fill: var(--muted); font-weight: 400; font-size: 11px; }
.diagram text.lbl { fill: var(--faint); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.diagram .wire { stroke: var(--brand); stroke-width: 1.6; fill: none; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 46s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tech { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.tech .ic { color: var(--brand-2); width: 22px; height: 22px; }
.tech small { color: var(--faint); font-weight: 500; font-size: .76rem; margin-left: 2px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-mono); font-size: .8rem; color: var(--brand-2); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .9rem; margin: 0; }
.step .ic { position: absolute; top: 22px; right: 20px; color: var(--faint); }

.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2), transparent); }
.tl-item { position: relative; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand-2); }
.tl-item h3 { display: flex; align-items: center; gap: .6em; margin-bottom: .3em; }
.tl-item .tag { font-family: var(--font-mono); font-size: .74rem; padding: .15em .6em; border-radius: 99px; background: rgba(91, 140, 255, .15); color: var(--brand); font-weight: 500; }
.tl-item p { margin: 0; }

/* ---------- misc blocks ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 76px); text-align: center; border: 1px solid var(--line-2);
  background: radial-gradient(900px 340px at 50% -20%, rgba(91, 140, 255, .35), transparent 70%), radial-gradient(600px 300px at 90% 120%, rgba(255, 107, 139, .22), transparent 70%), var(--bg-2);
}
.cta-band h2 { max-width: 720px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.page-hero { position: relative; padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero p.lead { font-size: 1.2rem; max-width: 700px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 860px; }
.crumbs { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--brand-2); }

.svc { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 10px; }
.svc-side { position: sticky; top: 100px; align-self: start; }
.svc-side h2 { font-size: 1.9rem; margin-top: .2em; }
.svc-body .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 1.4rem 0; }
.svc-body h4 { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; color: var(--faint); font-family: var(--font-mono); font-weight: 500; margin-bottom: .8rem; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.list li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.list li::before { content: ""; width: 6px; height: 6px; margin-top: .62em; border-radius: 2px; background: var(--brand-2); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 0 22px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(91, 140, 255, .5); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.person { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.avatar { width: 72px; height: 72px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #04101f; flex: none; }
.person h3 { margin: 0; } .person p { margin: 0; font-size: .92rem; }

.code-panel { background: var(--code-bg); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-family: var(--font-mono); font-size: .83rem; color: #cbd5e8; }
.code-panel pre { margin: 0; padding: 20px 24px; overflow-x: auto; line-height: 1.75; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kpi-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kpi { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.kpi .ic { color: var(--brand-2); width: 24px; height: 24px; }
.kpi strong { display: block; font-size: .95rem; }
.kpi span { font-size: .84rem; color: var(--muted); }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 184, 107, .4); background: rgba(255, 184, 107, .08); color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; font-family: var(--font-mono); font-size: .72rem; padding: .25em .7em; border-radius: 99px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255, 107, 139, .14); color: var(--warm); border: 1px solid rgba(255, 107, 139, .35); }

/* ---------- forms / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.form { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 140, 255, .18); }
.form-note { font-size: .84rem; color: var(--faint); margin: 0; }
.info-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 16px; margin-bottom: 16px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.info-card p { margin: 0; font-size: .94rem; }
.info-card a { color: var(--brand-2); font-weight: 600; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--muted); padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 1rem 0; max-width: 340px; font-size: .94rem; }
.footer h4 { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 1rem; }
.footer h4.mt { margin-top: 1.8rem; }
.footer-grid a { display: block; color: var(--muted); padding: 5px 0; font-size: .94rem; transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.mail-link { display: inline-flex !important; align-items: center; gap: .5em; color: var(--brand-2) !important; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .86rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-card, .diagram .wire, .caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.rev > :first-child { order: 0; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.f2 { left: -8px; }
  .float-card.f1 { right: -4px; }
}
@media (max-width: 860px) {
  .nav-burger { display: grid; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .85em 1em; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid.c2, .grid.c3, .grid.c4, .steps, .kpi-list, .svc-body .cols, .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .form { padding: 22px; }
  .person { flex-direction: column; align-items: flex-start; }
}

/* hero bottom blend */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: -1; pointer-events: none; }

/* overflow safety on narrow screens */
.hero-grid > *, .split > *, .contact-grid > *, .grid > *, .svc > * { min-width: 0; }
.phone-stage { overflow: hidden; }
.phone-stage::before { max-width: 100%; }
.page-hero, .hero, .section { overflow-x: clip; }
h1, h2, h3 { overflow-wrap: anywhere; }

/* ---- real app screens in a phone frame (replaces the old SVG illustration) ---- */
.phone-stage.real { min-height: 520px; padding: 20px 0 34px; }
.rphone { position: relative; width: min(240px, 62vw); aspect-ratio: 9 / 19; border-radius: 34px; padding: 7px; background: #0b0f1a; border: 2px solid #2a3350; box-shadow: 0 40px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .05); overflow: hidden; }
.rphone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; display: block; }
.rphone.front { z-index: 2; transform: rotate(3deg); }
.rphone.back { position: absolute; z-index: 1; transform: translateX(-120px) rotate(-8deg) scale(.88); opacity: .92; }
@media (max-width: 760px) { .rphone.back { transform: translateX(-82px) rotate(-8deg) scale(.82); } .phone-stage.real { min-height: 480px; } }
