/* ==========================================================================
   FounderNeeds — Design System
   Dark, bold, gradient-accented — inspired by macpaw.com's editorial layout,
   translated into an AI/software-studio palette.
   ========================================================================== */

:root {
  --ink: #0a0b10;
  --ink-soft: #12141c;
  --surface: #181a24;
  --surface-2: #1f2230;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --paper: #f6f6f8;
  --paper-2: #ffffff;
  --ink-on-paper: #0f1117;
  --muted-on-paper: #5b5f6e;
  --border-on-paper: rgba(15, 17, 23, 0.1);

  --text: #f5f6fa;
  --text-muted: #9aa0b4;
  --text-dim: #6b7086;

  --accent-1: #7c5cfc;
  --accent-2: #22d3ee;
  --accent-warm: #ff6b4a;
  --gradient: linear-gradient(120deg, var(--accent-1) 0%, var(--accent-2) 100%);
  --gradient-text: linear-gradient(120deg, #9b82ff 0%, #22d3ee 100%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1220px;
  --section-pad: 128px;
  --section-pad-mobile: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FN 2026 — flow-field homepage + shared shell (nav/footer/type/canvas)
   `.fn-*` classes are self-contained; inner-page component CSS is untouched.
   ========================================================================== */
:root {
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --warm: #ff6b4a;
  --warm-soft: #ffb59f;
  --warm-grad: linear-gradient(115deg, #ff8a5c 0%, #ff5e78 100%);
  --violet-soft: #9b82ff;
  --green: #3ddc84;
  --fn-maxw: 1140px;
}

body { font-family: var(--font-text); }
h1, h2, h3, h4 { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -0.025em; }

/* fixed particle field behind everything */
.fn-field {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; display: block; pointer-events: none; background: #0a0b10;
}

.fn-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-soft);
}
.fn-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px var(--warm); flex-shrink: 0; }
.fn-text-warm { background: var(--warm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.fn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  background: var(--warm-grad); color: #0a0b10;
  font-family: var(--font-text); font-weight: 700; font-size: 15px; white-space: nowrap;
  border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(255, 107, 74, 0.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fn-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -14px rgba(255, 107, 74, 0.72); }
.fn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28); padding-bottom: 3px;
  transition: border-color .25s, gap .25s var(--ease);
}
.fn-link:hover { border-color: var(--warm); gap: 12px; }
.fn-link svg { width: 15px; height: 15px; }

/* ---------- Hero (pinned flow-field scene) ---------- */
.fn-hero-track { height: 480vh; position: relative; }
.fn-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  --s1: 0; --s2: 0; --s3: 0; --s4: 0; --s5: 0;
}
.fn-stage-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(24px, 5vh, 54px); padding: 0 24px; pointer-events: none;
}
.fn-stage-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 64% 50% at 50% 50%, rgba(8,9,13,0.88) 0%, rgba(8,9,13,0.55) 44%, transparent 80%);
}
.fn-headlines { position: relative; width: 100%; max-width: 960px; height: clamp(96px, 16vh, 168px); text-align: center; }
.fn-headlines h2 {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(27px, 4.4vw, 56px); font-weight: 700;
  text-shadow: 0 2px 44px rgba(0,0,0,0.92), 0 0 14px rgba(0,0,0,0.7);
}
.fn-hl1 { opacity: calc(1 - var(--s2) * 1.4); transform: translateY(calc(-32px * var(--s2))); }
.fn-hl2 { opacity: calc(min(var(--s2), 1 - var(--s3) * 1.7)); transform: translateY(calc(36px * (1 - var(--s2)) - 42px * var(--s3))); }
.fn-hl3 { opacity: calc(min(var(--s3), 1 - var(--s5) * 2)); transform: translateY(calc(42px * (1 - var(--s3)) - 26px * var(--s5))); }

.fn-days { display: flex; gap: 7px; opacity: calc(1 - var(--s3)); }
.fn-day {
  width: 46px; padding: 7px 0; text-align: center;
  border: 1px solid var(--border); border-radius: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-dim);
  background: rgba(10, 11, 16, 0.62); backdrop-filter: blur(3px);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.fn-day.on { color: var(--warm-soft); border-color: rgba(255, 107, 74, 0.42); background: rgba(255, 107, 74, 0.1); }

