/* ────────────────────────────────────────────────────────────
 * services.css — services + moliam subscriptions
 * Inherits moliam tokens from moliam-styles.css
 * ──────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #0a0a0c; padding: 8px 14px;
  font-family: var(--mono); font-size: 11px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ─── Eyebrow + headline accents (shared) ───────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--fg-3);
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow-sm {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.accent-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple-light);
}
.accent-purple {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.accent-orange {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

/* ─── Buttons ───────────────────────────────────────────── */
/* Download Now — ported from welcome-to-the-future hero, dark-theme tuned */
.dl-btn {
  position: relative;
  box-sizing: border-box;
  height: 50px;
  min-width: 210px;
  padding: 0 26px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(167,139,250,0.32);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition:
    background .35s ease,
    border-color .35s ease,
    transform .3s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow .35s ease,
    color .35s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 10px 24px -10px rgba(124,92,245,0.35);
}
.dl-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(167,139,250,0.20), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.dl-btn:hover {
  border-color: rgba(196,181,253,0.55);
  transform: translateY(-1px);
  color: var(--purple-light);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 16px 40px -10px rgba(124,92,245,0.55);
}
.dl-btn:hover::before { opacity: 1; }
.dl-btn:active { transform: translateY(0) scale(0.985); }

.dl-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity .3s ease;
}
.dl-layer-default { opacity: 1; }
.dl-layer-success { opacity: 0; gap: 10px; color: #34d399; }

.dl-label-default, .dl-label-success {
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.dl-icon-slot {
  position: relative;
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-icon-slot > * {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dl-arrow {
  font-size: 14px;
  line-height: 1;
  color: var(--purple-light);
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), opacity .2s ease;
}
.dl-btn:hover .dl-arrow { transform: translateY(2px); }
.dl-spinner {
  opacity: 0;
  transform: scale(0.6);
  color: var(--purple-light);
  transition: opacity .2s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dl-spinner svg { width: 14px; height: 14px; animation: dlBtnSpin .9s linear infinite; }
@keyframes dlBtnSpin { to { transform: rotate(360deg); } }
.dl-check-inline {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .25s ease .1s, transform .4s cubic-bezier(0.34, 1.4, 0.64, 1) .1s;
}
.dl-check-inline svg { width: 14px; height: 14px; }
.dl-check-inline svg path {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset .4s cubic-bezier(0.65, 0, 0.35, 1) .2s;
}
.dl-btn.is-loading .dl-arrow { opacity: 0; transform: translateY(8px); }
.dl-btn.is-loading .dl-spinner { opacity: 1; transform: scale(1); transition-delay: .18s; }
.dl-btn.is-success { border-color: rgba(52,211,153,0.55); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 28px -10px rgba(52,211,153,0.5); }
.dl-btn.is-success .dl-layer-default { opacity: 0; }
.dl-btn.is-success .dl-layer-success { opacity: 1; }
.dl-btn.is-success .dl-check-inline { opacity: 1; transform: scale(1); }
.dl-btn.is-success .dl-check-inline svg path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .dl-btn, .dl-arrow, .dl-spinner, .dl-check-inline, .dl-layer { transition: none !important; }
  .dl-spinner svg { animation: none !important; }
}

/* Capabilities header w/ inline PDF button */
.svc-cap-head {
  max-width: none !important;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.svc-cap-head-copy { max-width: 720px; }
.svc-cap-head-copy .eyebrow { display: block; margin-bottom: 22px; }
.svc-cap-dl {
  align-self: end;
  margin-bottom: 6px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .svc-cap-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .svc-cap-dl { justify-self: start; }
}

/* ─── Buttons (legacy CTAs) ─────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--fg);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .25s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--purple);
  color: #0a0a0c;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(167,139,250,0.55);
}
.btn-primary .arrow { transition: transform .25s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-primary.lg { padding: 18px 28px; font-size: 13px; }

/* Hero View Plans — sized + shaped to pair with .dl-btn (primary filled) */
.svc-cta-row .btn-primary {
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #f5f5f5 0%, #e6e3f1 100%);
  color: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 10px 24px -10px rgba(124,92,245,0.45);
}
.svc-cta-row .btn-primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #efe9ff 100%);
  color: #0a0a0c;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 16px 40px -10px rgba(124,92,245,0.65);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: transparent;
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  transition: border-color .2s, color .2s, background .2s, transform .25s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(167,139,250,0.08), rgba(167,139,250,0));
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--purple);
  transform: translateY(-1px);
}
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost:active { transform: translateY(0); }
.btn-ghost-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--purple);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn-ghost:hover .btn-ghost-icon { transform: translateY(2px); }
.btn-ghost[data-dl-state="working"] .btn-ghost-icon {
  animation: dlSpin 1s linear infinite;
}
.btn-ghost[data-dl-state="done"] .btn-ghost-icon { color: #34d399; }
@keyframes dlSpin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  transition: color .2s, border-color .2s;
  cursor: pointer;
  background: transparent;
}
.btn-link:hover {
  color: var(--purple-light);
  border-color: var(--purple);
}
.btn-link .arrow { transition: transform .25s; }
.btn-link:hover .arrow { transform: translateX(3px); }
.btn-link.inline { padding: 4px 0; }

