/* nuflo.design — marketing site stylesheet (static, decoupled from the app's Tailwind
   build). Ported from brand/nuflo.design.zip (css/brand.css + homepage.html + product.html)
   and extended with a competitor-comparison surface + responsive rules. This file is
   served verbatim at /marketing.css and linked by the prerendered marketing pages; it
   shares no build pipeline with the SPA, so the design is locked in regardless of the
   app bundle. */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&f[]=jetbrains-mono@400,500,700&display=swap');

:root {
  /* Core surfaces */
  --bg: #08090F;
  --bg-2: #0B0D17;
  --bg-3: #11141F;
  --surface: #161A26;
  --surface-2: #1C2030;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.2);

  /* Brand */
  --indigo: #4F46FF;
  --indigo-bright: #635BFF;
  --violet: #8B5CF6;
  --violet-soft: #A78BFA;
  --cyan: #22D3EE;
  --cyan-soft: #67E8F9;
  --magenta: #EC4899;
  --amber: #FBBF24;

  /* Neutrals */
  --slate-900: #0B0D17;
  --slate-800: #11141F;
  --slate-700: #1A1E2C;
  --slate-600: #252A3A;
  --slate-500: #3A4055;
  --slate-400: #5C6479;
  --slate-300: #8A92A8;
  --slate-200: #B6BCC9;
  --slate-100: #DFE3EC;
  --white: #F5F6FA;

  /* Type */
  --fs-sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Gradients */
  --aurora: linear-gradient(135deg, #4F46FF 0%, #8B5CF6 50%, #22D3EE 100%);
  --aurora-soft: linear-gradient(135deg, rgba(79,70,255,0.18) 0%, rgba(139,92,246,0.18) 50%, rgba(34,211,238,0.18) 100%);
  --aurora-text: linear-gradient(110deg, #A78BFA 0%, #8B5CF6 35%, #22D3EE 100%);

  /* Radii / shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-glow: 0 20px 80px -10px rgba(79,70,255,0.45);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 60px -20px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--fs-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { font-weight: 400; letter-spacing: -0.005em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* Logo */
.nf-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.nf-logo .nf-mark { width: 28px; height: 28px; flex-shrink: 0; }
.nf-logo .nf-word { font-family: var(--fs-sans); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nf-logo .nf-word .dot { color: var(--slate-300); font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; cursor: pointer; transition: all .15s ease; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--indigo); color: white; box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 24px -6px rgba(79,70,255,0.6); }
.btn-primary:hover { background: var(--indigo-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.btn-violet { background: var(--violet); color: white; box-shadow: 0 6px 24px -6px rgba(139,92,246,0.6); }
.btn-violet:hover { background: #9d6dfb; transform: translateY(-1px); }

/* Text utilities */
.aurora-text { background: var(--aurora-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-family: var(--fs-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-300); font-weight: 500; }
.mono { font-family: var(--fs-mono); }
.muted { color: var(--slate-300); }

/* Cards */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-soft { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* Grid background helper */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* Iridescent motifs — layered CSS stand-ins for the rendered look */
.blob {
  position: relative;
  border-radius: 50%;
  filter: blur(0.4px);
  background:
    radial-gradient(circle at 30% 28%, #f0e8ff 0 6%, transparent 14%),
    radial-gradient(circle at 70% 35%, #ff7ad9 0 8%, transparent 22%),
    radial-gradient(circle at 35% 70%, #22D3EE 0 10%, transparent 30%),
    radial-gradient(circle at 80% 75%, #4F46FF 0 14%, transparent 40%),
    conic-gradient(from 220deg at 50% 50%, #4F46FF, #8B5CF6, #EC4899, #FBBF24 28%, #22D3EE 55%, #4F46FF);
  box-shadow:
    0 60px 120px -20px rgba(79,70,255,0.55),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}
.blob::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9), transparent 35%);
  mix-blend-mode: screen;
}
.torus {
  position: relative;
  border-radius: 50%;
  background:
    conic-gradient(from 200deg, #4F46FF 0%, #8B5CF6 20%, #EC4899 40%, #FBBF24 55%, #22D3EE 75%, #4F46FF 100%);
  box-shadow: 0 40px 100px -10px rgba(79,70,255,0.4);
}
.torus::before {
  content: "";
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(34,211,238,0.4) inset;
}

/* ── Layout chrome ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 30; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; background: rgba(8,9,15,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--slate-200); }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a .chev { font-size: 10px; color: var(--slate-400); }
.nav-right { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.nav-right .login { color: var(--slate-200); }
.nav-right .login:hover { color: var(--white); }
.stars { display: inline-flex; align-items: center; gap: 6px; color: var(--slate-200); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--fs-mono); font-size: 12px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── Homepage: hero ────────────────────────────────────────── */
.hero { padding: 90px 0 80px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; left: -200px; top: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 60%); pointer-events: none; z-index: -1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--slate-200); background: rgba(255,255,255,0.02); }
.pill .dot { width: 6px; height: 6px; background: var(--violet); border-radius: 999px; box-shadow: 0 0 8px var(--violet); }
.pill a { color: var(--violet-soft); font-weight: 600; }
.hero h1 { font-size: 76px; font-weight: 900; line-height: 0.98; letter-spacing: -0.035em; margin: 22px 0 22px; text-wrap: balance; }
.hero h1 .acc { color: var(--violet-soft); }
.hero .lede { font-size: 16px; line-height: 1.6; color: var(--slate-200); max-width: 480px; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.micro-row { display: flex; gap: 28px; margin-top: 36px; font-size: 13px; color: var(--slate-300); flex-wrap: wrap; }
.micro-row span { display: inline-flex; align-items: center; gap: 8px; }
.micro-row .ck { width: 16px; height: 16px; border-radius: 999px; border: 1px solid var(--slate-500); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: var(--slate-300); }

/* Hero editor preview */
.editor-preview { position: relative; aspect-ratio: 1.05; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 30px 100px -20px rgba(79,70,255,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset; }
.ep-titlebar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); font-size: 12px; }
.ep-titlebar .left, .ep-titlebar .right { display: flex; align-items: center; gap: 10px; }
.ep-titlebar .right { margin-left: auto; }
.ep-titlebar .nf { display: flex; gap: 6px; align-items: center; font-weight: 700; }
.ep-titlebar .proj { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--slate-200); font-size: 11px; }
.ep-titlebar .ic { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--slate-300); }
.ep-titlebar .pub { padding: 4px 10px; background: var(--violet); color: white; border-radius: 6px; font-size: 11px; font-weight: 600; }
.ep-titlebar .pre { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 11px; }
.ep-body { display: grid; grid-template-columns: 200px 1fr 240px; height: calc(100% - 41px); }
.ep-left { border-right: 1px solid var(--line); padding: 12px; font-size: 11px; }
.ep-left h6 { margin: 0 0 6px; font-size: 11px; color: var(--slate-200); font-weight: 600; }
.ep-search { padding: 5px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--slate-400); margin-bottom: 12px; font-family: var(--fs-mono); font-size: 10px; }
.ep-cat { font-family: var(--fs-mono); font-size: 9px; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; margin: 10px 0 4px; }
.ep-items { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ep-item { padding: 4px 6px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; gap: 4px; font-size: 10px; }
.ep-item .sq { width: 8px; height: 8px; background: var(--slate-500); border-radius: 2px; }
.ep-canvas { position: relative; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; }
.ep-canvas .tab { position: absolute; top: 10px; left: 14px; font-size: 11px; color: var(--slate-200); display: flex; align-items: center; gap: 6px; }
.nd { position: absolute; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; min-width: 80px; font-size: 9px; padding: 4px; box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
.nd .nd-h { display: flex; align-items: center; gap: 4px; padding-bottom: 3px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-weight: 600; color: var(--white); }
.nd .nd-h .di { width: 8px; height: 8px; border-radius: 2px; }
.nd .nd-row { display: flex; align-items: center; gap: 4px; padding: 2px 0; color: var(--slate-200); }
.nd .nd-row::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--slate-500); }
.nd .nd-out { color: var(--slate-300); }
.ep-right { border-left: 1px solid var(--line); padding: 0; display: flex; flex-direction: column; }
.ep-code { flex: 1; padding: 10px 12px; font-family: var(--fs-mono); font-size: 9px; line-height: 1.55; overflow: hidden; }
.ep-code .ln { color: var(--slate-500); display: inline-block; width: 12px; }
.ep-code .k { color: #c084fc; }
.ep-code .s { color: #67e8f9; }
.ep-code .f { color: #fbbf24; }
.ep-code .v { color: var(--white); }
.ep-prev { height: 36%; border-top: 1px solid var(--line); position: relative; background: linear-gradient(135deg, #1a2030, #0c1428); display: flex; align-items: center; justify-content: center; }
.ep-prev .label { position: absolute; top: 6px; left: 10px; font-size: 10px; color: var(--slate-300); }
.ep-prev .torus { width: 60%; aspect-ratio: 1; transform: rotate(15deg); }

/* ── Homepage: social proof ────────────────────────────────── */
.proof { padding: 50px 0; text-align: center; border-top: 1px solid var(--line); margin-top: 40px; }
.proof .kicker { margin-bottom: 24px; }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; opacity: 0.6; }
.logos .lg { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--slate-100); display: inline-flex; align-items: center; gap: 6px; }

/* ── Homepage: features ────────────────────────────────────── */
.features { padding: 100px 0; }
.features-head { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.features-head h2 { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: 14px 0 0; }
.features-head p { font-size: 15px; line-height: 1.6; color: var(--slate-200); max-width: 520px; }
.features-head .meta-link { font-size: 14px; color: var(--violet-soft); font-weight: 600; margin-top: 18px; display: inline-flex; gap: 6px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { padding: 26px; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--r-lg); aspect-ratio: 0.95; display: flex; flex-direction: column; gap: 14px; transition: all .2s ease; }
.feat:hover { border-color: var(--line-strong); background: var(--surface); }
.feat .icn { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: center; color: var(--violet-soft); }
.feat h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin: 0; line-height: 1.15; }
.feat p { font-size: 13px; color: var(--slate-300); line-height: 1.55; margin: 0; }

/* ── Homepage / examples: component gallery ────────────────── */
.gallery { padding: 80px 0; border-top: 1px solid var(--line); }
.gallery-head { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 60px; align-items: end; margin-bottom: 40px; }
.gallery-head h2 { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 0; }
.gallery-head p { font-size: 15px; line-height: 1.6; color: var(--slate-200); max-width: 380px; }
.scroll-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.cmp { min-width: 240px; aspect-ratio: 0.95; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; position: relative; overflow: hidden; cursor: pointer; }
.cmp:hover .art { transform: scale(1.05); }
.cmp .art { position: absolute; inset: 0; transition: transform .4s ease; background-size: cover; background-position: center; }
.cmp .content { position: relative; z-index: 1; }
.cmp .meta { position: relative; z-index: 1; }
.cmp h5 { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -0.015em; }
.cmp .tag { font-size: 11px; color: var(--slate-300); margin-top: 2px; }
.cmp .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,8,18,0.85)); z-index: 0; }

/* Examples page grid (screenshots) */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.shot { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); display: block; aspect-ratio: 16/10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.04); }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; background: linear-gradient(180deg, transparent, rgba(6,8,18,0.9)); }
.shot .cap h5 { font-size: 16px; font-weight: 700; margin: 0; }
.shot .cap .tag { font-size: 11px; color: var(--slate-300); margin-top: 2px; }
.shot .cap .open { font-size: 12px; color: var(--violet-soft); font-weight: 600; white-space: nowrap; }

/* ── Homepage: CTA band ────────────────────────────────────── */
.cta { margin: 60px 0; padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background:
    radial-gradient(ellipse 50% 90% at 0% 50%, rgba(79,70,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 90% at 100% 50%, rgba(34,211,238,0.18), transparent 60%),
    var(--bg-2);
    display: grid; grid-template-columns: 1.2fr auto 0.6fr; gap: 40px; align-items: center; }
.cta h3 { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 8px; }
.cta h3 .acc { color: var(--violet-soft); }
.cta p { font-size: 13px; color: var(--slate-300); margin: 0; max-width: 360px; }
.cta .checks { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--slate-200); }
.cta .checks span { display: inline-flex; align-items: center; gap: 8px; }
.cta .checks .ck { width: 16px; height: 16px; border-radius: 999px; background: rgba(121,226,160,0.15); color: #79e2a0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.cta-blob { position: relative; aspect-ratio: 1.3; }
.cta-blob .torus { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-12deg); }

/* ── Footer ────────────────────────────────────────────────── */
footer.site { padding: 60px 0 30px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; gap: 30px; margin-bottom: 50px; }
.foot-grid .blurb { color: var(--slate-300); font-size: 13px; max-width: 240px; margin-top: 16px; line-height: 1.5; }
.foot-grid h6 { font-size: 13px; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid ul a { color: var(--slate-300); font-size: 13px; }
.foot-grid ul a:hover { color: var(--white); }
.news-form { display: flex; gap: 6px; margin-top: 12px; }
.news-form input { flex: 1; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; color: var(--white); font-family: inherit; font-size: 13px; }
.news-form button { background: var(--white); color: var(--bg); border: none; border-radius: 8px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--slate-400); flex-wrap: wrap; gap: 12px; }
.foot-bottom .links { display: flex; gap: 24px; }

/* ── Product page ──────────────────────────────────────────── */
.phero { padding: 100px 0 60px; text-align: center; position: relative; }
.phero::before { content: ""; position: absolute; left: 50%; top: -60px; width: 800px; height: 600px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 50% at center, rgba(139,92,246,0.25), transparent 70%); pointer-events: none; z-index: -1; }
.phero .kicker { color: var(--violet-soft); margin-bottom: 18px; }
.phero h1 { font-size: 88px; font-weight: 900; line-height: 0.97; letter-spacing: -0.04em; margin: 0 auto 24px; max-width: 880px; text-wrap: balance; }
.phero h1 .acc { color: var(--violet-soft); }
.phero p { font-size: 17px; color: var(--slate-200); max-width: 600px; margin: 0 auto; line-height: 1.55; }
.phero .ctas { margin-top: 36px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.pillars { padding: 100px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); }
.pillars.reverse { direction: rtl; }
.pillars.reverse > * { direction: ltr; }
.pillars .kicker { color: var(--cyan-soft); margin-bottom: 14px; }
.pillars h2 { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: 0 0 22px; text-wrap: balance; }
.pillars h2 .acc { color: var(--violet-soft); }
.pillars p { font-size: 16px; color: var(--slate-200); line-height: 1.6; max-width: 480px; }
.pillars ul.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pillars ul.bullets li { display: flex; gap: 14px; font-size: 14px; color: var(--slate-100); }
.pillars ul.bullets li::before { content: "→"; color: var(--violet-soft); font-weight: 700; }
.pillars ul.bullets b { color: var(--white); font-weight: 600; display: block; margin-bottom: 2px; }
.pillars ul.bullets span { color: var(--slate-300); font-size: 13px; }

.demo { aspect-ratio: 1.05; border-radius: 20px; border: 1px solid var(--line-2); padding: 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.demo.split { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.demo.shot-demo { padding: 0; }
.demo.shot-demo img { width: 100%; height: 100%; object-fit: cover; }
.se { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.se-col { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; position: relative; overflow: hidden; }
.se-tab { font-family: var(--fs-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--slate-300); text-transform: uppercase; margin-bottom: 10px; }
.se-page { display: flex; flex-direction: column; gap: 8px; }
.se-page .b { height: 8px; background: rgba(255,255,255,0.12); border-radius: 3px; }
.se-page .b.s { width: 40%; }
.se-page .b.h { height: 14px; width: 80%; background: rgba(255,255,255,0.3); }
.se-page .hero-block { aspect-ratio: 1.6; background: linear-gradient(135deg, #1a1c30, #14182a); border-radius: 8px; margin: 6px 0; display: flex; align-items: center; justify-content: center; }
.se-page .hero-block .torus { width: 70%; aspect-ratio: 1; }
.se-graph { position: relative; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 18px 18px; border-radius: 8px; }
.se-nd { position: absolute; padding: 5px 7px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 5px; font-size: 9px; }
.se-nd .dot { display: inline-block; width: 6px; height: 6px; background: var(--violet); margin-right: 4px; border-radius: 2px; vertical-align: middle; }

.signal-demo { background: linear-gradient(135deg, #0e1024, #060818); height: 100%; padding: 20px; }
.signal-row { display: grid; grid-template-columns: 80px 1fr 60px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.signal-row:last-child { border-bottom: none; }
.signal-row .lbl { font-family: var(--fs-mono); font-size: 11px; color: var(--slate-200); }
.signal-row .track { height: 26px; position: relative; background: rgba(255,255,255,0.03); border-radius: 4px; }
.signal-row .track svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.signal-row .val { font-family: var(--fs-mono); font-size: 11px; text-align: right; color: var(--cyan-soft); }
.sig-h { color: var(--white); font-weight: 700; font-size: 15px; letter-spacing: -0.015em; margin-bottom: 8px; }
.sig-sub { font-size: 12px; color: var(--slate-400); margin-bottom: 20px; }

.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 100%; }
.mat { aspect-ratio: 1; border-radius: 12px; position: relative; overflow: hidden; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 12px; }
.mat .lbl { position: relative; font-size: 11px; font-weight: 600; }
.mat .sub { font-family: var(--fs-mono); font-size: 9px; color: var(--slate-300); }
.mat .ball { position: absolute; inset: 12% 12% 30% 12%; border-radius: 50%; }
.m-iridescent { background: #0a0a18; }
.m-iridescent .ball { background: conic-gradient(from 200deg, #4F46FF, #8B5CF6, #EC4899, #FBBF24 40%, #22D3EE 60%, #4F46FF); box-shadow: 0 20px 40px rgba(139,92,246,0.4); }
.m-glass { background: #0a0a18; }
.m-glass .ball { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.7), rgba(34,211,238,0.3) 40%, rgba(79,70,255,0.1) 70%); box-shadow: 0 20px 40px rgba(79,70,255,0.4); border: 1px solid rgba(255,255,255,0.1); }
.m-matcap { background: #0a0a18; }
.m-matcap .ball { background: radial-gradient(circle at 30% 30%, #ffffff 0%, #c084fc 30%, #4F46FF 60%, #08090F 90%); }
.m-metal { background: #0a0a18; }
.m-metal .ball { background: radial-gradient(circle at 35% 30%, #ffffff, #b6bcc9 25%, #4a4a55 60%, #14141c 90%); }
.m-thin-film { background: #0a0a18; }
.m-thin-film .ball { background: radial-gradient(ellipse 70% 60% at 35% 35%, #ec4899, #fbbf24 30%, #22D3EE 60%, #4F46FF 90%); }
.m-emissive { background: #0a0a18; }
.m-emissive .ball { background: radial-gradient(circle at 50% 50%, #fff8b3 0%, #fbbf24 20%, #ec4899 50%, transparent 70%); box-shadow: 0 0 60px #fbbf2466, 0 20px 40px rgba(251,191,36,0.3); }

.embed-demo { background: linear-gradient(180deg, #0a0c1a, #06080f); height: 100%; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.embed-code { background: #050610; border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-family: var(--fs-mono); font-size: 11px; line-height: 1.7; }
.embed-code .k { color: #c084fc; }
.embed-code .s { color: #67e8f9; }
.embed-code .a { color: #fbbf24; }
.embed-code .t { color: #f472b6; }
.embed-arrow { text-align: center; font-size: 18px; color: var(--slate-400); }
.embed-result { flex: 1; background: var(--white); border-radius: 10px; padding: 18px; color: #08090F; position: relative; overflow: hidden; }
.embed-result h6 { font-size: 14px; margin: 0; font-weight: 700; }
.embed-result .torus { position: absolute; right: -10%; top: 20%; width: 60%; aspect-ratio: 1; }

.pricing { padding: 100px 0 60px; border-top: 1px solid var(--line); }
.pricing-head { text-align: center; margin-bottom: 50px; }
.pricing-head h2 { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; margin: 14px 0 16px; }
.pricing-head p { color: var(--slate-200); font-size: 15px; max-width: 540px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { padding: 28px; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: rgba(139,92,246,0.4); background: linear-gradient(180deg, rgba(139,92,246,0.08), var(--bg-2)); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--violet); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.plan h3 { font-size: 22px; font-weight: 700; margin: 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .num { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; }
.plan .price .per { color: var(--slate-300); font-size: 13px; }
.plan .sum { font-size: 13px; color: var(--slate-300); line-height: 1.55; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan ul li { display: flex; gap: 10px; font-size: 13px; color: var(--slate-100); }
.plan ul li::before { content: "✓"; color: var(--violet-soft); font-weight: 700; }
.plan .btn { width: 100%; justify-content: center; padding: 12px; }

.faq { padding: 80px 0; border-top: 1px solid var(--line); }
.faq h2 { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 30px; max-width: 600px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 60px; }
.faq-item h4 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.faq-item p { font-size: 13px; color: var(--slate-300); line-height: 1.55; margin: 0; }

/* ── Competitor (/vs) pages ────────────────────────────────── */
.vs-hero { padding: 90px 0 40px; text-align: center; position: relative; }
.vs-hero::before { content: ""; position: absolute; left: 50%; top: -40px; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 50% at center, rgba(79,70,255,0.2), transparent 70%); pointer-events: none; z-index: -1; }
.vs-hero .kicker { color: var(--violet-soft); margin-bottom: 16px; }
.vs-hero h1 { font-size: 64px; font-weight: 900; line-height: 1.0; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 860px; text-wrap: balance; }
.vs-hero h1 .acc { color: var(--violet-soft); }
.vs-hero p { font-size: 17px; color: var(--slate-200); max-width: 640px; margin: 0 auto; line-height: 1.6; }
.vs-hero .ctas { margin-top: 32px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.vs-table-wrap { padding: 30px 0 80px; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vs-table th, .vs-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs-table thead th { background: var(--bg-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-300); font-family: var(--fs-mono); font-weight: 600; }
.vs-table thead th.us { color: var(--white); }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table td.feature { color: var(--slate-200); font-weight: 600; width: 34%; }
.vs-table td.us { color: var(--white); background: linear-gradient(180deg, rgba(139,92,246,0.06), transparent); }
.vs-table td.them { color: var(--slate-300); }
.vs-table .yes { color: #79e2a0; font-weight: 700; }
.vs-table .no { color: var(--slate-500); }
.vs-table .partial { color: var(--amber); }

.vs-points { padding: 60px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vs-point { padding: 24px; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--r-lg); }
.vs-point h4 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.015em; }
.vs-point p { font-size: 13px; color: var(--slate-300); line-height: 1.55; margin: 0; }
.vs-point .num { font-family: var(--fs-mono); font-size: 12px; color: var(--violet-soft); margin-bottom: 10px; }

.honest { padding: 50px 0 0; }
.honest .card-soft { padding: 26px 28px; }
.honest h4 { font-size: 16px; margin: 0 0 10px; }
.honest p { font-size: 14px; color: var(--slate-300); line-height: 1.6; margin: 0; }
.honest b { color: var(--slate-100); font-weight: 600; }

/* generic marketing section heading used on /examples */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 14px; }
.section-head p { font-size: 15px; color: var(--slate-200); line-height: 1.6; }
.pad-top { padding-top: 80px; }
.pad-bottom { padding-bottom: 90px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .vs-points { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 0 40px; }
  .hero h1 { font-size: 48px; }
  .editor-preview { aspect-ratio: 1.2; }
  .features { padding: 60px 0; }
  .features-head { grid-template-columns: 1fr; gap: 20px; }
  .features-head h2 { font-size: 38px; }
  .gallery-head { grid-template-columns: 1fr; gap: 18px; }
  .gallery-head h2 { font-size: 34px; }
  .cta { grid-template-columns: 1fr; gap: 24px; }
  .cta-blob { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phero { padding: 60px 0 40px; }
  .phero h1 { font-size: 52px; }
  .pillars { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .pillars.reverse { direction: ltr; }
  .pillars h2 { font-size: 38px; }
  .demo { aspect-ratio: 1.2; }
  .price-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .shots { grid-template-columns: 1fr; }
  .vs-hero h1 { font-size: 42px; }
  .vs-table th, .vs-table td { padding: 12px 12px; font-size: 13px; }
  .section-head h2 { font-size: 34px; }
}

/* ── Legal pages (terms / privacy / cookies) ───────────────── */
.legal { max-width: 820px; }
.legal-head { padding: 70px 0 30px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 10px; }
.legal-head .updated { font-family: var(--fs-mono); font-size: 12px; color: var(--slate-400); margin: 0 0 18px; }
.legal-head .lead { font-size: 16px; color: var(--slate-200); line-height: 1.6; margin: 0; }
.legal-body { padding: 36px 0 90px; }
.legal-section { margin-bottom: 34px; }
.legal-section h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 12px; }
.legal-section p { font-size: 15px; line-height: 1.7; color: var(--slate-200); margin: 0 0 12px; }
.legal-section ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-section li { font-size: 15px; line-height: 1.6; color: var(--slate-200); }
.legal-contact { font-size: 15px; color: var(--slate-300); padding-top: 18px; border-top: 1px solid var(--line); }
.legal-contact a { color: var(--violet-soft); font-weight: 600; }
@media (max-width: 860px) {
  .legal-head { padding: 40px 0 24px; }
  .legal-head h1 { font-size: 36px; }
}

/* ── Homepage: full-bleed live 3D hero scene ───────────────── */
.hero-scene { position: relative; min-height: 88vh; overflow: hidden; isolation: isolate; background: #050509; display: flex; align-items: center; }
.hero-scene__stage { position: absolute; inset: 0; z-index: 0; }
.hero-scene__stage nf-scene { display: block; width: 100%; height: 100%; }
.hero-scene__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 100% at 16% 50%, rgba(5,5,9,0.94) 0%, rgba(5,5,9,0.6) 32%, rgba(5,5,9,0) 60%),
    linear-gradient(0deg, rgba(5,5,9,0.5), rgba(5,5,9,0) 30%); }
.hero-scene__copy { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hero-scene__copy .inner { max-width: 540px; }
.hero-scene h1 { font-size: 72px; font-weight: 900; line-height: 0.99; letter-spacing: -0.035em; margin: 22px 0; text-wrap: balance; }
.hero-scene h1 .acc { color: var(--violet-soft); }
.hero-scene .lede { font-size: 16px; line-height: 1.6; color: var(--slate-100); max-width: 460px; }
@media (max-width: 860px) {
  .hero-scene { min-height: 80vh; }
  .hero-scene__copy { padding: 0 20px; }
  .hero-scene h1 { font-size: 44px; }
  .hero-scene__scrim { background: linear-gradient(0deg, rgba(5,5,9,0.85), rgba(5,5,9,0.25)); }
}
