/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --accent-orange: oklch(74% 0.165 65);
  --accent-orange-2: oklch(82% 0.13 70);
  --accent-cyan: oklch(82% 0.085 215);
  --accent-cyan-2: oklch(72% 0.10 220);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1200px;
  --shadow-1: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.18);

  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
}

[data-theme="dark"] {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --bg-3: #11141b;
  --fg: #ecedf2;
  --fg-2: #b3b8c4;
  --fg-3: #767d8e;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.03);
  --card-2: rgba(255,255,255,.045);
  --user-bubble: rgba(245, 166, 35, .14);
  --user-bubble-bd: rgba(245, 166, 35, .35);
  --agent-bubble: rgba(255,255,255,.04);
  --agent-bubble-bd: rgba(255,255,255,.10);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f6f2;
  --bg-2: #ffffff;
  --bg-3: #f1efe9;
  --fg: #0d1117;
  --fg-2: #4a5160;
  --fg-3: #717a8b;
  --line: rgba(0,0,0,.08);
  --line-2: rgba(0,0,0,.16);
  --card: #ffffff;
  --card-2: #ffffff;
  --user-bubble: oklch(96% 0.04 65);
  --user-bubble-bd: oklch(82% 0.13 70);
  --agent-bubble: #ffffff;
  --agent-bubble-bd: rgba(0,0,0,.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  --hyphens: none;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

img.light-only { display: none; }
img.dark-only { display: block; }
[data-theme="light"] img.light-only { display: block; }
[data-theme="light"] img.dark-only { display: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss01" on, "ss02" on; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ─── eyebrow ────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); }
.eyebrow-orange .eyebrow-dot { background: var(--accent-orange); box-shadow: 0 0 12px var(--accent-orange); }

/* ─── buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-orange); color: #1a0d00; border-color: var(--accent-orange); box-shadow: 0 8px 30px -10px var(--accent-orange); }
.btn-primary:hover { transform: translateY(-1px); background: var(--accent-orange-2); border-color: var(--accent-orange-2); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); border-color: var(--fg-3); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--accent-orange); color: var(--accent-orange); }

/* ─── header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 80px; width: auto; display: block; }
.brand-sub { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); padding-left: 10px; border-left: 1px solid var(--line); letter-spacing: 0.04em; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 14px; color: var(--fg-2); transition: color .15s; }
.nav a:hover { color: var(--fg); }
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; padding: 2px; background: var(--card); }
.lang-toggle button { background: transparent; border: 0; color: var(--fg-2); font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; cursor: pointer; letter-spacing: 0.06em; }
.lang-toggle button.is-on { background: var(--fg); color: var(--bg); }
@media (max-width: 880px) { .nav { display: none; } .brand-sub { display: none; } }

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-glow {
  position: absolute; top: -10%; right: -10%; width: 70%; height: 80%;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent-cyan) 40%, transparent) 0%, transparent 60%);
  filter: blur(60px);
  opacity: .6;
  pointer-events: none;
}
[data-theme="light"] .hero-glow { opacity: .35; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.display {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.display .serif { font-size: 1.05em; line-height: 1.15; color: var(--accent-orange); }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 36ch; margin: 0; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--fg-2);
  border: 1px dashed var(--line-2);
  padding: 8px 14px; border-radius: 999px;
}
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); animation: pulse 1.6s infinite ease-in-out; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 0; padding: 0; width: 100%; max-width: 540px; }
.stat { padding: 14px 0; border-top: 1px solid var(--line); }
.stat-k { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; margin: 0; color: var(--accent-orange); font-family: var(--font-sans); text-transform: uppercase; line-height: 1.1; }
.stat-v { margin: 6px 0 0; font-size: 12.5px; color: var(--fg-3); font-family: var(--font-mono); line-height: 1.35; }

.hero-visual { position: relative; }
.hero-kanban-peek {
  position: absolute; bottom: -32px; left: -40px; right: -20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  z-index: -1; opacity: .8;
  transform: rotate(-2deg);
}
.kanban-col { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 110px; }
.kanban-h { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.kanban-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 8px; margin-bottom: 6px; }
.kanban-card.ghost { background: transparent; border-style: dashed; height: 38px; }
.kanban-card.hot { border-color: var(--accent-orange); box-shadow: 0 0 0 1px color-mix(in oklch, var(--accent-orange) 30%, transparent); }
.kc-title { font-size: 12px; font-weight: 600; }
.kc-meta { font-size: 10.5px; color: var(--fg-3); font-family: var(--font-mono); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-kanban-peek { display: none; }
}

/* ─── chat panel ─────────────────────────────────────────────────────── */
.chat-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5), 0 1px 0 var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 480px;
}
.chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-3), var(--bg-2));
}
.chat-head-l { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-cyan), color-mix(in oklch, var(--accent-cyan) 40%, var(--bg-3)));
  display: grid; place-items: center;
  position: relative;
}
.chat-avatar::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--accent-cyan) 40%, transparent); animation: ring 2.4s linear infinite; }
@keyframes ring { 0% { transform: scale(.95); opacity: .8; } 100% { transform: scale(1.2); opacity: 0; } }
.chat-name { font-size: 14px; font-weight: 600; }
.chat-status { font-size: 11.5px; color: var(--fg-3); font-family: var(--font-mono); }
.chat-replay { background: transparent; border: 1px solid var(--line-2); color: var(--fg-2); font-size: 11px; font-family: var(--font-mono); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.chat-replay:hover { border-color: var(--fg-3); color: var(--fg); }

.chat-stream { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; overflow-y: auto; max-height: 480px; scroll-behavior: smooth; }
.bubble { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.bubble-user { align-self: flex-end; align-items: flex-end; }
.bubble-agent { align-self: flex-start; align-items: flex-start; }
.bubble-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3); display: flex; align-items: center; gap: 6px; }
.agent-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.bubble-body {
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--agent-bubble);
  border: 1px solid var(--agent-bubble-bd);
  color: var(--fg);
  text-wrap: pretty;
  white-space: pre-line;
}
.bubble-user .bubble-body {
  background: var(--user-bubble);
  border-color: var(--user-bubble-bd);
  border-top-right-radius: 4px;
}
.bubble-attach {
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--agent-bubble-bd);
  border-radius: 12px;
  background: var(--agent-bubble);
  color: var(--fg);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
  max-width: 320px;
}
.bubble-attach:hover { border-color: var(--accent-orange); transform: translateY(-1px); }
.attach-icon {
  position: relative;
  width: 40px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent-orange) 18%, transparent), transparent);
  border: 1px solid color-mix(in oklch, var(--accent-orange) 40%, transparent);
  border-radius: 6px;
  color: var(--accent-orange);
  flex-shrink: 0;
}
.attach-pdf-tag {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em;
  color: var(--accent-orange);
  background: var(--bg-2);
  padding: 1px 4px; border-radius: 2px;
  line-height: 1;
}
.attach-meta { flex: 1; min-width: 0; }
.attach-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attach-size { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3); margin-top: 2px; }
.attach-dl { color: var(--fg-3); flex-shrink: 0; }
.bubble-agent .bubble-body { border-top-left-radius: 4px; }
.caret { display: inline-block; width: 1px; height: 1.05em; vertical-align: text-bottom; background: var(--fg); margin-left: 2px; animation: blink 1s infinite steps(1); }
@keyframes blink { 50% { opacity: 0; } }
.bubble-typing { display: inline-flex; gap: 4px; padding: 14px 18px; }
.bubble-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); animation: dot 1.2s infinite ease-in-out; }
.bubble-typing span:nth-child(2) { animation-delay: .15s; }
.bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.bubble-thinking {
  background: color-mix(in oklch, var(--accent-cyan) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--accent-cyan) 25%, transparent);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  display: flex; flex-direction: column; gap: 6px;
}
.think-line { display: flex; gap: 8px; align-items: center; opacity: .4; }
.think-line.is-active { opacity: 1; color: var(--accent-cyan); }
.think-line.is-done { opacity: .5; text-decoration: line-through; text-decoration-color: var(--fg-3); }
.think-spinner { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent-cyan); border-right-color: transparent; animation: spin .9s linear infinite; }
.think-line.is-done .think-spinner { border-color: var(--fg-3); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.chat-input {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
  background: var(--bg-3);
}
.chat-input-prefix { color: var(--accent-cyan); font-weight: 600; }
.chat-input-text { flex: 1; }
.chat-kbd { border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 6px; font-size: 11px; }

/* ─── sections ───────────────────────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.h2-display .serif { color: var(--accent-orange); font-size: 1.05em; line-height: 1.15; }
.lede { font-size: 17px; color: var(--fg-2); margin: 0; max-width: 60ch; text-wrap: pretty; }

/* ─── problem ────────────────────────────────────────────────────────── */
.section-problem { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.problem-card {
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
}
.problem-card:nth-child(1) { grid-column: span 3; background: linear-gradient(135deg, var(--card-2), transparent), var(--card); }
.problem-card:nth-child(2) { grid-column: span 3; }
.problem-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-orange), transparent); opacity: 0; transition: opacity .25s; }
.problem-card:hover::before { opacity: .8; }
.problem-num { font-size: 12px; color: var(--accent-orange); letter-spacing: 0.08em; }
.problem-t { font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.problem-d { color: var(--fg-2); font-size: 15px; margin: 0; text-wrap: pretty; }
@media (max-width: 920px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card, .problem-card:nth-child(1), .problem-card:nth-child(2) { grid-column: span 1; }
}

/* ─── agents hub ─────────────────────────────────────────────────────── */
.section-agents { padding: 130px 0; position: relative; overflow: hidden; }
.agents-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 30% at 80% 10%, color-mix(in oklch, var(--accent-orange) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, color-mix(in oklch, var(--accent-cyan) 15%, transparent), transparent 70%);
  filter: blur(50px);
  opacity: .8;
}
[data-theme="light"] .agents-bg { opacity: .4; }
.agents-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 14px;
  position: relative;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.5);
}
.agents-rail { display: flex; flex-direction: column; gap: 6px; padding: 16px 6px; }
.rail-hint { font-size: 10.5px; color: var(--fg-3); padding: 0 14px 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rail-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--fg-2);
  text-align: left;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.rail-btn:hover { background: var(--card); color: var(--fg); }