/* ─── HERO ──────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 72px;
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 64px;
  align-items: stretch;
}

.svc-hero-copy { min-width: 0; }
.svc-hero-copy .eyebrow { display: inline-block; margin-bottom: 28px; }

.svc-headline {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--fg);
  margin-bottom: 28px;
  text-wrap: balance;
  /* reserve 2 lines so the typing rotator never shoves content down */
  min-height: calc(2 * clamp(44px, 5.4vw, 72px) * 1.05);
}

/* ─── Rotator — locked width, locked height, never bumps layout ── */
.rotator-wrap {
  display: inline-grid;
  grid-template-columns: minmax(0, max-content);
  grid-template-rows: 1fr;
  vertical-align: baseline;
  position: relative;
  max-width: 100%;
}
.rotator-wrap > * {
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
.rotator-ghost {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  /* match rotator dimensions exactly */
}
.rotator {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(110deg, var(--purple-light) 0%, var(--purple) 60%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.rotator::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.78em;
  background: var(--purple);
  margin-left: 4px;
  vertical-align: -0.06em;
  animation: caret 1.05s steps(1) infinite;
  box-shadow: 0 0 8px var(--purple-glow);
}
@keyframes caret { 50% { opacity: 0 } }

.svc-lede {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 36px;
}

.svc-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.svc-hero-trust {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.svc-hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple-glow);
}

/* ─── Moliam Agent panel ────────────────────────────────── */
.svc-agent {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(167,139,250,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 90px -40px rgba(124,92,245,0.45);
}
.svc-agent::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.55) 50%, transparent);
  pointer-events: none;
  z-index: 4;
}
.svc-agent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(167,139,250,0.06), transparent 70%);
  pointer-events: none;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  position: relative;
  z-index: 2;
}
.agent-head-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.agent-head-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
}
.agent-head-dots i:nth-child(1) { background: rgba(167,139,250,0.45); border-color: rgba(167,139,250,0.6); }
.agent-head-dots i:nth-child(2) { background: rgba(255,107,53,0.40);  border-color: rgba(255,107,53,0.55); }
.agent-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--purple-light);
}
.agent-hud {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.agent-hud > div {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
}
.agent-hud > div:last-child { border-right: 0; }
.hud-lbl {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.hud-val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.hud-val small {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  color: var(--fg-3);
  margin-left: 2px;
  letter-spacing: .04em;
}

.agent-stream {
  position: relative;
  flex: 1;
  min-height: 300px;
  padding: 18px 22px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--fg);
  background:
    linear-gradient(180deg, rgba(167,139,250,0.06), transparent 24%, transparent 76%, rgba(167,139,250,0.04)),
    var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  z-index: 1;
}
.agent-stream::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 32px;
  background: linear-gradient(180deg, rgba(15,15,18,0.6), transparent);
  pointer-events: none; z-index: 2;
}
.agent-stream::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 32px;
  background: linear-gradient(0deg, rgba(15,15,18,0.6), transparent);
  pointer-events: none; z-index: 2;
}
.agent-line {
  white-space: pre-wrap;
  word-break: break-word;
  animation: agentIn .35s cubic-bezier(.2,.8,.2,1) both;
}
.agent-line-static { animation: none; opacity: 1; }
@keyframes agentIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.agent-line .ag-prompt { color: var(--purple); margin-right: 6px; }
.agent-line .ag-user   { color: var(--fg); }
.agent-line .ag-dim    { color: var(--fg-3); }
.agent-line .ag-tool   { color: var(--purple-light); }
.agent-line .ag-arg    { color: var(--orange); }
.agent-line .ag-ok     { color: #34d399; }
.agent-line .ag-caret::after {
  content: "▍";
  display: inline-block;
  margin-left: 2px;
  color: var(--purple);
  animation: caret 1s steps(1) infinite;
}

.agent-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--fg-3);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}
.agent-foot-sep { color: var(--fg-4); }
.agent-foot .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18), 0 0 10px rgba(52,211,153,0.5);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.16), 0 0 8px rgba(52,211,153,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(52,211,153,0.04), 0 0 14px rgba(52,211,153,0.7); }
}

