/* ============================================================
   VelorHR marketing site styles
   Neutral, premium palette. Ink on warm paper with one restrained
   accent. No external image dependencies, all visuals are CSS built.
   ============================================================ */

:root {
  --ink: #15151b;
  --ink-2: #34343f;
  --paper: #f5f4f1;
  --paper-2: #ffffff;
  --muted: #6c6c78;
  --line: rgba(21, 21, 27, 0.10);
  --line-strong: rgba(21, 21, 27, 0.16);
  --accent: #5b4cd6;
  --accent-deep: #463aab;
  --accent-soft: rgba(91, 76, 214, 0.10);
  --violet: #8b5cf6;
  --fuchsia: #d946ef;
  --grad: linear-gradient(120deg, #5b4cd6 0%, #8b5cf6 52%, #d946ef 100%);
  --glow-violet: rgba(139, 92, 246, 0.45);
  --glow-fuchsia: rgba(217, 70, 239, 0.4);
  --ok: #2f9e6f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(21, 21, 27, 0.12);
  --shadow-sm: 0 8px 24px rgba(21, 21, 27, 0.08);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.22rem; font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.01em; }

.accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.96rem; padding: 14px 26px;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 244, 241, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(245, 244, 241, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.15rem;
}
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--line-strong); border-radius: 10px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { padding: 76px 0 90px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -1px 0 0 0; z-index: -2; pointer-events: none;
  background: radial-gradient(70% 55% at 78% 0%, rgba(217,70,239,0.10), transparent 60%),
              radial-gradient(60% 55% at 6% 18%, rgba(91,76,214,0.10), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.92rem; color: var(--muted); }

/* Dashboard mock */
.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -20% -12% -10% -6%; z-index: -1;
  background: radial-gradient(58% 58% at 68% 34%, rgba(139,92,246,0.24), transparent 70%),
              radial-gradient(48% 48% at 88% 64%, rgba(217,70,239,0.18), transparent 72%);
  filter: blur(10px);
}
.dash {
  display: grid; grid-template-columns: 64px 1fr; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transform: rotate(-1deg);
}
.dash-side { background: #18181f; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dash-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 600; }
.dash-ico { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,0.10); }
.dash-ico.is-active { background: rgba(255,255,255,0.85); }
.dash-ico--bottom { margin-top: auto; }
.dash-main { padding: 18px 20px 22px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-weight: 700; font-size: 1rem; }
.dash-pill { font-size: 0.7rem; font-weight: 700; color: var(--ok); background: rgba(47,158,111,0.12); padding: 4px 10px; border-radius: 999px; }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.dcard--wide { grid-column: 1 / -1; }
.dcard--ai { grid-column: 1 / -1; background: var(--accent-soft); border-color: rgba(91,76,214,0.2); }
.dcard-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.dcard-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.dcard-num.sm { font-size: 1rem; }
.dcard-trend { font-size: 0.76rem; color: var(--muted); }
.dcard-trend.up { color: var(--ok); }
.dcard-row { display: flex; align-items: center; justify-content: space-between; }
.dcard-status.ok { font-size: 0.74rem; color: var(--ok); font-weight: 600; }
.dcard-ai-text { font-size: 0.86rem; font-weight: 600; color: var(--accent-deep); }
.bar { height: 6px; border-radius: 999px; background: rgba(21,21,27,0.08); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); }

/* ---------------- Section heads ---------------- */
.section-head { max-width: 740px; margin: 0 auto 54px; text-align: center; }
.section-sub { font-size: 1.08rem; color: var(--ink-2); margin-top: 16px; }

