/* VELORA — concept site by ZYVEN. Single dark theme, plain CSS. */

:root {
  --bg: #08090C;
  --bg-elev: #0E1017;
  --navy: #0E0A18;
  --surface: #12141C;
  --surface-2: #171A24;
  --border: #232733;
  --border-bright: #313848;
  --text: #E8EAF0;
  --text-dim: #9AA3B2;
  --text-faint: #7A8190;
  --accent: #A855F7;
  --accent-strong: #9333EA;
  --accent-bright: #C084FC;
  --accent-dim: rgba(168, 85, 247, 0.14);
  --ok: #3FB984;
  --warn: #E0A83D;

  --nav-h: 62px;
  --banner-h: 44px;
  --maxw: 1160px;
  --radius: 12px;
  --radius-sm: 8px;
  --gap: clamp(16px, 4vw, 28px);

  --t-fast: 130ms ease;
  --t: 180ms ease;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }

img, svg { max-width: 100%; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); font-size: .82rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px);
}

/* anchor targets clear the fixed banner + nav */
.section, .hero, .cta, [id] { scroll-margin-top: calc(var(--nav-h) + var(--banner-h) + 14px); }
pre { max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--accent-strong); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- concept banner ---------- */
.concept-banner {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  min-height: var(--banner-h);
  display: flex; align-items: center; gap: 12px;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 8px clamp(14px, 4vw, 24px);
  font-size: .82rem;
  color: var(--text-dim);
}
.concept-banner p { margin: 0; }
.concept-banner strong { color: var(--text); }
.concept-banner__close {
  margin-left: auto; flex-shrink: 0;
  background: none; border: 0; color: var(--text-dim);
  cursor: pointer; padding: 6px; border-radius: 6px; display: inline-flex;
}
.concept-banner__close:hover { color: var(--text); background: var(--surface); }
body.banner-hidden { --banner-h: 0px; }
body.banner-hidden .concept-banner { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: var(--banner-h); z-index: 80;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 9, 12, 0.86);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  height: var(--nav-h);
  padding: 0 clamp(18px, 5vw, 40px);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--text);
  font-size: .98rem;
}
.nav__mark {
  width: 18px; height: 18px; border-radius: 5px;
  display: inline-block; flex-shrink: 0;
}
.nav__links {
  display: flex; gap: 4px; margin-right: auto;
}
.nav__links a {
  text-decoration: none; color: var(--text-dim);
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); background: var(--surface); }
.nav__actions { display: flex; gap: 10px; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm); padding: 7px; cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .9rem;
  padding: 9px 16px; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn--lg { padding: 12px 22px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: #A046EF; }
.btn--ghost { border-color: var(--border-bright); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-dim); }
.btn:active { transform: translateY(1px); }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast);
}
.iconbtn:hover { border-color: var(--accent); }

/* ---------- shared section bits ---------- */
.section { padding: clamp(64px, 11vw, 120px) 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--bg-elev); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 60px); }
.section__lead { color: var(--text-dim); font-size: 1.05rem; margin: 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  font-weight: 600; color: var(--accent-bright); margin: 0 0 14px;
}
.caption { color: var(--text-faint); font-size: .82rem; text-align: center; margin: 14px 0 0; }

.pill {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 600; padding: 3px 9px;
  border-radius: 999px; border: 1px solid var(--border-bright); color: var(--text-dim);
  white-space: nowrap;
}
.pill--ok { color: var(--ok); border-color: rgba(63, 185, 132, .4); background: rgba(63, 185, 132, .08); }
.pill--warn { color: var(--warn); border-color: rgba(224, 168, 61, .4); background: rgba(224, 168, 61, .08); }

/* ---------- hero ---------- */
.hero {
  padding: calc(var(--nav-h) + var(--banner-h) + clamp(48px, 9vw, 96px)) 0 clamp(56px, 9vw, 100px);
  background:
    radial-gradient(closest-side at 78% 18%, rgba(168,85,247,.12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--navy) 100%);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 520px; }
.hero__sub { color: var(--text-dim); font-size: 1.1rem; margin: 18px 0 26px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 18px 0 0; color: var(--text-faint); font-size: .82rem; }

.hero__panel { display: flex; justify-content: center; }
.runcard {
  width: 100%; max-width: 380px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
.runcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.runcard__title { font-weight: 600; font-size: .92rem; }
.runcard__status {
  font-size: .74rem; font-weight: 600; color: var(--accent-bright);
  border: 1px solid rgba(168,85,247,.4); background: var(--accent-dim);
  padding: 2px 8px; border-radius: 999px;
}
.runcard__status[data-done] { color: var(--ok); border-color: rgba(63,185,132,.4); background: rgba(63,185,132,.08); }
.runcard__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.runcard__steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--text-faint);
  transition: color var(--t);
}
.runcard__steps .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border-bright);
  flex-shrink: 0; transition: background var(--t), box-shadow var(--t);
}
.runcard__steps li.is-active { color: var(--text); }
.runcard__steps li.is-active .dot { background: var(--accent-bright); box-shadow: 0 0 0 4px var(--accent-dim); }
.runcard__steps li.is-done { color: var(--text-dim); }
.runcard__steps li.is-done .dot { background: var(--ok); }
.runcard__foot {
  display: flex; justify-content: space-between; margin-top: 16px;
  padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-faint);
}

/* ---------- workflow showcase ---------- */
.flow { display: grid; gap: 28px; min-width: 0; }
.flow > *, .flow__detail > *, .flow__controls, .flow__payload { min-width: 0; }
.flow__track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  position: relative;
}
.flow__node {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  position: relative; transition: border-color var(--t), background var(--t), transform var(--t);
}
.flow__node::after {
  content: ""; position: absolute; top: 50%; right: -13px; width: 14px; height: 2px;
  background: var(--border-bright); z-index: 1;
}
.flow__node:last-child::after { display: none; }
.flow__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  margin-bottom: 12px; transition: color var(--t), border-color var(--t), background var(--t);
}
.flow__node h3 { font-size: .95rem; margin-bottom: 6px; }
.flow__node p { font-size: .82rem; color: var(--text-dim); margin: 0 0 12px; }
.flow__chip {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-faint); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px;
}
.flow__node.is-active { border-color: var(--accent); background: var(--surface-2); }
.flow__node.is-active .flow__icon { color: var(--accent-bright); border-color: var(--accent); background: var(--accent-dim); }
.flow__node.is-active .flow__chip { color: var(--accent-bright); border-color: rgba(168,85,247,.4); }
.flow__node.is-done { border-color: rgba(63,185,132,.35); }
.flow__node.is-done .flow__icon { color: var(--ok); border-color: rgba(63,185,132,.35); }
.flow__node.is-done .flow__chip::before { content: "✓ "; color: var(--ok); }

.flow__detail {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 14px;
}
.flow__controls { display: flex; align-items: center; gap: 12px; }
.flow__progress {
  flex: 1; height: 4px; border-radius: 999px; background: var(--border); overflow: hidden;
}
.flow__progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width var(--t);
}
.flow__payload-label { font-weight: 600; font-size: .88rem; margin: 0 0 8px; color: var(--accent-bright); }
.flow__payload pre {
  margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; overflow-x: auto; color: var(--text-dim); line-height: 1.55;
}

/* ---------- product / app frame ---------- */
.appframe {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.appframe__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: var(--bg-elev); border-bottom: 1px solid var(--border);
}
.appframe__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-bright); }
.appframe__url { margin-left: 12px; color: var(--text-faint); }
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.app__side {
  border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-elev);
}
.app__logo {
  display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .04em;
  font-size: .85rem; padding: 6px 8px 14px;
}
.app__logo .nav__mark { width: 14px; height: 14px; }
.app__navitem {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm); font-size: .85rem; color: var(--text-dim);
}
.app__navitem svg { color: var(--text-faint); }
.app__navitem.is-active { background: var(--surface-2); color: var(--text); }
.app__navitem.is-active svg { color: var(--accent-bright); }
.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--text-dim);
}
.app__workspace { font-weight: 600; color: var(--text); }
.app__workspace .mono { color: var(--text-faint); font-weight: 400; }
.app__search {
  margin-left: auto; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-faint); font-size: .78rem;
}
.app__avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim);
  color: var(--accent-bright); display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}
.app__content { padding: 18px; overflow-x: auto; }
.app__contenthead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.app__contenthead h3 { margin: 0; }

.tablewrap { overflow-x: auto; }
.wtable { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 560px; }
.wtable th, .wtable td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.wtable th { color: var(--text-faint); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.wtable td { color: var(--text-dim); }
.wtable tbody tr:hover td { background: var(--surface-2); color: var(--text); }
.wtable td:first-child { color: var(--text); font-weight: 500; }
.spark { width: 60px; height: 18px; color: var(--accent-bright); vertical-align: middle; margin-right: 6px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 44px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--text-dim); font-size: .9rem; }

/* ---------- agents ---------- */
.agents-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; min-width: 0; }
.agents-layout > *, .agent-inspector, .agent-inspector__body { min-width: 0; }
.agent-roster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agent-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px;
  transition: border-color var(--t), transform var(--t);
}
.agent-card:hover { border-color: var(--border-bright); }
.agent-card h3 { margin-bottom: 6px; font-size: .95rem; }
.agent-card p { font-size: .82rem; color: var(--text-dim); margin: 0 0 8px; }
.agent-card__meta { font-size: .76rem !important; color: var(--text-faint) !important; margin: 0 0 4px !important; }
.agent-card__meta .mono { color: var(--accent-bright); margin-right: 6px; }

.agent-inspector {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.agent-inspector__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--text-dim);
}
.segmented { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.segmented__opt { padding: 4px 12px; font-size: .74rem; font-weight: 600; color: var(--text-faint); }
.segmented__opt.is-active { background: var(--accent-dim); color: var(--accent-bright); }
.agent-inspector__body { display: grid; gap: 14px; padding: 16px; }
.trace { display: grid; gap: 8px; }
.trace__turn {
  margin: 0; font-size: .82rem; padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg);
}
.trace__turn--sys { color: var(--text-faint); border-style: dashed; }
.trace__turn--agent { color: var(--text-dim); border-left: 2px solid var(--accent); }
.toolcalls { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toolcalls li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  font-size: .74rem; color: var(--text-faint);
  padding: 8px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.toolcalls .mono { color: var(--accent-bright); }
.toolcalls li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); }

/* ---------- integrations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font: inherit; font-size: .82rem; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text-dim);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.chip:hover { color: var(--text); border-color: var(--border-bright); }
.chip.is-active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent-bright); }

.intgrid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
}
.intcard {
  display: grid; gap: 6px; align-content: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.intcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.intcard__glyph {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; font-weight: 700; font-size: .78rem;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  font-family: var(--mono);
}
.intcard__name { font-weight: 600; font-size: .9rem; }
.intcard__cat { font-size: .74rem; color: var(--text-faint); }
.intcard .pill { justify-self: start; margin-top: 4px; }

.apicard {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  min-width: 0;
}
.apicard > * { min-width: 0; }
.apicard h3 { margin-bottom: 8px; }
.apicard p { margin: 0; color: var(--text-dim); font-size: .9rem; }
.apicard pre {
  margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; overflow-x: auto; color: var(--text-dim); line-height: 1.7; font-size: .78rem;
}

/* ---------- how it works ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step;
}
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  position: relative;
}
.step__num {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-dim); color: var(--accent-bright); font-weight: 700; font-size: .9rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-dim); font-size: .9rem; }

/* ---------- use cases / tabs ---------- */
.tabs__list {
  display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.tabs__tab {
  font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer;
  background: none; border: 0; color: var(--text-dim);
  padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs__panel { max-width: 640px; }
.tabs__panel p { color: var(--text-dim); }
.tabs__panel ul { margin: 0 0 16px; padding-left: 20px; color: var(--text-dim); }
.tabs__panel li { margin-bottom: 6px; }
.ba {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: .84rem; color: var(--text-dim);
}
.ba__arrow { color: var(--accent-bright); display: inline-flex; }
.ba span:last-child { color: var(--text); font-weight: 600; }

/* ---------- pricing ---------- */
.billing { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; margin-bottom: 32px; }
.billing__opt {
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  background: none; border: 0; color: var(--text-dim); padding: 6px 16px; border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}
.billing__opt.is-active { background: var(--accent-dim); color: var(--accent-bright); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.price--featured { border-color: var(--accent); background: var(--surface-2); }
.price__badge {
  position: absolute; top: -11px; left: 24px;
  background: var(--accent-strong); color: #fff; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px;
}
.price h3 { margin-bottom: 10px; }
.price__amt { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; }
.price__per { font-size: .9rem; font-weight: 500; color: var(--text-dim); }
.price__for { color: var(--text-dim); font-size: .86rem; min-height: 2.4em; margin-bottom: 16px; }
.price__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.price__list li { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--text-dim); }
.price__list svg { color: var(--accent-bright); flex-shrink: 0; }

/* ---------- final CTA ---------- */
.cta { padding: clamp(64px, 11vw, 120px) 0; background: var(--navy); border-top: 1px solid var(--border); }
.cta__inner { text-align: center; max-width: 620px; }
.cta__rule { display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--accent); margin: 0 auto 22px; }
.cta p { color: var(--text-dim); }
.cta__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 12px; }
.cta__form input {
  flex: 1; min-width: 220px; max-width: 320px;
  font: inherit; font-size: .9rem;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border-bright); color: var(--text);
}
.cta__form input::placeholder { color: var(--text-faint); }
.cta__form input:focus-visible { border-color: var(--accent); }
.cta__note { font-size: .8rem; color: var(--text-faint); margin: 0; }
.cta__note.is-confirmed { color: var(--ok); }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(48px, 8vw, 72px) 0 32px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--gap);
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.footer__brand p { color: var(--text-dim); font-size: .86rem; max-width: 34ch; margin: 12px 0 0; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); margin: 0 0 4px; }
.footer__col a { text-decoration: none; color: var(--text-dim); font-size: .86rem; }
.footer__col a:hover { color: var(--text); }
.footer__disclaimer { padding-top: 28px; }
.footer__disclaimer p { color: var(--text-faint); font-size: .8rem; max-width: 78ch; }
.footer__disclaimer strong { color: var(--text-dim); }
.footer__legal { margin: 12px 0 0; }

/* ---------- scroll reveal (transform only — content never hidden) ---------- */
.reveal { transform: translateY(14px); transition: transform .5s ease; will-change: transform; }
.reveal.in-view { transform: none; will-change: auto; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px clamp(18px, 5vw, 40px) 18px;
  }
  .nav.is-open .nav__links a { padding: 12px; font-size: .95rem; }
  .nav.is-open .nav__actions {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    transform: translateY(calc(5 * 44px + 30px));
    background: var(--bg); padding: 0 clamp(18px, 5vw, 40px) 18px;
    border-bottom: 1px solid var(--border);
  }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 100%; }
  .hero__panel { order: 2; }

  .flow__track { grid-template-columns: 1fr 1fr; }
  .flow__node::after { display: none; }

  .agents-layout { grid-template-columns: 1fr; }
  .apicard { grid-template-columns: 1fr; }
  .grid-3, .steps, .prices { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .price--featured { order: -1; }
}

@media (max-width: 740px) {
  .flow__track { grid-template-columns: 1fr; }
  .app { grid-template-columns: 64px 1fr; }
  .app__logo { justify-content: center; font-size: 0; }
  .app__logo .nav__mark { font-size: 0; }
  .app__navitem { justify-content: center; font-size: 0; gap: 0; }
  .app__navitem svg { font-size: 1rem; }
  .agent-roster { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .app__topbar .app__search { display: none; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

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