*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

/* ── Brand system: original purple/gold on near-black — kept as aliases
   (--gold/--teal naming from the animation pass) so the rest of this
   stylesheet didn't need touching when the palette was reverted. */
:root {
  --bg:         #0F0F12;
  --bg-2:       #0A0A0D;
  --surface:    #17161D;
  --surface-2:  #201F29;
  --surface-3:  #2A2934;
  --border:     rgba(255,255,255,0.08);
  --border-hi:  rgba(255,255,255,0.15);
  --text:       #EDECEA;
  --text-muted: #9A968D;
  --text-dim:   #6B675F;
  --gold:       #6C4CF5;
  --gold-hi:    #8B6FF7;
  --gold-lo:    rgba(108,76,245,0.12);
  --teal:       #E8B94C;
  --teal-hi:    #E8B94C;
  --teal-lo:    rgba(232,185,76,0.12);
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --ease:       260ms cubic-bezier(.4,0,.2,1);
  --container:  1180px;
  --shadow-color: rgba(0,0,0,0.55);
}

:root[data-theme="light"] {
  --bg:         #FAF9F7;
  --bg-2:       #F1EFEB;
  --surface:    #FFFFFF;
  --surface-2:  #F4F2EE;
  --surface-3:  #EBE8E2;
  --border:     rgba(20,18,12,0.09);
  --border-hi:  rgba(20,18,12,0.16);
  --text:       #1C1A16;
  --text-muted: #6B675E;
  --text-dim:   #9A9587;
  --gold:       #6C4CF5;
  --gold-hi:    #5A38E0;
  --gold-lo:    rgba(108,76,245,0.09);
  --teal:       #B8860B;
  --teal-hi:    #B8860B;
  --teal-lo:    rgba(184,134,11,0.09);
  --shadow-color: rgba(30,25,15,0.12);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background var(--ease), color var(--ease);
}

/* ── Ambient grain ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.6;
  pointer-events: none; z-index: 0;
}
:root[data-theme="light"] body::before { opacity: 0.3; }

.bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--border-hi) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 0%, transparent 75%);
  opacity: 0.55;
  pointer-events: none; z-index: 0;
}

/* ── Parallax blob layers — drift at a fraction of scroll speed via JS
   (transform: translate3d), sized with clamp() so depth reads the same
   from phone to ultrawide instead of looking tiny or overflowing. ── */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(2px); will-change: transform; }
:root[data-theme="light"] .blob { opacity: 0.3; filter: blur(8px); }
.blob-gold {
  top: -6%; left: 54%; transform: translateX(-50%);
  width: clamp(650px, 50vw, 1350px); height: clamp(500px, 40vw, 850px);
  background: radial-gradient(ellipse, rgba(108,76,245,0.20) 0%, transparent 65%);
}
.blob-teal {
  top: 30%; right: -8%;
  width: clamp(480px, 36vw, 950px); height: clamp(480px, 36vw, 950px);
  background: radial-gradient(ellipse, rgba(232,185,76,0.16) 0%, transparent 65%);
}
.blob-gold-2 {
  top: 72%; left: -10%;
  width: clamp(420px, 30vw, 760px); height: clamp(420px, 30vw, 760px);
  background: radial-gradient(ellipse, rgba(108,76,245,0.10) 0%, transparent 65%);
}
.blob-teal-2 {
  top: 105%; right: 10%;
  width: clamp(380px, 26vw, 640px); height: clamp(380px, 26vw, 640px);
  background: radial-gradient(ellipse, rgba(232,185,76,0.13) 0%, transparent 65%);
}

.wrap { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-badge { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon-img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 10px rgba(108,76,245,0.35)); }
.nav .brand-icon-img { height: 44px; }
:root[data-theme="dark"] .brand-icon-img { height: 46px; }
:root[data-theme="dark"] .nav .brand-icon-img { height: 51px; }
.brand-wordmark { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; font-size: 13.5px; font-weight: 600; color: var(--text-muted); transition: color var(--ease); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--gold); transition: width var(--ease); }
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text); }
.nav-link.active::after { width: 100%; }