/* ---------------- Stack collapse ---------------- */
.stack { padding: 100px 0; background: var(--ink); color: #fff; }
.stack .eyebrow { color: #b3a9f2; }
.stack h2 { color: #fff; }
.stack .section-sub { color: rgba(255,255,255,0.66); }
.collapse { margin-top: 30px; }
.collapse-stage { position: relative; height: 440px; display: grid; place-items: center; }
.chip {
  position: absolute; transform: translate(var(--x), var(--y));
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.82); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; white-space: nowrap;
  transition: transform 1s cubic-bezier(.7,0,.2,1), opacity .8s ease;
}
.is-merged .chip { transform: translate(0, 0) scale(0.3); opacity: 0; }
.core { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; transform: scale(0.82); transition: opacity .9s ease .3s, transform .9s cubic-bezier(.7,0,.2,1) .3s; }
.is-merged .core { opacity: 1; transform: scale(1); }
.core-mark {
  width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; font-size: 3rem;
  box-shadow: 0 0 0 10px rgba(139,92,246,0.18), 0 24px 60px rgba(217,70,239,0.4);
}
.core-text { text-align: center; }
.core-text strong { display: block; font-size: 1.6rem; font-family: "Sora", sans-serif; font-weight: 600; }
.core-text span { color: rgba(255,255,255,0.62); }
.collapse-caption { max-width: 40em; margin: 24px auto 0; text-align: center; color: rgba(255,255,255,0.62); font-size: 1rem; }

/* ---------------- Modules ---------------- */
.modules { padding: 100px 0; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.mod-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-family: "Sora", sans-serif;
  font-weight: 600; font-size: 1.3rem; margin-bottom: 18px;
}
.mod h3 { margin-bottom: 10px; }
.mod p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 16px; }
.mod-replaces { font-size: 0.82rem; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; display: inline-block; }

/* ---------------- Day timeline ---------------- */
.day { padding: 100px 0; background: var(--paper-2); }
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; padding: 0 0 38px 36px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid var(--paper-2); box-shadow: 0 0 0 1px var(--accent); }
.tl-time { font-weight: 800; font-size: 0.92rem; color: var(--accent-deep); margin-bottom: 6px; letter-spacing: 0.02em; }
.tl-body h3 { margin-bottom: 6px; }
.tl-body p { color: var(--ink-2); }

/* ---------------- Manifesto ---------------- */
.manifesto { padding: 100px 0; }
.manifesto-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.manifesto-text p { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 18px; }
.manifesto-text p:last-child { margin-bottom: 0; }

/* ---------------- Stats ---------------- */
.stats { padding: 70px 0; background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: "Sora", sans-serif; font-weight: 600; font-size: 2.3rem; color: #fff; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.92rem; }

/* ---------------- CTA ---------------- */
.cta { padding: 100px 0; }
.cta-card {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 28px;
  padding: 48px; box-shadow: var(--shadow); align-items: center;
}
.cta-copy h2 { margin-bottom: 14px; }
.cta-copy p { color: var(--ink-2); margin-bottom: 20px; }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cta-list li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 0.98rem; }
.cta-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.cta-form { display: grid; gap: 14px; }
.cta-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.cta-form input, .cta-form select {
  font: inherit; font-weight: 400; padding: 13px 15px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink);
}
.cta-form input:focus, .cta-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; font-weight: 500; }

