/* ============================================================================
   Futurebridge Agents — landing styles
   Reference: fin.ai (warm-cream surfaces, deep ink type, soft serif accents)
   ========================================================================== */

:root {
  --bg: #f3f0e8;
  --bg-2: #ece8dd;
  --ink: #0c0c0d;
  --ink-2: #1c1c1e;
  --muted: #6f6c63;
  --line: rgba(12, 12, 13, 0.1);
  --line-strong: rgba(12, 12, 13, 0.18);
  --accent: #ff6a3d;
  --accent-2: #ffb38a;
  --dark: #0c0c0d;
  --dark-2: #18181a;
  --cream: #f7f4ec;
  --pill: rgba(12, 12, 13, 0.06);

  --radius: 14px;
  --radius-lg: 22px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.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;
}

/* Subtle film grain overlay for warmth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  border-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-size: 17px;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--cream);
}
.brand__name {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.brand__sub {
  color: var(--muted);
  font-weight: 400;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--ink);
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.link {
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.link:hover {
  color: var(--ink);
}
.link--arrow {
  display: inline-flex;
  gap: 6px;
  font-weight: 500;
}

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn {
  --pad-y: 11px;
  --pad-x: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:active {
  transform: translateY(1px);
}
.btn span {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover span {
  transform: translateX(2px);
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: #1f1f22;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(12, 12, 13, 0.04);
}

.btn--lg {
  --pad-y: 14px;
  --pad-x: 22px;
  font-size: 15.5px;
}

.btn--full {
  width: 100%;
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.orb--a {
  width: 520px;
  height: 520px;
  left: -120px;
  top: -160px;
  background: radial-gradient(closest-side, #ffb38a, transparent);
}
.orb--b {
  width: 460px;
  height: 460px;
  right: -100px;
  top: -80px;
  background: radial-gradient(closest-side, #ffd28a, transparent);
}
.orb--c {
  width: 360px;
  height: 360px;
  left: 40%;
  top: 40%;
  background: radial-gradient(closest-side, #ffe6c2, transparent);
  opacity: 0.4;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 50px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--pill);
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  margin-bottom: 28px;
  transition: background 0.15s ease;
}
.pill:hover {
  background: rgba(12, 12, 13, 0.09);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.18);
}

.hero__title {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__title em {
  font-size: 1.04em;
  color: var(--ink);
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero__sub strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
}
.hero__meta-item .num {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__meta-item .label {
  color: var(--muted);
  font-size: 12.5px;
}
.hero__meta-divider {
  width: 1px;
  height: 26px;
  background: var(--line-strong);
}

/* Demo card */
.hero__demo {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  perspective: 1400px;
}
.demo-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbfaf4, #f4efe2);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(12, 12, 13, 0.25),
    0 8px 24px -8px rgba(12, 12, 13, 0.1);
  overflow: hidden;
  transform: rotateX(2deg);
  transition: transform 0.4s ease;
}
.demo-card:hover {
  transform: rotateX(0) translateY(-4px);
}
.demo-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  color: var(--muted);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.demo-card__title {
  margin-left: 6px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.demo-card__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 8px rgba(40, 200, 64, 0);
  }
}

.demo-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 92%;
}
.msg--in { align-self: flex-start; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }

.msg__avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.msg__bubble {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
}
.msg--out .msg__bubble {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.msg__bubble p { margin: 0; }
.msg__bubble b {
  font-weight: 600;
  background: rgba(255, 106, 61, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  color: #c44a23;
}
.msg--out .msg__bubble b {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-2);
}
.msg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chip {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(40, 200, 64, 0.12);
  color: #1c7a2e;
  border: 1px solid rgba(40, 200, 64, 0.25);
}

/* ============================================================================
   LOGOS
   ========================================================================== */
.logos {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.eyebrow--center {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}
.eyebrow--light { color: rgba(247, 244, 236, 0.7); }

.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 56px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.015em;
  color: var(--ink-2);
  opacity: 0.78;
}
.logos__row span:nth-child(odd) { font-style: italic; }

/* ============================================================================
   PLATFORM / CARDS
   ========================================================================== */
.platform {
  padding: 120px 0 100px;
  position: relative;
}

.section__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 18px;
}
.section__title--sm {
  font-size: clamp(30px, 3.5vw, 44px);
}
.section__title--light { color: var(--cream); }

.section__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 56px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px -20px rgba(12, 12, 13, 0.18);
}
.card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  margin-bottom: 22px;
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================================
   INTEGRATIONS
   ========================================================================== */