/* Open state is JS-driven (see site.js's dropdown handling), not pure
   CSS :hover — closing needs a ~1s grace delay after the mouse leaves so
   moving toward the panel doesn't slam it shut, and CSS alone can't delay
   a :hover exit. */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  display: none; position: absolute; top: 100%; left: -14px; margin-top: 14px;
  min-width: 200px; background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm); padding: 8px; box-shadow: 0 20px 50px var(--shadow-color);
}
.nav-dropdown.open .nav-dropdown-panel { display: block; }
.nav-dropdown-panel a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.nav-dropdown-panel a:hover { background: var(--gold-lo); color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); cursor: pointer; transition: var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--border-hi); transform: rotate(14deg); }
.lang-toggle { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: none; color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: var(--ease);
}
.lang-btn.active { background: var(--gold-lo); color: var(--gold); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13.5px;
  padding: 10px 20px; border-radius: var(--radius-sm); cursor: pointer;
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent; white-space: nowrap; overflow: hidden;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 100%);
  color: #fff; box-shadow: 0 2px 16px rgba(108,76,245,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,76,245,0.5); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); background: var(--surface-2); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-block { width: 100%; }

.nav-burger { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 20px 20px; border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 10px 4px; border-bottom: 1px solid var(--border); }
.mobile-menu-actions { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

/* ── Page header (non-home pages) ── */
.page-header { position: relative; padding-top: 150px; padding-bottom: 64px; overflow: hidden; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-lo); border: 1px solid rgba(108,76,245,0.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
}
.page-title {
  font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15;
  font-size: clamp(34px, 5vw, 58px); max-width: 780px; margin-bottom: 20px;
}
.page-sub { font-size: 16.5px; line-height: 1.65; color: var(--text-muted); max-width: 640px; }

/* ── Hero (home only) ── */
.hero { position: relative; padding-top: 136px; padding-bottom: 64px; overflow: hidden; }
.cursor-glow {
  position: absolute; top: 0; left: 0; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,76,245,0.16) 0%, transparent 70%);
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity 0.4s ease;
  will-change: transform;
}
.hero:hover .cursor-glow { opacity: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-lo); border: 1px solid rgba(108,76,245,0.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}
.hero-eyebrow .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title {
  font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15;
  font-size: clamp(40px, 6vw, 76px); max-width: 880px; margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold), var(--teal-hi), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
.hero-sub {
  font-size: 17.5px; line-height: 1.65; color: var(--text-muted); max-width: 600px; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-note { font-size: 12.5px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; margin-top: 14px; }

/* ── Stat strip ── */
.stat-strip { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 32px; border-top: 1px solid var(--border); margin-bottom: 60px; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.01em; }
.stat-value .accent { color: var(--gold); }
.stat-label { font-size: 12.5px; color: var(--text-dim); font-weight: 600; }

/* ── UI preview mock ── */
.preview-shell {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-hi);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 40px 120px var(--shadow-color), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden; padding: 0;
  animation: float 7s ease-in-out infinite;
}
.preview-topbar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.preview-sidebar { border-right: 1px solid var(--border); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; }
.preview-nav-item { height: 30px; border-radius: 8px; background: var(--surface-3); opacity: 0.5; }
.preview-nav-item.active { background: var(--gold-lo); border: 1px solid rgba(108,76,245,0.3); opacity: 1; }
.preview-main { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.preview-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.preview-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: 10px; padding: 14px; height: 68px; opacity: 0.85; }
.preview-card .bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-bottom: 8px; width: 60%; }
.preview-card .bar.wide { width: 40%; height: 14px; background: var(--gold-lo); }
.preview-chart { flex: 1; background: var(--surface-3); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: flex-end; gap: 8px; padding: 20px; min-height: 140px; }
.preview-chart .col { flex: 1; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-radius: 4px 4px 0 0; opacity: 0.75; }