/* ─── Stats bar ─────────────────────────────────────────── */
.svc-stats {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-stats .stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.svc-stats .stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 42px;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num span {
  font-family: var(--mono);
  font-style: normal;
  font-size: 18px;
  color: var(--purple);
  margin-left: 1px;
  vertical-align: 8px;
}
.stat-lbl {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ─── Sections ──────────────────────────────────────────── */
.svc-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 40px;
}
.section-head {
  margin-bottom: 72px;
  max-width: 720px;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}
.section-title.left { text-align: left; }

/* ─── Reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Services grid ─────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  position: relative;
  grid-column: span 1;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background .35s;
}
.svc-card.feature {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(167,139,250,0.10), transparent 60%),
    var(--bg);
}
.svc-card.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1px solid rgba(167,139,250,0.4);
  box-shadow: 0 -1px 0 0 rgba(167,139,250,0.4) inset;
}
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.svc-card:hover { background: var(--bg-1); }

.svc-card-vis {
  position: relative;
  height: 200px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.svc-card-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--fg-3);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.svc-card-body h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin-bottom: 12px;
}
.svc-card-body p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  max-width: 480px;
}
.card-meta {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--fg-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.card-meta span:nth-child(odd):not(:first-child) { color: var(--purple); }

/* ─── Card visualizations ───────────────────────────────── */
.vis-website { display: grid; place-items: center; padding: 30px 36px; background: var(--bg-2); }
.vis-window {
  width: 100%; height: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 9px;
}
.vis-bar {
  height: 6px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: .85;
}
.vis-bar.w90 { width: 88%; }
.vis-bar.w60 { width: 56%; opacity: .4; }
.vis-bar.w70 { width: 70%; opacity: .6; }
.vis-blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; flex: 1; margin-top: 8px; }
.vis-blocks span {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.vis-blocks span.hi { background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(167,139,250,0.18)); border-color: rgba(167,139,250,0.3); }

.vis-seo { background: var(--bg-2); padding: 24px; }
.vis-seo svg { width: 100%; height: 100%; display: block; }

.vis-orbit { position: relative; display: grid; place-items: center; background: var(--bg-2); }
.orbit-core {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  font-family: var(--serif); font-style: italic;
  font-size: 20px; color: #fff;
  z-index: 2;
  box-shadow: 0 0 28px rgba(255,107,53,0.4);
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 50%;
}
.orbit-ring.r1 { width: 100px; height: 100px; }
.orbit-ring.r2 { width: 160px; height: 160px; border-color: rgba(255,107,53,0.14); }
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: orbitSpin 9s linear infinite;
}
.orbit-dot.d1 {
  top: 50%; left: 50%;
  transform-origin: 0 0;
  animation-duration: 9s;
  margin: -3px 0 0 -3px;
  --r: 50px;
}
.orbit-dot.d2 {
  top: 50%; left: 50%;
  transform-origin: 0 0;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
  animation-duration: 14s;
  animation-direction: reverse;
  margin: -3px 0 0 -3px;
  --r: 80px;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg) translate(var(--r)) rotate(0deg); }
  to { transform: rotate(360deg) translate(var(--r)) rotate(-360deg); }
}

.vis-terminal {
  padding: 28px 32px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--fg);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.term-line .prompt { color: var(--purple); margin-right: 6px; }
