/* ============================================================
   Forge — File Convert for AI
   Design system & landing page styles
   Brand: molten gold on near-black · the "forge" metaphor
   ============================================================ */

/* ---------- Fonts (self-hosted, privacy-respecting) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter var";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bg:        #08080a;
  --bg-2:      #0c0c0f;
  --bg-3:      #111114;
  --card:      #141417;
  --card-2:    #191a1e;
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.06);

  /* text */
  --text:      #f5f5f2;
  --text-dim:  #a7a7ae;
  --text-mute: #8a8a90;

  /* brand */
  --gold:      #e8b23a;
  --gold-2:    #ffd77a;
  --gold-deep: #b8791d;
  --flame:     #ff6a3d;
  --flame-2:   #ffb347;
  --green:     #34d399;

  --gold-grad:  linear-gradient(135deg, #ffd87a 0%, #e8b23a 42%, #c98a1f 100%);
  --flame-grad: linear-gradient(135deg, #ffb347 0%, #ff6a3d 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow:    0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 24px 60px -24px rgba(232, 178, 58, 0.35);

  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "Inter var", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv05", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(232, 178, 58, 0.28); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 16px; color: var(--text-dim); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Ambient background layers ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.bg-fx .glow.g1 { top: -160px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(232,178,58,0.30), transparent 65%); }
.bg-fx .glow.g2 { top: 40%; left: -180px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,106,61,0.16), transparent 65%); }
.bg-fx .glow.g3 { bottom: -160px; right: 10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232,178,58,0.12), transparent 65%); }
/* faint gold pinstripe geometry, echoing the app's brand art */
.bg-fx .grid {
  position: absolute; inset: -2px;
  background-image: repeating-linear-gradient(
    118deg, transparent 0 118px, rgba(232,178,58,0.05) 118px 119px);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.bg-fx .noise {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold-grad);
  color: #17130a;
  box-shadow: var(--shadow-gold);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 66%);
  transform: translateX(-120%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -22px rgba(232,178,58,0.5); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(8,8,10,0.72);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.12rem; font-family: var(--font-display); letter-spacing: -0.01em; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%;
  background: var(--gold-grad); box-shadow: 0 0 12px rgba(232,178,58,0.7);
}
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.menu-btn svg { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: 70px 0 0; z-index: 55;
  background: rgba(8,8,10,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; padding: 14px 8px; border-bottom: 1px solid var(--border-2); color: var(--text); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Shared section furniture ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.12rem; margin: 0 auto; max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head .eyebrow::before { display: none; }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 88px) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
#forge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { animation: none; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.24rem; color: var(--text-dim); max-width: 48ch; margin-bottom: 18px; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero-devices { display: inline-flex; align-items: center; gap: 10px; font-size: 0.98rem; color: var(--text-dim); background: rgba(232,178,58,0.08); border: 1px solid rgba(232,178,58,0.28); border-radius: 14px; padding: 10px 18px; margin: 0 0 26px; max-width: 100%; }
.hero-devices svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.hero-devices b { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine-print { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 0.9rem; color: var(--text-mute); }
.fine-print span { display: inline-flex; align-items: center; gap: 7px; }
.fine-print span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #2a2a30, #101013 90%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.4) inset;
  will-change: transform;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #050506; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone img { border-radius: 33px; width: 100%; }
.phone-glow { position: absolute; inset: -30px; z-index: -1; background: radial-gradient(circle, rgba(232,178,58,0.28), transparent 62%); filter: blur(20px); }
.float-badge {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: rgba(20,20,24,0.9); border: 1px solid var(--border);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow); font-size: 0.86rem; will-change: transform;
}
.float-badge .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; }
.float-badge b { display: block; font-size: 0.95rem; color: var(--text); font-family: var(--font-display); }
.float-badge small { color: var(--text-mute); }
.float-badge.b1 { top: 18%; left: -46px; }
.float-badge.b2 { bottom: 16%; right: -40px; }
.badge-gold .dot { background: rgba(232,178,58,0.16); color: var(--gold); }
.badge-green .dot { background: rgba(52,211,153,0.16); color: var(--green); }

/* logo strip */
.logo-strip { margin-top: clamp(40px, 6vw, 66px); }
.logo-strip p { text-align: center; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logo-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.02);
  font-size: 0.9rem; color: var(--text-dim); font-weight: 500;
}
.logo-pill svg { width: 16px; height: 16px; }

