/* =============================================================
   CONCLAVELY — Executive dark design system
   Visual language matched to agentivx.ai (ink / panel / gold / blue)
   ============================================================= */

/* ---- Tokens ------------------------------------------------ */
:root {
  --bg:        #0b0b0f;   /* ink */
  --bg-2:      #08080e;   /* deep ink (pinned scenes) */
  --panel:     #14141b;
  --panel-2:   #1b1b24;
  --ink:       #f5f4ef;
  --dim:       #9b9ba6;
  --dimmer:    #6b6b78;
  --line:      #23232e;
  --line-2:    #2e2e3b;

  --gold-1:    #e7ce94;   /* light gold */
  --gold-2:    #c9a86a;   /* core gold */
  --gold-3:    #b8915a;
  --gold-grad: linear-gradient(100deg, #e7ce94, #c9a86a 55%, #b8915a);
  --gold-soft: rgba(201,168,106,0.10);

  --blue:      #3b82f6;   /* accent blue (dots, pills) */
  --blue-deep: #1d4ed8;
  --green:     #34d27f;
  --red:       #ff6b6b;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1152px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a, button { touch-action: manipulation; }
[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--gold-1);
  outline-offset: 3px;
}
.skip-link {
  position: fixed; left: 18px; top: 14px; z-index: 500;
  transform: translateY(-160%); padding: 10px 14px; border-radius: 8px;
  color: #16120a; background: var(--gold-1); font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* page-load veil (fade from black) */
.veil { position: fixed; inset: 0; z-index: 400; background: var(--bg); pointer-events: none; animation: veil .8s ease .15s forwards; }
@keyframes veil { to { opacity: 0; visibility: hidden; } }

/* ---- Layout ----------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; border-top: 1px solid var(--line); }
.section.no-line { border-top: none; }
.section-sm { padding: 72px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* line grid backdrop (masked) */
.bg-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent);
}

/* floating glow orbs */
.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(120px); }
.orb.gold  { background: rgba(201,168,106,0.13); }
.orb.blue  { background: rgba(29,78,216,0.20); }
.orb.a { animation: float-a 16s ease-in-out infinite alternate; }
.orb.b { animation: float-b 20s ease-in-out infinite alternate; }
@keyframes float-a { from { transform: translate3d(0,0,0);} to { transform: translate3d(-30px,26px,0);} }
@keyframes float-b { from { transform: translate3d(0,0,0);} to { transform: translate3d(28px,-30px,0);} }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
.h-xl { font-size: clamp(2.9rem, 6.4vw, 4.75rem); letter-spacing: -0.025em; line-height: 1.02; }
.h-lg { font-size: clamp(1.95rem, 4.2vw, 2.85rem); letter-spacing: -0.02em; }
.h-md { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.h-sm { font-size: 1.25rem; }
p { color: var(--dim); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: var(--dim); line-height: 1.7; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
strong { color: var(--ink); font-weight: 600; }

/* eyebrow — uppercase, wide tracking, gold, flanked by hairlines */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .32em;
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: rgba(201,168,106,0.6); }
.eyebrow.center { justify-content: center; }

.section-head { margin-bottom: 56px; position: relative; z-index: 1; }
.section-head .lead { margin-top: 18px; }
.section-head.center { max-width: 740px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 500; font-size: .95rem; line-height: 1;
  padding: 14px 22px; border-radius: 8px;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-2); color: #16120a; font-weight: 600; box-shadow: 0 4px 20px rgba(201,168,106,0.22); }
.btn-gold:hover { background: var(--gold-1); box-shadow: 0 8px 30px rgba(201,168,106,0.35); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: rgba(201,168,106,0.55); background: rgba(201,168,106,0.06); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; }
.btn-arrow svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.link-gold { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; font-size: .95rem; transition: gap .2s ease, color .2s ease; }
.link-gold:hover { gap: 13px; color: var(--gold-1); }
.link-gold svg { width: 15px; height: 15px; }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--dim);
}
.pill.gold { border-color: rgba(201,168,106,0.32); color: var(--gold-1); background: rgba(201,168,106,0.09); }
.pill.blue { border-color: rgba(59,130,246,0.4); color: #a9c7ff; background: rgba(29,78,216,0.12); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: pulse 2s infinite; }
.pill.gold .dot { background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); }

