/* NFTY marketing site v2. Self-contained: does not depend on Bootstrap or custom.css. */

:root {
  --orange: #ff6b35;
  --orange-hover: #ff8555;
  --orange-soft: #ff9d5c;
  --orange-glow: rgba(255, 107, 53, 0.4);
  --grad: linear-gradient(135deg, #ff6b35 0%, #ff9d5c 100%);
  --black: #000;
  --ink: #0a0a0f;
  --ink-2: #101018;
  --ink-3: #15151f;
  --white: #fff;
  --text: rgba(255, 255, 255, 0.88);
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --ok: #2ed573;
  --warn: #ffa502;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 68px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

@font-face {
  font-family: 'Blippo';
  src: url('/static/fonts/blippo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; color: var(--text-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-hover); }
img { max-width: 100%; display: block; }
code { font-family: var(--font-mono); font-size: .88em; color: var(--orange-soft); background: rgba(255,107,53,.1); padding: 1px 6px; border-radius: 6px; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 107, 53, 0.35); color: #fff; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

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

.nf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.nf-skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.nf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 26px; min-height: 48px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s, box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.nf-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px var(--orange-glow); }
.nf-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 32px var(--orange-glow); }
.nf-btn-ghost { background: rgba(255,255,255,.03); color: var(--white); border-color: var(--line-2); }
.nf-btn-ghost:hover { color: var(--white); border-color: var(--orange); background: rgba(255,107,53,.1); }
.nf-btn-lg { padding: 17px 34px; font-size: 16px; min-height: 56px; }
.nf-btn-sm { padding: 10px 20px; font-size: 13px; min-height: 40px; }
.nf-btn-xs { padding: 8px 16px; font-size: 12.5px; min-height: 36px; }
.nf-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.nf-btn:hover .ic { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nf-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(0,0,0,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s;
}
.nf-nav.is-scrolled { background: rgba(0,0,0,.88); border-bottom-color: var(--line); }
.nf-nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nf-brand img { height: 34px; width: auto; }
.nf-nav-menu { display: flex; align-items: center; gap: 4px; }
.nf-nav-menu > a:not(.nf-btn) { color: var(--text); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nf-nav-menu > a:not(.nf-btn):hover { color: var(--white); background: var(--surface-2); }
.nf-nav-account { color: var(--orange) !important; font-weight: 600 !important; }
.nf-nav-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 8px; }
.nf-nav-menu .nf-btn { margin-left: 8px; }
.nf-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nf-nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nf-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nf-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nf-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nf-nav-toggle { display: inline-flex; }
  .nf-nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 24px 24px; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nf-nav-menu.is-open { display: flex; }
  .nf-nav-menu > a:not(.nf-btn) { padding: 14px 12px; font-size: 16px; }
  .nf-nav-sep { display: none; }
  .nf-nav-menu .nf-btn { margin: 12px 0 0; }
}

/* ---------- Hero (background values match the original site hero) ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #1a0a00 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.nf-hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 22px 0 22px;
}
.hero-title .highlight { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-tagline { font-size: clamp(17px, 2vw, 21px); line-height: 1.6; color: var(--text); max-width: 760px; margin-bottom: 34px; }
.hero-tagline strong { color: var(--white); font-weight: 700; }
.nf-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 30px; }
.nf-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 56px; }
.nf-pills a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 13.5px; font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}
.nf-pills a .ic { color: var(--orange); width: 16px; height: 16px; }
.nf-pills a:hover { color: var(--white); border-color: var(--orange); background: rgba(255,107,53,.1); transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.nf-eyebrow { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.nf-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.3); letter-spacing: .08em; font-size: 12px;
}
.nf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 var(--orange-glow); animation: nf-pulse 2.4s infinite; }
@keyframes nf-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,107,53,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,107,53,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); } }

/* ---------- Mock window ---------- */
.nf-mock { margin: 0; width: 100%; background: #0b0b11; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,107,53,.08), 0 0 80px rgba(255,107,53,.08); }
.nf-mock figcaption { padding: 10px 16px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line); text-align: center; }
.nf-mock-hero { max-width: 1120px; }
.nf-shot { display: block; width: 100%; height: auto; background: #0f0f0f; }
.nf-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #111119; border-bottom: 1px solid var(--line); }
.nf-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.nf-mock-bar i:nth-child(1) { background: #ff5f57; } .nf-mock-bar i:nth-child(2) { background: #febc2e; } .nf-mock-bar i:nth-child(3) { background: #28c840; }
.nf-mock-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }



/* ---------- Strip ---------- */
.nf-strip { background: var(--black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.nf-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 36px; }
.nf-strip-grid div { text-align: center; }
.nf-strip-grid b { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 44px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.nf-strip-grid span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-2); max-width: 22ch; margin-inline: auto; }
.nf-strip-logos { text-align: center; padding-top: 30px; border-top: 1px solid var(--line); }
.nf-strip-logos p { font-size: 12px; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.nf-strip-logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.nf-strip-logos li { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text-2); letter-spacing: -.01em; }
@media (max-width: 720px) { .nf-strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.nf-section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.nf-section-alt { background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%); border-top: 1px solid var(--line); }
.nf-section-ops { background: radial-gradient(900px 500px at 85% 0%, rgba(255,107,53,.1), transparent 60%), radial-gradient(700px 400px at 0% 40%, rgba(255,107,53,.06), transparent 60%), var(--black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nf-section-contact { background: radial-gradient(900px 500px at 15% 100%, rgba(255,107,53,.12), transparent 60%), var(--black); border-top: 1px solid var(--line); }
.nf-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.nf-head h2, .nf-split h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.nf-head > p:last-child { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.nf-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf-lead { font-size: 18px; margin-top: 18px; }

.nf-icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,107,53,.12); border: 1px solid rgba(255,107,53,.22); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.nf-icon .ic { width: 22px; height: 22px; }
.nf-icon-sm { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 14px; }
.nf-icon-sm .ic { width: 18px; height: 18px; }

/* ---------- Bento ---------- */
.nf-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.nf-card { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s, background .25s; }
.nf-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at var(--mx, 100%) var(--my, 0%), rgba(255,107,53,.12), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.nf-card:hover { border-color: rgba(255,107,53,.4); transform: translateY(-3px); }
.nf-card:hover::after { opacity: 1; }
.nf-card-lg { grid-column: span 3; padding: 34px; }
.nf-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.nf-card-lg h3 { font-size: 25px; }
.nf-card > p { font-size: 15px; margin-bottom: 18px; }
.nf-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.nf-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 2px; background: var(--grad); border-radius: 2px; }
@media (max-width: 960px) { .nf-bento { grid-template-columns: repeat(2, 1fr); } .nf-card, .nf-card-lg { grid-column: span 1; } .nf-card-lg { grid-column: span 2; } }
@media (max-width: 640px) { .nf-bento { grid-template-columns: 1fr; } .nf-card-lg { grid-column: span 1; } }

/* ---------- Ops ---------- */
.nf-ops-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: start; margin-bottom: 56px; }
.nf-mock-chat .nf-shot { background: #0f0f0f; }

.nf-risk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; counter-reset: risk; }
.nf-risk li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; }
.nf-risk b { display: block; color: var(--white); font-family: var(--font-head); font-size: 13.5px; margin-bottom: 4px; }
.nf-risk span { color: var(--text-2); line-height: 1.45; display: block; }
.nf-risk li:nth-child(1) { border-top: 2px solid var(--ok); }
.nf-risk li:nth-child(2) { border-top: 2px solid var(--orange-soft); }
.nf-risk li:nth-child(3) { border-top: 2px solid var(--warn); }

.nf-modules { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.nf-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(0,0,0,.35); border-radius: 12px; }
.nf-tabs button { flex: 1 1 auto; background: transparent; border: 0; color: var(--text-2); font-weight: 600; font-size: 13.5px; padding: 11px 14px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.nf-tabs button:hover { color: var(--white); }
.nf-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 4px 16px var(--orange-glow); }
.nf-panel { padding: 14px 10px 6px; }
.js .nf-panel[hidden] { display: none; }
.nf-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nf-mods li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.nf-mods li:hover { background: var(--surface-2); border-color: var(--line); }
.nf-mods .ic { color: var(--orange); margin-top: 3px; }
.nf-mods b { display: block; color: var(--white); font-size: 14px; font-family: var(--font-head); margin-bottom: 2px; }
.nf-mods span { display: block; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.nf-modules-note { padding: 14px 14px 10px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.js .nf-panel:not([hidden]) { animation: nf-fade .3s ease; }
@keyframes nf-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .nf-panel:not([hidden]) { animation: none; } }

@media (max-width: 1000px) { .nf-ops-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nf-mods { grid-template-columns: 1fr; } .nf-risk { grid-template-columns: 1fr; } }

.nf-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 52px; }
.nf-feature { padding: 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.nf-feature:hover { border-color: rgba(255,107,53,.4); transform: translateY(-3px); }
.nf-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.nf-feature p { font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1000px) { .nf-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nf-feature-grid { grid-template-columns: 1fr; } }
.nf-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Architecture ---------- */
.nf-arch { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; }
.nf-arch-layer { border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 24px; background: var(--surface); }
.nf-arch-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.nf-arch-layer ul { display: grid; gap: 12px; }
.nf-arch-top ul { grid-template-columns: repeat(4, 1fr); }
.nf-arch-top li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--white); text-align: center; }
.nf-arch-top li .ic { color: var(--orange); }
.nf-arch-top li.is-hub { background: var(--grad); border-color: transparent; box-shadow: 0 8px 28px var(--orange-glow); }
.nf-arch-top li.is-hub .ic { color: #fff; }
.nf-arch-core { border-color: rgba(255,107,53,.35); background: linear-gradient(180deg, rgba(255,107,53,.08), rgba(255,107,53,.02)); }
.nf-arch-core ul { grid-template-columns: repeat(4, 1fr); }
.nf-arch-core li { padding: 16px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.nf-arch-core li .ic { color: var(--orange); margin-bottom: 8px; width: 20px; height: 20px; }
.nf-arch-core b { display: block; color: var(--white); font-family: var(--font-head); font-size: 14.5px; margin-bottom: 4px; }
.nf-arch-core span { font-size: 12.5px; color: var(--text-2); line-height: 1.45; display: block; }
.nf-arch-base ul { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-arch-base li { padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--text); }
.nf-arch-link { height: 34px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px); opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .nf-arch-link { animation: nf-flow 1s linear infinite; } @keyframes nf-flow { to { background-position-y: 12px; } } }
@media (max-width: 860px) { .nf-arch-top ul, .nf-arch-core ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nf-arch-top ul, .nf-arch-core ul { grid-template-columns: 1fr; } }

/* ---------- Solutions ---------- */
.nf-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.nf-filter button { background: var(--surface); border: 1px solid var(--line); color: var(--text-2); padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s; }
.nf-filter button:hover { color: var(--white); border-color: var(--line-2); }
.nf-filter button.is-on { background: rgba(255,107,53,.14); border-color: var(--orange); color: var(--white); }
.nf-solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nf-sol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; transition: border-color .25s, transform .25s; }
.nf-sol:hover { border-color: rgba(255,107,53,.4); transform: translateY(-3px); }
.nf-sol[hidden] { display: none; }
.nf-sol h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.nf-sol > p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; flex: 1; }
.nf-sol-flagship { grid-column: span 2; background: linear-gradient(135deg, rgba(255,107,53,.14), rgba(255,107,53,.03)); border-color: rgba(255,107,53,.4); }
.nf-sol-flagship h3 { font-size: 24px; }
.nf-sol-flagship > p { font-size: 15.5px; max-width: 52ch; }
.nf-sol-cta { grid-column: span 2; border-style: dashed; border-color: var(--line-2); justify-content: center; }
.nf-sol-cta > p { flex: none; max-width: 52ch; }
.nf-badge { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; }
.nf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.nf-tags li { font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.nf-sol-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
@media (max-width: 980px) { .nf-solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nf-solutions { grid-template-columns: 1fr; } .nf-sol-flagship, .nf-sol-cta { grid-column: span 1; } }

/* ---------- Split sections ---------- */
.nf-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.nf-checks { margin-top: 32px; display: grid; gap: 18px; }
.nf-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.nf-checks li b { color: var(--white); font-weight: 600; }
.nf-checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(46,213,115,.14); color: var(--ok); margin-top: 1px; stroke-width: 3; }
.nf-stack-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.nf-stack-card + .nf-stack-card { margin-top: 16px; }
.nf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nf-chips li { font-family: var(--font-mono); font-size: 12.5px; padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); color: var(--text); }
.nf-stack-note { font-size: 14px; }
.nf-stack-card-cta { background: linear-gradient(135deg, rgba(255,107,53,.14), rgba(255,107,53,.03)); border-color: rgba(255,107,53,.35); }
.nf-stack-card-cta h3 { font-size: 20px; margin-bottom: 8px; }
.nf-stack-card-cta p { margin-bottom: 18px; font-size: 14.5px; }
@media (max-width: 900px) { .nf-split { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.nf-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.nf-path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .25s, transform .25s; }
.nf-path:hover { border-color: rgba(255,107,53,.4); transform: translateY(-3px); }
.nf-step { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--orange); letter-spacing: .1em; margin-bottom: 16px; padding-bottom: 6px; border-bottom: 2px solid var(--orange); }
.nf-path h3 { font-size: 22px; margin-bottom: 10px; }
.nf-path p { font-size: 15px; }
.nf-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: tl; }
.nf-timeline li { padding: 22px 20px 0 0; position: relative; border-top: 2px solid var(--line-2); counter-increment: tl; }
.nf-timeline li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,53,.2); }
.nf-timeline b { display: block; color: var(--white); font-family: var(--font-head); font-size: 17px; margin-bottom: 6px; }
.nf-timeline span { font-size: 14px; color: var(--text-2); display: block; line-height: 1.5; }
@media (max-width: 900px) { .nf-paths { grid-template-columns: 1fr; } .nf-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 520px) { .nf-timeline { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.nf-split-form { align-items: center; }
.nf-direct { margin-top: 32px; display: grid; gap: 14px; }
.nf-direct li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 16px; }
.nf-direct .ic { color: var(--orange); }
.nf-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.nf-field { display: grid; gap: 7px; }
.nf-field > span { font-size: 13px; font-weight: 600; color: var(--text); }
.nf-field input, .nf-field select, .nf-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--white); background: rgba(0,0,0,.45);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.nf-field textarea { resize: vertical; min-height: 120px; }
.nf-field select option { background: #15151f; color: #fff; }
.nf-field input:focus, .nf-field select:focus, .nf-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.22); }
.nf-form.was-validated .nf-field input:invalid, .nf-form.was-validated .nf-field textarea:invalid { border-color: #ff4757; }
.nf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .nf-field-row { grid-template-columns: 1fr; } }
.nf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nf-form-submit { width: 100%; }
.nf-form-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.nf-form-msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.nf-form-msg[hidden] { display: none; }
.nf-form-ok { background: rgba(46,213,115,.12); border: 1px solid rgba(46,213,115,.3); color: var(--ok); }
.nf-form-err { background: rgba(255,71,87,.12); border: 1px solid rgba(255,71,87,.3); color: #ff7b88; }

/* ---------- Footer ---------- */
.nf-footer { background: var(--black); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.nf-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.nf-wordmark { font-family: 'Blippo', var(--font-head); font-size: 34px; color: var(--white); margin-bottom: 10px; line-height: 1; }
.nf-footer-brand p:last-child { font-size: 14px; max-width: 32ch; }
.nf-footer h4 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.nf-footer li { margin-bottom: 10px; font-size: 14px; }
.nf-footer li a { color: var(--text-2); }
.nf-footer li a:hover { color: var(--orange); }
.nf-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.nf-footer-bottom p, .nf-footer-bottom a { font-size: 13px; color: var(--text-3); }
.nf-footer-bottom a:hover { color: var(--orange); }
.nf-agents { margin-top: 28px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: 14px; }
.nf-agents h4 { margin-bottom: 8px; }
.nf-agents p { font-size: 12.5px; line-height: 1.7; color: var(--text-3); margin-bottom: 8px; word-break: break-word; }
@media (max-width: 800px) { .nf-footer-grid { grid-template-columns: 1fr 1fr; } .nf-footer-brand { grid-column: span 2; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .nf-reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
  .js .nf-reveal.is-in { animation: nf-rise .5s cubic-bezier(.22,1,.36,1) backwards; animation-delay: var(--rd, 0s); }
  @keyframes nf-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* ---------- FAQ ---------- */
.nf-wrap-narrow { max-width: 820px; }
.nf-faq details { border-top: 1px solid var(--line); }
.nf-faq details:last-child { border-bottom: 1px solid var(--line); }
.nf-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--white); }
.nf-faq summary::-webkit-details-marker { display: none; }
.nf-faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--orange); transition: transform .2s; }
.nf-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nf-faq summary:hover { color: var(--orange); }
.nf-faq summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.nf-faq details p { padding: 0 40px 22px 0; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