.term-line .arg { color: var(--purple-light); }
.term-line.dim { color: var(--fg-3); }
.term-line.ok { color: #34d399; }

.vis-funnel {
  padding: 28px 32px;
  background: var(--bg-2);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.funnel-row {
  display: flex; align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: .06em;
  position: relative;
  height: 26px;
}
.funnel-row::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 5px;
  bottom: 5px;
  width: var(--w);
  max-width: calc(100% - 120px);
  background: linear-gradient(90deg, rgba(255,107,53,0.5), rgba(167,139,250,0.4));
  border-radius: 2px;
}
.funnel-row span { width: 60px; color: var(--fg-3); flex-shrink: 0; z-index: 2; }
.funnel-row b { margin-left: auto; color: var(--fg); font-weight: 500; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 14px; }

.vis-shield { background: var(--bg-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.vis-shield svg { width: 130px; height: 130px; animation: shieldFloat 4.4s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(167,139,250,0.4)); }
@keyframes shieldFloat {
  0%, 100% { transform: translateY(-3px) rotate(-1deg); filter: drop-shadow(0 0 10px rgba(167,139,250,0.3)); }
  50%      { transform: translateY(3px) rotate(1deg); filter: drop-shadow(0 0 22px rgba(167,139,250,0.7)); }
}
.vis-shield::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.18);
  animation: shieldRing 3.8s ease-out infinite;
}
.vis-shield::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,53,0.16);
  animation: shieldRing 3.8s ease-out infinite 1.4s;
}
@keyframes shieldRing {
  0%   { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ─── New Lumi card visualizations ──────────────────────── */

/* 01 — Floating Orb */
.vis-orb {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(167,139,250,0.10), transparent 70%),
    var(--bg-2);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.vis-orb .orb-smile {
  width: 64px; height: 64px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 24px rgba(167,139,250,0.55));
  animation: orbBob 5.5s ease-in-out infinite, orbGlow 3.4s ease-in-out infinite;
}
.vis-orb .orb-smile svg { width: 100%; height: 100%; display: block; }
@keyframes orbBob {
  0%, 100% { transform: translateY(-3px); }
  50%      { transform: translateY(3px); }
}
@keyframes orbGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(167,139,250,0.45)); }
  50%      { filter: drop-shadow(0 0 32px rgba(167,139,250,0.85)); }
}
.vis-orb .orb-rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 1;
}
.vis-orb .orb-rings span {
  position: absolute;
  border: 1px solid rgba(167,139,250,0.20);
  border-radius: 50%;
  transform-origin: center;
}
.vis-orb .orb-rings span:nth-child(1) {
  width: 116px; height: 116px;
  animation: orbRing 4.2s ease-in-out infinite;
}
.vis-orb .orb-rings span:nth-child(2) {
  width: 176px; height: 176px;
  border-color: rgba(255,107,53,0.16);
  animation: orbRing 4.2s ease-in-out infinite .8s;
}
@keyframes orbRing {
  0%   { transform: scale(0.92); opacity: 0.25; }
  50%  { opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}
.vis-orb .orb-monitor {
  position: absolute;
  width: 16px; height: 11px;
  background: var(--bg-3);
  border: 1px solid rgba(167,139,250,0.55);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(167,139,250,0.4);
  z-index: 2;
}
.vis-orb .orb-monitor::after {
  content: ""; position: absolute;
  width: 8px; height: 1.5px;
  background: rgba(167,139,250,0.55);
  left: 50%; transform: translateX(-50%);
  bottom: -3.5px;
}
.vis-orb .orb-monitor::before {
  content: ""; position: absolute;
  inset: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.45), transparent);
  background-size: 200% 100%;
  animation: orbScan 2.2s linear infinite;
}
@keyframes orbScan {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.vis-orb .m1 { top: 22%; left: 25%; animation: orbMon 4.5s ease-in-out infinite, orbMonDrift1 9s ease-in-out infinite; }
.vis-orb .m2 { top: 18%; right: 22%; animation: orbMon 5.2s ease-in-out infinite reverse, orbMonDrift2 11s ease-in-out infinite; }
.vis-orb .m3 { bottom: 22%; left: 50%; animation: orbMon 6s ease-in-out infinite, orbMonDrift3 10s ease-in-out infinite; }
@keyframes orbMon {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 0.35; }
}
@keyframes orbMonDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -3px); }
}
@keyframes orbMonDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-5px, 4px); }
}
@keyframes orbMonDrift3 {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -4px); }
}
.vis-orb .orb-tag::before {
  animation: livePulse 2.4s ease-in-out infinite;
}
.vis-orb .orb-tag {
  position: absolute;
  bottom: 14px; left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.vis-orb .orb-tag::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px;
  background: #34d399;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 6px #34d399;
}

/* 02 — Chat & AI Brain */
.vis-chat {
  background: var(--bg-2);
  padding: 26px 28px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.chat-row {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  padding: 9px 12px;
  border-radius: 8px;
  max-width: 78%;
  letter-spacing: 0.01em;
}
.chat-me {
  align-self: flex-end;
  background: rgba(255,107,53,0.10);
  border: 1px solid rgba(255,107,53,0.32);
  color: var(--fg);
  animation: chatInRight 6s ease-in-out infinite;
}
.chat-ai {
  align-self: flex-start;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.30);
  color: var(--fg);
  animation: chatInLeft 6s ease-in-out infinite;
}
@keyframes chatInRight {
  0%, 6%   { opacity: 0; transform: translateY(6px) translateX(8px); }
  14%, 100% { opacity: 1; transform: none; }
}
@keyframes chatInLeft {
  0%, 38%  { opacity: 0; transform: translateY(6px) translateX(-8px); }
  46%, 100% { opacity: 1; transform: none; }
}
.chat-tk { color: var(--purple-light); }
.chat-cursor {
  display: inline-block;
  width: 6px; height: 11px;
  background: var(--purple);
  vertical-align: -1px;
  margin-left: 1px;
  animation: caret 1s steps(1) infinite;
  box-shadow: 0 0 8px var(--purple-glow);
}
.chat-meta {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.chat-meta::before {
  content: ""; width: 4px; height: 4px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--purple-glow);
}

