/* ============================================================
   ELEV8R · Agentic AI Agency
   Committed violet on deep violet-black. OKLCH throughout.
   Display: Space Grotesk · Body: Plus Jakarta Sans
   ============================================================ */

:root {
  --bg:          oklch(12.5% 0.022 295);
  --bg-deep:     oklch(9.5% 0.018 295);
  --bg-raised:   oklch(16.5% 0.026 295);
  --bg-panel:    oklch(19% 0.03 295);
  --ink:         oklch(94% 0.012 295);
  --ink-soft:    oklch(78% 0.02 295);
  --muted:       oklch(62% 0.024 295);
  --faint:       oklch(42% 0.03 295);
  --violet:      oklch(63% 0.21 292);
  --violet-hot:  oklch(72% 0.19 292);
  --violet-dim:  oklch(40% 0.14 292);
  --violet-ghost:oklch(63% 0.21 292 / 0.12);
  --cyan:        oklch(83% 0.12 220);
  --cyan-dim:    oklch(83% 0.12 220 / 0.5);
  --line:        oklch(30% 0.035 295);
  --line-soft:   oklch(24% 0.03 295);
  --good:        oklch(78% 0.16 155);

  --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);      /* quint-ish */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --w: min(1180px, calc(100vw - 48px));
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--violet); color: oklch(98% 0.005 295); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }

.wrap { width: var(--w); margin-inline: auto; }

/* ---------- eyebrow / kicker ---------- */
.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--cyan-dim);
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
.nav {
  position: relative;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(12.5% 0.022 295 / 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  width: var(--w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand svg { width: 40px; height: 40px; flex: none; }
.brand b { color: var(--ink); font-weight: 600; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--violet);
  color: oklch(98% 0.005 295);
  box-shadow: 0 0 0 0 var(--violet-ghost), 0 8px 28px oklch(63% 0.21 292 / 0.35);
}
.btn-primary:hover {
  background: var(--violet-hot);
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px var(--violet-ghost), 0 14px 36px oklch(63% 0.21 292 / 0.45);
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--violet); background: var(--violet-ghost); }
.btn-lg { font-size: 17px; padding: 16px 34px; }

.nav .btn-primary { padding: 10px 20px; font-size: 14px; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span   { top: 19px; }
.nav-toggle::after { top: 25px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: oklch(11% 0.02 295 / 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  }
  .nav-links a { font-size: 18px; padding: 10px 0; }
  body.nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span { opacity: 0; }
  body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  .nav .btn-primary { display: none; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, oklch(30% 0.09 292 / 0.5), transparent 65%),
    var(--bg-deep);
}
#ecosystem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}
#ecosystem:active { cursor: grabbing; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
@media (max-width: 900px) {
  .hero-scrim {
    display: block;
    background: linear-gradient(to bottom,
      transparent 0%,
      transparent 34%,
      oklch(9.5% 0.018 295 / 0.55) 46%,
      oklch(9.5% 0.018 295 / 0.9) 58%,
      var(--bg-deep) 68%);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--w);
  margin: 0 auto;
  padding: 0 0 72px;
  pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }
.hero-copy .kicker { margin-bottom: 20px; }
.hero-copy h1 {
  font-size: clamp(44px, 7vw, 88px);
  max-width: 12ch;
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--violet-hot);
}
.hero-copy p {
  max-width: 54ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-hint {
  position: absolute;
  right: 40px;
  top: 62%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: oklch(12.5% 0.022 295 / 0.55);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.hero-hint svg { width: 16px; height: 16px; color: var(--cyan); }
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    display: block;
    padding-top: 156px;
  }
  #ecosystem {
    position: relative;
    height: 46svh;
    min-height: 340px;
  }
  .hero-scrim { display: none; }
  .hero-copy {
    position: relative;
    background: var(--bg-deep);
    padding: 8px 0 52px;
  }
  .hero-copy::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -80px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    pointer-events: none;
  }
}
@media (max-width: 880px) {
  .hero-hint { display: none; }
}