.integrations {
  padding: 100px 0 110px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.integrations__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.integrations__copy {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  margin: 0;
}

.grid-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.tile {
  height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -16px rgba(12, 12, 13, 0.18);
}
.tile--more {
  background: transparent;
  border-style: dashed;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.tile--more:hover {
  background: rgba(12, 12, 13, 0.04);
}

/* ============================================================================
   AGENTS
   ========================================================================== */
.agents {
  padding: 120px 0 110px;
}
.agents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.agent-card {
  position: relative;
  padding: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.agent-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px -20px rgba(12, 12, 13, 0.18);
}
.agent-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.agent-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
}
.agent-card p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}
.agent-card ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.agent-card ul li {
  padding: 6px 0;
  border-top: 1px dashed var(--line);
}
.agent-card ul li:first-child { border-top: 0; padding-top: 14px; border-top: 1px solid var(--line); }

.agent-card--feature {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.agent-card--feature:hover {
  background: #1a1a1c;
}
.agent-card--feature .agent-card__tag { color: var(--accent-2); }
.agent-card--feature p { color: rgba(247, 244, 236, 0.7); }
.agent-card--feature ul { color: var(--cream); }
.agent-card--feature ul li { border-top-color: rgba(247, 244, 236, 0.12); }

.agent-card--blank {
  background: transparent;
  border-style: dashed;
}
.agent-card--blank h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
}

/* ============================================================================
   RESULTS
   ========================================================================== */
.results {
  padding: 110px 0;
  background: var(--dark);
  color: var(--cream);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 56px 0 64px;
  background: rgba(247, 244, 236, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247, 244, 236, 0.12);
}
.metric {
  background: var(--dark);
  padding: 38px 32px 36px;
}
.metric__num {
  display: inline-block;
  font-size: clamp(60px, 7vw, 96px);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric__unit {
  display: inline-block;
  font-size: clamp(28px, 3vw, 38px);
  font-family: var(--font-serif);
  margin-left: 4px;
  color: var(--accent-2);
  vertical-align: super;
}
.metric p {
  margin: 16px 0 0;
  color: rgba(247, 244, 236, 0.72);
  font-size: 15px;
  line-height: 1.55;
  max-width: 320px;
}

.quote {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  font-style: italic;
}
.quote figcaption {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
}
.muted { color: var(--muted); }
.results .muted { color: rgba(247, 244, 236, 0.5); }

/* ============================================================================
   HOW
   ========================================================================== */
.how {
  padding: 120px 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.step h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

/* ============================================================================
   PRICING
   ========================================================================== */
.pricing {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.plan {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.plan__price {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan__price span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.plan__price small {
  font-size: 13.5px;
  color: var(--muted);
}
.plan__desc {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.5;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.plan ul li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.plan ul li:first-child { border-top: 0; }
.plan a { margin-top: auto; }

.plan--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.plan--featured h3 { color: var(--cream); }
.plan--featured .plan__price small { color: rgba(247, 244, 236, 0.6); }
.plan--featured .plan__desc { color: rgba(247, 244, 236, 0.72); }
.plan--featured ul { color: var(--cream); }
.plan--featured ul li { border-top-color: rgba(247, 244, 236, 0.12); }
.plan--featured .btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.plan--featured .btn--primary:hover { background: #ff7a52; }

.plan__tag {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 120px 0;
}
.faq__grid {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "–";
  transform: translateY(-2px);
}
.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

/* ============================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 130px 0 130px;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 20% 20%, rgba(255, 106, 61, 0.18), transparent 60%),
    radial-gradient(closest-side at 80% 80%, rgba(255, 179, 138, 0.14), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
}
.cta h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 18px;
}
.cta p {
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(247, 244, 236, 0.72);
  font-size: 17px;
  line-height: 1.55;
}
.cta__form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  background: rgba(247, 244, 236, 0.08);
  border: 1px solid rgba(247, 244, 236, 0.16);
  padding: 6px;
  border-radius: 999px;
}
.cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--cream);
  padding: 10px 16px;
  font-size: 15px;
  font-family: inherit;
}
.cta__form input::placeholder { color: rgba(247, 244, 236, 0.5); }
.cta__form .btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.cta__form .btn--primary:hover { background: #ff7a52; }

.cta__fine {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(247, 244, 236, 0.5);
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 280px;
}
.brand--footer .brand__mark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  width: 28px;
  height: 28px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer__cols a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
  color: var(--ink-2);
}
.footer__cols a:hover { color: var(--ink); }

.footer__base {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .integrations__head { grid-template-columns: 1fr; gap: 14px; }
  .grid-tiles { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 14px 20px; }
  .nav__actions .link { display: none; }
  .hero { padding: 40px 0 20px; }
  .hero__inner { padding-top: 20px; }
  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border-radius: 18px;
  }
  .hero__meta-divider { display: none; }
  .hero__demo { margin-top: 50px; }
  .demo-card { transform: none; }
  .cards { grid-template-columns: 1fr; }
  .agents__grid { grid-template-columns: 1fr; }
  .grid-tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { height: 80px; font-size: 13.5px; }
  .cta__form {
    flex-direction: column;
    border-radius: 18px;
    padding: 8px;
  }
  .cta__form input { padding: 12px 16px; }
  .cta__form .btn { padding: 12px 18px; }
  .footer__base { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