/* ---------- Pipeline ---------- */
.pipeline-wrap { position: relative; }
.pipeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative;
  max-width: 900px; margin: 0 auto;
}
.pipe-node {
  position: relative; text-align: center; padding: 30px 20px 26px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.pipe-node .ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); transition: all 0.4s; }
.pipe-node .ico svg { width: 26px; height: 26px; color: var(--text-dim); transition: color 0.4s; }
.pipe-node h3 { margin-bottom: 6px; font-size: 1.05rem; }
.pipe-node p { margin: 0; font-size: 0.88rem; color: var(--text-mute); }
.pipe-node.lit { border-color: rgba(232,178,58,0.5); transform: translateY(-6px); box-shadow: 0 20px 40px -22px rgba(232,178,58,0.4); }
.pipe-node.lit .ico { background: rgba(232,178,58,0.14); border-color: rgba(232,178,58,0.4); box-shadow: 0 0 22px rgba(232,178,58,0.25); }
.pipe-node.lit .ico svg { color: var(--gold); }
.pipe-node.done-green.lit { border-color: rgba(52,211,153,0.5); box-shadow: 0 20px 40px -22px rgba(52,211,153,0.35); }
.pipe-node.done-green.lit .ico { background: rgba(52,211,153,0.14); border-color: rgba(52,211,153,0.4); }
.pipe-node.done-green.lit .ico svg { color: var(--green); }
.pipe-arrow { position: absolute; top: 50%; z-index: 2; color: var(--text-mute); transform: translateY(-50%); }
.pipe-arrow svg { width: 22px; height: 22px; }

/* ---------- Convert demo ---------- */
.demo { }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.demo-tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); color: var(--text-dim); font-weight: 500; font-size: 0.92rem;
  transition: all 0.2s;
}
.demo-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.demo-tab.active { background: var(--gold-grad); color: #17130a; border-color: transparent; font-weight: 600; }
.demo-stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.pane {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-height: 320px;
}
.pane-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.86rem; color: var(--text-dim); }
.pane-head .fname { font-family: var(--font-display); color: var(--text); }
.pane-head .tag { margin-left: auto; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pane.before .tag { background: rgba(255,106,61,0.14); color: var(--flame-2); }
.pane.after .tag { background: rgba(52,211,153,0.14); color: var(--green); }
.pane-body { padding: 18px; font-size: 0.82rem; line-height: 1.7; overflow: auto; flex: 1; }
.pane.before .pane-body { color: var(--text-mute); font-family: ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.pane.after .pane-body { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #d7d7dc; white-space: pre-wrap; }
.md-h { color: var(--gold); font-weight: 700; }
.md-b { color: var(--text); font-weight: 700; }
.md-p { color: var(--text-mute); }
.md-c { color: var(--green); }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--gold); vertical-align: text-bottom; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.demo-forge {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--gold-grad); color: #17130a; box-shadow: var(--shadow-gold);
}
.demo-forge svg { width: 30px; height: 30px; }
.demo-savings { text-align: center; }
.demo-savings .num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.demo-savings small { color: var(--text-mute); font-size: 0.76rem; display: block; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 18px 16px; align-self: flex-start;
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: var(--text-dim); font-size: 0.82rem; transition: all 0.2s;
}
.copy-btn:hover { color: var(--text); border-color: rgba(52,211,153,0.4); }
.copy-btn.copied { color: var(--green); border-color: rgba(52,211,153,0.5); }

/* ---------- Files ---------- */
.marquee { position: relative; overflow: hidden; margin: 0 -24px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 50s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 12px; margin-right: 12px;
  background: var(--card); border: 1px solid var(--border); font-size: 0.92rem; color: var(--text-dim); white-space: nowrap;
}
.chip b { color: var(--text); font-weight: 600; font-family: var(--font-display); }
.chip .ext { color: var(--gold); font-size: 0.8rem; font-family: ui-monospace, monospace; }

.files-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.file-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; position: relative; overflow: hidden;
}
.file-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx,50%) var(--my,0%), rgba(232,178,58,0.10), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.file-card:hover { transform: translateY(-4px); border-color: rgba(232,178,58,0.35); }
.file-card:hover::after { opacity: 1; }
.file-card .fi { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); margin-bottom: 14px; color: var(--gold); }
.file-card .fi svg { width: 22px; height: 22px; }
.file-card h3 { margin-bottom: 5px; font-size: 1.02rem; }
.file-card p { margin: 0; font-size: 0.82rem; color: var(--text-mute); font-family: ui-monospace, monospace; }