/* ---------- ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-deep);
  overflow: hidden;
  padding: 17px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}
.ticker span::after { content: "◆"; font-size: 8px; color: var(--violet); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.sec { padding: 84px 0; }
.sec-tight { padding: 60px 0; }
.sec-head { max-width: 720px; margin-bottom: 42px; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; }
.sec-head p { color: var(--ink-soft); font-size: 18px; max-width: 58ch; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

/* ============================================================
   PHONE SECTION
   ============================================================ */
.phone-sec {
  background:
    radial-gradient(900px 500px at 85% 20%, oklch(28% 0.09 292 / 0.35), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line-soft);
}
.phone-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
@media (max-width: 940px) { .phone-grid { grid-template-columns: 1fr; } }

.phone-copy h2 { font-size: clamp(34px, 4.2vw, 54px); margin: 18px 0 22px; }
.phone-copy h2 em { font-style: normal; color: var(--cyan); }
.phone-copy > p { color: var(--ink-soft); font-size: 18px; max-width: 52ch; margin-bottom: 24px; }

.phone-points { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-soft); }
.phone-points li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.phone-points .pt-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--violet-hot);
  padding-top: 3px;
}
.phone-points h3 { font-size: 19px; margin-bottom: 6px; }
.phone-points p { color: var(--muted); font-size: 15.5px; max-width: 48ch; }

/* the phone itself */
.phone-stage { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: min(340px, 88vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 46px;
  background: oklch(20% 0.028 295);
  border: 1px solid oklch(34% 0.04 295);
  box-shadow:
    inset 0 0 0 8px oklch(8% 0.015 295),
    0 30px 80px oklch(5% 0.02 295 / 0.8),
    0 0 90px oklch(63% 0.21 292 / 0.18);
  padding: 8px;
  transform: rotateY(-7deg) rotateX(2.5deg);
  position: relative;
}
.phone-screen {
  background: linear-gradient(175deg, oklch(14% 0.024 295), oklch(10.5% 0.02 295));
  border-radius: 38px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-notch {
  width: 34%; height: 24px;
  background: oklch(8% 0.015 295);
  border-radius: 999px;
  margin: 10px auto 0;
  flex: none;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
  flex: none;
}
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--violet-hot), oklch(38% 0.15 292));
  box-shadow: 0 0 12px oklch(63% 0.21 292 / 0.6);
  position: relative;
}
.chat-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--good);
  border: 2px solid oklch(12% 0.02 295);
}
.chat-head b { font-size: 13.5px; font-family: var(--font-display); letter-spacing: 0.02em; }
.chat-head small { display: block; font-size: 10.5px; color: var(--good); font-weight: 600; letter-spacing: 0.06em; }

.chat-log {
  flex: 1;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  justify-content: flex-end;
}
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo);
}
.msg.show { opacity: 1; transform: none; }
.msg-you {
  align-self: flex-end;
  background: var(--violet);
  color: oklch(97% 0.008 295);
  border-bottom-right-radius: 6px;
}
.msg-orc {
  align-self: flex-start;
  background: oklch(22% 0.03 295);
  color: var(--ink-soft);
  border-bottom-left-radius: 6px;
}
.msg-orc b { color: var(--ink); }
.msg-voice { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.msg-voice .vbars { display: flex; align-items: center; gap: 2.5px; height: 18px; }
.msg-voice .vbars i {
  width: 2.5px; border-radius: 2px; background: oklch(97% 0.008 295 / 0.85);
  animation: vbar 1s ease-in-out infinite;
}
.msg-voice .vbars i:nth-child(2n) { animation-delay: 0.15s; }
.msg-voice .vbars i:nth-child(3n) { animation-delay: 0.3s; }
@keyframes vbar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.msg-voice time { font-size: 11px; opacity: 0.8; }

.msg-status {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
}
.msg-status .dot-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); flex: none; }
.msg-typing { display: flex; gap: 4px; align-items: center; padding: 12px 16px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s ease-in-out infinite; }
.msg-typing i:nth-child(2) { animation-delay: 0.18s; }
.msg-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============================================================
   HIERARCHY DIAGRAM
   ============================================================ */
