/* AgenText marketing site */

:root {
  --bg: #05060b;
  --bg-2: #0a0c17;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0fb;
  --muted: #9aa0b9;
  --dim: #6b7090;
  --accent: #8b7dff;
  --accent-2: #22d3ee;
  --accent-3: #c084fc;
  --ok: #4ade80;
  --grad: linear-gradient(100deg, #a99cff 0%, #8b7dff 35%, #22d3ee 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -1px;
  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 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-a { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #5b4dff 0%, transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.orb-b { width: 560px; height: 560px; right: -180px; top: 120px; background: radial-gradient(circle, #0ea5c6 0%, transparent 65%); opacity: 0.4; animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(80px, 60px, 0) scale(1.08); } }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary {
  color: #0a0820;
  background: linear-gradient(100deg, #b7adff, #8b7dff 45%, #4cc9f0);
  box-shadow: 0 8px 30px -8px rgba(139,125,255,0.65), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 38px -8px rgba(139,125,255,0.85), 0 0 0 1px rgba(255,255,255,0.25) inset; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.24); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5,6,11,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { font-size: 14.5px; color: var(--muted); }
.link-quiet:hover { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03);
  font-size: 13px; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 26px;
}
.pulse-dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); } 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ctas.center { justify-content: center; }
.hero-proof { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent-2); }

.hero-visual { position: relative; display: flex; justify-content: flex-end; padding: 20px 30px 20px 0; min-height: 600px; }
.hero-visual::before {
  content: ""; position: absolute; width: min(420px, 100%); height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139,125,255,0.35), transparent 65%); filter: blur(30px);
}

/* phone */
.phone {
  position: relative; width: 300px; height: 600px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2d3d, #0d0f18 40%, #1a1c28);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 80px -10px rgba(139,125,255,0.35);
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: #05060b; box-shadow: 0 0 0 2px #1d2030; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; background: #0b0d16; overflow: hidden; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 46px 16px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.contact-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; background: linear-gradient(135deg, #f0abfc, #8b7dff); color: #120c2a; flex: none; }
.contact-avatar.sm { width: 28px; height: 28px; font-size: 13px; }
.contact-name { font-weight: 600; font-size: 14.5px; }
.contact-sub { font-size: 11.5px; color: var(--dim); }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px; overflow: hidden; }
.bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.4;
  animation: pop .35s cubic-bezier(.2,.8,.2,1.2) both;
}
.bubble.in { align-self: flex-start; background: #1d2032; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: linear-gradient(135deg, #7a6bff, #4f7cff); color: #fff; border-bottom-right-radius: 6px; }
.bubble.out.agent { position: relative; }
.bubble-meta { align-self: flex-end; font-size: 10.5px; color: var(--dim); margin-top: -4px; display: flex; align-items: center; gap: 5px; }
.bubble-meta svg { width: 11px; height: 11px; color: var(--accent-2); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #1d2032; border-radius: 18px; border-bottom-left-radius: 6px; animation: pop .3s ease both; }
.typing.out { align-self: flex-end; background: rgba(122,107,255,0.35); border-radius: 18px; border-bottom-right-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8d92b0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.phone-input { margin: 8px 12px 16px; height: 40px; border-radius: 20px; background: #161927; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; font-size: 13px; color: var(--dim); }
.send-dot { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #7a6bff, #4f7cff); opacity: .7; }

/* agent card */
.agent-card { position: absolute; z-index: 3; left: -44px; top: 50%; margin-top: -40px; width: 232px; padding: 16px; animation: float 7s ease-in-out infinite; }
.agent-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.agent-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(139,125,255,0.35), rgba(34,211,238,0.25)); border: 1px solid var(--line-2); }
.agent-avatar svg { width: 18px; height: 18px; color: #d7d2ff; }
.agent-name { font-weight: 600; font-size: 14px; }
.agent-sub { font-size: 11.5px; color: var(--accent-2); }
.agent-code { margin: 0; padding: 10px 12px; font-size: 11.5px; line-height: 1.6; border-radius: 10px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); color: var(--text); white-space: pre; overflow: hidden; }
.k { color: #b9b1ff; }
.s { color: #7ee7c7; }
.c { color: #686e8c; }
.status-row { display: flex; gap: 6px; margin-top: 12px; }
.chip { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); transition: all .35s ease; }
.chip.on { color: #0a1f14; background: var(--ok); border-color: var(--ok); box-shadow: 0 0 16px -2px rgba(74,222,128,0.6); }
.chip.done { color: var(--ok); border-color: rgba(74,222,128,0.4); }

.bridge-pill { position: absolute; z-index: 3; right: 82px; bottom: -6px; display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; }
.section-lede { margin-top: 20px; color: var(--muted); font-size: 18px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { padding: 28px 24px; transition: transform .3s ease, border-color .3s ease; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(139,125,255,0.35); }
.pillar-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(139,125,255,0.22), rgba(34,211,238,0.12)); border: 1px solid rgba(139,125,255,0.3); }
.pillar-icon svg { width: 22px; height: 22px; color: #cfc9ff; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* flow */
.flow { display: flex; align-items: center; justify-content: center; margin: 0 auto 56px; max-width: 980px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; flex: none; width: 150px; }
.flow-node span { font-weight: 600; font-size: 14.5px; }
.flow-node small { font-size: 11.5px; color: var(--dim); }
.flow-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); }
.flow-icon svg { width: 28px; height: 28px; color: #d7d2ff; }
.flow-node-core .flow-icon { width: 76px; height: 76px; border-radius: 22px; background: radial-gradient(circle at 30% 20%, rgba(139,125,255,0.35), rgba(34,211,238,0.12)); border-color: rgba(139,125,255,0.5); box-shadow: 0 0 50px -6px rgba(139,125,255,0.6); }
.flow-node-core .flow-icon svg { width: 38px; height: 38px; }
.flow-line { flex: 1; height: 2px; min-width: 30px; margin-bottom: 44px; position: relative; background: linear-gradient(90deg, rgba(139,125,255,0.15), rgba(34,211,238,0.35), rgba(139,125,255,0.15)); border-radius: 2px; overflow: hidden; }
.flow-line i { position: absolute; top: -1px; left: -30%; width: 30%; height: 4px; background: linear-gradient(90deg, transparent, #fff, transparent); filter: drop-shadow(0 0 6px var(--accent-2)); animation: travel 2.4s linear infinite; }
.flow-line:nth-of-type(4) i { animation-delay: .8s; }
.flow-line:nth-of-type(6) i { animation-delay: 1.6s; }
@keyframes travel { to { left: 100%; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px 28px; }
.step-num { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--accent-2); padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(34,211,238,0.3); background: rgba(34,211,238,0.07); margin-bottom: 20px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step em { font-style: normal; color: var(--text); }
.step .mono { font-size: 13.5px; color: var(--text); }

/* use cases */
.uc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.uc-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--muted); font-size: 14.5px; font-weight: 500;
  transition: all .2s ease;
}
.uc-tabs button svg { width: 18px; height: 18px; }
.uc-tabs button:hover { color: var(--text); border-color: var(--line-2); }
.uc-tabs button[aria-selected="true"] { color: var(--text); border-color: rgba(139,125,255,0.55); background: rgba(139,125,255,0.14); box-shadow: 0 0 24px -6px rgba(139,125,255,0.6); }
.uc-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 44px; align-items: center; min-height: 460px; }
.uc-copy h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.uc-copy > p { color: var(--muted); font-size: 17px; max-width: 480px; }
.uc-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.uc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; animation: pop .4s ease both; }
.uc-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: linear-gradient(135deg, rgba(139,125,255,0.4), rgba(34,211,238,0.3)) padding-box; border: 1px solid rgba(139,125,255,0.45); box-shadow: inset 0 0 0 5px rgba(5,6,11,0.85); }
.uc-list li strong { font-weight: 600; }
.uc-list li span { color: var(--muted); }
.mini-phone { max-width: 340px; margin: 0 auto; border-radius: 28px; background: #0b0d16; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 60px -20px rgba(139,125,255,0.4); overflow: hidden; }
.mini-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.thread-static { min-height: 330px; justify-content: flex-end; }
.thread-static .bubble { font-size: 13.5px; }

/* developers */
.dev { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.dev .section-lede { font-size: 17px; }
.tool-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 2px; }
.tool-list li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.tool-list code { flex: none; width: 168px; font-size: 13.5px; color: #c9c3ff; }
.tool-list span { color: var(--muted); }
.code-card { overflow: hidden; }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0 14px; border-bottom: 1px solid var(--line); }
.code-tabs [role="tab"] { padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.code-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.copy-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin-bottom: 8px; border-radius: 8px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); }
.copy-btn:hover { color: var(--text); border-color: var(--line-2); }
.copy-btn svg { width: 14px; height: 14px; }
.code { margin: 0; padding: 24px 26px; font-size: 13.5px; line-height: 1.75; overflow-x: auto; color: #dfe2f3; min-height: 380px; }
.code[hidden] { display: none; }

.features { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { display: flex; gap: 16px; padding: 28px; background: var(--bg-2); }
.feature svg { flex: none; width: 24px; height: 24px; color: var(--accent-2); margin-top: 2px; }
.feature h4 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { padding: 26px 0 0; border-top: 1px solid var(--line-2); position: relative; }
.trust-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--grad); }
.trust-k { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 10px; letter-spacing: -0.015em; }
.trust-item p { color: var(--muted); font-size: 15px; }

/* comparison */
.table-wrap { overflow-x: auto; padding: 8px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--muted); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare td { color: var(--muted); }
.compare .col-us { color: var(--text); background: rgba(139,125,255,0.07); }
.compare thead .col-us { color: var(--text); border-radius: 12px 12px 0 0; }
.compare thead .col-us::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; vertical-align: middle; }

/* faq */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg); transition: transform .25s ease, margin .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); font-size: 16px; }

/* cta */
.cta-section { padding-top: 40px; }
.cta { position: relative; overflow: hidden; text-align: center; padding: 84px 32px; border-color: rgba(139,125,255,0.3); }
.cta-glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(139,125,255,0.45), rgba(34,211,238,0.12) 40%, transparent 70%); pointer-events: none; }
.cta h2 { position: relative; }
.cta p { position: relative; color: var(--muted); font-size: 18px; margin: 20px auto 0; max-width: 560px; }
.cta .hero-ctas { position: relative; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 56px 0 32px; background: rgba(5,6,11,0.6); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h5 { font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 14px; }
.footer-links a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-links a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}
@media (max-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: center; padding-right: 0; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .dev { grid-template-columns: 1fr; gap: 40px; }
  .uc-panel { grid-template-columns: 1fr; padding: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px 24px 20px; background: rgba(5,6,11,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .nav-toggle { display: block; }
  .link-quiet { display: none; }
  .flow { flex-direction: column; gap: 0; }
  .flow-line { width: 2px; height: 36px; min-width: 0; flex: none; margin: 8px 0; background: linear-gradient(180deg, rgba(139,125,255,0.15), rgba(34,211,238,0.4), rgba(139,125,255,0.15)); }
  .flow-line i { left: -1px; top: -30%; width: 4px; height: 30%; background: linear-gradient(180deg, transparent, #fff, transparent); animation-name: travel-v; }
  .steps { grid-template-columns: 1fr; }
}
@keyframes travel-v { to { top: 100%; } }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .section-lede { font-size: 16.5px; }
  .pillars, .features, .trust-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-top: 196px; }
  .phone { width: 272px; height: 540px; }
  .agent-card { left: 50%; top: 0; margin-top: 0; transform: translateX(-50%); width: min(300px, 100%); animation: none; }
  .bridge-pill { right: 50%; transform: translateX(50%); bottom: -14px; animation: none; white-space: nowrap; }
  .uc-panel { padding: 22px 18px; }
  .uc-tabs button { padding: 9px 14px; font-size: 13.5px; }
  .tool-list code { width: auto; }
  .tool-list li { flex-direction: column; gap: 2px; }
  .code { font-size: 12px; padding: 20px; min-height: 0; }
  .cta { padding: 60px 20px; }
  .footer-links { gap: 40px; }
  .nav-cta { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