.rail-btn.is-active { background: var(--card-2); border-color: var(--line-2); color: var(--fg); }
.rail-btn.is-active .rail-icon { color: var(--accent-orange); border-color: color-mix(in oklch, var(--accent-orange) 50%, transparent); }
.rail-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--fg-2);
  background: var(--bg);
  transition: color .15s, border-color .15s;
}
.rail-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.rail-tag { font-size: 10.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.rail-arrow { color: var(--fg-3); font-size: 14px; opacity: 0; transition: opacity .15s, transform .2s; }
.rail-btn.is-active .rail-arrow { opacity: 1; color: var(--accent-orange); transform: translateX(2px); }

.agents-detail {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.detail-head { display: flex; gap: 16px; align-items: center; }
.detail-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent-orange) 20%, transparent), color-mix(in oklch, var(--accent-cyan) 12%, transparent));
  border: 1px solid var(--line-2);
  color: var(--accent-orange);
}
.detail-name { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.detail-short { color: var(--fg-2); font-size: 14.5px; margin-top: 2px; }
.detail-long { color: var(--fg-2); font-size: 15px; line-height: 1.55; margin: 0; max-width: 70ch; text-wrap: pretty; }
.detail-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
}

.agents-detail .chat-panel { min-height: 0; }

.agents-footnote {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 28px auto 0;
  padding: 10px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-3);
  width: fit-content;
}
.agents-footnote {
  display: flex;
  width: fit-content;
  margin-left: auto; margin-right: auto;
}

@media (max-width: 980px) {
  .agents-shell { grid-template-columns: 1fr; }
}

/* ─── integrations ───────────────────────────────────────────────────── */
.section-integrations { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.integ-group { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); }
.integ-group-name { font-size: 11px; color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.integ-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.integ-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.integ-item:first-child { border-top: 0; padding-top: 0; }
.integ-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; color: var(--accent-cyan);
  font-size: 16px;
  flex-shrink: 0;
}
.integ-name { font-size: 15px; font-weight: 600; }
.integ-d { font-size: 13.5px; color: var(--fg-2); margin-top: 2px; }

.integ-cost {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.integ-cost-t { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.integ-cost-s { color: var(--fg-2); font-size: 14.5px; margin-top: 6px; max-width: 40ch; text-wrap: pretty; }
.cost-mini {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
}
.cost-mini-head { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cost-row { display: grid; grid-template-columns: 100px 1fr 60px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cost-row:first-of-type { border-top: 0; }
.cost-name { color: var(--fg-2); }
.cost-bar { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.cost-bar > div { height: 100%; transition: width .4s; }
.cost-val { text-align: right; color: var(--fg-2); font-size: 12.5px; }

@media (max-width: 920px) {
  .integ-grid, .integ-cost { grid-template-columns: 1fr; }
}

/* ─── pricing ────────────────────────────────────────────────────────── */
.section-pricing { padding: 130px 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.tier.is-featured {
  border-color: var(--accent-orange);
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent-orange) 6%, var(--card)), var(--card));
  box-shadow: 0 30px 80px -40px var(--accent-orange);
}
.tier-flag {
  position: absolute; top: -12px; right: 24px;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-orange); color: #1a0d00;
  padding: 4px 12px; border-radius: 999px;
}
.tier-name { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.tier-desc { color: var(--fg-2); font-size: 14px; }
.tier-price { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier-price-amt { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent-orange); }
.tier-price-sub { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.tier-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg-2); }
.tier-bullets svg { color: var(--accent-cyan); flex-shrink: 0; margin-top: 4px; }
.tier .btn { align-self: stretch; justify-content: center; margin-top: 4px; }
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; } }

/* ─── faq ────────────────────────────────────────────────────────────── */
.section-faq { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-shell { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: flex-start; }
.faq-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: sticky; top: 100px; }
.faq-head .h2 { text-align: left; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid; grid-template-columns: 36px 1fr 24px;
  align-items: center; gap: 16px;
  padding: 22px 0;
  background: transparent; border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
}
.faq-q-num { font-size: 12px; color: var(--fg-3); }
.faq-q-t { font-size: 17px; font-weight: 500; letter-spacing: -0.005em; }
.faq-q-i { font-size: 22px; color: var(--accent-orange); font-weight: 300; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 24px 0 52px;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .25s ease, padding .25s ease;
}
.faq-item.is-open .faq-a > p { opacity: 1; transform: translateY(0); padding: 0 24px 22px 52px; }
@media (max-width: 920px) { .faq-shell { grid-template-columns: 1fr; gap: 32px; } .faq-head { position: static; } }

/* ─── final cta ──────────────────────────────────────────────────────── */
.section-final { padding: 120px 0; }
.final-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.final-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, color-mix(in oklch, var(--accent-orange) 25%, transparent), transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 0%, color-mix(in oklch, var(--accent-cyan) 18%, transparent), transparent 70%);
  filter: blur(40px);
  opacity: .9;
  pointer-events: none;
}
[data-theme="light"] .final-glow { opacity: .55; }
.final-shell > * { position: relative; }
.final-title { max-width: 22ch; }
.final-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-phone { font-size: 13px; color: var(--fg-3); margin-top: 4px; letter-spacing: 0.04em; }

/* ─── footer ─────────────────────────────────────────────────────────── */
.site-footer { padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 88px; width: auto; display: block; }
.footer-tag { color: var(--fg-2); margin: 16px 0 0; max-width: 36ch; font-size: 14px; text-wrap: pretty; }
.footer-col-t { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--fg-2); font-size: 14px; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-3); }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ─── selection ──────────────────────────────────────────────────────── */
::selection { background: color-mix(in oklch, var(--accent-orange) 50%, transparent); color: var(--fg); }