.hier-sec { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.hier-svg { width: 100%; height: auto; }
.hier-svg text { font-family: var(--font-display); }
.hier-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.hier-foot p { color: var(--muted); max-width: 60ch; font-size: 15.5px; }

@keyframes flowdash { to { stroke-dashoffset: -26; } }
.flowline {
  stroke-dasharray: 3 10;
  animation: flowdash 1.6s linear infinite;
  stroke-linecap: round;
}
@keyframes corepulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.corepulse { transform-origin: center; transform-box: fill-box; animation: corepulse 2.6s var(--ease-out) infinite; }

/* ============================================================
   METHOD (Diagnose → Design → Deploy → Develop)
   ============================================================ */
.method-list { counter-reset: step; border-top: 1px solid var(--line); }
.method-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.method-row .m-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.14em;
}
.method-row h3 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--ink);
}
.method-row h3 span { color: var(--violet-hot); }
.method-row p { color: var(--muted); font-size: 16.5px; max-width: 56ch; }
.method-row strong { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 820px) {
  .method-row { grid-template-columns: 1fr; gap: 10px; padding: 34px 0; }
}

/* ============================================================
   CAPABILITIES (what we install)
   ============================================================ */
.cap-sec { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(40px, 6vw, 90px);
}
@media (max-width: 820px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.cap-item svg { width: 30px; height: 30px; color: var(--cyan); margin-top: 4px; }
.cap-item h3 { font-size: 20px; margin-bottom: 7px; }
.cap-item p { color: var(--muted); font-size: 15.5px; max-width: 46ch; }

/* ============================================================
   BIG CTA
   ============================================================ */
.cta-sec {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(700px 420px at 50% 115%, oklch(40% 0.16 292 / 0.4), transparent 70%),
    var(--bg);
  overflow: hidden;
  position: relative;
}
.cta-sec .kicker { justify-content: center; }
.cta-sec .kicker::before { display: none; }
.cta-sec h2 {
  font-size: clamp(38px, 5.6vw, 68px);
  max-width: 17ch;
  margin: 20px auto 22px;
}
.cta-sec h2 em { font-style: normal; color: var(--violet-hot); }
.cta-sec p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 40px; font-size: 18px; }
.cta-note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding: 56px 0 40px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-brand p { color: var(--faint); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.foot-links { display: flex; gap: clamp(36px, 6vw, 90px); }
.foot-links h4 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px; font-weight: 500;
}
.foot-links a {
  display: block; padding: 5px 0;
  color: var(--ink-soft); font-size: 15px;
  transition: color 0.25s;
}
.foot-links a:hover { color: var(--violet-hot); }
.foot-base {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--faint); font-size: 13px;
}

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.page-hero {
  padding: 238px 0 64px;
  background:
    radial-gradient(1000px 560px at 70% -20%, oklch(30% 0.1 292 / 0.45), transparent 65%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .kicker { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 74px); max-width: 15ch; margin-bottom: 22px; }
.page-hero h1 em { font-style: normal; color: var(--violet-hot); }
.page-hero p { color: var(--ink-soft); font-size: 19px; max-width: 56ch; }

/* ============================================================
   ORCHESTRATOR ANATOMY
   ============================================================ */
.anatomy-stage { display: grid; grid-template-columns: 1fr; justify-items: center; }
.anatomy-svg { width: min(860px, 100%); height: auto; }
.anatomy-svg text { font-family: var(--font-display); }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  8% { transform: scale(1.14); }
  16% { transform: scale(1); }
  24% { transform: scale(1.1); }
  34% { transform: scale(1); }
}
.heartbeat { transform-origin: center; transform-box: fill-box; animation: heartbeat 2.2s ease-out infinite; }
@keyframes ringout {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}
.ringout { transform-origin: center; transform-box: fill-box; animation: ringout 2.2s var(--ease-out) infinite; }
.ringout2 { animation-delay: 1.1s; }

