:root {
  --bg: #090a0c;
  --bg-alt: #0e1013;
  --panel: #12151a;
  --line: #272d34;
  --text: #f2f2f2;
  --muted: #949ba8;
  --orange: #ff7700;
  --cyan: #00eeff;
  --radius: 10px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--orange); }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; }
.btn-primary { background: var(--orange); color: #0b0b0b; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(255,119,0,.7); }
.btn-ghost { border-color: rgba(0,238,255,.4); color: var(--text); }
.btn-ghost:hover { background: rgba(0,238,255,.08); border-color: var(--cyan); }
.btn-ghost [data-lucide], .btn-ghost svg { color: var(--cyan); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.topbar-track { padding: 8px 16px; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.topbar b { color: var(--orange); font-weight: 600; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(9,10,12,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-img-mark { height: 56px; width: auto; }
.logo-img-word { height: 30px; width: auto; }
.logo-footer img { height: 120px; width: auto; }
@media (max-width: 400px) { .logo-img-mark { height: 46px; } .logo-img-word { height: 24px; } }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 7px; cursor: pointer; }
@media (max-width: 767px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--text); }
}

/* Shared section bits */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); color: var(--cyan); font-size: 13px; letter-spacing: .12em; margin-bottom: 14px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2, .flow-copy h2 { font-size: clamp(28px, 4.5vw, 44px); }
.sub { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .25; mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); }
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; max-width: 520px; }
.stats div { border-left: 2px solid var(--orange); padding-left: 12px; }
.stats dt { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--orange); }
.stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: 0 30px 80px -30px rgba(0,238,255,.18); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scan-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 11px; letter-spacing: .08em; color: var(--cyan); background: rgba(9,10,12,.8); border: 1px solid rgba(0,238,255,.4); border-radius: 4px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s infinite; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .7; animation: scan 4s linear infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes scan { from { top: 0; } to { top: 100%; } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #000; overflow: hidden; padding: 14px 0; font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.marquee .sep { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Industries */
.industry-grid { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-grid li { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--bg-alt); transition: background .15s; }
.industry-grid li:hover { background: var(--panel); }
.industry-grid svg { color: var(--cyan); }
.ind-num { color: var(--orange); font-size: 12px; width: 20px; }
.ind-name { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .02em; }

/* Feature cards */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(255,119,0,.5); transform: translateY(-2px); }
.card > svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: 18px; }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Flow */
.flow { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
.steps { margin-top: 36px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(0,238,255,.4); color: var(--cyan); border-radius: 6px; font-size: 14px; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; }

/* System modules */
.system-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .system-grid { grid-template-columns: repeat(2, 1fr); } }
.module { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.module-num { position: absolute; top: 24px; right: 28px; font-size: 40px; font-weight: 600; color: rgba(255,119,0,.18); }
.module h3 { font-size: 20px; margin-bottom: 12px; padding-right: 60px; }
.module > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 3px; background: rgba(0,238,255,.12); border: 1px solid rgba(0,238,255,.5); }
.checks li::after { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

.guarantee { margin-top: 32px; display: flex; gap: 20px; padding: 32px; border: 1px solid rgba(255,119,0,.5); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,119,0,.12), transparent 60%); }
.guarantee > svg { width: 40px; height: 40px; color: var(--orange); }
.guarantee h3 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 10px; }
.guarantee p { color: var(--muted); }
.guarantee p + p { margin-top: 10px; font-size: 13px; }
@media (max-width: 639px) { .guarantee { flex-direction: column; padding: 24px; } }

/* Pricing */
.pricing-grid { display: grid; gap: 20px; max-width: 920px; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price-card.featured { border-color: var(--orange); box-shadow: 0 20px 60px -30px rgba(255,119,0,.6); }
.tag { align-self: flex-start; font-size: 11px; letter-spacing: .1em; padding: 5px 10px; border-radius: 4px; background: rgba(255,119,0,.14); color: var(--orange); }
.tag-cyan { background: rgba(0,238,255,.1); color: var(--cyan); }
.price-sub { color: var(--muted); margin-top: 14px; }
.price { margin: 18px 0 24px; color: var(--muted); font-size: 16px; }
.price span { font-family: var(--display); font-weight: 700; font-size: 52px; color: var(--text); }
.price-card .checks { margin-bottom: 28px; flex: 1; align-content: start; }
.fine { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.disclaimer { color: var(--muted); font-size: 13px; margin-top: 24px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #000; padding: 64px 0 24px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .logo-footer + p { margin-top: 16px; max-width: 340px; font-size: 15px; }
.footer h4 { font-size: 12px; letter-spacing: .14em; color: var(--cyan); margin-bottom: 16px; }
.contact-list, .link-list { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { color: var(--orange); }
.footer a:hover { color: var(--text); }
.copyright { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.legal-links { display: flex; gap: 20px; }

/* Legal pages */
.legal-back { margin-left: auto; }
.legal { padding: 56px 0 80px; }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); }
.legal-date { color: var(--cyan); font-size: 13px; margin: 12px 0 32px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 16px; margin: 22px 0 8px; color: var(--orange); }
.legal p { color: #c9ced6; margin: 0 0 14px; }
.legal strong { color: var(--text); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 0 0 14px; display: grid; gap: 6px; }
.legal li { position: relative; padding-left: 20px; color: #c9ced6; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 1px; background: var(--orange); }
.legal-callout { margin: 24px 0; padding: 20px 22px; border: 1px solid rgba(255,119,0,.45); border-left-width: 3px; border-radius: 8px; background: rgba(255,119,0,.06); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scanline, .dot { animation: none; }
  html { scroll-behavior: auto; }
}
