/* ---------- TOKENS ---------- */
:root {
  --bg: #07070A;
  --bg-elev-1: #0B0B11;
  --bg-elev-2: #10101A;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #F4F4F3;
  --text-soft: #B6B5AE;
  --text-mute: #6E6D66;
  --text-faint: #46453F;
  --gold-1: #F5C97B;
  --gold-2: #E1A75B;
  --gold-3: #B88142;
  --gold-glow: rgba(245, 201, 123, 0.18);
  --cyan: #5EEAD4;
  --red: #FF6B6B;
  --green: #7CE7B0;
  --gold: var(--gold-1);

  --display: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold-1); color: #0A0A0E; }

/* ---------- ATMOSPHERE ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.45;
}
.orb--a { width: 720px; height: 720px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(245,201,123,0.40), rgba(245,201,123,0) 70%); }
.orb--b { width: 560px; height: 560px; top: 30vh; right: -200px; background: radial-gradient(circle, rgba(94,234,212,0.18), rgba(94,234,212,0) 70%); }
.orb--c { width: 900px; height: 900px; bottom: -360px; left: 30vw; background: radial-gradient(circle, rgba(184,129,66,0.32), rgba(184,129,66,0) 70%); }

/* ---------- LAYOUT ---------- */
main, .nav, .foot {
  position: relative; z-index: 2;
}
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}
.section__head {
  max-width: 760px; margin-bottom: clamp(48px, 8vw, 88px);
}
.section__index {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 24px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.section__title {
  font-family: var(--display); font-weight: 350;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
}
.section__title em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(120deg, var(--gold-1) 0%, var(--gold-2) 70%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__lede {
  margin-top: 28px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1);
  box-shadow: 0 0 12px var(--gold-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.55; transform: scale(0.85);} }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.32s var(--ease-out);
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: #1A140A;
  border-color: rgba(255, 220, 160, 0.6);
  box-shadow:
    0 0 0 1px rgba(245, 201, 123, 0.3),
    0 14px 30px -10px rgba(245, 201, 123, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(245, 201, 123, 0.5),
    0 22px 40px -12px rgba(245, 201, 123, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(245, 201, 123, 0.35);
}
.play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-1); color: #1A140A;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  background: rgba(7, 7, 10, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.nav__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(245,201,123,0.15), rgba(245,201,123,0.02));
  border: 1px solid var(--line-strong);
  color: var(--gold-1);
}
.nav__type { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav__name { font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.nav__sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; color: var(--text-mute); text-transform: uppercase; }
.nav__links {
  display: inline-flex; gap: 28px; justify-content: center;
  font-size: 13.5px; color: var(--text-soft);
}
.nav__links a {
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold-1); transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 14vw, 160px) var(--pad-x) clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero__inner { max-width: 920px; position: relative; z-index: 2; }
.hero__title {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(56px, 10.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
}
.hero__title em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(105deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
.hero__lede {
  margin-top: clamp(28px, 4vw, 40px);
  max-width: 620px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--text-soft);
}
.lede-accent {
  color: var(--text); border-bottom: 1px dashed var(--gold-2); padding-bottom: 2px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 44px);
}
.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(56px, 8vw, 84px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-num {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__meta-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute);
}
.hero__meta-divider {
  width: 1px; height: 36px; background: var(--line-strong);
}

.hero__edge {
  position: absolute; right: var(--pad-x); top: 30%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.hero__edge-line { width: 1px; height: 96px; background: linear-gradient(to bottom, transparent, var(--gold-2), transparent); }
.hero__edge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1); }
@media (max-width: 960px) { .hero__edge { display: none; } }

