/* ─────────────────────────────────────────────
   Motive v5 — Hero rebuild only
   Linear discipline + Raycast 3D panels + Attio live-data
   Extends styles-v4.css
   ───────────────────────────────────────────── */

/* Restructure hero grid for the new panel composition */
#hero .hero-inner {
  grid-template-columns: 1.02fr 1.08fr;
  gap: 56px;
  align-items: center;
}

/* Richer warm-to-cobalt backdrop behind panels */
.v5-glow {
  position: absolute;
  top: 8%; right: -8%;
  width: 720px; height: 720px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 138, 76, 0.14), transparent 55%),
    radial-gradient(circle at 65% 55%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(147, 51, 234, 0.08), transparent 55%);
  filter: blur(12px);
  opacity: 0.85;
}

/* ─── Panel stack ─── */
.hero-mock-wrap.v5-panels {
  position: relative;
  height: 520px;
  perspective: 1600px;
  transform-style: preserve-3d;
  display: block;
  z-index: 2;
}

.v5-panel {
  position: absolute;
  border-radius: 12px;
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.75),
    0 10px 30px -10px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  backdrop-filter: blur(6px);
}

/* Back panel — weekly recap */
.v5-panel-back {
  top: 0; right: -20px;
  width: 300px;
  transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px);
  opacity: 0.72;
  z-index: 1;
}

/* Middle panel — Telegram */
.v5-panel-mid {
  top: 58px; right: 40px;
  width: 320px;
  transform: rotateY(-7deg) rotateX(2deg) translateZ(-20px);
  opacity: 0.9;
  z-index: 2;
}

/* Front panel — agent console */
.v5-panel-front {
  top: 120px; left: -12px;
  width: 460px;
  transform: rotateY(-3deg) rotateX(1deg) translateZ(0);
  z-index: 3;
  animation: v5PanelIn 1.1s cubic-bezier(.2, .7, .2, 1) .3s both;
}
.v5-panel-mid   { animation: v5PanelIn 1.0s cubic-bezier(.2, .7, .2, 1) .45s both; }
.v5-panel-back  { animation: v5PanelIn .9s cubic-bezier(.2, .7, .2, 1) .6s both; }
@keyframes v5PanelIn {
  from { opacity: 0; transform: rotateY(-3deg) rotateX(1deg) translateY(20px); }
}
.v5-panel-mid { animation-name: v5PanelInMid; }
@keyframes v5PanelInMid {
  from { opacity: 0; transform: rotateY(-7deg) rotateX(2deg) translateY(20px) translateZ(-20px); }
  to   { opacity: 0.9; transform: rotateY(-7deg) rotateX(2deg) translateZ(-20px); }
}
.v5-panel-back { animation-name: v5PanelInBack; }
@keyframes v5PanelInBack {
  from { opacity: 0; transform: rotateY(-10deg) rotateX(3deg) translateY(20px) translateZ(-40px); }
  to   { opacity: 0.72; transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px); }
}

/* Hover: flatten the stack, bring all forward */
.hero-mock-wrap.v5-panels:hover .v5-panel-front {
  transform: rotateY(-1deg) rotateX(0) translateZ(20px);
}
.hero-mock-wrap.v5-panels:hover .v5-panel-mid {
  transform: rotateY(-3deg) rotateX(1deg) translateZ(-10px);
  opacity: 1;
}
.hero-mock-wrap.v5-panels:hover .v5-panel-back {
  transform: rotateY(-6deg) rotateX(2deg) translateZ(-30px);
  opacity: 0.85;
}

/* ─── Panel: Agent Console (front) ─── */
.v5-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.v5-console-path {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.v5-console-path .slash { color: var(--ink-quiet); margin: 0 3px; }
.v5-console-path .leaf { color: var(--accent-hi); }
.v5-console-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-hi);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.v5-console-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-hi);
  animation: v5Pulse 2s ease-in-out infinite;
}
@keyframes v5Pulse { 50% { opacity: 0.35; } }

.v5-console-rows { padding: 6px 0; }
.v5-row {
  display: grid;
  grid-template-columns: 14px 1.25fr 1.2fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background .2s ease;
}
.v5-row:last-child { border-bottom: none; }
.v5-row-new {
  animation: v5RowIn .55s cubic-bezier(.2, .7, .2, 1);
}
@keyframes v5RowIn {
  from { opacity: 0; transform: translateY(-6px); background: rgba(96, 165, 250, 0.06); }
  to   { opacity: 1; transform: translateY(0); background: transparent; }
}
.v5-status {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08);
  animation: v5Pulse 1.8s ease-in-out infinite;
}
.v5-status.idle { background: var(--ink-quiet); box-shadow: none; animation: none; }
.v5-status.hot { background: var(--accent-hi); box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2); }
.v5-name { color: var(--ink); letter-spacing: -0.01em; }
.v5-name .dim { color: var(--ink-quiet); }
.v5-action {
  color: var(--ink-body);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v5-time {
  font-size: 10.5px;
  color: var(--ink-mute);
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  min-width: 52px;
  text-align: center;
  letter-spacing: 0.04em;
}
.v5-time.hot { color: var(--accent-hi); border-color: var(--accent-edge); }

.v5-console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  background: rgba(0, 0, 0, 0.2);
}
.v5-console-foot .hot { color: var(--accent-hi); }

/* ─── Panel: Telegram (middle) ─── */
.v5-tg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.v5-tg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.04em;
}
.v5-tg-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.v5-tg-status {
  font-size: 11px;
  color: var(--accent-hi);
  font-weight: 500;
}
.v5-tg-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0e0e0e;
}
.v5-tg-msg {
  max-width: 85%;
  padding: 9px 13px;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.v5-tg-msg.user {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.v5-tg-msg.motive {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  background: #1c1c1e;
  border: 1px solid #262626;
  color: var(--ink-soft);
}
.v5-tg-msg.motive .sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-body);
}

/* ─── Panel: Weekly Recap (back) ─── */
.v5-recap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.v5-recap-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.v5-recap-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.v5-recap-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v5-recap-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.v5-recap-item::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
.v5-recap-item .metric {
  color: var(--accent-hi);
  font-weight: 600;
}
.v5-recap-foot {
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-quiet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
}

/* ─── Tune hero headline for Linear-like discipline ─── */
.hero-headline {
  font-size: clamp(48px, 7.4vw, 104px);
  letter-spacing: -0.052em;
}

/* ─── LINEAR CLEANLINESS ─────────────────── */

/* Kill hard borders between sections — whitespace + alt bg only */
#problem, #how-it-works, #cta-strip, footer {
  border-top: none !important;
}

/* More generous section rhythm — uniform across all v5 pages */
#problem, #how-it-works, #cta-strip,
#what-we-build, #proof-header, #team, #contact,
.case-study { padding: 140px 0 !important; }

/* Home page gets slightly more breathing room */
#problem, #how-it-works, #cta-strip { padding: 160px 0 !important; }