.organ-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 90px); margin-top: 26px; }
@media (max-width: 820px) { .organ-list { grid-template-columns: 1fr; } }
.organ {
  padding: 34px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
}
.organ-key {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 4px;
}
.organ h3 { font-size: 21px; margin-bottom: 8px; }
.organ h3 small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.organ p { color: var(--muted); font-size: 15.5px; }

/* learning loop */
.loop-sec { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 900px) { .loop-grid { grid-template-columns: 1fr; } }
.loop-svg { width: 100%; height: auto; }
.loop-svg text { font-family: var(--font-display); }
@keyframes orbitspin { to { transform: rotate(360deg); } }
.orbitspin { transform-origin: center; transform-box: fill-box; animation: orbitspin 14s linear infinite; }

.loop-copy h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 16px 0 20px; }
.loop-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 54ch; }
.loop-copy p + p { color: var(--muted); font-size: 16px; }

/* ============================================================
   USE-CASE FLOWS
   ============================================================ */
.case { padding: 68px 0; border-bottom: 1px solid var(--line-soft); }
.case:last-of-type { border-bottom: 0; }
.case-head {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.case h2 { font-size: clamp(28px, 3.6vw, 44px); }
.case-sub { color: var(--ink-soft); max-width: 64ch; margin-bottom: 32px; font-size: 17px; }
.case-sub b { color: var(--cyan); font-weight: 600; }

.flow {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } }

.fstep { position: relative; padding: 26px 26px 26px 0; }
.fstep::before {
  content: "";
  position: absolute;
  top: 37px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.fstep:last-child::before { right: 40%; }
.fstep-dot {
  position: relative;
  z-index: 1;
  width: 23px; height: 23px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--violet);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.fstep-dot::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet-hot);
  box-shadow: 0 0 10px var(--violet-hot);
}
.fstep:last-child .fstep-dot { border-color: var(--good); }
.fstep:last-child .fstep-dot::after { background: var(--good); box-shadow: 0 0 10px var(--good); }
.fstep h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.fstep p { font-size: 13.5px; color: var(--muted); line-height: 1.55; max-width: 26ch; }
.fstep-agent {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
@media (max-width: 960px) {
  .fstep { padding: 0 0 30px 44px; }
  .fstep::before { top: 0; bottom: 0; left: 11px; right: auto; width: 1px; height: auto; }
  .fstep:last-child::before { bottom: 55%; right: auto; }
  .fstep-dot { position: absolute; left: 0; top: 2px; margin: 0; }
  .fstep p { max-width: 52ch; }
}

.case-outcome {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.case-outcome dt {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}
.case-outcome dd {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}
.case-outcome dd b { color: var(--violet-hot); font-weight: 600; }

/* ============================================================
   CONTENT STUDIO
   ============================================================ */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 90px 1fr 1.15fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.svc .s-num { font-family: var(--font-display); font-size: 14px; color: var(--faint); letter-spacing: 0.12em; }
.svc h3 { font-size: clamp(22px, 2.6vw, 30px); }
.svc p { color: var(--muted); font-size: 16px; max-width: 56ch; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; } }

.gener8r {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(600px 300px at 90% 0%, oklch(35% 0.13 292 / 0.3), transparent 65%),
    var(--bg-raised);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .gener8r { grid-template-columns: 1fr; } }
.gener8r h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 16px; }
.gener8r p { color: var(--ink-soft); max-width: 52ch; margin-bottom: 28px; }
.gener8r-stat { text-align: center; }
.gener8r-stat .big {
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 700;
  color: var(--violet-hot);
  line-height: 1;
}
.gener8r-stat .cap { color: var(--muted); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 10px; }

/* misc */
.arrow-icon { width: 16px; height: 16px; }
.center { text-align: center; }