/* ---------- PARTNERS ---------- */
.partners {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 4vw, 40px) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent);
  overflow: hidden;
}
.partners__label {
  max-width: var(--container); margin: 0 auto 18px;
  padding: 0 var(--pad-x);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
}
.marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 56px;
}
.logo-word {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.015em;
  color: var(--text-soft);
  opacity: 0.78;
  transition: opacity 0.3s, color 0.3s;
}
.logo-word:hover { opacity: 1; color: var(--gold-1); }
.dot-sep { color: var(--gold-2); font-size: 10px; opacity: 0.6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SERVICES ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.service-card {
  position: relative;
  grid-column: span 6;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(245,201,123,0.4), transparent 40%, transparent 60%, rgba(245,201,123,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-2px); background: var(--surface-strong); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,201,123,0.15), rgba(245,201,123,0.02));
  border: 1px solid var(--line-strong);
  color: var(--gold-1);
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.service-card p { color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.service-card__list {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-card__list li {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-soft);
}
@media (max-width: 800px) { .service-card { grid-column: span 12; } }

/* ---------- DASHBOARD ---------- */
.dashboard {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(245, 201, 123, 0.05);
}
.dashboard::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: 18px;
  background: radial-gradient(800px 200px at 50% -20%, rgba(245,201,123,0.10), transparent 70%);
}
.dashboard__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--line);
}
.dashboard__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dashboard__dot--r { background: #FF5F57; }
.dashboard__dot--y { background: #FEBC2E; }
.dashboard__dot--g { background: #28C840; }
.dashboard__url {
  margin-left: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--text-mute);
  padding: 4px 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line);
  border-radius: 6px;
}
.dashboard__body {
  display: grid; grid-template-columns: 220px 1fr;
  min-height: 540px;
}

/* dashboard sidebar */
.dash-side {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.012);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.dash-side__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 16px; font-weight: 500;
  margin-bottom: 28px;
}
.dash-side__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, rgba(245,201,123,0.18), rgba(245,201,123,0.02));
  border: 1px solid var(--line-strong); color: var(--gold-1);
}
.dash-side__nav {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.dash-side__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}
.dash-side__nav a:hover { background: var(--surface); color: var(--text); }
.dash-side__nav a.is-active {
  background: linear-gradient(90deg, rgba(245,201,123,0.10), rgba(245,201,123,0.02));
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.dash-side__icon {
  font-family: var(--mono); font-size: 13px; color: var(--gold-1); width: 14px; text-align: center;
}
.dash-side__footer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 18px; margin-top: 18px;
  border-top: 1px solid var(--line);
}
.dash-side__avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  color: #1A140A; font-family: var(--display); font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dash-side__name { font-size: 12.5px; color: var(--text); }
.dash-side__role { font-family: var(--mono); font-size: 10px; color: var(--text-mute); letter-spacing: 0.06em; }

/* dashboard main */
.dash-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 22px; }
.dash-main__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-main__crumbs { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px; }
.dash-main__crumbs span { color: var(--gold-1); }
.dash-main__title { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.015em; }
.dash-main__controls { display: flex; align-items: center; gap: 6px; }
.pill {
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--text-mute);
  border: 1px solid var(--line);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pill:hover { color: var(--text); border-color: var(--line-strong); }
.pill.is-active { color: var(--text); background: var(--surface-strong); border-color: var(--line-strong); }
.dash-export {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; margin-left: 8px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: #1A140A;
  border: 1px solid rgba(255,220,160,0.5);
}

.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.kpi {
  position: relative;
  padding: 18px 18px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.kpi__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.kpi__value {
  margin-top: 8px;
  font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text);
}
.kpi__cents { color: var(--text-mute); font-size: 18px; font-weight: 400; }
.kpi__delta {
  margin-top: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
}
.kpi__delta span { color: var(--text-mute); margin-left: 4px; }
.kpi__delta.is-up { color: var(--green); }
.kpi__delta.is-down { color: var(--red); }
.kpi__spark {
  position: absolute; right: 12px; bottom: 12px; width: 72px; height: 22px; color: var(--gold-1); opacity: 0.7;
}
@media (max-width: 900px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } .dashboard__body { grid-template-columns: 1fr; } .dash-side { border-right: 0; border-bottom: 1px solid var(--line); } }