/* Page-header (work/about intro blocks) gets consistent top offset under fixed nav */
.page-header { padding-top: 160px !important; padding-bottom: 80px !important; }

/* Contact page vertical rhythm */
#contact { padding: 140px 0 100px !important; }

/* Normalize radii to 10px across the board (Linear band) */
.tg-card, .card, .team-card, .outcome-box, .contact-form-card,
.form-input, .form-textarea, .btn-submit, .contact-success,
.cs-img-wrap, .cs-mockup-wrap, .work-screenshot,
.step, .steps-grid, .btn-nav, .btn-hero, .btn-secondary,
.v5-panel { border-radius: 10px !important; }

/* ─── RAYCAST-STYLE ANIMATION (clean rebuild) ───
   Architecture:
   - Reveal: opacity + small translate, no blur (Raycast-clean)
   - Parallax: applied to .v5-panels WRAPPER (one element, simple math)
   - Float: applied to individual PANELS via CSS vars combined into transform
   - Easing: cubic-bezier(0.16, 1, 0.3, 1) — Apple/Linear ease-out
*/

/* Reveal — clean, no blur */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .9s cubic-bezier(0.16, 1, 0.3, 1),
    transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Cancel earlier intro keyframe animations on the panels — we now use
   transition + JS to fade them in cleanly */
.v5-panel-front,
.v5-panel-mid,
.v5-panel-back {
  animation: none !important;
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.v5-panels.v5-loaded .v5-panel-front,
.v5-panels.v5-loaded .v5-panel-mid { opacity: 1; }
.v5-panels.v5-loaded .v5-panel-back { opacity: 0.78; }

/* Float driven by CSS variables so it never fights parallax */
.v5-panel-front { --pf: 0px; }
.v5-panel-mid   { --pf: 0px; }
.v5-panel-back  { --pf: 0px; }

.v5-panel-front {
  transform: rotateY(-3deg) rotateX(1deg) translateZ(0) translateY(var(--pf));
}
.v5-panel-mid {
  transform: rotateY(-7deg) rotateX(2deg) translateZ(-20px) translateY(var(--pf));
}
.v5-panel-back {
  transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px) translateY(var(--pf));
}

/* Float keyframes only modify the --pf var — transforms compose cleanly */
.v5-panels.v5-loaded .v5-panel-front { animation: v5FloatF 7.5s ease-in-out infinite !important; }
.v5-panels.v5-loaded .v5-panel-mid   { animation: v5FloatM 9s   ease-in-out infinite !important; animation-delay: -2s; }
.v5-panels.v5-loaded .v5-panel-back  { animation: v5FloatB 11s  ease-in-out infinite !important; animation-delay: -4s; }

@keyframes v5FloatF {
  0%, 100% { --pf: 0px;  transform: rotateY(-3deg)  rotateX(1deg) translateZ(0)     translateY(0); }
  50%      { --pf: -8px; transform: rotateY(-3deg)  rotateX(1deg) translateZ(0)     translateY(-8px); }
}
@keyframes v5FloatM {
  0%, 100% { --pf: 0px;  transform: rotateY(-7deg)  rotateX(2deg) translateZ(-20px) translateY(0); }
  50%      { --pf: 6px;  transform: rotateY(-7deg)  rotateX(2deg) translateZ(-20px) translateY(6px); }
}
@keyframes v5FloatB {
  0%, 100% { --pf: 0px;   transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px) translateY(0);     opacity: 0.78; }
  50%      { --pf: -10px; transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px) translateY(-10px); opacity: 0.86; }
}

/* Pause float when scrolling away from hero — prevents jank */
.v5-panels.v5-paused .v5-panel-front,
.v5-panels.v5-paused .v5-panel-mid,
.v5-panels.v5-paused .v5-panel-back { animation-play-state: paused !important; }

/* PARALLAX: applied to the wrapper, not individual panels.
   Wrapper translates uniformly; panels keep their float independently. */
.hero-mock-wrap.v5-panels {
  will-change: transform;
  transform: translate3d(0, var(--v5-parallax, 0px), 0);
  transition: none;
}