/* 03 — Record (flagship) */
.vis-record {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(167,139,250,0.10), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(255,107,53,0.08), transparent 60%),
    var(--bg-2);
  position: relative;
  padding: 22px 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.rec-bar {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 14px;
  background: rgba(10,10,12,0.7);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-2);
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}
.rec-bar .rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.18), 0 0 10px rgba(239,68,68,0.6);
  animation: recPulse 1.4s ease-in-out infinite;
}
@keyframes recPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(239,68,68,0.16), 0 0 6px rgba(239,68,68,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(239,68,68,0.04), 0 0 14px rgba(239,68,68,0.85); }
}
.rec-bar .rec-time {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.rec-bar .rec-mode { color: var(--fg-3); letter-spacing: .06em; }
.rec-bar .rec-stop {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(239,68,68,0.18);
  color: #ef4444;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
  margin-left: 2px;
}
.rec-frame {
  position: relative;
  height: 60px;
  border: 1.5px dashed rgba(167,139,250,0.55);
  border-radius: 4px;
  background:
    repeating-linear-gradient(135deg,
      rgba(167,139,250,0.04) 0 6px,
      transparent 6px 12px);
  animation: recFramePulse 3s ease-in-out infinite;
}
@keyframes recFramePulse {
  0%, 100% { border-color: rgba(167,139,250,0.45); box-shadow: inset 0 0 0 0 rgba(167,139,250,0); }
  50%      { border-color: rgba(167,139,250,0.75); box-shadow: inset 0 0 18px 0 rgba(167,139,250,0.10); }
}
.rec-frame .rec-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--purple-light);
}
.rec-frame .tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.rec-frame .tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.rec-frame .bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.rec-frame .br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.rec-frame .rec-dims {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--purple-light);
  letter-spacing: .08em;
  background: rgba(10,10,12,0.6);
  padding: 3px 8px;
  border-radius: 2px;
}
.rec-timeline {
  position: relative;
  height: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.rec-wave {
  display: flex; align-items: center;
  gap: 2.5px;
  flex: 1;
  height: 26px;
}
.rec-wave span {
  display: inline-block;
  width: 3px;
  height: var(--h);
  background: linear-gradient(180deg, var(--purple-light), var(--purple));
  opacity: .8;
  border-radius: 1.5px;
  transform-origin: center;
  animation: recWave 1.6s ease-in-out infinite;
}
.rec-wave span:nth-child(1) { animation-delay: 0s; }
.rec-wave span:nth-child(2) { animation-delay: .08s; }
.rec-wave span:nth-child(3) { animation-delay: .16s; }
.rec-wave span:nth-child(4) { animation-delay: .24s; }
.rec-wave span:nth-child(5) { animation-delay: .32s; }
.rec-wave span:nth-child(6) { animation-delay: .40s; }
.rec-wave span:nth-child(7) { animation-delay: .48s; }
.rec-wave span:nth-child(8) { animation-delay: .56s; }
.rec-wave span:nth-child(9) { animation-delay: .64s; }
.rec-wave span:nth-child(10) { animation-delay: .72s; }
.rec-wave span:nth-child(11) { animation-delay: .80s; }
.rec-wave span:nth-child(12) { animation-delay: .88s; }
.rec-wave span:nth-child(13) { animation-delay: .96s; }
.rec-wave span:nth-child(14) { animation-delay: 1.04s; }
.rec-wave span:nth-child(15) { animation-delay: 1.12s; }
.rec-wave span:nth-child(16) { animation-delay: 1.20s; }
.rec-wave span:nth-child(17) { animation-delay: 1.28s; }
.rec-wave span:nth-child(18) { animation-delay: 1.36s; }
.rec-wave span:nth-child(19) { animation-delay: 1.44s; }
.rec-wave span:nth-child(20) { animation-delay: 1.52s; }
@keyframes recWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50%      { transform: scaleY(1.05); opacity: 0.95; }
}
.rec-scrub {
  position: absolute;
  top: 4px; bottom: 4px;
  left: 42%;
  width: 1.5px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: recScrub 4.6s ease-in-out infinite;
}
@keyframes recScrub {
  0%   { left: 12%; }
  50%  { left: 80%; }
  100% { left: 12%; }
}
.rec-scrub::before {
  content: ""; position: absolute;
  top: -4px; left: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

/* 04 — Documents */
.vis-docs {
  background: var(--bg-2);
  padding: 24px 28px;
  display: flex; align-items: center;
  gap: 22px;
  justify-content: center;
}
.docs-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.doc-tile {
  width: 46px; height: 56px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--fg-2);
  position: relative;
  overflow: hidden;
}
.doc-tile::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 12px; height: 12px;
  background: var(--bg-3);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.doc-tile.t-pdf { color: #ff6b6b; border-color: rgba(255,107,107,0.45); box-shadow: inset 0 -2px 0 rgba(255,107,107,0.25); animation: docTile 4s ease-in-out infinite; }
.doc-tile.t-doc { color: #60a5fa; border-color: rgba(96,165,250,0.45); box-shadow: inset 0 -2px 0 rgba(96,165,250,0.25); animation: docTile 4s ease-in-out infinite .5s; }
.doc-tile.t-xls { color: #34d399; border-color: rgba(52,211,153,0.45); box-shadow: inset 0 -2px 0 rgba(52,211,153,0.25); animation: docTile 4s ease-in-out infinite 1s; }
.doc-tile.t-ppt { color: #fb923c; border-color: rgba(251,146,60,0.45); box-shadow: inset 0 -2px 0 rgba(251,146,60,0.25); animation: docTile 4s ease-in-out infinite 1.5s; }
@keyframes docTile {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50%      { transform: translateY(-3px); filter: brightness(1.2); }
}
.docs-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--purple-light);
  animation: docsArrow 2.2s ease-in-out infinite;
}
@keyframes docsArrow {
  0%, 100% { transform: translateX(-3px); opacity: .55; }
  50%      { transform: translateX(3px); opacity: 1; text-shadow: 0 0 12px var(--purple-glow); }
}
.docs-md {
  width: 108px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(167,139,250,0.4);
  background: rgba(167,139,250,0.06);
  border-radius: 4px;
  display: flex; flex-direction: column;
  gap: 6px;
  position: relative;
  box-shadow: 0 12px 32px -16px rgba(124,92,245,0.5);
}
.docs-md .md-line {
  height: 4px; border-radius: 1px;
  background: linear-gradient(90deg, rgba(167,139,250,0.6), rgba(167,139,250,0.16));
  transform-origin: left center;
  animation: mdLineDraw 4s ease-in-out infinite;
}
.docs-md .md-line.w90 { width: 92%; animation-delay: 0s; }
.docs-md .md-line.w70 { width: 70%; animation-delay: .4s; }
.docs-md .md-line.w80 { width: 82%; animation-delay: .8s; }
.docs-md .md-line.w55 { width: 58%; animation-delay: 1.2s; }
@keyframes mdLineDraw {
  0%, 5%   { transform: scaleX(0); opacity: 0; }
  18%, 75% { transform: scaleX(1); opacity: 1; }
  92%, 100% { transform: scaleX(1); opacity: 0.25; }
}
.docs-md .md-tag {
  position: absolute;
  top: -10px;
  right: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--purple-light);
  background: var(--bg-2);
  padding: 0 6px;
  text-transform: uppercase;
}

/* 05 — Monitor (proactive) */
.vis-monitor {
  background: var(--bg-2);
  padding: 22px 24px;
  position: relative;
}
.vis-monitor svg { width: 100%; height: 100%; display: block; }
.vis-monitor .mon-pings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vis-monitor .mon-ping {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--fg-3);
  white-space: nowrap;
}
.vis-monitor .mon-ping b {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}
.vis-monitor .mon-ping.alert b { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.vis-monitor .mon-ping.fix   b { background: var(--purple-light); box-shadow: 0 0 8px var(--purple-glow); }
.vis-monitor .mon-ping.alert { top: 26%; left: 30%; color: var(--orange); animation: pingPop 5s ease-in-out infinite; }
.vis-monitor .mon-ping.fix   { top: 60%; left: 60%; color: var(--purple-light); animation: pingPop 5s ease-in-out infinite 2.5s; }
@keyframes pingPop {
  0%, 8%   { opacity: 0; transform: translateY(-4px); }
  16%, 70% { opacity: 1; transform: translateY(0); }
  85%, 100% { opacity: 0; transform: translateY(0); }
}
.vis-monitor::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(167,139,250,0.45), transparent);
  pointer-events: none;
  animation: monScan 6s linear infinite;
}
@keyframes monScan {
  0%   { left: 0%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ────────────────────────────────────────────────────────
 * PRICING / TIERS
 * ──────────────────────────────────────────────────────── */
.svc-pricing { padding-top: 120px; }
.pricing-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
@media (max-width: 900px) {
  .pricing-head { grid-template-columns: 1fr; align-items: start; }
}
.pricing-lede {
  margin-top: 22px;
  max-width: 580px;
}

/* Billing toggle ─ segmented, ultra-clean */
.pricing-toggle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  gap: 2px;
}
.pt-btn {
  position: relative;
  z-index: 2;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--fg-3);
  transition: color .25s, background .25s, border-color .25s;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.pt-btn:hover { color: var(--fg-2); }
.pt-btn.active {
  color: var(--fg);
  background: var(--bg-3);
  border-color: var(--line-2);
}
.pt-save {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(167,139,250,0.16);
  color: var(--purple-light);
}
.pt-thumb { display: none; }

/* Tier grid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 980px) {
  .tier-grid { grid-template-columns: 1fr; }
}
.tier {
  background: var(--bg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .35s;
}
.tier:hover { background: var(--bg-1); }
.tier.featured {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(167,139,250,0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
}
.tier.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1px solid rgba(167,139,250,0.45);
  box-shadow: 0 -1px 0 0 rgba(167,139,250,0.45) inset, 0 30px 80px -30px rgba(124,92,245,0.25);
}
.tier-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 5px 10px 5px 8px;
  margin: 0 0 18px;
  border-radius: 999px;
  font-weight: 500;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.32);
}
.tier-flag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.18);
}
.tier-head { margin-bottom: 24px; }
.tier-name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.tier-name .accent-italic { font-size: 1.05em; }
.tier-tag {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.5;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
  font-family: var(--serif);
  letter-spacing: -0.02em;
}
.tp-currency {
  font-family: var(--mono);
  font-style: normal;
  font-size: 18px;
  color: var(--fg-3);
  margin-right: 2px;
}
.tp-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  transition: opacity .25s;
}
.tier-price.tp-custom .tp-num {
  font-size: 48px;
  background: linear-gradient(110deg, var(--purple-light), var(--purple) 60%, var(--purple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tp-unit {
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  color: var(--fg-3);
  letter-spacing: .04em;
  margin-left: 4px;
}
.tier-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.2,.8,.2,1);
  margin-bottom: 28px;
}
.tier-cta:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  transform: translateY(-1px);
}
.tier-cta .arrow { transition: transform .25s; }
.tier-cta:hover .arrow { transform: translateX(3px); }
.tier-cta.primary {
  background: var(--fg);
  color: #0a0a0c;
  border-color: var(--fg);
}
.tier-cta.primary:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #0a0a0c;
  box-shadow: 0 14px 36px -10px rgba(167,139,250,0.55);
}

.tier-feat {
  list-style: none;
  margin: 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.55;
}
.tier-feat li {
  display: flex; align-items: flex-start; gap: 12px;
}
.tier-feat li b { color: var(--fg); font-weight: 500; }
.ft-check {
  flex-shrink: 0;
  position: relative;
  width: 14px; height: 14px;
  margin-top: 4px;
}
.ft-check::before {
  content: "";
  position: absolute;
  left: 1px; top: 5px;
  width: 5px; height: 2px;
  background: var(--purple);
  transform: rotate(45deg);
  transform-origin: left center;
}
.ft-check::after {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 10px; height: 2px;
  background: var(--purple);
  transform: rotate(-50deg);
  transform-origin: left center;
}
.tier.featured .ft-check::before,
.tier.featured .ft-check::after { background: var(--purple-light); }

.pricing-foot {
  margin-top: 36px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(10,10,12,0.4);
  flex-wrap: wrap;
}
.pricing-foot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
  flex-shrink: 0;
}
.pricing-foot > span { flex: 1; min-width: 240px; }

/* ─── Process ───────────────────────────────────────────── */
.process {
  list-style: none;
  margin: 0; padding: 0;
  max-width: 920px;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 50%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.step-body h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  letter-spacing: -0.012em;
}
.step-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 400;
}
.step-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 640px;
}