/* Public capability vocabulary. Keep these labels aligned with capabilities.v1.json. */
.status-badge {
  display: inline-flex; align-items: center; width: max-content; padding: 5px 9px;
  border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-mono);
  font-size: .68rem; font-weight: 600; line-height: 1; letter-spacing: .03em;
}
.status-available { color: #79e7ad; border-color: rgba(52,210,127,.38); background: rgba(52,210,127,.09); }
.status-configurable { color: #a9c7ff; border-color: rgba(59,130,246,.4); background: rgba(29,78,216,.12); }
.status-early-access { color: var(--gold-1); border-color: rgba(201,168,106,.38); background: rgba(201,168,106,.09); }
.status-planned { color: var(--dim); border-color: var(--line-2); background: rgba(255,255,255,.03); }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* ---- Nav -------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11,11,15,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled { background: rgba(11,11,15,0.88); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark {
  width: 33px; height: 33px; border-radius: 8px; display: grid; place-items: center;
  background: var(--gold-grad); color: #16120a; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(201,168,106,0.28);
}
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.01em; }
.brand .name span { color: var(--gold-2); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--dim);
  transition: color .2s ease, background .2s ease;
}
.nav-links > li > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav-trigger svg { width: 12px; height: 12px; opacity: .7; transition: transform .2s ease; }
.nav-item { position: relative; }
.nav-item:hover .nav-trigger svg, .nav-item.open .nav-trigger svg { transform: rotate(180deg); }

/* dropdown panels */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 14px;
  background: rgba(17,17,24,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 50;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; transition: background .2s ease; }
.dropdown a:hover { background: rgba(201,168,106,0.08); }
.dropdown a .d-title { font-weight: 600; color: var(--ink); font-size: .9rem; }
.dropdown a .d-desc { font-size: .78rem; color: var(--dimmer); margin-top: 2px; }
.dropdown .d-label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dimmer); padding: 6px 12px 8px; }
.dropdown.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 220px; gap: 12px; }
.dropdown .d-feature {
  border: 1px solid rgba(201,168,106,0.28); border-radius: 12px; padding: 16px;
  background: linear-gradient(170deg, rgba(201,168,106,0.10), rgba(201,168,106,0.03));
  display: flex; flex-direction: column; gap: 6px;
}
.dropdown .d-feature .f-tag { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.dropdown .d-feature .f-title { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.dropdown .d-feature p { font-size: .78rem; line-height: 1.5; }
.dropdown .d-feature .link-gold { font-size: .8rem; margin-top: auto; padding-top: 8px; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 11px 18px; font-size: .88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:last-child { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 290;
  background: rgba(11,11,15,0.98); backdrop-filter: blur(20px);
  padding: 24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 16px 4px; font-size: 1.2rem; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav-section { border-bottom: 1px solid var(--line); }
.mobile-nav-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.2rem; font-family: var(--font-display); font-weight: 600; text-align: left; }
.mobile-nav-trigger::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.mobile-nav-section.open .mobile-nav-trigger::after { transform: rotate(225deg) translate(-2px, -2px); }
.mobile-submenu { display: none; padding: 0 0 12px 10px; }
.mobile-nav-section.open .mobile-submenu { display: block; }
.mobile-submenu a { padding: 10px 12px; border-bottom: 0; border-radius: 8px; font-family: var(--font-body); font-size: .92rem; font-weight: 500; color: var(--dim); }
.mobile-submenu a:hover { color: var(--ink); background: rgba(201,168,106,.08); }
.mobile-submenu .d-title, .mobile-submenu .d-desc { display: block; }
.mobile-submenu .d-desc { margin-top: 2px; color: var(--dimmer); font-size: .76rem; font-weight: 400; }
.mobile-menu .btn { margin-top: 24px; width: 100%; }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); padding: calc(var(--nav-h) + 60px) 0 90px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 25%, #15151f, #0a0a10); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero .fade-top { position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(to bottom, var(--bg), transparent); pointer-events: none; }
.hero .fade-bot { position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { margin: 22px 0 0; text-wrap: balance; }
.hero h1 .row2 { display: block; margin-top: 6px; }
.hero .sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--dim); max-width: 640px; margin: 26px auto 0; text-wrap: balance; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-trust { margin-top: 26px; font-size: .82rem; color: var(--dimmer); font-family: var(--font-mono); letter-spacing: .02em; }

/* staggered load-in for hero children */
.load-in { opacity: 0; transform: translateY(18px); animation: loadin .8s cubic-bezier(.2,.7,.2,1) forwards; }
.load-in.l2 { animation-delay: .12s; } .load-in.l3 { animation-delay: .24s; }
.load-in.l4 { animation-delay: .36s; } .load-in.l5 { animation-delay: .48s; }
@keyframes loadin { to { opacity: 1; transform: none; } }

/* page hero (interior pages) */
.page-hero { padding: calc(var(--nav-h) + 84px) 0 64px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.ribbon { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ribbon::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: rgba(201,168,106,0.12); filter: blur(130px); }
.ribbon::after { content: ""; position: absolute; width: 560px; height: 560px; left: -160px; bottom: -220px; border-radius: 50%; background: rgba(29,78,216,0.16); filter: blur(140px); }

/* ---- Marquee ---------------------------------------------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 15px 0; background: rgba(255,255,255,0.012); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 500; color: var(--dim); padding: 0 24px; white-space: nowrap; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(201,168,106,0.7); }
.marquee-track span:nth-child(even)::before { background: rgba(59,130,246,0.8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* big outlined word section */
.mega { position: relative; min-height: 72vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 90px 0; background: var(--bg-2); }
.mega .container { position: relative; z-index: 1; }
.mega .word {
  display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 10.5vw, 7.6rem); line-height: .98; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  transition: color .6s ease, -webkit-text-stroke-color .6s ease;
}
.mega .word.in { color: var(--ink); -webkit-text-stroke-color: transparent; }
.mega .word.gold.in { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mega .cap { margin-top: 30px; }

/* ---- Cards ------------------------------------------------ */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: rgba(201,168,106,0.45); background: var(--panel-2); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(201,168,106,0.1); border: 1px solid rgba(201,168,106,0.25);
  color: var(--gold-1); font-size: 1.2rem; margin-bottom: 20px;
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { font-size: .93rem; line-height: 1.65; }

.grid { display: grid; gap: 18px; position: relative; z-index: 1; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* feature card — big display word (Less / Faster / Scalable / Governed) */
.feat { padding: 26px; }
.feat .big { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feat .cap { font-size: .84rem; color: var(--ink); font-weight: 600; margin: 2px 0 12px; }
.feat p { font-size: .89rem; color: var(--dim); }

/* checklist */
.checks li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: .94rem; color: var(--dim); }
.checks li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(201,168,106,0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a86a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ---- Split / orbit visual ---------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; position: relative; z-index: 1; }
.split .col-text h2 { margin-bottom: 18px; }
.orbit-box { position: relative; aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); background: #0a0a12; overflow: hidden; }
.orbit-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.orbit-box canvas:active { cursor: grabbing; }
.orbit-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dimmer); pointer-events: none; }

/* typewriter line */
.typeline { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin: 22px 0 6px; min-height: 1.6em; }
.typeline .tw { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.typeline .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold-2); vertical-align: -0.15em; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.microtrust { font-size: .8rem; color: var(--dimmer); font-family: var(--font-mono); letter-spacing: .02em; margin-top: 22px; }

/* ---- Mission / initiatives --------------------------------- */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.mini { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 20px; transition: border-color .25s ease, transform .25s ease; }
.mini:hover { border-color: rgba(201,168,106,0.4); transform: translateY(-2px); }
.mini h4 { font-size: .95rem; margin-bottom: 7px; }
.mini p { font-size: .82rem; line-height: 1.55; }

/* ---- Steps ------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; position: relative; z-index: 1; }
.steps.four { grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .25s, transform .25s; }
.step:hover { border-color: rgba(201,168,106,0.4); transform: translateY(-3px); }
.step .snum { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.step .sicon { display: none; }
.step h3 { font-size: 1.14rem; margin: 12px 0 10px; }
.step p { font-size: .9rem; }
.step ul { margin-top: 15px; }
.step ul li { font-size: .83rem; color: var(--dimmer); padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.step ul li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); flex-shrink: 0; }

/* ---- Outcomes rows ---------------------------------------- */
.outcomes { border-top: 1px solid var(--line); position: relative; z-index: 1; }
.outcome { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: baseline; padding: 30px 6px; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.outcome:hover { background: rgba(255,255,255,0.015); }
.outcome .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.outcome h3 { font-size: 1.06rem; margin-bottom: 6px; }
.outcome p { font-size: .92rem; max-width: 560px; }

/* ---- Cost comparison -------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; z-index: 1; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--panel); }
.compare-card.bad { background: rgba(255,107,107,0.03); }
.compare-card.good { background: linear-gradient(170deg, rgba(201,168,106,0.08), rgba(20,20,27,0.9)); border-color: rgba(201,168,106,0.35); }
.compare-card .tag { display: inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:18px; }
.compare-card.bad .tag { color: var(--red); }
.compare-card.good .tag { color: var(--gold-1); }
.compare-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.compare-row span:first-child { color: var(--dim); }
.compare-row span:last-child { font-family: var(--font-mono); color: var(--ink); }
.compare-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; }
.compare-total .big { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; }
.compare-card.good .compare-total .big { background: var(--gold-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; }

/* ---- Executive cards -------------------------------------- */
.exec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; position: relative; z-index: 1; }
.exec {
  text-align: center; padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.exec:hover { transform: translateY(-4px); border-color: rgba(201,168,106,0.45); box-shadow: 0 18px 44px rgba(0,0,0,0.4); }
.exec .avatar {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-1);
  background: radial-gradient(circle at 30% 25%, rgba(201,168,106,0.3), rgba(201,168,106,0.06));
  border: 1px solid rgba(201,168,106,0.4);
}
.exec .role { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; color: var(--gold-2); text-transform: uppercase; }
.exec h3 { font-size: 1.22rem; margin: 8px 0 2px; }
.exec .title { font-size: .8rem; color: var(--dim); }
.exec .metric { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--gold-1); font-family: var(--font-mono); }

.exec-row { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.exec-row:last-child { border-bottom: none; }
.exec-row .portrait { aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; font-size: 4rem; background: radial-gradient(circle at 30% 25%, rgba(201,168,106,0.22), rgba(11,11,15,0.6)); border: 1px solid rgba(201,168,106,0.3); }
.exec-row h3 { font-size: 1.9rem; }
.exec-row .role { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 6px; }

/* ---- Dashboard / command center ---------------------------- */
.dash {
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(165deg, #14141b, #0d0d13);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  position: relative; z-index: 1;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--line-2); }
.dash-bar .url { font-family: var(--font-mono); font-size: .76rem; color: var(--dimmer); margin-left: 10px; }
.dash-bar .live { margin-left: auto; font-family: var(--font-mono); font-size: .7rem; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.dash-bar .live::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--green); box-shadow:0 0 8px var(--green); animation: pulse 2s infinite; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 0; }
.dash-tabs .chip { font-size: .76rem; font-weight: 500; color: var(--dim); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.dash-tabs .chip.on, .dash-tabs .chip:hover { color: var(--gold-1); border-color: rgba(201,168,106,0.45); background: rgba(201,168,106,0.08); }
.dash-body { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; padding: 18px; }
.dash-panel { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: rgba(255,255,255,0.015); }
.dash-panel h4 { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; font-weight: 500; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: .86rem; color: var(--ink); }
.dash-row:last-child { border-bottom: none; }
.dash-row .dept { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(201,168,106,0.3); border-radius: 6px; padding: 3px 8px; flex-shrink: 0; }
.dash-row .st { margin-left: auto; font-size: .7rem; font-family: var(--font-mono); color: var(--green); flex-shrink: 0; }
.dash-row .st.active { color: var(--blue); }
.dash-agent, .dash-task { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .86rem; color: var(--ink); }
.dash-agent .ad { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.dash-task .tc { color: var(--green); }
.dash-money { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.dash-money.gold { background: var(--gold-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.dash-money + .ml { font-size: .78rem; color: var(--dimmer); }
.dash-note { margin-top: 14px; border: 1px solid rgba(59,130,246,0.3); background: rgba(29,78,216,0.08); border-radius: 10px; padding: 13px 15px; font-size: .84rem; color: #c9dbff; }
.dash-note b { color: #fff; font-weight: 600; }

/* ---- Integrations ----------------------------------------- */
.integrations { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 1; }
.integrations .chip { padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; color: var(--dim); background: var(--panel); font-family: var(--font-mono); letter-spacing: .02em; }

/* ---- Stats ------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 26px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.7rem); letter-spacing: -0.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { font-size: .84rem; color: var(--dim); margin-top: 6px; }

/* ---- Testimonials (continuous marquee) --------------------- */
.t-marquee { overflow: hidden; position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.t-track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.t-marquee:hover .t-track { animation-play-state: paused; }
.tcard { flex: 0 0 380px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--panel); white-space: normal; }
.tcard .quote { font-size: .92rem; color: var(--dim); line-height: 1.7; margin-bottom: 20px; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--gold-1); background: rgba(201,168,106,0.12); border: 1px solid rgba(201,168,106,0.3); flex-shrink: 0; }
.tcard .who .nm { font-weight: 600; font-size: .9rem; color: var(--ink); }
.tcard .who .co { font-size: .78rem; color: var(--dimmer); }
/* legacy carousel fallback (interior pages) */
.tcar { position: relative; overflow: hidden; }
.tcar-track { display: flex; gap: 18px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.tcar .tcard { flex: 0 0 calc(33.333% - 12px); }
.tcar-nav { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.tcar-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.tcar-nav button:hover { border-color: var(--gold-2); background: rgba(201,168,106,0.08); }
.tcar-nav svg { width: 17px; height: 17px; }

/* ---- FAQ -------------------------------------------------- */
.faq { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 10px; transition: border-color .25s ease; }
.faq-item.open { border-color: rgba(201,168,106,0.35); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .3s ease, background .3s ease; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content:""; position:absolute; background: var(--gold-2); border-radius: 2px; }
.faq-q .ic::before { width: 11px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 11px; transition: transform .3s; }
.faq-item.open .faq-q .ic { border-color: var(--gold-2); background: rgba(201,168,106,0.1); }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg) scaleX(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 22px; font-size: .95rem; line-height: 1.7; }

/* ---- Promise ----------------------------------------------- */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.promise-grid .mini h4 { display: flex; align-items: center; gap: 9px; }
.promise-grid .mini h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px rgba(201,168,106,0.5); }

/* ---- Pinned crossfade scene -------------------------------- */
.pin-wrap { position: relative; height: 320vh; }
.pin-scene { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pin-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.pin-eyebrow { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); }
.pin-lines { position: relative; width: 100%; text-align: center; height: 1.4em; font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.pin-lines h2 { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.96); width: max-content; max-width: 92vw; font-size: 1em; line-height: 1.05; letter-spacing: -0.02em; opacity: 0; transition: opacity .45s ease, transform .45s ease; }
.pin-lines h2.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.pin-progress { position: absolute; left: 32px; right: 32px; bottom: 48px; height: 1px; background: rgba(46,46,59,0.6); }
.pin-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-deep), var(--gold-2)); }

/* ---- CTA band --------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 110px 0 120px; border-top: 1px solid var(--line); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(640px 320px at 50% 0%, rgba(201,168,106,0.13), transparent 70%); z-index:0; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .hero-cta { margin-top: 30px; }

/* ---- Footer ----------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 36px; background: #0a0a0f; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: 18px; }
.footer .tagline { font-size: .9rem; color: var(--dim); max-width: 280px; margin-bottom: 20px; }
.footer .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; color: var(--dim); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.footer .badge svg { width: 14px; height: 14px; color: var(--gold-2); }
.footer-col h5 { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dimmer); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 7px 0; font-size: .9rem; color: var(--dim); transition: color .2s; }
.footer-col a:hover { color: var(--gold-1); }
.footer-soon { display: block; padding: 7px 0; font-size: .9rem; color: var(--dimmer); }
.footer-soon small { margin-left: 6px; font-family: var(--font-mono); font-size: .62rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 16px; }
.footer-bottom .copy { font-size: .82rem; color: var(--dimmer); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); transition: color .2s ease, border-color .2s ease; }
.footer-social a:hover { border-color: var(--gold-2); color: var(--gold-1); }
.footer-social svg { width: 16px; height: 16px; }

/* ---- Trust, policy & utility pages ------------------------ */
.content-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; align-items: start; }
.content-nav { position: sticky; top: calc(var(--nav-h) + 28px); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--panel); }
.content-nav .eyebrow { margin-bottom: 12px; }
.content-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--dim); font-size: .88rem; transition: color .2s ease, background .2s ease; }
.content-nav a:hover { color: var(--ink); background: rgba(201,168,106,.08); }
.prose { min-width: 0; }
.prose h2 { margin: 42px 0 14px; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 1.05rem; }
.prose p, .prose li { color: var(--dim); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 20px; padding-left: 20px; list-style: disc; }
.prose li { margin: 7px 0; }
.prose a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.notice { border: 1px solid rgba(201,168,106,.35); border-radius: 12px; padding: 18px 20px; background: rgba(201,168,106,.07); color: var(--dim); }
.notice strong { color: var(--gold-1); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trust-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--panel); }
.trust-card .metric { display: inline-block; margin-bottom: 12px; }
.trust-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.trust-card p { font-size: .92rem; }
.connection-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.connection-item { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--panel); }
.connection-item h3 { margin-bottom: 5px; font-size: .98rem; }
.connection-item p { font-size: .82rem; }
.error-page { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 100px 0; text-align: center; }
.error-code { font-family: var(--font-mono); color: var(--gold-2); letter-spacing: .24em; text-transform: uppercase; }

/* ---- Scroll reveal ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---- Misc ------------------------------------------------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list .t { font-family: var(--font-mono); font-size: .74rem; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--dim); background: var(--panel); }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .exec-grid, .stats, .mission-grid, .steps, .steps.four, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .compare, .dash-body, .promise-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .exec-row { grid-template-columns: 1fr; gap: 22px; }
  .exec-row .portrait { max-width: 180px; }
  .outcome { grid-template-columns: 1fr; gap: 8px; }
  .tcar .tcard { flex: 0 0 100%; }
  .section { padding: 80px 0; }
  .pin-wrap { height: 260vh; }
  .content-shell { grid-template-columns: 1fr; gap: 28px; }
  .content-nav { position: static; }
  .connection-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .exec-grid, .stats, .mission-grid, .steps, .steps.four, .mini-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .container { padding: 0 18px; }
  .tcard { flex-basis: 300px; }
  .trust-grid, .connection-list { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .load-in { opacity: 1; transform: none; }
  .veil { display: none; }
  .mega .word { color: var(--ink); -webkit-text-stroke-color: transparent; }
  .pin-lines h2:first-child { opacity: 1; }
}