/* Backdrop drift — slower, subtler */
.v5-glow {
  animation: v5GlowDrift 60s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
@keyframes v5GlowDrift {
  0%   { transform: rotate(0deg)   scale(1);    opacity: 0.85; }
  50%  { transform: rotate(180deg) scale(1.06); opacity: 1; }
  100% { transform: rotate(360deg) scale(1);    opacity: 0.85; }
}

/* Pulse on agent-status dots — slow + subtle, not strobing */
.v5-status, .v5-console-live::before {
  animation-duration: 2.6s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes v5PulseClean { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.v5-status, .v5-console-live::before { animation-name: v5PulseClean !important; }
.v5-status.idle { animation: none !important; }

/* Hover: subtle lift only (Raycast restraint) */
.hero-mock-wrap.v5-panels:hover .v5-panel-front,
.hero-mock-wrap.v5-panels:hover .v5-panel-mid,
.hero-mock-wrap.v5-panels:hover .v5-panel-back {
  /* keep float intact, small global Y lift via wrapper handles it */
}
.hero-mock-wrap.v5-panels { transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-mock-wrap.v5-panels:hover { transform: translate3d(0, calc(var(--v5-parallax, 0px) - 4px), 0); }

/* Section bg alternation (Linear move — no borders, just shifts) */
#problem { background: var(--bg) !important; }
#how-it-works { background: var(--bg-alt) !important; }
#cta-strip { background: var(--bg) !important; }

/* Softer shadows on cards — Linear style */
.card, .team-card, .cs-img-wrap, .cs-mockup-wrap, .outcome-box, .contact-form-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px -12px rgba(0, 0, 0, 0.4) !important;
}

/* Scroll behavior left native — smoothness is NOT worth latency */
html { scroll-behavior: auto; }

/* ─── JARVIS × ATHENA chat mockup ─── */
.cb-body {
  padding: 20px 22px;
  background: #0d0d0d;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-body);
  height: 320px;
  overflow: hidden;
  position: relative;
}
.cb-body::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 72px;
  background: linear-gradient(to bottom, transparent, #0d0d0d);
  pointer-events: none;
}
.cb-path {
  font-size: 10.5px;
  color: var(--ink-quiet);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.cb-path .slash { color: var(--ink-quiet); }
.cb-path .leaf  { color: var(--accent-hi); }
.cb-entry { margin-bottom: 16px; }
.cb-head {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.cb-head .hash { color: var(--ink-quiet); margin-right: 4px; }
.cb-head .ts   { color: var(--ink-quiet); font-weight: 400; margin-right: 6px; }
.cb-head .pipe { color: var(--ink-quiet); font-weight: 400; margin-right: 6px; }
.cb-head .athena { color: var(--accent); }
.cb-head .jarvis { color: var(--accent-hi); }
.cb-text {
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 1px solid var(--rule);
  font-size: 12px;
}
.cb-text .ref { color: var(--accent-hi); }

/* ─── MULTI-OP weekly recap mockup ─── */
.wr-body {
  padding: 22px 26px;
  background: #0d0d0d;
  height: 320px;
  overflow: hidden;
  position: relative;
}
.wr-body::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, #0d0d0d);
  pointer-events: none;
}
.wr-from {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-quiet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wr-subject {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.wr-greeting {
  font-size: 13px;
  color: var(--ink-body);
  margin-bottom: 14px;
  line-height: 1.55;
}
.wr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.wr-stat {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.wr-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.wr-stat-num.up { color: var(--accent-hi); }
.wr-stat-lbl {
  font-size: 9.5px;
  color: var(--ink-quiet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 5px;
}
.wr-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  line-height: 1.5;
}
.wr-row:last-child { border-bottom: none; }
.wr-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--accent-hi);
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.wr-txt { color: var(--ink-body); }
.wr-txt strong { color: var(--ink); font-weight: 600; }

/* ─── ENTERPRISE RESTRAINT PASS (Galileo-inspired) ─── */

/* Pull headlines back from "shouty" to "confident" */
.hero-headline {
  font-weight: 800 !important;
  font-size: clamp(44px, 6.8vw, 92px) !important;
  letter-spacing: -0.045em !important;
}
.section-headline,
.cta-strip-headline {
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* Calmer accent — shift toward navy-cobalt */
:root {
  --accent: #2563eb;
  --accent-hi: #3b82f6;
  --accent-deep: #1e40af;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-edge: rgba(37, 99, 235, 0.22);
}

/* Quieter ambient glow */
.v5-glow { opacity: 0.55 !important; animation-duration: 90s !important; }
@keyframes v5GlowDrift {
  0%   { transform: rotate(0deg)   scale(1);    opacity: 0.55; }
  50%  { transform: rotate(180deg) scale(1.04); opacity: 0.7; }
  100% { transform: rotate(360deg) scale(1);    opacity: 0.55; }
}

/* Subtler float amplitude — barely noticeable */
@keyframes v5FloatF {
  0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateZ(0)     translateY(0); }
  50%      { transform: rotateY(-3deg) rotateX(1deg) translateZ(0)     translateY(-4px); }
}
@keyframes v5FloatM {
  0%, 100% { transform: rotateY(-7deg) rotateX(2deg) translateZ(-20px) translateY(0); }
  50%      { transform: rotateY(-7deg) rotateX(2deg) translateZ(-20px) translateY(3px); }
}
@keyframes v5FloatB {
  0%, 100% { transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px) translateY(0);    opacity: 0.7; }
  50%      { transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px) translateY(-5px); opacity: 0.78; }
}

/* Calmer status pulse — less strobing */
@keyframes v5PulseClean { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Eyebrow ring — drop the expanding ring, just a steady cobalt dot */
.eyebrow-dot { animation: none !important; }

/* Hero grid texture — subtler */
.hero-grid-texture {
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px) !important;
}

/* Trust strip placeholder — for when we add logos / metrics */
.trust-strip {
  padding: 40px var(--gutter, 24px);
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

/* ═══════════════════════════════════════════════════════════
   LINEAR PASS — restraint + ambient wash + refined rhythm
   Appended 2026-04-24. Works on top of everything above.
   ═══════════════════════════════════════════════════════════ */

/* Motive accent — prismatic blue-violet (ref: indigo/violet palette).
   Reads as "cool blue with a violet rim light", not generic tech-blue. */
:root {
  --accent: #6b7fd1 !important;
  --accent-hi: #9a8fd8 !important;
  --accent-violet: #7b5fb5 !important;
  --accent-deep: #47366d !important;
  --accent-navy: #1d2d46 !important;
  --accent-soft: rgba(107, 127, 209, 0.09) !important;
  --accent-edge: rgba(154, 143, 216, 0.28) !important;
}

/* Global body wash — navy indigo at top, violet pool at bottom. Two-stop prism. */
body::before {
  content: '';
  position: fixed;
  top: -30vh; left: 50%;
  width: 140vw; height: 100vh;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(45, 59, 106, 0.35), transparent 70%),
    radial-gradient(ellipse 35% 30% at 25% 10%, rgba(107, 127, 209, 0.10), transparent 70%),
    radial-gradient(ellipse 30% 25% at 75% 15%, rgba(123, 95, 181, 0.09), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -40vh; left: 50%;
  width: 140vw; height: 90vh;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 40% at 40% 70%, rgba(71, 54, 109, 0.18), transparent 75%),
    radial-gradient(ellipse 40% 35% at 70% 75%, rgba(107, 127, 209, 0.06), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure the dark base is deep indigo-black, not neutral black — ties to palette */
html, body { background: #0a0d1a !important; }
header, section, footer { position: relative; z-index: 1; }

/* Reveal failsafe — if JS doesn't fire, show after 1.4s */
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.reveal {
  animation: revealFallback 0s linear 1.4s forwards;
}
.reveal.visible { animation: none; opacity: 1; transform: translateY(0); }

/* Tighter section rhythm — Linear doesn't waste vertical space */
#problem, #how-it-works, #cta-strip,
#what-we-build, #proof-header, #team, #contact,
.case-study { padding: 112px 24px !important; }
#problem, #how-it-works, #cta-strip { padding: 128px 24px !important; }
.page-header { padding-top: 128px !important; padding-bottom: 56px !important; }

/* Proof header sits closer to first case study — no double padding */
#proof-header { padding-bottom: 0 !important; padding-top: 128px !important; }
#cs-jarvis { padding-top: 80px !important; }

/* Case study grid: nudge visual share so text column isn't starved */
.cs-inner { grid-template-columns: 1fr 1fr !important; gap: 64px !important; }
.cs-inner-flip { grid-template-columns: 1fr 1fr !important; }

/* What-we-build header: tighter to card grid */
#what-we-build .section-header { margin-bottom: 48px !important; }

/* Wider containers on large screens — Linear uses ~1200px */
.section-inner, .cs-inner { max-width: 1200px !important; }

/* Section label: add Linear-style leading rule */
.section-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 11.5px !important;
  letter-spacing: 0.18em !important;
  color: rgba(235, 235, 235, 0.55) !important;
}
.section-label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent-hi);
  opacity: 0.7;
}

/* Section headline — tighter tracking, refined weight */
.section-headline, .cta-strip-headline {
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  color: #f4f4f5 !important;
}

/* Cards — Linear treatment: hairline border, subtle top highlight, clean hover */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  padding: 32px 28px !important;
  position: relative;
  transition: border-color .25s ease, background .25s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 143, 216, 0.45), rgba(123, 95, 181, 0.35), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover {
  border-color: rgba(154, 143, 216, 0.28) !important;
  background: linear-gradient(180deg, rgba(107, 127, 209, 0.05) 0%, rgba(123, 95, 181, 0.02) 100%) !important;
  transform: translateY(-2px) !important;
}
.card:hover::before { opacity: 1; }
.card.featured { border-color: rgba(154, 143, 216, 0.22) !important; }

.card-headline { font-weight: 600 !important; letter-spacing: -0.02em !important; color: #f4f4f5 !important; }
.card-body { color: rgba(235,235,235,0.6) !important; line-height: 1.65 !important; }
.card-label { color: var(--accent-hi) !important; opacity: 0.85; }

/* Case study — ambient glow behind the visual (Linear spotlight move) */
.case-study { border-top: 1px solid rgba(255,255,255,0.04) !important; }
.cs-visual { position: relative; }
.cs-visual::before {
  content: '';
  position: absolute;
  inset: -80px -60px -50px -60px;
  background:
    radial-gradient(ellipse 55% 55% at 45% 50%, rgba(107, 127, 209, 0.22), transparent 65%),
    radial-gradient(ellipse 35% 40% at 70% 55%, rgba(123, 95, 181, 0.18), transparent 70%),
    radial-gradient(ellipse 25% 30% at 30% 35%, rgba(154, 143, 216, 0.10), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(12px);
}

/* Case study meta row — cleaner */
.cs-label {
  border-color: rgba(255,255,255,0.1) !important;
  color: rgba(235,235,235,0.6) !important;
  background: rgba(255,255,255,0.02);
}
.cs-title {
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  color: #f4f4f5 !important;
}
.cs-body, .cs-built-body { color: rgba(235,235,235,0.68) !important; line-height: 1.65 !important; }
.cs-location { color: rgba(235,235,235,0.45) !important; font-size: 13px !important; }
.cs-built-label {
  font-family: var(--font-mono);
  font-size: 10.5px !important;
  letter-spacing: 0.16em !important;
  color: var(--accent-hi) !important;
  opacity: 0.9;
  text-transform: uppercase;
}
.cs-divider { background: rgba(255,255,255,0.06) !important; }

.outcome-box {
  background: linear-gradient(135deg, rgba(107, 127, 209, 0.08), rgba(123, 95, 181, 0.05)) !important;
  border: 1px solid rgba(154, 143, 216, 0.22) !important;
  color: #e2e4f5 !important;
}

/* Mockup frames — prismatic rim: cool blue top + violet bottom */
.cs-mockup-wrap, .work-screenshot {
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow:
    0 1px 0 rgba(154, 143, 216, 0.12) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.9),
    0 10px 50px -20px rgba(107, 127, 209, 0.22),
    0 -4px 30px -16px rgba(123, 95, 181, 0.18) !important;
  position: relative;
}

/* Nav — add subtle divider when scrolled */
#nav.scrolled {
  background: rgba(8, 9, 10, 0.72) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-links a { color: rgba(235,235,235,0.6) !important; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: #f4f4f5 !important; }

/* Buttons — keep restraint, refine hover */
.btn-nav, .btn-hero {
  transition: background .2s ease, border-color .2s ease, color .2s ease !important;
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(235,235,235,0.85) !important;
  background: transparent !important;
}
.btn-secondary:hover {
  border-color: rgba(154, 143, 216, 0.45) !important;
  color: #f4f4f5 !important;
  background: rgba(107, 127, 209, 0.06) !important;
}

/* Footer — hairline + tighter */
footer {
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  padding: 56px 24px !important;
}
.footer-copy, .footer-email { color: rgba(235,235,235,0.5) !important; }

/* Hero headline — match Linear tracking */
.hero-headline {
  letter-spacing: -0.048em !important;
  line-height: 1 !important;
}
.hero-headline .accent,
.hero-headline b { color: var(--accent-hi) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(154, 143, 216, 0.32); background-clip: content-box; }

/* Status dots / text + BarberPro schedule bars → blue-violet */
.work-status .status-dot { background: var(--accent-hi) !important; box-shadow: 0 0 0 3px rgba(107, 127, 209, 0.18); }
.work-status .status-text { color: var(--accent-hi) !important; }
.bp-appt-bar { background: linear-gradient(180deg, #7d8ad6, #6b7fd1) !important; }
.bp-appt.current { border-color: rgba(154, 143, 216, 0.38) !important; background: rgba(107, 127, 209, 0.06) !important; }
.bp-nav-dot { background: var(--accent-hi) !important; }
.bp-stat-up { color: var(--accent-hi) !important; }

/* Agent console (hero) → blue-violet */
.v5-time.hot { color: var(--accent-hi) !important; border-color: var(--accent-edge) !important; }
.v5-status.hot { box-shadow: 0 0 0 3px rgba(154, 143, 216, 0.26) !important; background: var(--accent-hi) !important; }
.v5-status { background: var(--accent-hi) !important; box-shadow: 0 0 0 3px rgba(107, 127, 209, 0.12) !important; }
.v5-console-live { color: var(--accent-hi) !important; }
.v5-console-live::before { background: var(--accent-hi) !important; }
.v5-console-path .leaf { color: var(--accent-hi) !important; }
@keyframes v5RowIn {
  from { opacity: 0; transform: translateY(-6px); background: rgba(107, 127, 209, 0.09); }
  to   { opacity: 1; transform: translateY(0); background: transparent; }
}

/* Telegram mock bubble → violet-blue gradient */
.v5-tg-msg.user { background: linear-gradient(135deg, #7b5fb5, #6b7fd1) !important; color: #fff !important; }
.v5-tg-status { color: var(--accent-hi) !important; }
.v5-tg-avatar { background: linear-gradient(135deg, #6b7fd1, #7b5fb5) !important; color: #fff !important; }

/* Weekly recap accents */
.v5-recap-item::before { background: var(--accent-hi) !important; }
.v5-recap-item .metric { color: var(--accent-hi) !important; }

/* Chat mockup: Athena = blue-side, Jarvis = violet-side (the prism split) */
.cb-head .athena { color: #7d8ad6 !important; }
.cb-head .jarvis { color: #a99bd8 !important; }
.cb-text .ref, .cb-path .leaf { color: var(--accent-hi) !important; }

/* Weekly recap stat up */
.wr-stat-num.up { color: var(--accent-hi) !important; }
.wr-tag { color: var(--accent-hi) !important; }

/* Hero headline accent word ("runs") — prism gradient blue→violet */
.hero-headline .accent, .hero-headline b {
  background: linear-gradient(135deg, #8fa3ff 0%, #9a8fd8 50%, #7b5fb5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* Section headline can carry same prism subtly for emphasized parts */
.section-headline .accent,
.cta-strip-headline .accent {
  background: linear-gradient(135deg, #8fa3ff 0%, #9a8fd8 50%, #7b5fb5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* Primary CTA button — subtle prism fill on hover */
.btn-hero, .btn-submit {
  border: 1px solid rgba(255,255,255,0.9) !important;
  transition: all .25s ease !important;
}
.btn-hero:hover, .btn-submit:hover {
  background: linear-gradient(135deg, #7d8ad6, #7b5fb5) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Eyebrow pill (Always on. Always in context.) */
.hero-eyebrow {
  background: linear-gradient(135deg, rgba(107,127,209,0.12), rgba(123,95,181,0.08)) !important;
  border: 1px solid rgba(154, 143, 216, 0.25) !important;
  color: #c9c9dd !important;
}
.eyebrow-dot { background: var(--accent-hi) !important; }

/* Links */
a { color: var(--accent-hi); }
a:hover { color: #c9c9ff; }

/* Cursor glow */
#cursor-glow { mix-blend-mode: screen; }

/* Add a subtle prism rim line at the top of each case study mockup
   — mirrors the bright cyan→violet edge from the reference image */
.cs-mockup-wrap::before, .work-screenshot::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(143, 163, 255, 0.5) 30%,
    rgba(154, 143, 216, 0.65) 50%,
    rgba(123, 95, 181, 0.5) 70%,
    transparent);
  pointer-events: none;
  z-index: 2;
}

/* Section transition — hairline prism divider between case studies */
.case-study + .case-study { border-top: 1px solid transparent !important; position: relative; }
.case-study + .case-study::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 143, 216, 0.18) 50%, transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   PRO LAYOUT PASS — bento + metric band + pull-quote +
   process rail + final CTA. Breaks the case-study monotony.
   ═══════════════════════════════════════════════════════════ */

/* Section subtitle under every headline */
.section-sub {
  margin-top: 18px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(235, 235, 245, 0.55);
}

/* ─── BENTO GRID (replaces .cards-3 repetition) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 56px;
}
.bento {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: border-color .3s ease, background .3s ease, transform .3s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}
.bento::before {
  content: '';
  position: absolute; top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(143, 163, 255, 0.35) 30%,
    rgba(154, 143, 216, 0.5) 50%,
    rgba(123, 95, 181, 0.35) 70%,
    transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.bento:hover {
  border-color: rgba(154, 143, 216, 0.32);
  background: linear-gradient(180deg, rgba(107, 127, 209, 0.05) 0%, rgba(123, 95, 181, 0.02) 100%);
  transform: translateY(-2px);
}
.bento:hover::before { opacity: 1; }

.bento-feature {
  grid-row: span 2;
  padding: 44px 40px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(107, 127, 209, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
  border-color: rgba(154, 143, 216, 0.22);
}
.bento-feature::before { opacity: 0.6; }

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.bento-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  padding: 4px 10px;
  background: rgba(107, 127, 209, 0.1);
  border: 1px solid rgba(154, 143, 216, 0.22);
  border-radius: 4px;
}
.bento-price {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(235, 235, 245, 0.45);
}
.bento-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #f4f4f5;
  margin: 14px 0 16px;
}
.bento-feature .bento-title { font-size: clamp(28px, 3vw, 38px); margin-top: 8px; }
.bento-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(235, 235, 245, 0.6);
}
.bento-list {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.bento-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(235, 235, 245, 0.75);
  line-height: 1.5;
}
.bento-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 12px; height: 1px;
  background: var(--accent-hi);
  opacity: 0.6;
}
.bento-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hi);
}

/* Hide the old .cards-3 / .card styles for this page only */
#what-we-build .cards-3 { display: none; }

/* ─── METRIC BAND ─── */
#metric-band {
  padding: 80px 24px 100px !important;
  position: relative;
}
#metric-band::before,
#metric-band::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 143, 216, 0.18) 50%, transparent);
}
#metric-band::before { top: 0; }
#metric-band::after { bottom: 0; }
.metric-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric {
  padding: 8px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.metric:last-child { border-right: none; }
.metric:first-child { padding-left: 0; }
.metric-num {
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #c9cbde 60%, #8fa3ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-suffix {
  font-size: 0.5em;
  font-weight: 500;
  color: rgba(235, 235, 245, 0.4);
  -webkit-text-fill-color: rgba(235, 235, 245, 0.4);
  margin-left: 4px;
  letter-spacing: 0;
}
.metric-lbl {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(235, 235, 245, 0.55);
  max-width: 200px;
}

/* ─── PULL QUOTE ─── */
#pull-quote { padding: 112px 24px !important; position: relative; }
#pull-quote::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(107, 127, 209, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(123, 95, 181, 0.06), transparent 60%);
  pointer-events: none;
}
.quote-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: Inter, sans-serif;
  font-size: 96px;
  font-weight: 800;
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: -8px;
  letter-spacing: -0.04em;
}
.quote-body {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f4f4f5;
}
.quote-cite {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote-name { color: rgba(235, 235, 245, 0.85); font-weight: 600; }
.quote-role { color: rgba(235, 235, 245, 0.45); }

/* ─── PROCESS RAIL ─── */
#process { padding: 128px 24px !important; }
.process-rail {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-rail::before {
  content: '';
  position: absolute;
  top: 28px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(143, 163, 255, 0.25) 20%,
    rgba(154, 143, 216, 0.35) 50%,
    rgba(123, 95, 181, 0.25) 80%,
    transparent);
}
.process-step {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.process-step:first-child { border-left: none; padding-left: 0; }
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0a0d1a;
  border: 1px solid rgba(154, 143, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-hi);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.process-label {
  font-size: 17px;
  font-weight: 600;
  color: #f4f4f5;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.process-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(235, 235, 245, 0.58);
  margin-bottom: 16px;
}
.process-dur {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  padding: 3px 8px;
  background: rgba(107, 127, 209, 0.08);
  border: 1px solid rgba(154, 143, 216, 0.2);
  border-radius: 4px;
}

/* ─── FINAL CTA CARD ─── */
#final-cta { padding: 80px 24px 128px !important; }
.final-cta-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 72px;
  border-radius: 16px;
  border: 1px solid rgba(154, 143, 216, 0.25);
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(107, 127, 209, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(123, 95, 181, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.final-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(143, 163, 255, 0.5) 30%,
    rgba(154, 143, 216, 0.65) 50%,
    rgba(123, 95, 181, 0.5) 70%,
    transparent);
}
.final-cta-headline {
  margin: 14px 0 12px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #f4f4f5;
}
.final-cta-body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(235, 235, 245, 0.55);
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.final-cta-actions .btn-hero,
.final-cta-actions .btn-secondary {
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px !important;
}

/* ─── SCROLL PROGRESS BAR ─── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6b7fd1 0%, #9a8fd8 50%, #7b5fb5 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(154, 143, 216, 0.45);
}

/* ─── PROCESS-RAIL animated fill ─── */
.process-fill {
  --fill: 0%;
  position: absolute;
  top: 28px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg,
    #8fa3ff 0%,
    #9a8fd8 50%,
    #7b5fb5 100%);
  box-shadow: 0 0 8px rgba(154, 143, 216, 0.55);
  transform-origin: 0 50%;
  transform: scaleX(calc(var(--fill) / 100));
  z-index: 0;
  pointer-events: none;
  transition: transform .1s linear;
}
.process-step { opacity: 0.35; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.process-step.process-active,
.process-step[style*="opacity: 1"] { opacity: 1 !important; transform: translateY(0) !important; }
.process-step.process-active .process-num {
  border-color: rgba(154, 143, 216, 0.7);
  background: linear-gradient(180deg, rgba(107,127,209,0.18), rgba(123,95,181,0.12));
  box-shadow: 0 0 20px rgba(107, 127, 209, 0.35);
}

/* Responsive cleanup */
@media (max-width: 960px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-feature { grid-row: auto; }
  .bento-list { grid-template-columns: 1fr; }
  .metric-band-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 0 24px; }
  .metric:nth-child(2n) { border-right: none; }
  .process-rail { grid-template-columns: 1fr; gap: 32px; }
  .process-rail::before { display: none; }
  .process-step { border-left: none; padding-left: 0; }
  .final-cta-card { grid-template-columns: 1fr; padding: 40px 32px; text-align: center; }
  .final-cta-actions { align-items: center; }
  .final-cta-actions .btn-hero, .final-cta-actions .btn-secondary { width: 100%; max-width: 320px; }
}

/* ─── Responsive — collapse 3D stack ─── */
@media (max-width: 960px) {
  #hero .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock-wrap.v5-panels {
    height: auto;
    perspective: none;
  }
  .v5-panel {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto 16px;
    animation: none !important;
  }
  .v5-panel-back { display: none; }
  .v5-glow { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESTRAINT PASS — 2026-04-24
   Reverts the prismatic blue-violet system. Single amber accent,
   flat near-black background, no overlapping glows, no prism
   text-clips. Per PLAYBOOK.md. Wins the cascade by being last.
   ═══════════════════════════════════════════════════════════ */

:root {
  --accent:        #FF8A4C !important;
  --accent-hi:     #FFA770 !important;
  --accent-violet: #FF8A4C !important;
  --accent-deep:   #C25E2A !important;
  --accent-navy:   #161616 !important;
  --accent-soft:   rgba(255, 138, 76, 0.10) !important;
  --accent-edge:   rgba(255, 138, 76, 0.28) !important;
}

/* Flat background — kill the indigo wash entirely */
html, body { background: #0D0D0D !important; }
body::before, body::after { display: none !important; content: none !important; }

/* Cursor glow off — visual noise */
#cursor-glow { display: none !important; }

/* Hero ambient: keep ONE soft amber pool, kill the prism stack */
.hero-vignette { display: none !important; }
.v5-glow {
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 138, 76, 0.10), transparent 65%) !important;
  filter: none !important;
  animation: none !important;
}

/* Text accents — solid amber, no rainbow text-clip */
.hero-headline .accent,
.hero-headline b,
.section-headline .accent,
.cta-strip-headline .accent {
  background: none !important;
  -webkit-text-fill-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* Cards — neutral hover, no violet rim */
.card::before { display: none !important; }
.card:hover {
  border-color: rgba(255, 138, 76, 0.28) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)) !important;
}
.card.featured { border-color: rgba(255, 138, 76, 0.20) !important; }

/* Case study — kill the giant violet glow behind visuals */
.cs-visual::before { display: none !important; }
.cs-mockup-wrap::before, .work-screenshot::before { display: none !important; }
.case-study + .case-study::before { display: none !important; }

.cs-mockup-wrap, .work-screenshot {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.85) !important;
}

.outcome-box {
  background: rgba(255, 138, 76, 0.06) !important;
  border: 1px solid rgba(255, 138, 76, 0.18) !important;
  color: #f4f4f5 !important;
}

/* Buttons — solid amber primary, no gradient hover */
.btn-hero, .btn-submit {
  border: 1px solid var(--accent) !important;
  background: var(--accent) !important;
  color: #0D0D0D !important;
}
.btn-hero:hover, .btn-submit:hover {
  background: var(--accent-hi) !important;
  border-color: var(--accent-hi) !important;
  color: #0D0D0D !important;
}
.btn-secondary:hover {
  border-color: rgba(255, 138, 76, 0.40) !important;
  background: rgba(255, 138, 76, 0.05) !important;
  color: #f4f4f5 !important;
}

/* Eyebrow pill — neutral, single amber dot */
.hero-eyebrow {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: rgba(235,235,235,0.7) !important;
}
.eyebrow-dot { background: var(--accent) !important; }

/* Links */
a { color: var(--accent-hi) !important; }
a:hover { color: #FFC79A !important; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 138, 76, 0.32) !important; background-clip: content-box; }

/* Bento grid — neutral hover, no prism rim */
.bento::before { display: none !important; }
.bento:hover {
  border-color: rgba(255, 138, 76, 0.28) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)) !important;
}
.bento-feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)) !important;
  border-color: rgba(255, 138, 76, 0.18) !important;
}
.bento-feature::before { display: none !important; }
.bento-tag {
  background: rgba(255, 138, 76, 0.08) !important;
  border-color: rgba(255, 138, 76, 0.22) !important;
  color: var(--accent-hi) !important;
}
.bento-list li::before { background: var(--accent) !important; opacity: 0.7; }
.bento-cta { color: var(--accent-hi) !important; }

/* Metric band — solid white numerals, no prism gradient text */
#metric-band::before, #metric-band::after {
  background: rgba(255,255,255,0.06) !important;
}
.metric-num {
  background: none !important;
  -webkit-text-fill-color: #f4f4f5 !important;
  color: #f4f4f5 !important;
}

/* Pull quote — drop the dual radial wash */
#pull-quote::before { display: none !important; }
.quote-mark { color: var(--accent) !important; opacity: 0.4; }

/* Process rail — neutral track, amber active dot */
.process-rail::before {
  background: rgba(255,255,255,0.06) !important;
}
.process-num {
  background: #0D0D0D !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: var(--accent-hi) !important;
}
.process-fill {
  background: var(--accent) !important;
  box-shadow: none !important;
}
.process-step.process-active .process-num {
  border-color: var(--accent) !important;
  background: rgba(255, 138, 76, 0.08) !important;
  box-shadow: none !important;
}
.process-dur {
  background: rgba(255, 138, 76, 0.08) !important;
  border-color: rgba(255, 138, 76, 0.22) !important;
  color: var(--accent-hi) !important;
}

/* Final CTA card — kill the dual radial, single amber edge */
.final-cta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)) !important;
  border: 1px solid rgba(255, 138, 76, 0.20) !important;
}
.final-cta-card::before { display: none !important; }

/* Scroll progress — single amber, no glow */
#scroll-progress {
  background: var(--accent) !important;
  box-shadow: none !important;
}

/* Status / agent console / mockup accents — all amber */
.work-status .status-dot {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 76, 0.18) !important;
}
.work-status .status-text { color: var(--accent-hi) !important; }
.bp-appt-bar { background: var(--accent) !important; }
.bp-appt.current {
  border-color: rgba(255, 138, 76, 0.38) !important;
  background: rgba(255, 138, 76, 0.06) !important;
}
.bp-nav-dot { background: var(--accent) !important; }
.bp-stat-up { color: var(--accent-hi) !important; }

.v5-time.hot {
  color: var(--accent-hi) !important;
  border-color: var(--accent-edge) !important;
}
.v5-status.hot {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 76, 0.26) !important;
}
.v5-status {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 76, 0.12) !important;
}
.v5-console-live, .v5-console-live::before { color: var(--accent-hi) !important; background: var(--accent) !important; }
.v5-console-live { background: transparent !important; }
.v5-console-path .leaf { color: var(--accent-hi) !important; }

.v5-tg-msg.user {
  background: var(--accent) !important;
  color: #0D0D0D !important;
}
.v5-tg-status { color: var(--accent-hi) !important; }
.v5-tg-avatar {
  background: var(--accent) !important;
  color: #0D0D0D !important;
}

.v5-recap-item::before { background: var(--accent) !important; }
.v5-recap-item .metric { color: var(--accent-hi) !important; }

.cb-head .athena { color: #f4f4f5 !important; }
.cb-head .jarvis { color: var(--accent-hi) !important; }
.cb-text .ref, .cb-path .leaf { color: var(--accent-hi) !important; }

.wr-stat-num.up { color: var(--accent-hi) !important; }
.wr-tag { color: var(--accent-hi) !important; }

/* Section label leading rule — neutral, not violet */
.section-label::before {
  background: rgba(255,255,255,0.25) !important;
  opacity: 1 !important;
}

/* Float cycles off — too much motion */
.v5-panels.v5-loaded .v5-panel-front,
.v5-panels.v5-loaded .v5-panel-mid,
.v5-panels.v5-loaded .v5-panel-back {
  animation: none !important;
}

/* ═══════════════════════════════════════════════════════════
   BLUEPRINT PASS — 2026-04-24
   New 8-section homepage (Linear/Vercel/Resend pattern).
   Centered hero, proof bar, product shot, case grid,
   surface grid, pull quote, process rail, final CTA.
   ═══════════════════════════════════════════════════════════ */

/* ── 1. CENTERED HERO ─────────────────────────────────── */
#hero-v6.hero-centered {
  position: relative;
  min-height: 86vh;
  padding: 160px 24px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0D0D0D;
}
#hero-v6 .hero-grid-texture {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  pointer-events: none;
}
.hero-c-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  z-index: 1;
}
#hero-v6 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin: 0 auto 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-c-headline {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #f4f4f5;
  margin: 0 0 28px;
}
.hero-c-headline .accent { color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important; }
.hero-c-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(235,235,235,0.62);
}
.hero-c-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-c-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(235,235,235,0.4);
}