/* ─── Integrate ─────────────────────────────────────────── */
.integrate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .integrate-grid { grid-template-columns: 1fr; gap: 48px; }
}
.integrate-copy .eyebrow { display: block; margin-bottom: 22px; }
.integrate-copy .section-title { margin-bottom: 22px; }
.lede-left {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.feature-list {
  list-style: none;
  margin: 0; padding: 0;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  flex-wrap: wrap;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before {
  content: "→";
  font-family: var(--mono);
  color: var(--purple);
  font-size: 14px;
  flex-shrink: 0;
  width: 14px;
}
.feature-list li b {
  color: var(--fg);
  font-weight: 500;
  margin-right: 4px;
  white-space: nowrap;
}
.feature-list li span.desc {
  color: var(--fg-2);
  flex: 1;
  min-width: 200px;
}

.code-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
}
.code-tab { color: var(--purple-light); }
.code-meta { color: #6ee7b7; }
.code {
  margin: 0;
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg);
  overflow-x: auto;
}
.code .cl { color: var(--fg-3); font-style: italic; }
.code .ck { color: var(--purple-light); }
.code .cs { color: #6ee7b7; }
.code .cp { color: var(--purple); }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq {
  max-width: none;
  border-top: 1px solid var(--line);
}
.faq-row summary span { max-width: 820px; }
.faq-a { max-width: 820px; }
.faq-row {
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.faq-row[open] { background: rgba(167,139,250,0.04); }
.faq-row summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.faq-icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--purple);
  transition: transform .25s ease;
}
.faq-icon::before { top: 6px; left: 0; right: 0; height: 1.5px; }
.faq-icon::after { left: 6px; top: 0; bottom: 0; width: 1.5px; }
.faq-row[open] .faq-icon::after { transform: scaleY(0); }
.faq-a {
  padding: 0 4px 30px 4px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 820px;
}

/* ─── Final CTA ─────────────────────────────────────────── */
.svc-final {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 140px;
}
.final-card {
  position: relative;
  text-align: center;
  padding: 110px 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(167,139,250,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(124,92,245,0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 40px 100px -40px rgba(124,92,245,0.25);
}
.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(167,139,250,0.04) 70%),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(167,139,250,0.025) 40px 41px);
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
}
.final-card > * { position: relative; z-index: 1; }
.final-card .eyebrow { display: block; margin-bottom: 28px; color: var(--purple-light); }
.final-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--fg);
  margin-bottom: 28px;
  text-wrap: balance;
}
.final-sub {
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
}
.final-cta-row {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.final-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--fg-3);
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: center;
}
.final-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18), 0 0 10px rgba(52,211,153,0.5);
}
.final-meta .sep { color: var(--fg-4); }