/* ============================================================
   SECOND BRAIN
   ============================================================ */
.brain-hero {
  position: relative;
  min-height: 100svh;
  padding-top: 166px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  background:
    radial-gradient(1200px 700px at 50% 10%, oklch(28% 0.09 292 / 0.4), transparent 65%),
    var(--bg-deep);
}
#second-brain {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 340px;
}
.brain-hero-copy {
  width: var(--w);
  margin-inline: auto;
  text-align: center;
  padding: 20px 0 60px;
}
.brain-hero-copy h1 { font-size: clamp(34px, 4.6vw, 62px); max-width: 20ch; }
.brain-hero-copy > p { font-size: clamp(15px, 1.3vw, 18px); max-width: 62ch; }
.brain-hero-copy > * { pointer-events: auto; }
.brain-hero-copy .kicker {
  justify-content: center;
  margin: 0 auto 20px;
  display: inline-flex;
}
.brain-hero-copy .kicker::before { display: none; }
.brain-hero-copy h1 {
  font-size: clamp(38px, 6vw, 78px);
  max-width: 17ch;
  margin: 0 auto 22px;
}
.brain-hero-copy h1 em { font-style: normal; color: var(--violet-hot); }
.brain-hero-copy > p {
  max-width: 58ch;
  margin: 0 auto 34px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
}
.brain-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .brain-hero { min-height: auto; padding-top: 156px; }
  #second-brain { min-height: 340px; height: 44svh; }
  .brain-hero-copy { padding: 12px 0 48px; }
}

/* what-is band */
.brain-what {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) { .brain-what { grid-template-columns: 1fr; } }
.brain-what h2 { font-size: clamp(30px, 3.8vw, 46px); }
.brain-what h2 em { font-style: normal; color: var(--cyan); }
.brain-what p { color: var(--ink-soft); font-size: 17px; margin-bottom: 18px; max-width: 58ch; }
.brain-what p + p { color: var(--muted); font-size: 15.5px; }

/* regions grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 900px) { .regions-grid { grid-template-columns: 1fr; } }
.region {
  background: var(--bg);
  padding: 34px 30px;
  min-height: 190px;
}
.region-key {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 14px;
  display: block;
}
.region h3 { font-size: 20px; margin-bottom: 10px; }
.region p { color: var(--muted); font-size: 15px; max-width: 42ch; }

/* how agents use it */
.plug-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(40px, 6vw, 90px);
}
@media (max-width: 820px) { .plug-grid { grid-template-columns: 1fr; } }
.plug-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.plug-row .plug-arrow {
  color: var(--violet-hot);
  padding-top: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.plug-row h3 { font-size: 18px; margin-bottom: 6px; }
.plug-row p { color: var(--muted); font-size: 15px; max-width: 44ch; }

/* personal band */
.personal-sec { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
@media (max-width: 900px) { .personal-grid { grid-template-columns: 1fr; } }
.personal-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.personal-copy h2 em { font-style: normal; color: var(--cyan); }
.personal-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 16px; max-width: 54ch; }
.personal-copy p + p { color: var(--muted); font-size: 15.5px; }
.personal-list { border-top: 1px solid var(--line-soft); margin-top: 4px; }
.personal-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: baseline;
}
.personal-list b {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.personal-list span { color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted-bar {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  overflow: hidden;
}
.trusted-inner {
  width: var(--w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}
.trusted-label {
  flex: none;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.trusted-badge {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(20px, 5vw, 56px);
  padding: 12px 28px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, oklch(24% 0.03 295 / 0.9), oklch(16% 0.026 295 / 0.75));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -12px 24px rgba(0,0,0,0.35),
    0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;
}
.trusted-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.07) 48%, transparent 62%);
  pointer-events: none;
}
.trusted-logo {
  height: 20px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.trusted-badge:hover .trusted-logo { opacity: 0.5; }
.trusted-logo:hover { opacity: 1 !important; transform: translateY(-1px); }
.trusted-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  opacity: 0.72;
  transition: opacity 0.25s var(--ease-out), color 0.25s var(--ease-out);
  white-space: nowrap;
}
.trusted-badge:hover .trusted-word { opacity: 0.5; }
.trusted-word:hover { opacity: 1 !important; color: var(--ink); }