/* ── 2. PROOF BAR ─────────────────────────────────────── */
#proof-bar {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #0a0a0a;
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proof-cell {
  padding: 8px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proof-cell:last-child { border-right: none; }
.proof-cell:first-child { padding-left: 0; }
.proof-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235,235,235,0.45);
}
.proof-metric {
  font-size: 16px;
  font-weight: 500;
  color: #f4f4f5;
  letter-spacing: -0.01em;
}
.proof-metric .accent {
  color: var(--accent) !important;
  font-weight: 700;
}

/* ── 3. TELEGRAM PRODUCT SHOT ─────────────────────────── */
#telegram-shot { padding: 128px 24px; }
.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.shot-copy .section-headline { margin: 16px 0 24px; }
.shot-body {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(235,235,235,0.62);
  margin-bottom: 28px;
}
.shot-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shot-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: rgba(235,235,235,0.78);
  line-height: 1.55;
}
.shot-points li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

/* Phone frame */
.shot-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 320px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 12px 12px 18px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9);
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.phone-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #0D0D0D;
  font-weight: 700;
  font-size: 13px;
}
.phone-dot::before { content: 'M'; }
.phone-name {
  font-weight: 600;
  font-size: 14px;
  color: #f4f4f5;
  flex: 1;
}
.phone-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-hi);
  text-transform: uppercase;
}
.phone-body {
  padding: 16px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #e5e5e5;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}
.phone-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: #0D0D0D;
  border: none;
  font-weight: 500;
}
.phone-msg.motive { align-self: flex-start; }
.phone-sub {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: rgba(235,235,235,0.5);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.phone-msg.typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  background: var(--accent);
}
.phone-msg.typing .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #0D0D0D;
  opacity: 0.55;
  animation: phoneBounce 1.4s infinite;
}
.phone-msg.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.phone-msg.typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes phoneBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* ── 4. CASE GRID ─────────────────────────────────────── */
#cases { padding: 128px 24px; border-top: 1px solid rgba(255,255,255,0.04); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.case-card {
  position: relative;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: border-color .25s ease, background .25s ease, transform .3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  border-color: rgba(255,138,76,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  transform: translateY(-2px);
}
.case-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.9;
}
.case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235,235,235,0.45);
  display: block;
  margin-bottom: 12px;
}
.case-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #f4f4f5;
  margin: 0 0 14px;
}
.case-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(235,235,235,0.62);
  flex: 1;
  margin-bottom: 24px;
}
.case-metric {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(235,235,235,0.7);
}
.case-metric .accent { font-size: 16px; font-weight: 700; margin-right: 4px; }
.case-link { color: var(--accent-hi); text-decoration: none; font-weight: 500; }
.case-link:hover { color: #FFC79A; }

/* ── 5. SURFACES ──────────────────────────────────────── */
#surfaces {
  padding: 128px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: #0a0a0a;
}
.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.surface { display: flex; flex-direction: column; gap: 20px; }
.surface-mock {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px;
  min-height: 200px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* console mock */
.surface-mock-console .sm-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.sm-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.sm-dot.accent { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,76,0.18); }
.sm-dot.idle { background: rgba(255,255,255,0.12); }
.sm-name { color: #d4d4d4; font-size: 11.5px; }
.sm-time { color: rgba(235,235,235,0.4); font-size: 11px; }

/* recap mock */
.surface-mock-recap { font-family: Inter, sans-serif; font-size: 13px; }
.sm-recap-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235,235,235,0.5);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.sm-recap-row {
  padding: 8px 0;
  color: rgba(235,235,235,0.78);
  border-bottom: 1px dashed rgba(255,255,255,0.04);
  font-size: 13px;
}
.sm-recap-row:last-child { border: none; }
.sm-recap-row .accent { color: var(--accent); font-weight: 700; }