/* ─── Active nav state ──────────────────────────────────── */
.nb-nav a.active {
  color: var(--purple-light);
}

/* ─── Two Agents (Hermes / OpenClaw) ────────────────────── */
.agents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 880px) {
  .agents-grid { grid-template-columns: 1fr; }
}
.agent-card {
  background: var(--bg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .35s;
}
.agent-card:hover { background: var(--bg-1); }
.agent-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.agent-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--purple-light);
  letter-spacing: 0;
  line-height: 1;
}
.agent-card-title h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.agent-card-tag {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.agent-card-desc {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0;
}
.agent-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.agent-card-list li {
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.agent-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--purple-light);
  opacity: .7;
}
.agents-foot {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
  font-size: 13px;
  color: var(--fg-2);
  max-width: 100%;
  flex-wrap: wrap;
}

/* ─── Extras (also in the box) ──────────────────────────── */
.extras {
  margin-top: 48px;
  padding: 36px 44px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 0%, rgba(167,139,250,0.06), transparent 60%),
    var(--bg-1);
}
.extras-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.extras-sub {
  font-size: 13px;
  color: var(--fg-3);
  font-family: var(--sans);
}
.extras-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) {
  .extras-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .extras-list { grid-template-columns: 1fr; }
}
.extras-list li {
  padding: 18px 30px 18px 22px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 4px;
  position: relative;
}
.extras-list li:nth-child(3n+1) { padding-left: 0; }
.extras-list li:nth-child(3n) { border-right: 0; padding-right: 0; }
@media (max-width: 880px) {
  .extras-list li { padding-left: 22px; padding-right: 30px; }
  .extras-list li:nth-child(3n) { border-right: 1px solid var(--line); padding-right: 30px; }
  .extras-list li:nth-child(3n+1) { padding-left: 22px; }
  .extras-list li:nth-child(odd) { padding-left: 0; }
  .extras-list li:nth-child(even) { border-right: 0; padding-right: 0; }
}
@media (max-width: 560px) {
  .extras-list li { border-right: 0; padding-right: 0; }
}
.extras-list li::before {
  content: "+";
  position: absolute;
  top: 18px; right: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--purple);
  opacity: .55;
}
.extras-list li:nth-child(3n)::before { right: 0; }
.extras-list li b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.extras-list li span {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 980px) {
  .svc-hero { padding: 64px 24px 48px; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .svc-stats { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .svc-stats .stat:nth-child(2) { border-right: 0; }
  .svc-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-section { padding: 96px 24px; }
  .step { grid-template-columns: 70px 1fr; gap: 24px; }
  .step-num { font-size: 42px; }
  .final-card { padding: 80px 24px; }
  .svc-final { padding: 32px 24px 96px; }
}
@media (max-width: 640px) {
  .svc-headline { font-size: clamp(34px, 9vw, 48px); }
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .final-title { font-size: clamp(32px, 8vw, 48px); }
  .svc-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 32px; }
  .final-cta-row { flex-direction: column; gap: 14px; }
  .tp-num { font-size: 52px; }
  .tier { padding: 28px 24px 26px; }
}