.dash-chart {
  padding: 18px 4px 10px 4px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.dash-chart__head {
  padding: 0 18px 12px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.dash-chart__head h4 { font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: -0.01em; }
.dash-chart__head p { font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.dash-chart__legend { display: flex; gap: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--text-soft); }
.dash-chart__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dash-chart__svg { width: 100%; height: 200px; }
.dash-chart__x {
  display: flex; justify-content: space-between; padding: 4px 18px 0;
  font-family: var(--mono); font-size: 10px; color: var(--text-mute);
}

.dash-table {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dash-table__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.dash-table__head h4 { font-family: var(--display); font-size: 17px; font-weight: 400; }
.dash-table__more { font-family: var(--mono); font-size: 11px; color: var(--gold-1); }
.dash-table__row {
  display: grid; grid-template-columns: 2fr 0.7fr 0.8fr 0.9fr 0.6fr 0.9fr;
  gap: 12px; align-items: center;
  padding: 12px 18px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.dash-table__row:last-child { border-bottom: 0; }
.dash-table__row:hover:not(.dash-table__row--head) { background: rgba(255,255,255,0.02); }
.dash-table__row--head {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute);
  background: rgba(255,255,255,0.015);
}
.dash-table__name { color: var(--text); font-weight: 500; }
.tag {
  display: inline-block; padding: 3px 8px; border-radius: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
}
.tag--meta { color: #7BBEFF; background: rgba(123, 190, 255, 0.06); border-color: rgba(123, 190, 255, 0.2); }
.tag--google { color: #FFD27B; background: rgba(255, 210, 123, 0.05); border-color: rgba(255, 210, 123, 0.2); }
.num-up { color: var(--green); font-family: var(--mono); font-size: 12px; }
.num-down { color: var(--red); font-family: var(--mono); font-size: 12px; }
.num-flat { color: var(--text-soft); font-family: var(--mono); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; }
.status i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status--on { color: var(--green); } .status--on i { background: var(--green); box-shadow: 0 0 8px rgba(124,231,176,0.6); }
.status--warn { color: var(--gold-1); } .status--warn i { background: var(--gold-1); box-shadow: 0 0 8px var(--gold-glow); }
.status--off { color: var(--text-mute); } .status--off i { background: var(--text-mute); }

@media (max-width: 700px) {
  .dash-table__row { grid-template-columns: 1.6fr 0.7fr 0.9fr; }
  .dash-table__row > span:nth-child(n+4) { display: none; }
}

/* ---------- PROCESS ---------- */
.steps {
  display: grid; gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.step {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--bg);
  transition: background 0.3s;
}
.step:hover { background: var(--bg-elev-1); }
.step__num {
  font-family: var(--display); font-style: italic;
  font-size: 64px; font-weight: 300;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}
.step__body h3 { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 8px; }
.step__body p { color: var(--text-soft); font-size: 15.5px; max-width: 620px; }
@media (max-width: 700px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .step__num { font-size: 44px; }
}

/* ---------- STATS ---------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat {
  padding: 44px 32px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.stat:hover { border-color: rgba(245, 201, 123, 0.25); transform: translateY(-3px); }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.4;
}
.stat__num {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(72px, 9vw, 124px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 24px;
}
.stat h3 { font-family: var(--display); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.stat p { color: var(--text-soft); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 880px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- PILLARS ---------- */
.pillars__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 18px; overflow: hidden;
}
.pillar { padding: 40px 36px; background: var(--bg); transition: background 0.3s; }
.pillar:hover { background: var(--bg-elev-1); }
.pillar__index {
  font-family: var(--display); font-style: italic;
  font-size: 28px; color: var(--gold-1);
  margin-bottom: 24px;
}
.pillar h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-size: 15px; max-width: 460px; }
@media (max-width: 800px) { .pillars__grid { grid-template-columns: 1fr; } }

/* ---------- VOICES ---------- */
.voices__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.voice {
  margin: 0; padding: 36px 32px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 28px;
  position: relative;
}
.voice::before {
  content: '"';
  position: absolute; top: 4px; right: 22px;
  font-family: var(--display); font-style: italic;
  font-size: 110px; line-height: 1;
  color: var(--gold-2); opacity: 0.18;
}
.voice blockquote { margin: 0; }
.voice blockquote p {
  font-family: var(--display); font-size: 20px; font-weight: 350; line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.voice__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  color: #1A140A; font-family: var(--display); font-weight: 500; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
}
.voice__name { font-size: 14px; color: var(--text); font-weight: 500; }
.voice__role { font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.06em; }
@media (max-width: 960px) { .voices__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(80px, 12vw, 140px); }
.cta__inner {
  position: relative;
  padding: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 64px);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245,201,123,0.08), rgba(245,201,123,0.015) 60%, transparent);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta__inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 110%, rgba(245,201,123,0.18), transparent 70%);
}
.cta__title {
  font-family: var(--display); font-weight: 350;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.0; letter-spacing: -0.025em;
  margin-top: 24px;
}
.cta__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__lede {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-soft);
}
.cta__buttons { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FOOTER ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  padding: 64px var(--pad-x) 32px;
}
.foot__top {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot__brand-block { display: flex; flex-direction: column; gap: 24px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__name { font-family: var(--display); font-size: 20px; font-weight: 500; }
.foot__name span { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.18em; margin-left: 4px; }
.foot__tag { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; margin-top: 6px; }
.foot__address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
  padding-left: 52px;
  border-left: 1px dashed var(--line-strong);
  padding: 4px 0 4px 16px;
  max-width: 280px;
}
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__head {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 6px;
}
.foot__col a { font-size: 13.5px; color: var(--text-soft); transition: color 0.2s; }
.foot__col a:hover { color: var(--gold-1); }
.foot__social { display: inline-flex; align-items: center; gap: 8px; }
.foot__social svg { color: var(--gold-1); flex-shrink: 0; }
.foot__bottom {
  max-width: var(--container); margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--text-mute);
}
.foot__legal { display: inline-flex; gap: 10px; }
.foot__legal span { opacity: 0.5; }
@media (max-width: 800px) {
  .foot__top { grid-template-columns: 1fr; gap: 36px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 5vh 20px 5vh;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: fixed; inset: 0;
  background: rgba(4, 4, 7, 0.78);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  animation: fade 0.32s var(--ease-out);
}
.modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 640px;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.9),
    0 0 0 1px rgba(245, 201, 123, 0.06);
  animation: rise 0.45s var(--ease-out);
  margin: auto 0;
}
.modal__panel::before {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(245,201,123,0.4), transparent 40%, transparent 70%, rgba(245,201,123,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.modal__close:hover { color: var(--text); background: var(--surface-strong); border-color: var(--line-strong); }
.modal__head { margin-bottom: 28px; }
.modal__title {
  margin-top: 18px;
  font-family: var(--display); font-weight: 350;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05; letter-spacing: -0.02em;
}
.modal__title em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal__lede {
  margin-top: 14px; color: var(--text-soft); font-size: 15px; line-height: 1.55;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
body.modal-open { overflow: hidden; }

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .form__row--2 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
}
.field__label i { color: var(--gold-1); font-style: normal; margin-left: 2px; }
.field input,
.field textarea,
.field__select select {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 14.5px;
  color: var(--text);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; font-family: var(--sans); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:hover, .field textarea:hover, .field__select select:hover {
  border-color: var(--line-strong);
}
.field input:focus, .field textarea:focus, .field__select select:focus {
  border-color: rgba(245, 201, 123, 0.45);
  background: rgba(245, 201, 123, 0.04);
  box-shadow: 0 0 0 4px rgba(245, 201, 123, 0.08);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 107, 107, 0.35);
}
.field__select { position: relative; }
.field__select select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.field__select select option { background: var(--bg-elev-2); color: var(--text); }
.field__select svg {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-mute); pointer-events: none;
}

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-soft); line-height: 1.55;
  cursor: pointer;
  margin-top: 4px;
}
.check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 1px 0 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255,255,255,0.03);
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.check input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border-color: var(--gold-2);
}
.check input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #1A140A; border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.check a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 2px; }