/* tg mock */
.surface-mock-tg { gap: 8px; padding: 24px 18px; }
.sm-tg-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: Inter, sans-serif;
  font-size: 13px;
}
.sm-tg-msg.user { align-self: flex-end; background: var(--accent); color: #0D0D0D; font-weight: 500; }
.sm-tg-msg.motive { align-self: flex-start; background: rgba(255,255,255,0.05); color: #e5e5e5; }

.surface-title {
  font-size: 17px;
  font-weight: 600;
  color: #f4f4f5;
  margin: 0;
  letter-spacing: -0.015em;
}
.surface-body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(235,235,235,0.6);
  margin: 0;
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .shot-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-grid, .surface-grid { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .proof-cell { padding: 8px 16px; }
  .proof-cell:nth-child(2n) { border-right: none; }
  .proof-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 24px; }
}

/* ============================================================
   SYSTEM MAP — what we actually do (added 2026-04-25 by Mercer)
   ============================================================ */
#system-map {
  padding: 96px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.05), transparent 60%),
    #0a0a0a;
}
.sysmap {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 60px 1.15fr 60px 1fr;
  align-items: stretch;
  gap: 0;
  color: #e6e6e6;
}
.sysmap-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.sysmap-col-core {
  background:
    linear-gradient(180deg, rgba(184,134,11,0.06), rgba(184,134,11,0.02));
  border-color: rgba(184,134,11,0.25);
  box-shadow: 0 0 0 1px rgba(184,134,11,0.05) inset, 0 24px 60px -30px rgba(184,134,11,0.4);
}
.sysmap-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.sysmap-col-core .sysmap-col-label { color: #d4a017; }

.sysmap-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-feature-settings: 'tnum';
}
.sysmap-node.out { border-color: rgba(184,134,11,0.18); }
.sysmap-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex: 0 0 auto;
}
.sysmap-dot.accent { background: #d4a017; box-shadow: 0 0 0 3px rgba(212,160,23,0.15); }

.sysmap-arrows {
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: rgba(184,134,11,0.6);
}
.sysmap-arrows svg { width: 100%; height: 100%; }

.sysmap-core {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: center;
}
.sysmap-core-router {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4a017;
  padding: 10px 14px;
  border: 1px dashed rgba(184,134,11,0.4);
  border-radius: 8px;
  background: rgba(184,134,11,0.04);
}
.sysmap-core-agents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sysmap-core-agents .sysmap-agent {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 10px 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 6px;
  color: rgba(255,255,255,0.92);
}
.sysmap-core-agents .sysmap-agent:nth-child(5) {
  grid-column: 1 / -1;
}
.sysmap-core-mem {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-top: 4px;
}

.sysmap-foot {
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
}

@media (max-width: 900px) {
  .sysmap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sysmap-arrows {
    transform: rotate(90deg);
    height: 40px;
  }
  .sysmap-arrows svg { height: 40px; }
}

/* ============================================================
   PRO TIER — gold-marked flagship (Mercer pass 2026-04-25)
   Restraint: violet primary stays; gold marks only "this is the one".
   ============================================================ */
.bento-feature {
  border-color: rgba(212, 160, 23, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(212,160,23,0.04), rgba(212,160,23,0.01)),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)) !important;
  box-shadow: 0 0 0 1px rgba(212,160,23,0.06) inset !important;
}
.bento-feature .bento-tag {
  background: rgba(212, 160, 23, 0.08) !important;
  border-color: rgba(212, 160, 23, 0.32) !important;
  color: #d4a017 !important;
}
.bento-feature .bento-price {
  color: rgba(212, 160, 23, 0.78) !important;
}
.bento-feature .bento-list li::before {
  background: #d4a017 !important;
  opacity: 0.85 !important;
}
.bento-feature .bento-cta {
  color: #d4a017 !important;
}

/* Typography reverted 2026-04-26 — Inter + JetBrains Mono as before. */

/* About section — second paragraph as principle line (set apart) */
.team-intro p + .team-principle {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 160, 23, 0.18);
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════════════════════
   MERCER PASS — 2026-04-26
   Final accent lock. motion-fx.js adds .motion-fx-active to
   <html> and overrides --accent with violet. We win the
   cascade back by targeting html.motion-fx-active, same
   specificity, later in source order.
   ═══════════════════════════════════════════════════════════ */

html.motion-fx-active {
  --accent:        #FF8A4C !important;
  --accent-hi:     #FFA770 !important;
  --accent-violet: #FF8A4C !important;
  --accent-deep:   #C25E2A !important;
  --accent-soft:   rgba(255, 138, 76, 0.10) !important;
  --accent-edge:   rgba(255, 138, 76, 0.28) !important;
}

/* Kill chapter markers (01 / 11 floating right-edge) — undesigned artifact */
.motion-fx-active section[id]::after {
  display: none !important;
  content: none !important;
}

/* Restore amber on all motion-fx accent references */
html.motion-fx-active .mfx-topo path {
  stroke: rgba(255, 138, 76, 0.12);
}
html.motion-fx-active .v5-glow {
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 138, 76, 0.08), transparent 65%) !important;
}

