/* =================================================================
   Monsterload — Marketing site stylesheet
   Design language lifted from the app: light, airy, generous radii,
   white cards on a soft warm-gray shell, purple→violet gradient,
   cyan accent, pill buttons, soft low-opacity shadows.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  /* Brand ramp now holds NEON ORANGE (var names kept so usages don't change).
     Low numbers = dark warm surfaces; high numbers = bright orange accents. */
  --purple-50:  #2a1707;   /* dark warm surface (tiles/pills) */
  --purple-100: #3e2614;   /* warm tile border */
  --purple-200: #5a391d;   /* hover border / selection bg */
  --purple-300: #ff9a52;   /* focus ring, featured border */
  --purple-400: #ff8a3d;
  --purple-500: #ff6a00;   /* primary — neon orange */
  --purple-600: #ff8f43;   /* accent text/icons on dark */
  --purple-700: #ff7a1a;   /* strong accent (reads on white + dark) */
  --cyan-400:   #ffb454;   /* secondary warm accent (was cyan) */
  --cyan-500:   #ff9d2e;

  /* Neutrals */
  --ink:        #f6f5f8;   /* headings (near-white) */
  --ink-soft:   #e4e2ea;
  --body:       #b4b1c0;   /* body text */
  --muted:      #8b8898;   /* secondary */
  --faint:      #6d6a7a;
  --line:       #2b2a33;   /* hairline borders */
  --line-soft:  #232229;
  --card:       #16151b;
  --shell:      #1d1c24;   /* app-frame shell */
  --shell-2:    #26242f;
  --bg:         #0c0b10;   /* page (near-black) */
  --bg-tint:    #131218;

  /* Status (from app pills) */
  --green-bg: #dcfce7; --green-fg: #15803d;
  --amber-bg: #fef3c7; --amber-fg: #b45309;
  --blue-bg:  #dbeafe; --blue-fg:  #1d4ed8;
  --red-bg:   #fee2e2; --red-fg:   #b91c1c;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #ff8a3d 0%, #ff6a00 55%, #e85600 100%);
  --grad-soft:    linear-gradient(135deg, #2a1707 0%, #1b1206 100%);
  --grad-text:    linear-gradient(120deg, #ff6a00 0%, #ff8f43 40%, #ffc079 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.4);
  --sh-sm: 0 2px 10px rgba(0,0,0,.45);
  --sh-md: 0 12px 32px -12px rgba(0,0,0,.6);
  --sh-lg: 0 34px 64px -24px rgba(0,0,0,.7);
  --sh-purple: 0 18px 44px -14px rgba(255,106,0,.42);

  /* Layout */
  --maxw: 1400px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--purple-300); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--purple-200); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; font-weight: 760; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { font-size: 1.0625rem; }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.3rem); color: var(--body); line-height: 1.55; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1480px; }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }
.center { text-align: center; }
.measure { max-width: 640px; }
.center .measure { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-500); box-shadow: 0 0 0 4px rgba(255,106,0,.22); }
.section-head { margin-bottom: clamp(40px, 6vw, 68px); }
.section-head .lead { margin-top: 18px; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 650; font-size: .98rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--sh-purple); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -12px rgba(255,106,0,.5); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { transform: translateY(-2px); background: #000; box-shadow: var(--sh-md); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-xs); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--purple-200); box-shadow: var(--sh-sm); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn-white { background: #fff; color: #1a0f02; box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--purple-600); font-weight: 650; display: inline-flex; align-items: center; gap: 7px; }
.btn-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(12,11,16,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { width: 30px; height: 29px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a {
  color: var(--ink-soft); font-weight: 550; font-size: .96rem;
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--purple-50); color: var(--purple-700); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: .92rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Header mega-menu (Features) ---------- */
.nav-item { position: static; display: inline-flex; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-weight: 550; font-size: .96rem; color: var(--ink-soft);
  padding: 9px 14px; border: 0; background: none; border-radius: var(--r-pill); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.nav-trigger:hover, .has-mega.open .nav-trigger { background: var(--purple-50); color: var(--purple-700); }
.nav-trigger .caret { width: 15px; height: 15px; transition: transform .2s ease; }
.has-mega.open .nav-trigger .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 4px); left: 50%;
  width: min(940px, calc(100vw - 28px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 200;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.has-mega.open > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}
/* No-JS fallback: open on hover / keyboard focus */
html:not(.js) .has-mega:hover > .mega,
html:not(.js) .has-mega:focus-within > .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-inner {
  display: grid; grid-template-columns: 1fr 290px; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 18px;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-card { display: flex; gap: 13px; padding: 12px; border-radius: var(--r-md); transition: background .15s ease; }
.mega-card:hover { background: var(--bg-tint); }
.mega-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--purple-50); border: 1px solid var(--purple-100); color: var(--purple-600);
  display: grid; place-items: center;
}
.mega-ic svg { width: 20px; height: 20px; }
.mega-tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-t { font-weight: 650; color: var(--ink); font-size: .98rem; }
.mega-d { font-size: .84rem; color: var(--muted); line-height: 1.45; }

.mega-rail {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-tint); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 14px;
}
.mega-rail-h { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 4px 8px 6px; }
.mega-link { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r-sm); transition: background .15s ease; }
.mega-link:hover { background: var(--shell); box-shadow: var(--sh-xs); }
.mega-link b { color: var(--ink); font-size: .92rem; font-weight: 650; }
.mega-link span { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mega-cta { margin-top: auto; }

@media (max-width: 900px) {
  .mega-inner { grid-template-columns: 1fr; }
  .mega-cta { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(255,170,60,.14) 0%, transparent 60%),
    radial-gradient(55% 55% at 16% 0%, rgba(255,106,0,.22) 0%, transparent 58%),
    linear-gradient(180deg, #130d09 0%, #0c0b10 62%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
}
.hero-inner { text-align: center; max-width: 880px; margin-inline: auto; }
.hero h1 { margin-top: 26px; }
.hero .lead { margin: 24px auto 0; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-note svg { width: 16px; height: 16px; color: var(--green-fg); }

/* Hero product frame */
.hero-frame-wrap { margin-top: clamp(44px, 6vw, 72px); position: relative; }
.hero-frame-wrap::after {
  content: ""; position: absolute; left: 50%; bottom: -8%; transform: translateX(-50%);
  width: 78%; height: 60%; background: radial-gradient(closest-side, rgba(255,106,0,.34), transparent 72%);
  filter: blur(46px); z-index: -1;
}

/* App-chrome browser frame (makes screenshots feel like the real app) */
.app-frame {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 14px;
  box-shadow: var(--sh-lg);
  max-width: 1080px;
  margin-inline: auto;
}
.app-frame .shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.app-frame .shot img { width: 100%; height: auto; display: block; }
.app-frame.flat { padding: 0; background: transparent; border: none; box-shadow: none; }

/* ---------- Trust / platform strip ---------- */
.platforms { padding-block: clamp(40px, 5vw, 60px); border-block: 1px solid var(--line-soft); background: var(--bg-tint); }
.platforms p { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 26px; }
.platform-marquee {
  overflow: hidden;
  padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.platform-track { display: flex; width: max-content; animation: platform-scroll 60s linear infinite; }
.platform-track:hover { animation-play-state: paused; }
.platform-group { display: flex; gap: 12px; padding-right: 12px; }
@keyframes platform-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .platform-marquee { -webkit-mask-image: none; mask-image: none; }
  .platform-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .platform-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  /* No scroll, so the duplicate set would just show every chip twice — hide it. */
  .platform-group[aria-hidden="true"] { display: none; }
}
.platform-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 18px; font-weight: 650; color: var(--ink-soft); font-size: .95rem;
  box-shadow: var(--sh-xs); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.platform-chip:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--purple-200); }
.platform-chip .pf-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.platform-chip .pf-ic img { width: 13px; height: 13px; filter: brightness(0) invert(1); }

/* ---------- Section: value props / why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 32px 28px; box-shadow: var(--sh-xs); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--purple-100); }
.why-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--purple-600); margin-bottom: 20px;
  border: 1px solid var(--purple-100);
}
.why-ic svg { width: 26px; height: 26px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { font-size: 1rem; color: var(--body); }

/* ---------- Feature showcase (alternating rows) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(72px, 10vw, 140px); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9rem;
  color: var(--purple-700); margin-bottom: 18px;
}
.feature-tag .tag-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--purple-50); border: 1px solid var(--purple-100); display: grid; place-items: center; }
.feature-tag .tag-ic svg { width: 19px; height: 19px; }
.feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.feature-copy p.lead { margin-top: 16px; }
.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; color: var(--ink-soft); }
.feature-list .chk {
  flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--purple-50); color: var(--purple-600); margin-top: 1px; border: 1px solid var(--purple-100);
}
.feature-list .chk svg { width: 14px; height: 14px; }
.feature-copy .btn-link { margin-top: 28px; }

.feature-visual { position: relative; }
.feature-visual .glow { position: absolute; inset: 6% 4%; border-radius: 50%; filter: blur(56px); z-index: 0; opacity: .55; }
.feature-visual .glow.p { background: radial-gradient(closest-side, rgba(255,106,0,.5), transparent); }
.feature-visual .glow.c { background: radial-gradient(closest-side, rgba(255,170,60,.42), transparent); }

/* ---------- Bento (Engage / extras) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.bento-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px; box-shadow: var(--sh-xs); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--purple-100); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card .why-ic { margin-bottom: 16px; }
.bento-card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.bento-card p { font-size: 1rem; }
.bento-card.dark { background: linear-gradient(150deg, #1c1206 0%, #2a1808 60%, #38220a 100%); border-color: var(--line); color: #d8d2e6; }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: #c8c4d0; }
.bento-card.dark .why-ic { background: rgba(255,138,40,.12); border-color: rgba(255,138,40,.24); color: #ffb98a; }

/* ---------- Stats band ---------- */
.stats { background: linear-gradient(150deg, #170d05 0%, #2a1606 55%, #170d05 100%); color: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.stats::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 85% 10%, rgba(255,170,60,.18), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(255,106,0,.28), transparent 60%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(120deg,#fff, #ffce9e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: #c4bcd6; margin-top: 8px; font-size: .98rem; }

/* ---------- Insights metric chips ---------- */
.metric-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.metric-chip { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 15px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); box-shadow: var(--sh-xs); }
.metric-chip b { color: var(--purple-600); }

/* ---------- Privacy / local-first feature band ---------- */
.localfirst { background: linear-gradient(150deg, #160d05 0%, #271406 55%, #150c05 100%); color: #cfc8df; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: clamp(44px,7vw,84px); position: relative; overflow: hidden; }
.localfirst::before { content:""; position:absolute; inset:0; background: radial-gradient(45% 55% at 88% 12%, rgba(255,170,60,.18), transparent 60%), radial-gradient(45% 55% at 8% 88%, rgba(255,106,0,.26), transparent 60%); }
.localfirst-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,6vw,72px); align-items: center; }
.localfirst h2 { color: #fff; }
.localfirst .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #ffb98a; }
.localfirst .eyebrow .dot { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(255,180,84,.28); }
.localfirst p { color: #c4bcd6; }
.lf-list { display: grid; gap: 16px; margin-top: 28px; }
.lf-list li { display: flex; gap: 14px; align-items: flex-start; color: #ded7ec; }
.lf-list .chk { flex:none; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,138,40,.16); color: #ff9a52; display: grid; place-items: center; }
.lf-list .chk svg { width: 15px; height: 15px; }
.lf-diagram { display: grid; gap: 14px; }
.lf-node { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.lf-node .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,138,40,.14); color: #ff9a52; display: grid; place-items: center; flex: none; }
.lf-node .ic svg { width: 22px; height: 22px; }
.lf-node h4 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.lf-node p { font-size: .9rem; margin: 0; }
.lf-node.machine { background: rgba(255,170,60,.10); border-color: rgba(255,170,60,.26); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-xs); display: flex; flex-direction: column; }
.quote-card .stars { color: #f5b301; display: flex; gap: 2px; margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.06rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote-card .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; flex: none; }
.quote-card .who b { color: var(--ink); display: block; font-size: .95rem; }
.quote-card .who span { color: var(--muted); font-size: .85rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1140px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 24px; box-shadow: var(--sh-xs); position: relative; }
.price-card.featured { border: 1.5px solid var(--purple-300); box-shadow: var(--sh-lg); }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-primary); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: 6px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-purple); }
.price-card h3 { font-size: 1.3rem; }
.price-card .tagline { color: var(--muted); font-size: .95rem; margin-top: 6px; min-height: 42px; }
.price-card .price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-card .price .amt { font-size: 2.8rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-card .price .per { color: var(--muted); font-weight: 600; }
.price-card .price-sub { color: var(--muted); font-size: .9rem; min-height: 20px; }
.price-card .btn { margin: 24px 0; }
.price-feats { display: grid; gap: 12px; }
.price-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.price-feats .chk { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--purple-50); color: var(--purple-600); display: grid; place-items: center; margin-top: 2px; }
.price-feats .chk svg { width: 13px; height: 13px; }
.price-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-primary); border-radius: var(--r-2xl); padding: clamp(48px, 7vw, 90px) clamp(28px,5vw,64px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 80% 0%, rgba(255,221,170,.38), transparent 60%), radial-gradient(40% 70% at 12% 100%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 18px auto 0; font-size: 1.15rem; }
.cta-band .hero-cta { margin-top: 34px; }
.cta-band .hero-note { color: rgba(255,255,255,.85); }
.cta-band .hero-note svg { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #08070b; color: #9a93a8; padding-block: clamp(56px, 7vw, 84px) 40px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8c8499; margin-top: 18px; max-width: 280px; font-size: .96rem; }
.footer-brand .brand img { filter: none; }
.footer-col h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: #9a93a8; padding: 7px 0; font-size: .96rem; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: #75708380; }
.footer-bottom .legal { color: #756f83; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #b6afc4; transition: background .18s, color .18s, transform .18s; }
.footer-bottom .socials a:hover { background: var(--purple-500); color: #fff; transform: translateY(-2px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }
.footer-disclaimer { margin-top: 22px; font-size: .82rem; color: #5f5a6c; max-width: 720px; line-height: 1.6; }

/* =================================================================
   Download page
   ================================================================= */
.dl-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 52px); }
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.os-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 38px 34px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.os-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.os-card.detected { border: 1.5px solid var(--purple-300); }
.os-badge { position: absolute; top: 20px; right: 20px; display: none; align-items: center; gap: 6px; background: var(--purple-50); color: var(--purple-700); border: 1px solid var(--purple-100); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); }
.os-card.detected .os-badge { display: inline-flex; }
.os-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.os-logo { width: 60px; height: 60px; border-radius: 18px; background: var(--shell-2); display: grid; place-items: center; color: var(--ink); flex: none; border: 1px solid var(--line); }
.os-logo svg { width: 34px; height: 34px; }
.os-head h3 { font-size: 1.5rem; }
.os-head .os-meta { color: var(--muted); font-size: .92rem; margin-top: 3px; }
.os-card .btn { margin-bottom: 14px; }
.dl-options { display: grid; gap: 8px; margin-top: 6px; }
.dl-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-tint); transition: border-color .18s, background .18s; }
.dl-option:hover { border-color: var(--purple-300); background: var(--shell); }
.dl-option .o-left { display: flex; align-items: center; gap: 12px; }
.dl-option .o-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--purple-600); flex: none; }
.dl-option .o-ic svg { width: 17px; height: 17px; }
.dl-option .o-title { font-weight: 650; color: var(--ink); font-size: .95rem; }
.dl-option .o-sub { font-size: .82rem; color: var(--muted); }
.dl-option .o-dl { color: var(--purple-600); font-weight: 650; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.dl-option .o-dl svg { width: 16px; height: 16px; }

.req-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-xs); }
.req-card h3 { margin-bottom: 18px; }
.req-list { display: grid; gap: 13px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.req-list .chk { flex:none; width: 22px; height: 22px; border-radius: 7px; background: var(--purple-50); color: var(--purple-600); display: grid; place-items: center; margin-top: 1px; }
.req-list .chk svg { width: 13px; height: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-xs); position: relative; }
.step-card .step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--sh-purple); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { font-size: .98rem; }