.fn-ticker {
  position: absolute; left: 0; right: 0; top: 13%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: calc(1 - var(--s2) * 1.8);
}
.fn-ticker__row { display: flex; gap: 12px; width: max-content; animation: fn-tick 46s linear infinite; }
@keyframes fn-tick { to { transform: translateX(-50%); } }
.fn-tk {
  display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 74, 0.26); background: rgba(255, 107, 74, 0.07);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; color: var(--warm-soft); white-space: nowrap;
}
.fn-tk::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); flex-shrink: 0; }

.fn-counter { position: absolute; left: max(24px, 5vw); display: flex; flex-direction: column; gap: 6px; width: min(280px, 46vw); }
.fn-counter .k { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.fn-counter .v { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; text-shadow: 0 2px 26px rgba(0,0,0,.95); }
.fn-counter .sub { font-size: 13px; font-weight: 500; color: var(--text-muted); text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.fn-counter--cost { top: 31%; opacity: calc(1 - var(--s3)); }
.fn-counter--cost .v { color: var(--warm); }
.fn-counter--save { bottom: 21%; opacity: var(--s4); }
.fn-counter--save .v { color: var(--green); }

.fn-hchips { position: absolute; right: max(24px, 5vw); bottom: 21%; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; opacity: var(--s4); transform: translateY(calc((1 - var(--s4)) * 14px)); }
.fn-hchip { padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: rgba(10, 11, 16, 0.66); font-size: 13px; font-weight: 600; color: var(--text); backdrop-filter: blur(4px); }

.fn-lock {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; gap: 26px; padding: 0 24px;
  background: rgba(10, 11, 16, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: var(--s5); transform: scale(calc(0.95 + 0.05 * var(--s5))); pointer-events: none;
}
.fn-lock-inner { display: grid; justify-items: center; gap: 24px; text-align: center; max-width: 560px; }
.fn-lock-inner .fn-btn { pointer-events: auto; }
.fn-lock-inner h2 { font-size: clamp(24px, 3.2vw, 36px); }
.fn-panel { width: min(440px, 84vw); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); overflow: hidden; }
.fn-panel-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.fn-panel-head i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.fn-panel-head .r { background: #ff6b6b; } .fn-panel-head .y { background: #ffc55c; } .fn-panel-head .g { background: var(--green); }
.fn-panel-head b { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-dim); }
.fn-panel-head .live { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 6px; }
.fn-panel-head .live i { background: var(--accent-2); animation: fn-pulse 1.8s infinite; }
.fn-panel-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 13px; }
.fn-fnode { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 500; }
.fn-fnode i { width: 9px; height: 9px; border-radius: 50%; background: var(--warm-grad); flex-shrink: 0; }
@keyframes fn-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

.fn-scrollhint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); opacity: calc(1 - var(--s1) * 2.5); z-index: 3; }
.fn-scrollhint::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--text-dim), transparent); animation: fn-hint 1.9s var(--ease) infinite; }
@keyframes fn-hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Content sections (glass panels over the field) ---------- */
.fn-sec { position: relative; padding: clamp(60px, 9vh, 110px) 0; }
.fn-wrap { max-width: var(--fn-maxw); margin: 0 auto; padding: 0 32px; }
.fn-surface {
  background: rgba(11, 13, 19, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 24px; padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.72);
}
.fn-shead { max-width: 60ch; }
.fn-shead h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 15px 0 15px; }
.fn-shead p { color: var(--text-muted); font-size: 17px; }
.fn-shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; }

.fn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.fn-stat { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: rgba(255, 255, 255, 0.015); }
.fn-stat .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 107, 74, 0.12); border: 1px solid rgba(255, 107, 74, 0.25); color: var(--warm-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.fn-stat .ic svg { width: 17px; height: 17px; }
.fn-stat .val { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 25px); font-weight: 700; letter-spacing: -0.03em; }
.fn-stat .lab { margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--text); }
.fn-stat .dsc { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

.fn-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.fn-col { border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.fn-col--b { background: rgba(255, 107, 74, 0.05); border-color: rgba(255, 107, 74, 0.2); }
.fn-col--a { background: rgba(61, 220, 132, 0.05); border-color: rgba(61, 220, 132, 0.2); }
.fn-col .clab { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.fn-col li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-muted); padding: 7px 0; line-height: 1.5; }
.fn-col li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; margin-top: 7px; flex-shrink: 0; }
.fn-col--b li::before { background: var(--warm); }
.fn-col--a li::before { background: var(--green); }
.fn-col__cta { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(61, 220, 132, 0.22); }
.fn-col__cta p { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }

.fn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.fn-card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: rgba(255, 255, 255, 0.015); transition: border-color .3s, transform .3s var(--ease); }
.fn-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fn-card .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--warm-grad); color: #0a0b10; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.fn-card .ic svg { width: 20px; height: 20px; }
.fn-card h3 { font-size: 17px; margin-bottom: 8px; }
.fn-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.fn-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.fn-card li { font-size: 12.5px; color: var(--text-dim); padding-left: 16px; position: relative; }
.fn-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--warm); }

.fn-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.fn-step { border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: rgba(255, 255, 255, 0.015); }
.fn-step .num { font-family: var(--font-mono); font-size: 12px; color: var(--warm-soft); }
.fn-step h3 { font-size: 15px; margin: 8px 0 5px; }
.fn-step p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.fn-projs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.fn-proj { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: rgba(255, 255, 255, 0.015); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.fn-proj:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fn-proj .cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--warm-soft); margin-bottom: 12px; }
.fn-proj h3 { font-size: 18px; }
.fn-proj .st { font-size: 12.5px; color: var(--text-dim); margin: 2px 0 12px; }
.fn-proj .tl { font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.45; flex-grow: 1; }
.fn-proj .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.fn-tag { font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 1px solid var(--border); }

.fn-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.fn-cap { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: rgba(255, 255, 255, 0.015); }
.fn-cap h3 { font-size: 15px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.fn-cap li { font-size: 13px; color: var(--text-muted); padding: 6px 0 6px 16px; position: relative; }
.fn-cap li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 1px; background: var(--warm-grad); }

.fn-faq { display: flex; flex-direction: column; margin-top: 30px; }
.fn-faqitem { padding: 24px 0; border-top: 1px solid var(--border); }
.fn-faqitem:last-child { border-bottom: 1px solid var(--border); }
.fn-faqitem h3 { font-size: 16px; margin-bottom: 9px; }
.fn-faqitem p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 72ch; }

.fn-ctaband { text-align: center; background: rgba(10, 11, 16, 0.92); }
.fn-ctaband h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 18px; }
.fn-ctaband p { color: var(--text-muted); font-size: 17px; max-width: 50ch; margin: 0 auto 32px; }
.fn-ctaband .row { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .fn-stats, .fn-caps { grid-template-columns: repeat(2, 1fr); }
  .fn-cards, .fn-projs { grid-template-columns: 1fr 1fr; }
  .fn-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fn-cards, .fn-projs, .fn-caps, .fn-compare, .fn-stats { grid-template-columns: 1fr; }
  .fn-shead--row { flex-direction: column; align-items: flex-start; }
  .fn-days .fn-day { width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .fn-hero-track { height: auto; }
  .fn-stage { position: static; height: auto; min-height: 84vh; }
  .fn-field, .fn-scrollhint, .fn-days, .fn-ticker, .fn-counter, .fn-headlines { display: none; }
  .fn-stage-inner { position: static; padding: 130px 24px 80px; }
  .fn-lock { position: static; opacity: 1; transform: none; background: none; backdrop-filter: none; }
  .fn-ticker__row, .fn-panel-head .live i { animation: none; }
}

* { box-sizing: border-box; }
/* overflow-x clip lives on <html>, not <body>: putting it on body makes body a
   nested scroll container that breaks IntersectionObserver (scroll-reveal) and Lenis. */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle film-grain overlay for depth — sits above color, below content chrome. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section { padding: var(--section-pad) 0; position: relative; }
.section--tight { padding: 88px 0; }
.section--light { background: var(--paper); color: var(--ink-on-paper); }
.section--surface { background: var(--ink-soft); }
.section--border-top { border-top: 1px solid var(--border); }

.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--ink-on-paper); }
.section--light .muted { color: var(--muted-on-paper); }
.section--light .eyebrow { color: var(--accent-1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.muted { color: var(--text-muted); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--gradient);
  color: #08090d;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 252, 0.55);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(124, 92, 252, 0.7); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-magnetic { transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease); }
.btn-magnetic span { display: inline-flex; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent-2); background: rgba(34, 211, 238, 0.06); }
.section--light .btn-secondary { color: var(--ink-on-paper); border-color: var(--border-on-paper); }
.section--light .btn-secondary:hover { border-color: var(--accent-1); background: rgba(124, 92, 252, 0.06); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav__logo-mark {
  width: 36px; height: 32px; border-radius: 9px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: -0.03em; color: #ffffff;
  flex-shrink: 0;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__link.is-active { color: var(--text); background: rgba(255,255,255,0.08); }
.nav__right { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lang-switch__btn svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.lang-switch.is-open .lang-switch__btn svg { transform: rotate(180deg); }
.nav__burger svg { width: 18px; height: 18px; color: var(--text); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
}
.lang-switch__item:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.lang-switch__item.is-active { color: var(--accent-2); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__burger span, .nav__burger::before, .nav__burger::after { content: ""; }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 99;
  padding: 100px 24px 40px;
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__link { padding: 16px 6px; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--border); }
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mobile-menu__lang { padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 700; }
.mobile-menu__lang.is-active { background: var(--gradient); color: #08090d; border-color: transparent; }
.mobile-menu__cta { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 200px 0 120px;
  overflow: visible;
}
.hero__glow {
  position: absolute;
  top: -280px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 900px;
  background: radial-gradient(circle at 30% 30%, rgba(124,92,252,0.35), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(34,211,238,0.28), transparent 55%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  color: var(--text);
}
.hero h1 span.line { display: block; }
.hero-rotator { display: inline-block; }
.hero-rotator__inner {
  display: inline-block;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.hero-rotator__inner.is-switching { opacity: 0; transform: translateY(12px); }
.text-gradient .hero-rotator__inner {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotator__inner { transition: none; }
}
.hero__subtitle {
  margin-top: 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 56px;
}
.hero__stat-value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__stat-label { margin-top: 6px; font-size: 14px; color: var(--text-dim); max-width: 160px; }

/* ---------- Hero visual: automation panel ---------- */
.hero__visual { position: relative; }
.hero-panel {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}
.hero__visual:hover .hero-panel { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.hero-panel__head {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.hero-panel__dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-panel__dot--r { background: #ff6b6b; }
.hero-panel__dot--y { background: #ffc55c; }
.hero-panel__dot--g { background: #3ddc84; }
.hero-panel__title { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.hero-panel__live {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-2);
}
.hero-panel__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.6);
  animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.hero-panel__body { padding: 34px 24px 40px; }
.flow { display: flex; flex-direction: column; gap: 0; }
.flow-node {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  font-size: 14.5px; font-weight: 600; color: var(--text);
}
.flow-node__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(124,92,252,0.14);
}
.flow-arrow { display: flex; justify-content: center; padding: 6px 0; color: var(--text-dim); opacity: 0.6; }
.flow-arrow svg { width: 16px; height: 16px; transform: rotate(90deg); }
.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(24, 26, 36, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.5);
  font-size: 13.5px; font-weight: 700; color: var(--text);
  animation: float-bob 5s ease-in-out infinite;
}
.hero-float-card__icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #08090d; flex-shrink: 0;
}
.hero-float-card__icon svg { width: 12px; height: 12px; }
.hero-float-card--1 { top: -38px; left: -16px; animation-delay: 0s; }
.hero-float-card--2 { bottom: -16px; right: -20px; animation-delay: 1.4s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Page hero (non-home pages) */
.page-hero { padding: 176px 0 88px; position: relative; overflow: hidden; }
.page-hero__glow {
  position: absolute; top: -220px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,92,252,0.3), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); }
.page-hero p { margin-top: 20px; font-size: 18px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: var(--ink-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Impact stats ---------- */
.grid-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.impact-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.impact-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.25);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.impact-card__icon svg { width: 20px; height: 20px; }
.impact-card__value { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.impact-card__label { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent-2); }
.impact-card__desc { margin-top: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Before / after comparison ---------- */
.compare { margin-top: 72px; }
.compare__title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 32px; max-width: 560px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col {
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  border: 1px solid var(--border);
}
.compare-col--before { background: rgba(255,255,255,0.02); }
.compare-col--after {
  background: linear-gradient(165deg, rgba(124,92,252,0.1), rgba(34,211,238,0.05));
  border-color: rgba(124,92,252,0.3);
}
.compare-col__label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.compare-col--before .compare-col__label { color: var(--text-dim); }
.compare-col--after .compare-col__label { color: var(--accent-2); }
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.compare-list__item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; }
.compare-list__mark {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.compare-list__mark svg { width: 12px; height: 12px; }
.compare-list__item--before { color: var(--text-muted); }
.compare-list__item--before .compare-list__mark { background: rgba(255,255,255,0.06); color: var(--text-dim); }
.compare-list__item--after { color: var(--text); font-weight: 500; }
.compare-list__item--after .compare-list__mark { background: var(--gradient); color: #08090d; }
.compare-col__cta { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(124,92,252,0.25); }
.compare-col__cta p { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 14px; }

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-head--row .section-head-copy { max-width: 640px; }

/* ---------- Cards grid: What We Build ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.build-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.build-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.build-card__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: #08090d;
}
.build-card__icon svg { width: 24px; height: 24px; }
.build-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.build-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.build-card__items { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.build-card__items li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.build-card__items li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}

/* ---------- Process steps ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.section--light .process-item { border-color: var(--border-on-paper); }
.process-item:last-child { border-bottom: 1px solid var(--border); }
.section--light .process-item:last-child { border-color: var(--border-on-paper); }
.process-item__num {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.process-item__body h3 { font-size: 21px; margin-bottom: 8px; }
.process-item__body p { color: var(--text-muted); font-size: 15.5px; max-width: 560px; line-height: 1.6; }

/* ---------- Filter chips ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-paper);
  background: transparent;
  color: var(--muted-on-paper);
  font-size: 14px; font-weight: 700;
  transition: all 0.25s var(--ease);
}
.filter-chip:hover { border-color: var(--accent-1); color: var(--ink-on-paper); }
.filter-chip.is-active { background: var(--gradient); color: #08090d; border-color: transparent; }
.project-card[hidden] { display: none; }

/* ---------- Project cards ---------- */
.grid-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.project-card__category {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.project-card h3 { font-size: 21px; color: var(--text); }
.project-card__subtitle { font-size: 13.5px; color: var(--text-dim); margin-top: 2px; margin-bottom: 14px; }
.project-card__tagline { font-size: 15px; color: var(--text); font-weight: 600; margin-bottom: 10px; line-height: 1.45; }
.project-card__desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; flex-grow: 1; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  font-size: 12px; font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ---------- Capability groups ---------- */
.grid-capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.cap-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.cap-card ul { display: flex; flex-direction: column; gap: 12px; }
.cap-card li {
  font-size: 15px; color: var(--text-muted);
  padding-left: 20px; position: relative;
}
.cap-card li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--gradient);
}

/* ---------- Services offerings ---------- */
.offering-list { display: flex; flex-direction: column; gap: 20px; }
.offering-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  align-items: start;
}
.offering-card__icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #08090d;
}
.offering-card__icon svg { width: 27px; height: 27px; }
.offering-card h3 { font-size: 23px; margin-bottom: 10px; color: var(--text); }
.offering-card p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; max-width: 560px; }
.offering-card__deliverables { display: flex; flex-direction: column; gap: 9px; min-width: 240px; }
.offering-card__deliverables li {
  font-size: 14px; color: var(--text-dim);
  padding-left: 18px; position: relative;
}
.offering-card__deliverables li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}

/* ---------- Positioning / About story ---------- */
.positioning { max-width: 820px; }
.positioning h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; }

.story { display: flex; flex-direction: column; gap: 26px; max-width: 760px; }
.story p { font-size: 18px; line-height: 1.75; color: var(--text-muted); }
.story p:first-child { color: var(--text); font-size: 20px; }

.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.approach-card {
  border: 1px solid var(--border-on-paper);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--paper-2);
}
.approach-card h4 { font-size: 18px; margin-bottom: 10px; }
.approach-card p { font-size: 14.5px; color: var(--muted-on-paper); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; max-width: 820px; }
.faq-item {
  padding: 30px 0;
  border-top: 1px solid var(--border-on-paper);
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--border-on-paper); }
.faq-item h3 { font-size: 18px; margin-bottom: 10px; }
.faq-item p { font-size: 15px; color: var(--muted-on-paper); line-height: 1.65; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(124,92,252,0.25), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(34,211,238,0.2), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin-top: 16px; color: var(--text-muted); font-size: 16.5px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-card h3 { font-size: 22px; margin-bottom: 12px; }
.contact-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.contact-card__book { display: flex; flex-direction: column; height: 100%; }
.contact-card__book-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #08090d;
  margin-bottom: 20px;
}
.contact-card__book-icon svg { width: 26px; height: 26px; }
.contact-card__book .btn { margin-top: 24px; }
.contact-card__note { margin-top: 12px; font-size: 12.5px; color: var(--text-dim); }
.contact-card__direct { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.contact-card__email {
  display: inline-flex; margin-top: 10px;
  font-size: 15px; font-weight: 700;
  color: var(--accent-2);
  word-break: break-all;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ink-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent-2); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa0b4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-status { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); min-height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-soft); border-top: 1px solid var(--border); padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer__brand .nav__logo { margin-bottom: 16px; }
.footer__brand p { color: var(--text-muted); font-size: 15px; max-width: 320px; line-height: 1.65; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 15px; color: var(--text-muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer__bottom span { font-size: 13.5px; color: var(--text-dim); }

/* ---------- Card spotlight (cursor-follow glow) ---------- */
.build-card,
.project-card,
.cap-card,
.offering-card,
.impact-card {
  --mx: 50%;
  --my: 50%;
}
.build-card::before,
.project-card::before,
.cap-card::before,
.offering-card::before,
.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(124,92,252,0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.build-card:hover::before,
.project-card:hover::before,
.cap-card:hover::before,
.offering-card:hover::before,
.impact-card:hover::before {
  opacity: 1;
}
.offering-card { position: relative; overflow: hidden; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 0; }
  .nav__link { padding: 9px 10px; font-size: 13.5px; }
  .nav__right { gap: 6px; }
  .btn-sm { padding: 11px 16px; font-size: 13.5px; }
}

@media (max-width: 980px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-projects { grid-template-columns: repeat(2, 1fr); }
  .grid-capabilities { grid-template-columns: 1fr; }
  .grid-impact { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; margin-bottom: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .offering-card { grid-template-columns: 48px 1fr; }
  .offering-card__deliverables { grid-column: 1 / -1; margin-left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .hero__visual { max-width: 480px; margin-top: 24px; }
}

@media (max-width: 720px) {
  :root { --section-pad: var(--section-pad-mobile); }
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 150px 0 80px; }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hero-float-card { display: none; }
  .hero-panel { transform: none; }
  .grid-cards, .grid-projects { grid-template-columns: 1fr; }
  .grid-impact { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .offering-card { grid-template-columns: 1fr; }
  .offering-card__icon { margin-bottom: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; }
  .page-hero { padding: 140px 0 60px; }
  .footer__top { grid-template-columns: 1fr; }
  .compare-col { padding: 26px 22px; }
  .ticker__track { animation-duration: 20s; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .hero-panel__live-dot,
  .hero-float-card {
    animation: none !important;
  }
  [data-reveal] { transition: opacity 0.3s ease; transform: none; }
}

/* ==========================================================================
   FN 2026 — shared shell overrides (nav / footer / accents, all pages)
   ========================================================================== */
.nav__logo-mark { background: var(--warm-grad); color: #0a0b10; border-color: transparent; }
.btn-primary { background: var(--warm-grad); color: #0a0b10; box-shadow: 0 10px 30px -12px rgba(255, 107, 74, 0.55); }
.btn-primary:hover { box-shadow: 0 16px 38px -14px rgba(255, 107, 74, 0.7); }
.btn-primary::after { background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent); }
.scroll-progress { background: var(--warm-grad); }
.nav__logo { font-family: var(--font-display); }
.eyebrow { color: var(--warm-soft); }
.eyebrow::before { background: var(--warm); }

/* homepage sits on the field: keep its <main> transparent so the canvas reads through */
body.fn-home { background: #0a0b10; }

/* ---- warm identity applied to inner-page components ---- */
:root {
  --accent-1: #ff6b4a;
  --accent-2: #ff8a5c;
  --gradient: linear-gradient(115deg, #ff8a5c 0%, #ff5e78 100%);
  --gradient-text: linear-gradient(115deg, #ffa271 0%, #ff5e78 100%);
}
.page-hero__glow { background: radial-gradient(circle, rgba(255,107,74,0.28), transparent 65%); }
.hero__glow {
  background: radial-gradient(circle at 30% 30%, rgba(255,138,92,0.32), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(255,94,120,0.24), transparent 55%);
}
.impact-card__icon { background: rgba(255,107,74,0.12); border-color: rgba(255,107,74,0.25); color: var(--accent-2); }
.compare-col--after {
  background: linear-gradient(165deg, rgba(255,107,74,0.1), rgba(255,94,120,0.05));
  border-color: rgba(255,107,74,0.3);
}
.compare-col__cta { border-top-color: rgba(255,107,74,0.25); }
.cta-band::before {
  background: radial-gradient(circle at 20% 20%, rgba(255,138,92,0.22), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(255,94,120,0.18), transparent 55%);
}
.build-card,
.project-card,
.cap-card,
.offering-card,
.impact-card {
  --spot: rgba(255,107,74,0.14);
}
.build-card::before,
.project-card::before,
.cap-card::before,
.offering-card::before,
.impact-card::before {
  background: radial-gradient(360px circle at var(--mx) var(--my), var(--spot), transparent 65%);
}
.flow-node__dot { box-shadow: 0 0 0 4px rgba(255,107,74,0.14); }
.hero-panel__live { color: var(--accent-2); }
.hero-panel__live-dot { background: var(--accent-2); box-shadow: 0 0 0 0 rgba(255,138,92,0.6); }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,138,92,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,138,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,92,0); }
}

/* ---- kill the light sections: whole site is dark on the flow field ---- */
.section,
.section--surface,
.section--light,
.section--border-top,
.page-hero { background: transparent; border-color: var(--border); }

.section--light,
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--text); }
.section--light .muted { color: var(--text-muted); }
.section--light .eyebrow { color: var(--warm-soft); }
.section--light .btn-secondary { color: var(--text); border-color: var(--border-strong); }
.section--light .btn-secondary:hover { border-color: var(--warm); background: rgba(255,107,74,0.06); }
.section--light .process-item,
.section--light .process-item:last-child { border-color: var(--border); }

.filter-chip { border-color: var(--border-strong); color: var(--text-muted); background: rgba(255,255,255,0.02); }
.filter-chip:hover { border-color: var(--warm); color: var(--text); }
.filter-chip.is-active { background: var(--warm-grad); color: #0a0b10; border-color: transparent; }

.faq-item { border-top-color: var(--border); }
.faq-list .faq-item:last-child { border-bottom-color: var(--border); }
.faq-item p { color: var(--text-muted); }

.approach-card { background: rgba(255,255,255,0.02); border-color: var(--border); }
.approach-card h4 { color: var(--text); }
.approach-card p { color: var(--text-muted); }

.story p:first-child { color: var(--text); }

/* cards get a touch more body so they read against the field */
.build-card, .project-card, .cap-card, .offering-card, .impact-card,
.contact-card, .cta-band { background: rgba(17, 19, 26, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---- CTA button "charged" pulse (set by main.js when the field converges on it) ---- */
.fn-btn.is-charged, .cta-band .btn-primary.is-charged {
  animation: fn-charge 2.6s var(--ease) infinite;
}
@keyframes fn-charge {
  0%, 100% { box-shadow: 0 10px 30px -12px rgba(255,107,74,0.55); filter: brightness(1); }
  50%      { box-shadow: 0 16px 46px -8px rgba(255,138,92,0.85), 0 0 34px 2px rgba(255,138,92,0.42); filter: brightness(1.13); }
}
@media (prefers-reduced-motion: reduce) {
  .fn-btn.is-charged, .cta-band .btn-primary.is-charged { animation: none; }
}