/* Telegram user bubble — amber, not violet */
html.motion-fx-active .v5-tg-msg.user,
html.motion-fx-active .phone-msg.user,
html.motion-fx-active .sm-tg-msg.user {
  background: var(--accent) !important;
  color: #0D0D0D !important;
}

/* Hero accent word */
html.motion-fx-active .hero-c-headline .accent {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  background: none !important;
}

/* Section headline accent — override motion-fx.css line 446 which fades to mfx-fg-2 */
html.motion-fx-active .section-headline .accent,
html.motion-fx-active .cta-strip-headline .accent,
html.motion-fx-active .contact-headline .accent,
html.motion-fx-active .contact-headline .accent-text {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  background: none !important;
}

/* Primary buttons — amber fill */
html.motion-fx-active .btn-hero,
html.motion-fx-active .btn-submit {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #0D0D0D !important;
}
html.motion-fx-active .btn-hero:hover,
html.motion-fx-active .btn-submit:hover {
  background: var(--accent-hi) !important;
  border-color: var(--accent-hi) !important;
  color: #0D0D0D !important;
}

/* Shot points bullet */
html.motion-fx-active #telegram-shot .shot-points li::before {
  background: var(--accent) !important;
}

/* Mobile: cap the hero min-height so there's no dead space above */
@media (max-width: 768px) {
  #hero-v6.hero-centered {
    min-height: 70vh !important;
    padding-top: 110px !important;
  }
  /* Eyebrow pill: prevent two-line wrap on mobile */
  #hero-v6 .hero-eyebrow {
    font-size: 9.5px !important;
    letter-spacing: 0.10em !important;
    max-width: 90vw;
    white-space: normal;
    text-align: center;
  }
  .eyebrow-text {
    white-space: normal;
  }
}

/* Desktop hero: tighten the dead space at top */
#hero-v6.hero-centered {
  min-height: 78vh !important;
  padding-top: 130px !important;
  padding-bottom: 80px !important;
}