/* Page hero for sub-pages */
.page-hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(24px, 3vw, 40px); text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(255,106,0,.16), transparent 65%), linear-gradient(180deg,#130d09,#0c0b10); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--purple-200); box-shadow: var(--sh-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 650; color: var(--ink); font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--purple-50); color: var(--purple-600); display: grid; place-items: center; transition: transform .25s ease; }
.faq-item summary .ic svg { width: 16px; height: 16px; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--body); font-size: 1rem; line-height: 1.6; }

/* ---------- Scroll reveal ----------
   Only hide when JS is active (html.js). With JS off, content stays visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why-grid, .quote-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .localfirst-inner { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-2 { grid-column: span 6; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .os-grid { grid-template-columns: 1fr; }
  .mobile-menu { display: block; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .hero-cta .btn { width: 100%; }
  .platform-group { gap: 9px; padding-right: 9px; }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(11,10,15,.98); backdrop-filter: blur(12px);
  padding: 24px var(--gutter); flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 16px 8px; font-size: 1.15rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 18px; }
/* Collapsible Features group in the mobile menu */
.mobile-menu .m-acc { border-bottom: 1px solid var(--line-soft); }
.mobile-menu .m-acc summary {
  list-style: none; cursor: pointer; padding: 16px 8px;
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .m-acc summary::-webkit-details-marker { display: none; }
.mobile-menu .m-acc summary::after {
  content: ""; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.mobile-menu .m-acc[open] summary::after { transform: rotate(-135deg); }
.mobile-menu .m-sub a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 13px 8px 13px 16px; font-size: 1rem; font-weight: 600;
}
.mobile-menu .m-sub a:last-child { border-bottom: 0; }
.mobile-menu .m-sub a b { color: var(--ink); font-weight: 600; }
.mobile-menu .m-sub a span { color: var(--muted); font-size: .85rem; font-weight: 400; }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }
