/* =========================================================
   Yale Partners — Automated AI Valuations · 2026
   Dark, techy, terminal-inflected.
   ========================================================= */

:root {
  /* surfaces */
  --bg:        #050813;
  --bg-2:      #0a1024;
  --panel:     #0d1530;
  --panel-2:   #111a3a;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --hairline:  rgba(255, 255, 255, 0.05);

  /* ink */
  --ink:       #e7ecf8;
  --ink-soft:  #c5cde2;
  --muted:     #8390ad;
  --muted-2:   #5e6a85;

  /* accents */
  --c1: #22d3ee; /* cyan */
  --c2: #a78bfa; /* violet */
  --c3: #f472b6; /* magenta */
  --ok: #34d399; /* mint */
  --warn: #fbbf24;

  --grad: linear-gradient(92deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  --glow:      0 0 0 1px rgba(167, 139, 250, 0.25), 0 30px 80px -30px rgba(34, 211, 238, 0.35);

  /* radii */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  /* type */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ----------------------------- reset ----------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(167, 139, 250, 0.35); color: #fff; }

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--c2); color: #0a0f24; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; z-index: 1000; }

/* ----------------------------- typography ----------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0;
  font-weight: 500;
}
h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
h4 { font-size: 14px; }
p  { color: var(--muted); margin: 0; }

.lede { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
.lede strong { color: var(--ink); font-weight: 600; }

.mono { font-family: var(--mono); font-feature-settings: "ss01", "cv11"; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.eyebrow.light { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.18); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
.eyebrow .sep { opacity: 0.4; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--grad);
  color: #06081a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px -10px rgba(167,139,250,0.6);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 14px 40px -10px rgba(167,139,250,0.85);
}
.btn-primary .mono { color: #06081a; }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,0.04); }
.btn-ghost .mono { color: var(--c1); }

/* ----------------------------- bg fx (global) ----------------------------- */
.bg-fx {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute; inset: -2px;
  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;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 75%);
}
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.45;
}
.bg-orb-1 {
  width: 720px; height: 720px;
  top: -240px; right: -160px;
  background: radial-gradient(circle, var(--c2) 0%, transparent 65%);
}
.bg-orb-2 {
  width: 560px; height: 560px;
  top: 480px; left: -180px;
  background: radial-gradient(circle, var(--c1) 0%, transparent 65%);
  opacity: 0.35;
}
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* ----------------------------- nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 19, 0.6);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  background: rgba(5, 8, 19, 0.85);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(34,211,238,0.1), rgba(167,139,250,0.1));
  border: 1px solid var(--line);
  border-radius: 10px;
}
.brand-word {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-dim { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  font-family: var(--mono);
  transition: color .2s ease;
  position: relative;
}
.nav-links a::before {
  content: ""; opacity: 0;
  position: absolute; left: -14px; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--c2);
  transform: translateY(-50%);
  transition: opacity .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::before { opacity: 1; }

.nav-cta { padding: 10px 16px; font-size: 13px; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  padding: 12px 6px;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-soft);
}
.mobile-menu .btn { margin-top: 14px; align-self: flex-start; }

/* ----------------------------- hero ----------------------------- */
.hero { position: relative; padding: 70px 0 30px; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 30px 0 70px;
}
.hero-copy h1 { margin: 22px 0 22px; }
.hero-copy h1 .grad { display: inline-block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; align-items: center; }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-bottom: 26px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: 30px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 12px; color: var(--muted); line-height: 1.4; }

.trust-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.trust-label { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.trust-row ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.trust-row li {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---- console ---- */
.console {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), var(--glow);
  overflow: hidden;
  position: relative;
}
.console::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(34,211,238,0.4), rgba(167,139,250,0.3), rgba(244,114,182,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.console-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.console-bar .dots { display: inline-flex; gap: 6px; }
.console-bar .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: inline-block;
}
.console-bar .dots i:nth-child(1) { background: #ff5f57; }
.console-bar .dots i:nth-child(2) { background: #febc2e; }
.console-bar .dots i:nth-child(3) { background: #28c840; }
.console-title {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
}
.pill.live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ok);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 9px; border-radius: 999px;
}
.pill.ok {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ok);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 9px; border-radius: 999px;
}
.ping {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 2s ease-out infinite;
}
.console-body {
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-height: 260px;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}
.console-body::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg-2));
  pointer-events: none;
}
.console-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}
.console-line .prompt { color: var(--c1); margin-right: 8px; }
.console-line em { color: var(--c2); font-style: normal; }
.console-line .ts { color: var(--muted-2); }
.console-line .ok { color: var(--ok); }
.console-line .warn { color: var(--warn); }
.console-line.fade { animation: typeIn .25s ease-out both; }
@keyframes typeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.console-line .cursor {
  display: inline-block; width: 7px; height: 14px;
  background: var(--c1); vertical-align: -2px; margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.console-foot {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.console-foot .kv {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; padding: 4px 0;
  font-size: 13px;
}
.console-foot .kv.small { font-size: 11.5px; padding-top: 6px; }
.console-foot .k { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.console-foot .v { color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 500; }
.console-foot .v i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 8px; }
.console-foot .v em.ok { color: var(--ok); font-style: normal; font-family: var(--mono); font-size: 12px; }
.console-foot .bar {
  height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  margin: 12px 0 6px;
  overflow: hidden;
}
.console-foot .bar i {
  display: block; height: 100%;
  background: var(--grad);
  border-radius: 999px;
  transition: width .35s ease;
}

/* ---- marquee ---- */
.marquee {
  position: relative; z-index: 1;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  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: flex; gap: 28px;
  width: max-content;
  animation: marquee 50s linear infinite;
  color: var(--muted);
  font-size: 12px;
}
.marquee-track .mono { color: var(--ink-soft); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------- sections ----------------------------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }

/* ----------------------------- engine ----------------------------- */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card {
  background: var(--panel);
  padding: 28px;
  position: relative;
  transition: background .25s ease;
}
.card:hover { background: var(--panel-2); }
.card-head { margin-bottom: 14px; }
.card-head .mono {
  font-size: 11px;
  color: var(--c1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p  { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

.taglist {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.taglist li {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ----------------------------- mcp integration ----------------------------- */
.mcp { background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.04) 50%, transparent 100%); }

.mcp-row {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mcp-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease;
}
.mcp-card:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-2px); }
.mcp-card .mcp-logo {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--c1);
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(167,139,250,0.12));
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.mcp-card strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 4px;
}
.mcp-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  display: inline-block;
}