/* ---------- Savings / stats ---------- */
.savings { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; position: relative; overflow: hidden;
}
.stat .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold-grad); transition: width 1.2s var(--ease); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.5rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: 0.86rem; color: var(--text-dim); margin-top: 4px; }
.stat .sub { font-size: 0.72rem; color: var(--text-mute); }
.stat-caption { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-mute); }

/* ---------- Screens gallery ---------- */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 24px 24px; margin: 0 -24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 230px; scroll-snap-align: center; }
.shot .frame {
  border-radius: 26px; padding: 8px; background: linear-gradient(160deg, #2a2a30, #101013 90%);
  border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.shot:hover .frame { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(232,178,58,0.3); }
.shot .frame img { border-radius: 20px; }
.shot figcaption { margin-top: 16px; text-align: center; }
.shot figcaption h3 { font-size: 1rem; margin-bottom: 3px; }
.shot figcaption p { font-size: 0.84rem; margin: 0; color: var(--text-mute); }
.gallery-hint { text-align: center; font-size: 0.82rem; color: var(--text-mute); margin-top: 4px; }

.crossdevice { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin-top: 64px; }
.crossdevice .mac-frame { border-radius: 16px; padding: 8px; background: linear-gradient(160deg, #2a2a30, #101013); border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow); }
.crossdevice .mac-frame img { border-radius: 10px; }
.crossdevice h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* ---------- Why / trust ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border); }
.why-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(232,178,58,0.12); border: 1px solid rgba(232,178,58,0.25); color: var(--gold); }
.why-card .ic svg { width: 23px; height: 23px; }
.why-card h3 { font-size: 1.08rem; }
.why-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.price-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid rgba(232,178,58,0.32); border-radius: var(--radius-lg); padding: 40px; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(232,178,58,0.6), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-spot { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(232,178,58,0.18), transparent 60%); left: var(--sx,60%); top: var(--sy,-30%); pointer-events: none; transition: opacity 0.3s; opacity: 0.6; }
.price-badge { display: inline-block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: var(--font-display); margin-bottom: 14px; }
.price-tag { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-tag .amt { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-tag .per { color: var(--text-dim); font-size: 1rem; }
.price-strike { color: var(--text-mute); font-size: 0.92rem; margin-bottom: 18px; }
.price-strike s { color: var(--text-mute); }
.price-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.price-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.96rem; color: var(--text-dim); }
.price-list li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.price-card .btn-primary { width: 100%; justify-content: center; }
.price-note { text-align: center; font-size: 0.82rem; color: var(--text-mute); margin: 14px 0 0; }

.price-side { display: flex; flex-direction: column; gap: 18px; }
.compare {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; flex: 1;
}
.compare h4 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 14px; letter-spacing: -0.01em; }
.compare-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border-2); font-size: 0.9rem; }
.compare-row:last-child { border-bottom: 0; }
.compare-row span:first-child { color: var(--text-dim); }
.compare-row .no { color: var(--text-mute); display: inline-flex; align-items: center; gap: 6px; }
.compare-row .yes { color: var(--green); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.compare-row svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--card); overflow: hidden;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(232,178,58,0.3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform 0.3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.faq summary .plus::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq summary .plus::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); transition: transform 0.3s; }
.faq details[open] summary .plus::after { transform: translateX(-50%) scaleY(0); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { margin: 0; font-size: 0.96rem; }

/* ---------- Final CTA ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 50% 0%, rgba(232,178,58,0.16), transparent 60%); }
.cta-band .mark { width: 84px; margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(232,178,58,0.4)); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; margin: 0 auto 18px; }
.cta-band p { max-width: 46ch; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 14px; }
.footer-blurb { font-size: 0.92rem; max-width: 34ch; color: var(--text-mute); }
.footer h5 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.94rem; margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid var(--border-2); }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--text-mute); }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .eyebrow, .cta-row, .fine-print { justify-content: center; }
  .hero-art { order: -1; }
  .price-grid { grid-template-columns: 1fr; }
  .crossdevice { grid-template-columns: 1fr; text-align: center; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .files-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipe-arrow { display: none; }
  .demo-stage { grid-template-columns: 1fr; }
  .demo-mid { flex-direction: row; padding: 6px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .float-badge.b1 { left: -12px; }
  .float-badge.b2 { right: -8px; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .files-grid { grid-template-columns: 1fr; }
  .phone { width: min(300px, 78vw); }
}
/* Very small phones (<=360px): drop the decorative float badges so nothing clips the viewport */
@media (max-width: 360px) {
  .float-badge { display: none; }
}