/* ---------------- Careers ---------------- */
.careers { padding: 90px 0; }
.careers-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 48px;
}
.careers-inner h2 { color: #fff; margin: 12px 0; }
.careers-inner p { color: rgba(255,255,255,0.68); max-width: 34em; }
.careers .eyebrow { color: #b3a9f2; }
.careers-inner .btn-primary { background: #fff; color: var(--ink); white-space: nowrap; }
.careers-inner .btn-primary:hover { background: var(--accent); color: #fff; }
.careers-text { flex: 1 1 360px; }
.careers-text .btn-primary { margin-top: 24px; }
.careers-photo { flex: 0 1 320px; height: 230px; border-radius: 20px; overflow: hidden; }
.careers-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .careers-photo { flex-basis: 100%; width: 100%; height: 200px; } }

/* ---------------- Footer ---------------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: 0.94rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink-2); font-size: 0.94rem; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }
.disclaimer { max-width: 46em; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Photo sections ---------------- */
.photo, .showcase-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #e9e6f7 0%, #dce8e2 100%);
}
.photo img, .showcase-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase { padding: 0 0 100px; }
.showcase-media { height: 440px; border-radius: 28px; box-shadow: var(--shadow); }
.showcase-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 44px; background: linear-gradient(180deg, rgba(21,21,27,0) 35%, rgba(21,21,27,0.8) 100%); color: #fff;
}
.showcase-overlay h2 { color: #fff; max-width: 15em; }
.showcase-overlay .eyebrow { color: #c9c0f5; }
.day-photo { height: 300px; margin: 0 0 44px; }
.manifesto-photo { height: 300px; margin-top: 26px; }
@media (max-width: 700px) {
  .showcase-media { height: 300px; }
  .day-photo, .manifesto-photo { height: 220px; }
}

/* ---------------- Value / one platform ---------------- */
.value { padding: 100px 0; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value-sub { font-size: 1.08rem; color: var(--ink-2); margin: 16px 0 24px; }
.value-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.value-list li { position: relative; padding-left: 40px; color: var(--ink-2); font-size: 1rem; }
.value-list li strong { color: var(--ink); }
.value-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--grad);
}
.value-list li::after {
  content: ""; position: absolute; left: 8px; top: 9px; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.value-visual { position: relative; }
.feed { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 13px; }
.feed-top { display: flex; align-items: center; gap: 9px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,158,111,0.15); }
.feed-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.feed-item.alert { background: var(--accent-soft); border-color: rgba(91,76,214,0.22); }
.feed-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem; }
.feed-item strong { display: block; font-size: 0.93rem; }
.feed-item span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 920px) { .value-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------- Interactive demo ---------------- */
.demo-tour { padding: 100px 0; background: var(--paper-2); }
.tour { max-width: 940px; margin: 0 auto; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tour-tab {
  font: inherit; font-weight: 600; font-size: 0.94rem; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s;
}
.tour-tab:hover { border-color: var(--accent); color: var(--accent-deep); }
.tour-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour-stage {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px; box-shadow: var(--shadow); min-height: 320px; display: flex; align-items: center;
}
.scene { display: none; width: 100%; }
.scene.is-active { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; animation: sceneIn .45s ease; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scene-tag { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-deep); }
.scene-head h3 { font-size: 1.5rem; font-family: "Sora", sans-serif; font-weight: 600; margin: 12px 0 10px; line-height: 1.15; }
.scene-head p { color: var(--ink-2); font-size: 1rem; }
.scene-panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.srow { display: flex; align-items: center; gap: 12px; }
.savatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.sinfo { display: flex; flex-direction: column; flex: 1; }
.sinfo strong { font-size: 0.94rem; }
.sinfo span { font-size: 0.8rem; color: var(--muted); }
.sbadge { font-size: 0.74rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(21,21,27,0.06); color: var(--ink-2); white-space: nowrap; }
.sbadge.ok { background: rgba(47,158,111,0.12); color: var(--ok); }
.sbadge.warn { background: rgba(182,121,46,0.14); color: #b6792e; }
.scene-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.sstat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; }
.sstat b { display: block; font-size: 1.45rem; font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.sstat span { font-size: 0.74rem; color: var(--muted); }
.scene-ai { margin-top: 4px; font-size: 0.86rem; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); border-radius: 10px; padding: 11px 13px; }
@media (max-width: 760px) {
  .scene.is-active { grid-template-columns: 1fr; gap: 22px; }
  .tour-stage { padding: 22px; }
}

/* ---------------- Before / After ---------------- */
.ba { padding: 100px 0; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
.ba-card { border-radius: var(--radius); padding: 34px; }
.ba-before { background: var(--paper-2); border: 1px solid var(--line); }
.ba-after { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ba-after::before { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 80% at 100% 0%, rgba(139,92,246,0.32), transparent 60%); pointer-events: none; }
.ba-tag { position: relative; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.ba-before .ba-tag { color: var(--muted); }
.ba-after .ba-tag { color: #d8b4fe; }
.ba-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.ba-list li { position: relative; padding-left: 30px; font-size: 1rem; }
.ba-before .ba-list li { color: var(--ink-2); }
.ba-before .ba-list li::before { content: "\00d7"; position: absolute; left: 2px; top: -2px; color: #c2607a; font-weight: 700; font-size: 1.1rem; }
.ba-after .ba-list li { color: rgba(255,255,255,0.92); }
.ba-after .ba-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 5px; border-left: 2px solid #a78bfa; border-bottom: 2px solid #a78bfa; transform: rotate(-45deg); }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq { padding: 100px 0; background: var(--paper-2); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.06rem; position: relative; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-2); padding: 0 44px 24px 0; font-size: 1rem; }

/* ---------------- Demo modal (popup) ---------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(21,21,27,0.55); backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 900px; background: var(--paper-2); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; animation: modalIn .3s cubic-bezier(.2,.7,.2,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,0.18); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s; }
.modal-close:hover { background: rgba(255,255,255,0.32); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-form-side { padding: 42px; }
.modal-form-side > h3 { font-family: "Sora", sans-serif; font-size: 1.7rem; font-weight: 600; }
.modal-form-side > p { color: var(--ink-2); margin: 8px 0 22px; font-size: 0.96rem; }
.modal-form { display: grid; gap: 12px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-form input, .modal-form select { font: inherit; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.modal-form input:focus, .modal-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.modal-value-side { padding: 42px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.modal-value-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 75% at 100% 0%, rgba(139,92,246,0.42), transparent 60%); }
.modal-value-side .eyebrow { position: relative; color: #c9b8ff; }
.modal-value-side h3 { position: relative; font-family: "Sora", sans-serif; font-size: 1.55rem; font-weight: 600; color: #fff; margin-bottom: 20px; }
.modal-list { position: relative; list-style: none; display: flex; flex-direction: column; gap: 15px; }
.modal-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.9); font-size: 0.96rem; }
.modal-list li strong { color: #fff; }
.modal-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 5px; border-left: 2px solid #a78bfa; border-bottom: 2px solid #a78bfa; transform: rotate(-45deg); }
@media (max-width: 720px) { .modal-grid { grid-template-columns: 1fr; } .modal-value-side { display: none; } .mf-row { grid-template-columns: 1fr; } }

/* ---------------- Hero image shot ---------------- */
.hero-shot { position: relative; }
.hero-shot img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); display: block; background: linear-gradient(135deg, #e9e6f7, #f3dcef); }
.hero-shot-card { position: absolute; left: -16px; bottom: 26px; display: flex; align-items: center; gap: 12px; max-width: 252px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 13px 15px; }
.hsc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--accent-soft); flex-shrink: 0; animation: pulseDot 2s infinite; }
.hsc-text strong { display: block; font-size: 0.9rem; }
.hsc-text span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 920px) { .hero-shot-card { left: 12px; bottom: 12px; } }

/* ---------------- Synapse hero ---------------- */
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid rgba(91,76,214,0.2); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 0 var(--glow-violet); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 var(--glow-violet); } 70% { box-shadow: 0 0 0 9px rgba(139,92,246,0); } 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); } }