.mcp-chat {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.mcp-chat::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(34,211,238,0.3), rgba(167,139,250,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.mcp-chat-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 12px;
  color: var(--muted);
}
.mcp-msg {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 8px;
}
.mcp-msg:last-child { border-bottom: 0; }
.mcp-from {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mcp-msg p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 70ch;
}
.mcp-msg p strong { color: var(--ink); }
.mcp-msg.user .mcp-from { color: var(--c1); }
.mcp-msg.tool { background: rgba(0, 0, 0, 0.3); }
.mcp-msg.tool .mcp-from { color: var(--c2); }
.mcp-msg.assistant .mcp-from { color: var(--c3); }
.mcp-tool {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: transparent;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.mcp-tool .g { color: var(--c1); margin-right: 6px; }
.mcp-tool em { color: var(--c2); font-style: normal; }
.mcp-cta {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ok);
}

.mcp-tools {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.mcp-tools li {
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.mcp-tools li .mono { color: var(--c1); margin-right: 4px; }

/* ----------------------------- compliance ----------------------------- */
.compliance { background: linear-gradient(180deg, transparent 0%, rgba(167,139,250,0.04) 50%, transparent 100%); }
.split-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}
.compliance-copy h2 { margin: 18px 0 18px; }
.compliance-list {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.compliance-list li {
  display: flex; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.compliance-list .check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.compliance-list strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; font-size: 14.5px; }
.compliance-list span { color: var(--muted); font-size: 13px; line-height: 1.55; }

.fineprint {
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.report-card {
  background: linear-gradient(170deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky; top: 80px;
}
.report-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 12px;
  color: var(--muted);
}
.report-body { padding: 8px 0; }
.report-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px dashed var(--hairline);
  align-items: baseline;
  font-size: 13px;
}
.report-row:last-child { border-bottom: 0; }
.report-row .rk { color: var(--muted-2); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.report-row .rv { color: var(--ink-soft); font-size: 13.5px; }
.report-row .rv.ok { color: var(--ok); font-family: var(--mono); font-size: 12.5px; }
.report-row.big { padding: 18px; background: rgba(34,211,238,0.04); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.report-row.big .rv {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.report-foot {
  padding: 14px 18px;
  font-size: 11px;
  color: var(--muted-2);
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
}

/* ----------------------------- methodology ----------------------------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.method {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.method:hover { transform: translateY(-3px); border-color: var(--line-2); }
.method-id {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2);
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(167,139,250,0.1);
}
.method h3 { margin-bottom: 10px; }
.method p { font-size: 14px; color: var(--ink-soft); }
.formula {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  overflow-x: auto;
}
.formula .g { color: var(--c1); }

.sectors { margin-top: 56px; text-align: center; }
.sectors-title {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.chips li {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease;
}
.chips li .mono { color: var(--c1); margin-right: 6px; }
.chips li:hover { border-color: rgba(167,139,250,0.4); color: var(--ink); }

/* ----------------------------- practice ----------------------------- */
.practice { background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.03) 50%, transparent 100%); }
.prac-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.prac-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
}
.prac-card .prac-id { color: var(--muted-2); font-size: 11px; display: block; margin-bottom: 14px; }
.prac-card.feature {
  grid-row: span 2;
  background:
    radial-gradient(circle at 100% 0%, rgba(167,139,250,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(34,211,238,0.16), transparent 50%),
    var(--panel);
  border-color: rgba(167,139,250,0.25);
}
.prac-card.feature .prac-id { color: var(--c2); }
.prac-card h3 { margin-bottom: 12px; }
.prac-card p { color: var(--ink-soft); font-size: 14.5px; }
.prac-card.feature ul {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.prac-card.feature ul li {
  position: relative; padding-left: 22px; font-size: 14px;
  color: var(--ink-soft);
}
.prac-card.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--grad);
}

/* ----------------------------- resources ----------------------------- */
.resources { background: linear-gradient(180deg, transparent 0%, rgba(167,139,250,0.04) 50%, transparent 100%); }
.db-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.db-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.db-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,0.4);
  background: var(--panel-2);
}
.db-card .db-id {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(167,139,250,0.1);
  align-self: flex-start;
}
.db-card h3 {
  font-size: 16px;
  margin-top: 6px;
  color: var(--ink);
}
.db-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.db-card .db-arrow {
  margin-top: 8px;
  font-size: 12px;
  color: var(--c1);
  transition: gap .2s ease;
}
.db-card:hover .db-arrow { color: var(--ink); }

.reports {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.reports-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.reports-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.reports-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.report-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.report-btn:hover {
  border-color: var(--c2);
  color: var(--ink);
  transform: translateY(-1px);
}
.report-btn .mono {
  font-size: 11px;
  color: var(--c1);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(34,211,238,0.1);
}

/* ----------------------------- roadmap ----------------------------- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}
.timeline li {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
}
.timeline li:last-child { border-right: 0; }
.timeline li::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--line);
}
.timeline li.done::before { background: linear-gradient(90deg, var(--ok), rgba(52,211,153,0.3)); }
.timeline li.active::before {
  background: linear-gradient(90deg, var(--c1), var(--c2));
  animation: shimmer 2.5s linear infinite;
  background-size: 200% 100%;
}
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }

.timeline .t-q {
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted-2);
}
.timeline li.active .t-q { color: var(--c1); }
.timeline li.done   .t-q { color: var(--ok); }

.timeline h3 { font-size: 17px; margin-bottom: 4px; }
.timeline p  { font-size: 13px; color: var(--muted); }
.timeline .t-status {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px;
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid var(--line);
}
.timeline li.done .t-status { color: var(--ok); border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.timeline li.active .t-status { color: var(--c1); border-color: rgba(34,211,238,0.4); background: rgba(34,211,238,0.08); }

/* ----------------------------- cta / waitlist ----------------------------- */
.cta {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(167,139,250,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(34,211,238,0.18) 0%, transparent 50%),
    linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta h2 { color: #fff; margin: 18px 0 16px; }
.cta p { color: var(--ink-soft); font-size: 16px; }
.trust {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.trust li {
  position: relative; padding-left: 26px;
  color: var(--ink-soft); font-size: 14px;
}
.trust li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ok); font-weight: 700;
}

.cta-form {
  background: linear-gradient(170deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.cta-form::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(34,211,238,0.4), rgba(167,139,250,0.3), rgba(244,114,182,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.cta-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.cta-form label.full { grid-column: 1 / -1; }
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: var(--muted-2); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.18);
}
.cta-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.cta-form .btn { grid-column: 1 / -1; padding: 14px; }
.form-ok {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px; color: var(--ok);
  padding: 10px 12px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 8px;
}

/* ----------------------------- contact / office ----------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-grid h2 { margin: 18px 0 18px; }
.office-card {
  margin-top: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.oc-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  font-size: 14px;
}
.oc-row:last-child { border-bottom: 0; }
.oc-k { color: var(--muted-2); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.oc-v { color: var(--ink-soft); }
.oc-v a { color: var(--c1); }
.oc-v a:hover { color: var(--ink); }
.oc-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-left: 6px;
  color: var(--ok);
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 4px;
}

.contact-aside { padding-top: 8px; }
.badges {
  list-style: none; padding: 0;
  margin: 18px 0 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.badges li {
  font-family: var(--mono); font-size: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ----------------------------- footer ----------------------------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 24px;
}
.footer .brand-word { color: var(--ink); display: block; margin-bottom: 12px; font-size: 22px; }
.footer p { color: var(--muted); max-width: 40ch; font-size: 13px; }
.status {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--ok);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-cols h4 {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-cols a {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--mono);
}
.foot-cols a:hover { color: var(--c1); }
.foot-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted-2);
}
.foot-bottom .small { max-width: 50ch; }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 1080px) {
  .engine-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .db-grid     { grid-template-columns: 1fr 1fr; }
  .mcp-row     { grid-template-columns: 1fr 1fr; }
  .timeline    { grid-template-columns: 1fr 1fr; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li:last-child { border-bottom: 0; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu:not([hidden]) { display: flex; }

  .hero { padding: 36px 0 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 20px 0 50px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }

  .section { padding: 70px 0; }
  .split-2 { grid-template-columns: 1fr; gap: 30px; }
  .report-card { position: static; }

  .engine-grid { grid-template-columns: 1fr; }
  .db-grid     { grid-template-columns: 1fr; }
  .mcp-row     { grid-template-columns: 1fr; }
  .prac-grid   { grid-template-columns: 1fr; }
  .prac-card.feature { grid-row: auto; }
  .timeline    { grid-template-columns: 1fr; }
  .cta-wrap    { grid-template-columns: 1fr; gap: 30px; }
  .cta-form    { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .method-grid { grid-template-columns: 1fr; }
  .foot-cols   { grid-template-columns: 1fr; }
  .report-row  { grid-template-columns: 1fr; gap: 4px; }
  .oc-row      { grid-template-columns: 1fr; gap: 4px; }
  h1 { font-size: 42px; }
}

/* ----------------------------- a11y ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .console-line.fade { animation: none; }
}