@media (max-width: 820px) {
  .trusted-label { display: none; }
  .trusted-badge { gap: 22px; padding: 10px 20px; overflow-x: auto; justify-content: flex-start; }
  .trusted-logo { height: 17px; max-width: 84px; flex: none; }
  .trusted-word { font-size: 13px; flex: none; }
}

/* ============================================================
   CREATORS SLIDER
   ============================================================ */
.creators-sec { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.creators-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 6px 22px;
  margin: 0 calc(-1 * (100vw - var(--w)) / 2 - 6px);
  padding-left: calc((100vw - var(--w)) / 2 + 6px);
  padding-right: calc((100vw - var(--w)) / 2 + 6px);
  scroll-snap-type: x proximity;
}
.creators-strip::-webkit-scrollbar { height: 8px; }
.creators-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.creators-strip::-webkit-scrollbar-track { background: transparent; }

.creator-card {
  flex: none;
  width: 182px;
  scroll-snap-align: start;
  position: relative;
}

.creator-phone {
  width: 182px;
  height: 322px;
  border-radius: 22px;
  background: #131019;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  position: relative;
}
.creator-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0c0a13;
}
.creator-screen img,
.creator-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.creator-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 9px;
  background: #0a0810;
  border-radius: 999px;
  z-index: 3;
}
.creator-handle-pill {
  position: absolute;
  top: 22px; left: 10px; right: 10px;
  z-index: 2;
  display: flex; align-items: center; gap: 5px;
  background: rgba(10,8,16,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 4px 9px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.creator-handle-pill svg { width: 10px; height: 10px; color: var(--cyan); flex: none; }

.creator-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,8,16,0.18);
  cursor: pointer;
  transition: background 0.2s;
}
.creator-play:hover { background: rgba(10,8,16,0.32); }
.creator-play svg {
  width: 46px; height: 46px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}
.creator-play.hidden { display: none; }

.creator-scrim {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 46%;
  background: linear-gradient(to bottom, transparent, rgba(6,5,10,0.85) 70%);
  pointer-events: none;
}
.creator-name {
  position: absolute;
  left: 12px; right: auto; bottom: 11px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  transition: color 0.2s;
}
.creator-name::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  opacity: 0.6;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.creator-name:hover { color: var(--cyan); }

.creator-info { margin-top: 14px; }
.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.creator-link:hover { color: var(--cyan); }
.creator-link svg { width: 11px; height: 11px; }

.creator-headline {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 9px;
}
.creator-bullets { display: flex; flex-direction: column; gap: 5px; }
.creator-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.creator-bullets li::before {
  content: "";
  flex: none;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--violet);
  margin-top: 5px;
}

.creator-quote-trigger {
  position: absolute;
  top: 22px; right: 10px;
  z-index: 3;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,8,16,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  cursor: pointer;
}
.creator-quote-trigger svg { width: 11px; height: 11px; }

.creator-quote-panel {
  position: absolute;
  top: 0;
  left: 50%;
  width: 280px;
  height: 322px;
  transform: translateX(-50%) translateY(6px) scale(0.97);
  z-index: 10;
  background: linear-gradient(175deg, oklch(20% 0.03 295 / 0.98), oklch(13% 0.024 295 / 0.98));
  border: 1px solid var(--violet-dim);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.creator-card:hover .creator-quote-panel,
.creator-card:focus-within .creator-quote-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.creator-quote-mark {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--violet-hot);
  line-height: 1;
  margin-bottom: 4px;
}
.creator-quote-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.creator-quote-by {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

@media (max-width: 700px) {
  .creator-quote-panel { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