/* ── Section shell ── */
section { position: relative; padding: 110px 0; }
.section-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; opacity: 0.85; }
.section-title { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.025em; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 18px; max-width: 640px; }
.section-sub { font-size: 15.5px; color: var(--text-muted); max-width: 560px; line-height: 1.6; margin-bottom: 56px; }

/* ── reveal-on-scroll ── */
.reveal { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-in-1 { animation: heroIn 0.7s cubic-bezier(.16,1,.3,1) 0.05s both; }
.hero-in-2 { animation: heroIn 0.7s cubic-bezier(.16,1,.3,1) 0.15s both; }
.hero-in-3 { animation: heroIn 0.7s cubic-bezier(.16,1,.3,1) 0.25s both; }
.hero-in-4 { animation: heroIn 0.7s cubic-bezier(.16,1,.3,1) 0.35s both; }
.hero-in-5 { animation: heroIn 0.7s cubic-bezier(.16,1,.3,1) 0.45s both; }
.hero-in-6 { animation: heroIn 0.8s cubic-bezier(.16,1,.3,1) 0.55s both; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .preview-shell { animation: none; }
  .blob { transform: none !important; }
  .marquee-track { animation: none !important; }
  .reveal, .hero-in-1, .hero-in-2, .hero-in-3, .hero-in-4, .hero-in-5, .hero-in-6 { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

.grad-text {
  background: linear-gradient(90deg, var(--gold), var(--teal-hi), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* ── Shared premium card language ── */
.icon-badge {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(160deg, var(--gold-lo) 0%, rgba(108,76,245,0.03) 100%);
  border: 1px solid rgba(108,76,245,0.24);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  flex-shrink: 0; transition: var(--ease);
}

/* ── Own-tech / trust banner ── */
.own-tech-banner {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 40px;
  padding: 18px 22px; border-radius: var(--radius); border: 1px solid rgba(108,76,245,0.28);
  background: var(--gold-lo); color: var(--gold);
}
.own-tech-banner svg { flex-shrink: 0; margin-top: 1px; }
.own-tech-banner p { color: var(--text); font-size: 14px; line-height: 1.6; }
.own-tech-banner p strong { color: var(--gold); }

/* ── Features grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(108,76,245,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border-hi); transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--shadow-color);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); border-color: rgba(108,76,245,0.45); }
.feature-icon { margin-bottom: 20px; }
.feature-name { font-family: 'Fraunces', serif; font-size: 18.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.feature-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.feature-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #16A34A; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3);
  padding: 4px 10px; border-radius: 999px;
}

/* ── AI spotlight ── */
.ai-section { position: relative; }

.ai-demo { border: 1px solid var(--border-hi); border-radius: var(--radius-lg); background: var(--surface); padding: 26px 28px; max-width: 560px; margin-bottom: 40px; box-shadow: var(--shadow-lg, 0 12px 30px var(--shadow-color)); }
.ai-demo-label { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 18px; }
.ai-demo-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,0.7); animation: pulse 2s infinite; }
.ai-demo-chat { display: flex; flex-direction: column; gap: 10px; min-height: 176px; }
.demo-msg { max-width: 82%; padding: 10px 14px; border-radius: 13px; font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(6px); animation: demoIn 0.4s ease forwards; }
.demo-msg.customer { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 3px; }
.demo-msg.assistant { align-self: flex-end; background: var(--gold-lo); border: 1px solid rgba(108,76,245,0.25); border-bottom-right-radius: 3px; }
.demo-msg.system { align-self: center; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-dim); font-style: italic; padding: 2px 0; max-width: 100%; }
.demo-msg.confirm { align-self: center; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.32); color: #16A34A; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 7px 16px; }
@keyframes demoIn { to { opacity: 1; transform: translateY(0); } }
.ai-demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.demo-btn {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-hi);
  background: var(--surface-2); color: var(--text); cursor: pointer; transition: var(--ease);
}
.demo-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-lo); }
.demo-btn:active { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { .demo-msg { animation: none !important; opacity: 1 !important; transform: none !important; } }

.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ai-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: left;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.ai-card:hover { transform: translateY(-6px); border-color: rgba(232,185,76,0.45); box-shadow: 0 18px 40px var(--shadow-color); }
.ai-card:hover .ai-icon { transform: scale(1.08); }
.ai-card .ai-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(160deg, rgba(232,185,76,0.18), rgba(232,185,76,0.04));
  border: 1px solid rgba(232,185,76,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--teal-hi); margin-bottom: 18px;
  transition: var(--ease);
}
.ai-card h3 { font-family: 'Fraunces', serif; font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.ai-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

/* ── Industries marquee ── */
.marquee-viewport {
  overflow: hidden; position: relative; width: 100%;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.industry-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px;
  background: var(--surface); text-align: center; flex-shrink: 0; width: 190px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.industry-card:hover {
  border-color: rgba(108,76,245,0.4); background: var(--gold-lo);
  transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 32px var(--shadow-color);
}
.industry-card:hover .icon-badge { transform: scale(1.1); }
.industry-name { font-size: 13.5px; font-weight: 700; }

/* ── Solutions grid (hub page) ── */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.solution-card:hover { transform: translateY(-6px); border-color: rgba(108,76,245,0.4); box-shadow: 0 18px 40px var(--shadow-color); }
.solution-card h3 { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; }
.solution-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.solution-card .link-arrow { font-size: 13px; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

/* ── Why section ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 8px; }
.why-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

.why-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--border-hi); padding: 40px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  position: relative; overflow: hidden;
}
.why-panel::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,185,76,0.22), transparent 70%);
}
.why-quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 22px; line-height: 1.4; position: relative; z-index: 1; }
.why-quote-attr { margin-top: 20px; font-size: 12.5px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; position: relative; z-index: 1; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 14.5px;
}
.faq-q .chev { transition: transform var(--ease); color: var(--text-dim); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a-inner { padding: 0 22px 20px; font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── Pricing ── */
.pricing-toggle-note { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; position: relative; transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px var(--shadow-color); }
.price-card.featured { border-color: rgba(108,76,245,0.5); background: linear-gradient(160deg, var(--surface) 0%, var(--gold-lo) 140%); }
.price-badge {
  position: absolute; top: -12px; left: 24px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--gold);
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(108,76,245,0.45);
}
.price-name { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.price-discount { font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.price-value { font-family: 'Fraunces', serif; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.price-value span { font-size: 13px; font-weight: 500; color: var(--text-muted); font-family: 'Plus Jakarta Sans', sans-serif; }
.price-unit { font-size: 12px; color: var(--text-dim); margin-bottom: 22px; }
.price-includes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-includes li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-muted); line-height: 1.5; list-style: none; }
.price-includes li svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.price-overage { font-size: 11.5px; color: var(--text-dim); margin-top: 14px; text-align: center; }

.pricing-features {
  margin-top: 70px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  overflow: hidden;
}
.pf-row { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.pf-row:last-child { border-bottom: none; }
.pf-row svg { flex-shrink: 0; color: #22C55E; }
.pf-row span { color: var(--text); font-weight: 600; }

/* ── Integrations ── */
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.integration-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.integration-card:hover { transform: translateY(-6px); border-color: rgba(108,76,245,0.4); box-shadow: 0 18px 40px var(--shadow-color); }
.integration-card h4 { font-size: 14.5px; font-weight: 700; }
.integration-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* ── Changelog ── */
.changelog-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.changelog-entry { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.changelog-entry:last-child { border-bottom: none; }
.changelog-date { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); padding-top: 3px; }
.changelog-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
  background: var(--gold-lo); color: var(--gold); border: 1px solid rgba(108,76,245,0.28);
}
.changelog-entry h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.changelog-entry p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ── Simple content page (about / security / placeholders) ── */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 22px; }
.prose h2 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; margin-top: 14px; }
.prose p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.prose ul { display: flex; flex-direction: column; gap: 10px; margin-left: 2px; }
.prose ul li { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); padding-left: 20px; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.placeholder-panel {
  border-radius: var(--radius-lg); border: 1px dashed var(--border-hi); padding: 60px 40px; text-align: center;
  background: var(--surface);
}
.placeholder-panel h2 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.placeholder-panel p { font-size: 14.5px; color: var(--text-muted); max-width: 420px; margin: 0 auto; }

/* ── Simple lead-capture form (signup / contact) ── */
.form-panel {
  max-width: 560px; border: 1px solid var(--border-hi); border-radius: var(--radius-lg);
  background: var(--surface); padding: 40px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg);
  color: var(--text); transition: border-color var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }

/* ── Contact ── */
.contact-panel {
  border-radius: var(--radius-lg); border: 1px solid rgba(108,76,245,0.32);
  background: linear-gradient(135deg, rgba(108,76,245,0.15) 0%, rgba(232,185,76,0.08) 100%);
  padding: 68px 64px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 30px 70px var(--shadow-color);
}
.contact-panel::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(108,76,245,0.28), transparent 55%),
              radial-gradient(circle at 75% 70%, rgba(232,185,76,0.2), transparent 50%);
  animation: driftGlow 12s ease-in-out infinite; pointer-events: none;
}
.contact-panel > * { position: relative; z-index: 1; }
@keyframes driftGlow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3%,-3%) scale(1.06); } }
.contact-panel h2 { font-family: 'Fraunces', serif; font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact-panel p { color: var(--text-muted); font-size: 15px; max-width: 480px; margin: 0 auto 32px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .contact-panel::before { animation: none; } }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-top: 14px; max-width: 260px; }
.footer-col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-muted); margin-bottom: 10px; transition: color var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }

@media (min-width: 1440px) {
  :root { --container: 1320px; }
  .hero-title { font-size: clamp(52px, 4.6vw, 92px); max-width: 1040px; }
}
@media (min-width: 1920px) {
  :root { --container: 1440px; }
}

@media (max-width: 860px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav { height: 58px; }
  .nav .brand-icon-img { height: 38px; }
  :root[data-theme="dark"] .nav .brand-icon-img { height: 44px; }
  .hero, .page-header { padding-top: 106px; padding-bottom: 60px; }
  .feature-grid, .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid, .pricing-grid, .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .preview-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .contact-panel { padding: 40px 24px; }
  section { padding: 70px 0; }
  .stat-strip { gap: 28px; }
  .changelog-entry { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav-inner { padding-left: 18px; padding-right: 18px; }
  .nav { height: 50px; }
  .nav .brand-icon-img { height: 32px; }
  :root[data-theme="dark"] .nav .brand-icon-img { height: 37px; }
  .hero, .page-header { padding-top: 96px; padding-bottom: 48px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .feature-grid, .ai-grid, .solutions-grid, .pricing-grid, .integrations-grid { grid-template-columns: 1fr; }
  .preview-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-title, .page-title { font-size: 26px; }
  section { padding: 56px 0; }
  .stat-strip { gap: 22px; }
  .stat-value { font-size: 24px; }
  .form-panel { padding: 26px; }
}

@media (max-width: 420px) {
  .preview-row { grid-template-columns: 1fr 1fr; }
  .preview-main { padding: 16px; }
  .contact-panel { padding: 32px 18px; }
  .faq-q { padding: 16px 18px; font-size: 13.5px; }
  .industry-card { width: 160px; padding: 20px 18px; }
}