.grad-word { position: relative; display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: 0.04em; }
.grad-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 5px; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: ulGrow 0.7s cubic-bezier(0.2,0.7,0.2,1) 0.5s forwards; }
@keyframes ulGrow { to { transform: scaleX(1); } }
body.rm .grad-word::after { transform: scaleX(1); animation: none; }

.thought-ticker { font-size: 0.92rem; color: var(--muted); margin-top: 18px; min-height: 1.4em; }
.thought-ticker .tt-label { color: var(--accent-deep); font-weight: 700; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.replaces-row { margin-top: 26px; }
.replaces-cap { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.replaces-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.rchip { position: relative; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.rchip::after { content: ""; position: absolute; left: -2px; right: 100%; top: 52%; height: 2px; background: var(--grad); transition: right 0.5s ease; transition-delay: calc(0.4s + var(--i) * 0.12s); }
.hero.struck .rchip::after { right: -2px; }

.brain-stage { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 1 / 1; }
.brain { position: relative; width: 100%; height: 100%; display: block; overflow: visible; z-index: 1; }
.mesh { position: absolute; width: 62%; height: 62%; border-radius: 50%; filter: blur(78px); opacity: 0.5; z-index: 0; pointer-events: none; }
.mesh-a { background: var(--glow-violet); top: 4%; left: 8%; animation: drift 22s ease-in-out infinite alternate; }
.mesh-b { background: var(--glow-fuchsia); bottom: 4%; right: 6%; animation: drift 27s ease-in-out -7s infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(22px, -18px) scale(1.14); } }

.brain-inner { transform-box: fill-box; transform-origin: center; }
.brain .edges line { stroke: rgba(91,76,214,0.28); stroke-width: 1; opacity: 0; }
.brain.play .edges line { animation: edgeIn 0.8s ease 0.3s forwards; }
@keyframes edgeIn { to { opacity: 1; } }
.brain .nodes circle { fill: url(#velGrad); opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
.brain.play .nodes circle { animation: popNode 0.5s ease forwards, twinkle 3.2s ease-in-out var(--d, 0s) infinite; }
@keyframes popNode { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes twinkle { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.brain .wire { stroke: url(#velGrad); stroke-width: 1.5; fill: none; opacity: 0.55; }
.brain.play .wire { animation: drawWire 1s ease 0.2s forwards; }
@keyframes drawWire { to { stroke-dashoffset: 0; } }
.brain .sat-chip { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1; }
.brain .sat-label { fill: var(--ink-2); font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; }
.brain-satellite { opacity: 0; transform-box: fill-box; transform-origin: center; }
.brain.play .brain-satellite { opacity: 1; transition: opacity 0.5s ease; transition-delay: calc(0.6s + var(--i) * 0.08s); }
.brain.collapsed .brain-satellite { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.15); transition: transform 0.7s cubic-bezier(0.6,0,0.3,1), opacity 0.6s ease; transition-delay: calc(var(--i) * 0.1s); }
.brain.collapsed .wire { opacity: 0; transition: opacity 0.6s ease; }
.brain .core-halo { fill: url(#velGrad); filter: url(#velGlow); opacity: 0.55; transform-box: fill-box; transform-origin: center; }
.brain .brain-core { fill: url(#velGrad); transform-box: fill-box; transform-origin: center; }
.brain.collapsed .brain-core, .brain.collapsed .core-halo { animation: coreFlare 1.1s ease 0.3s; }
@keyframes coreFlare { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1.06); } }
.brain.collapsed .brain-inner { animation: breathe 18s ease-in-out 1.4s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

@media (max-width: 920px) { .brain-stage { max-width: 400px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body.rm .underline path { stroke-dashoffset: 0; }
body.rm .brain .nodes circle, body.rm .brain .edges line { opacity: 1; }
body.rm .caret { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-card { grid-template-columns: 1fr; padding: 36px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .mod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .collapse-stage { height: 380px; }
  .chip { font-size: 0.82rem; padding: 9px 14px; }
}

/* ---------------- Mobile nav (hamburger) — only shows <=920px ---------------- */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-inner > a.btn-primary { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(21, 21, 27, 0.10); padding: 10px 0 14px;
  }
  .nav.open .nav-links > a { padding: 14px 28px; font-size: 1rem; color: var(--ink); }
  .nav.open .nav-links > a:hover { color: var(--accent); }
  .nav.open .nav-links > a.nav-cta-mobile {
    display: block; margin: 10px 28px 2px; padding: 13px 0; text-align: center;
    background: var(--grad); color: #fff; border-radius: 999px; font-weight: 600;
  }
}