.form__actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.form__note { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.05em; }
.form__submit { position: relative; }
.form__submit.is-loading { pointer-events: none; opacity: 0.85; }
.form__submit.is-loading .form__submit-label::after {
  content: '…'; animation: dots 1s steps(4) infinite;
}
@keyframes dots { 0% { content: '.'; } 33% { content: '..'; } 66% { content: '...'; } }

.form__success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 24px; margin-top: 8px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(124,231,176,0.08), rgba(124,231,176,0.02));
  border: 1px solid rgba(124,231,176,0.18);
}
.form__success-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124,231,176,0.12);
  color: var(--green);
  border: 1px solid rgba(124,231,176,0.3);
}
.form__success h3 { font-family: var(--display); font-size: 20px; font-weight: 400; }
.form__success p { color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.form.is-sent .form__row,
.form.is-sent .field,
.form.is-sent .check,
.form.is-sent .form__actions { display: none; }

/* ---------- LEGAL PAGES ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) var(--pad-x) clamp(80px, 12vw, 140px);
}
.legal__head { margin-bottom: 48px; }
.legal__head .eyebrow { margin-bottom: 18px; }
.legal__head h1 {
  font-family: var(--display); font-weight: 350;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.03em; line-height: 1.0;
}
.legal__head h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal__meta {
  margin-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute);
}
.legal__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 24px;
  transition: color 0.2s;
}
.legal__back:hover { color: var(--gold-1); }
.legal__body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal__body h2 {
  font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.01em;
  color: var(--text);
  margin: 56px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal__body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__body h3 {
  font-family: var(--display); font-size: 18px; font-weight: 500;
  color: var(--text);
  margin: 32px 0 10px;
}
.legal__body p { margin-bottom: 16px; }
.legal__body ul, .legal__body ol {
  list-style: revert; padding-left: 22px; margin-bottom: 16px;
}
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--gold-2); }
.legal__body strong { color: var(--text); font-weight: 500; }
.legal__body address {
  font-style: normal;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 16px;
}
.legal__body table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 14px;
}
.legal__body th, .legal__body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal__body th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(255,255,255,0.015);
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .eyebrow .dot { animation: none; }
}
