:root {
  --bb-navy: #16283c;
  --bb-copper: #c87a2e;
  --bb-teal: #2f7d78;
  --bb-paper: #f7f5f1;
  --bb-ink: #1b1f24;
  --bb-slate: #5a6b7a;
  --bb-live: #3a9b6e;
  --bb-alert: #b54a35;
  --bb-line: rgba(22, 40, 60, 0.16);
  --bb-card: #fffdf8;
  --bb-soft: #eadfd0;
  --shadow: 0 14px 34px rgba(22, 40, 60, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bb-ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.86), rgba(234, 223, 208, 0.42) 48%, rgba(224, 238, 236, 0.36)),
    var(--bb-paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 40, 60, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 40, 60, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 46%, rgba(47, 125, 120, 0.06) 46% 47%, transparent 47% 100%);
  background-size: 42px 42px, 42px 42px, 180px 180px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.14));
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--bb-navy);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 40, 60, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell,
.container {
  width: min(1160px, calc(100vw - 32px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--bb-copper), var(--bb-teal));
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 19px;
  color: white;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: white;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--bb-navy);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(22, 40, 60, 0.14);
}

.button.primary {
  color: white;
  background: var(--bb-navy);
  border-color: var(--bb-navy);
}

.site-header .button.primary {
  color: var(--bb-navy);
  background: white;
  border-color: white;
}

.button.secondary {
  color: var(--bb-navy);
  background: transparent;
}

.button.secondary.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.button.copper {
  border-color: var(--bb-copper);
  background: var(--bb-copper);
  color: white;
}

.button.copper:hover,
.button.copper:focus-visible {
  background: #b86925;
  border-color: #b86925;
}

.section {
  padding: 76px 0;
  position: relative;
  scroll-margin-top: 72px;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 96px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 125, 120, 0.34), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1fr);
  grid-template-areas:
    "copy video";
  gap: 38px;
  align-items: start;
}

.hero-copy {
  grid-area: copy;
}

.hero-video-panel {
  grid-area: video;
}

.eyebrow,
.kicker,
.status-label {
  margin: 0 0 14px;
  color: var(--bb-copper);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--bb-navy);
  font-family: "Barlow", system-ui, sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: #334155;
  font-size: 20px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
  max-width: 660px;
}

.proof-row div {
  border-left: 3px solid var(--bb-copper);
  padding-left: 12px;
}

.proof-row strong {
  display: block;
  color: var(--bb-navy);
  font-family: "JetBrains Mono", monospace;
  font-size: 19px;
}

.proof-row span {
  color: var(--bb-slate);
  font-size: 13px;
}

.video-panel,
.workflow-panel,
.card,
.plan,
.step-card,
.intake-panel,
.help-card,
.loop-node {
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  background: var(--bb-card);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.plan:hover,
.step-card:hover,
.help-card:hover,
.loop-node:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 122, 46, 0.34);
  box-shadow: 0 18px 42px rgba(22, 40, 60, 0.14);
}

.video-panel {
  overflow: hidden;
}

.hero-video-panel {
  background: #101f30;
}

.hero-video-actions {
  padding: 0 18px 20px;
  background:
    linear-gradient(120deg, rgba(200, 122, 46, 0.10), transparent 58%),
    #101f30;
}

.hero-video-actions .hero-actions {
  margin-top: 0;
}

.hero-video-actions .proof-row strong {
  color: white;
}

.hero-video-actions .proof-row span {
  color: rgba(255, 255, 255, 0.70);
}

.video-frame {
  position: relative;
  min-height: 390px;
  background: var(--bb-navy);
}

.hero-video-frame {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(22, 40, 60, 0.92), rgba(47, 125, 120, 0.42)),
    var(--bb-navy);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101f30;
}

.motion-poster {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 58px minmax(210px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, #13263a, #1b3449);
}

.poster-client,
.poster-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bb-navy);
  box-shadow: 0 18px 34px rgba(4, 16, 28, 0.22);
}

.poster-client {
  min-height: 210px;
  padding: 24px;
}

.avatar-mark {
  display: block;
  width: 78px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 48px 48px 10px 10px;
  background:
    linear-gradient(180deg, rgba(234, 223, 208, 0.95) 0 40%, transparent 40%),
    radial-gradient(circle at 62% 44%, var(--bb-copper) 0 28px, transparent 29px),
    linear-gradient(var(--bb-copper), var(--bb-copper));
}

.poster-client strong,
.poster-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 20px;
}

.poster-client p,
.poster-card p {
  margin: 0;
  color: var(--bb-slate);
  font-size: 13px;
}

.signal-line {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bb-copper), var(--bb-teal));
}

.signal-line span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
  transform: translateY(-50%);
}

.poster-stack {
  display: grid;
  gap: 14px;
}

.poster-card {
  padding: 16px;
}

.poster-card.active {
  border-color: rgba(47, 125, 120, 0.38);
}

.mini-icon,
.section-icon,
.plan-badge,
.node-icon,
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: white;
  background: var(--bb-navy);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  overflow: visible;
  padding: 7px;
}

.poster-card .mini-icon {
  float: right;
  width: 28px;
  height: 28px;
  margin: 0 0 8px 10px;
  background: var(--bb-teal);
  padding: 6px;
}

.video-frame img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border: 2px solid white;
  border-radius: 50%;
  background: rgba(22, 40, 60, 0.72);
  color: white;
  font-size: 22px;
}

.video-caption {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  background:
    linear-gradient(90deg, rgba(200, 122, 46, 0.16), transparent 48%),
    #101f30;
}

.animated-flow {
  position: relative;
  margin-top: 48px;
}

.animated-flow h3 {
  max-width: none;
  margin: 0;
  text-align: center;
  color: inherit;
  font-size: clamp(26px, 3.4vw, 40px);
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.flow-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bb-copper), var(--bb-teal));
  opacity: 0.82;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1500ms ease;
}

.animated-flow.is-running .flow-line {
  transform: scaleX(1);
}

.flow-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--bb-navy);
  opacity: 0.44;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease, color 260ms ease;
}

.flow-node.is-active {
  opacity: 1;
  transform: translateY(0);
}

.flow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--bb-paper);
  color: inherit;
  box-shadow: 0 0 0 8px var(--bb-paper);
}

.flow-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.flow-node.is-active .flow-icon {
  color: var(--bb-copper);
}

.flow-node.final.is-active .flow-icon::after,
.onboarding-flow .flow-node.is-active .step-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid var(--bb-live);
  border-radius: inherit;
  animation: flowPulse 720ms ease-out both;
}

.flow-node strong {
  display: block;
  color: var(--bb-navy);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.flow-node p {
  max-width: 22ch;
  margin: 0;
  color: var(--bb-slate);
  font-size: 13.5px;
  line-height: 1.5;
}

.ring-flow {
  padding-top: 18px;
}

.flow-close {
  max-width: none;
  margin: 42px 0 0;
  color: inherit;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.animated-flow.is-complete .flow-close,
.onboarding-flow.is-complete + .onboarding-close {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flowPulse {
  from { opacity: 0.72; transform: scale(0.72); }
  to { opacity: 0; transform: scale(1.55); }
}

.band {
  background:
    linear-gradient(135deg, rgba(22, 40, 60, 0.98), rgba(27, 48, 70, 0.96)),
    var(--bb-navy);
  color: white;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
}

.band > .container {
  position: relative;
}

.band h2,
.band h3 {
  color: white;
}

.band .ring-flow .flow-node,
.band .ring-flow .flow-node strong {
  color: white;
}

.band .ring-flow .flow-node p {
  color: rgba(255, 255, 255, 0.72);
}

.band .ring-flow .flow-icon {
  background: var(--bb-navy);
  box-shadow: 0 0 0 8px var(--bb-navy);
}

.band p,
.band li {
  color: rgba(255, 255, 255, 0.80);
}

.band .card h3,
.band .card p,
.band .step-card h3,
.band .step-card p {
  color: var(--bb-navy);
}

.band .card p,
.band .step-card p {
  color: var(--bb-slate);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.card,
.help-card {
  padding: 24px;
}

.icon-card {
  min-height: 190px;
}

.card p,
.plan p,
.step-card p,
.intake-panel p,
.help-card p {
  color: var(--bb-slate);
}

.workflow-panel {
  padding: 18px;
  margin-top: 28px;
  overflow: hidden;
}

.workflow-panel img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.phone-sms-asset,
.trust-loop-asset {
  margin: 0;
  overflow: hidden;
}

.phone-sms-asset {
  grid-column: 1 / -1;
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  background: var(--bb-card);
  box-shadow: var(--shadow);
}

.phone-sms-asset img,
.trust-loop-asset img {
  display: block;
  width: 100%;
  height: auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.plan {
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-badge {
  background: linear-gradient(135deg, var(--bb-navy), var(--bb-teal));
}

.plan.recommended {
  border-color: var(--bb-copper);
  box-shadow: 0 18px 46px rgba(200, 122, 46, 0.18);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0;
  color: var(--bb-navy);
}

.price strong {
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.price span {
  color: var(--bb-slate);
  font-size: 13px;
  font-weight: 700;
}

.plan ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plan li,
.check-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: #334155;
}

.plan li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bb-live);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 34px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--bb-copper), var(--bb-teal));
  opacity: 0.65;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1500ms ease;
}

.timeline.animated-flow::before {
  transform: scaleX(0);
}

.timeline.animated-flow.is-running::before {
  transform: scaleX(1);
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  min-height: 230px;
  overflow: hidden;
}

.timeline .step-card.flow-node {
  align-items: flex-start;
  text-align: left;
}

.timeline .step-card.flow-node p {
  max-width: none;
}

.timeline .step-card.flow-node.is-active {
  border-color: rgba(200, 122, 46, 0.42);
  box-shadow: 0 18px 42px rgba(22, 40, 60, 0.18);
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 122, 46, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 122, 46, 0.18), transparent 64%);
}

.step-card strong {
  width: fit-content;
  border: 1px solid rgba(200, 122, 46, 0.32);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--bb-copper);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.intake-panel {
  padding: 26px;
}

.service-board {
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  background: var(--bb-card);
  box-shadow: var(--shadow);
  padding: 22px;
}

.trust-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(234, 223, 208, 0.42));
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
}

.trust-loop-asset {
  display: block;
  padding: 18px;
}

.trust-loop-asset::before,
.trust-loop-asset::after {
  display: none;
}

.trust-loop::before {
  content: "Trust Loop";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 40, 60, 0.14);
  border-radius: 50%;
  color: var(--bb-navy);
  background: rgba(255, 255, 255, 0.88);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  transform: translate(-50%, -50%);
}

.trust-loop::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 2px dashed rgba(200, 122, 46, 0.45);
  border-radius: 999px;
  pointer-events: none;
}

.loop-node {
  position: relative;
  z-index: 1;
  min-height: 148px;
  padding: 20px;
}

.loop-node:nth-child(2),
.loop-node:nth-child(4) {
  text-align: right;
}

.loop-node .node-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  background: var(--bb-navy);
}

.loop-node strong {
  display: block;
  color: var(--bb-navy);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 20px;
}

.loop-node span:not(.node-icon) {
  display: block;
  margin-top: 6px;
  color: var(--bb-slate);
  font-size: 14px;
}

.step-icon {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  color: var(--bb-navy);
  background: rgba(200, 122, 46, 0.14);
  border: 1px solid rgba(200, 122, 46, 0.28);
}

.service-topline,
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bb-line);
}

.service-topline {
  justify-content: flex-start;
  color: var(--bb-navy);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 24px;
}

.service-row span {
  color: var(--bb-slate);
}

.service-row strong {
  color: var(--bb-navy);
  text-align: right;
}

.service-row:last-child {
  border-bottom: 0;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bb-live);
  box-shadow: 0 0 0 6px rgba(58, 155, 110, 0.14);
}

.compact-grid {
  margin-top: 0;
}

.intake-screen {
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.progress {
  display: flex;
  gap: 6px;
  margin: 0 0 22px;
}

.progress span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--bb-soft);
}

.progress span.active {
  background: var(--bb-copper);
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--bb-navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--bb-line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--bb-ink);
  background: white;
  font: inherit;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  border: 1px solid var(--bb-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--bb-paper);
  color: var(--bb-navy);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--bb-line);
  background: #fffaf1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--bb-slate);
  text-decoration: none;
  font-size: 14px;
}

:focus-visible {
  outline: 2px solid var(--bb-copper);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: backgroundDrift 24s linear infinite;
  }

  .js .section,
  .js .hero-grid,
  .js .plan,
  .js .card,
  .js .step-card,
  .js .service-board,
  .js .trust-loop,
  .js .workflow-panel {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
  }

  .js .section.is-visible,
  .js .hero-grid.is-visible,
  .js .plan.is-visible,
  .js .card.is-visible,
  .js .step-card.is-visible,
  .js .service-board.is-visible,
  .js .trust-loop.is-visible,
  .js .workflow-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .workflow-dot {
    animation: pulse 1.8s ease-in-out infinite;
  }

  .live-dot {
    animation: pulse 1.8s ease-in-out infinite;
  }

  .signal-line span {
    animation: signalTravel 2.8s ease-in-out infinite;
  }

  .poster-card {
    animation: cardFloat 4.8s ease-in-out infinite;
  }

  .poster-card:nth-child(2) {
    animation-delay: 0.4s;
  }

  .poster-card:nth-child(3) {
    animation-delay: 0.8s;
  }

  .section-icon,
  .plan-badge,
  .node-icon,
  .step-icon {
    transition: transform 180ms ease, background 180ms ease;
  }

  .icon-card:hover .section-icon,
  .plan:hover .plan-badge,
  .loop-node:hover .node-icon,
  .step-card:hover .step-icon {
    transform: rotate(-4deg) scale(1.05);
    background: var(--bb-teal);
    color: white;
  }

  @keyframes backgroundDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 42px 42px, 42px 42px; }
  }

  @keyframes signalTravel {
    0%, 100% { left: 0; opacity: 0.72; }
    50% { left: calc(100% - 14px); opacity: 1; }
  }

  @keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: rgba(22, 40, 60, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .plans,
  .split,
  .footer-grid,
  .timeline,
  .motion-poster {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "video";
  }

  .proof-row {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .flow-track {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 34px;
  }

  .flow-line {
    left: 31px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .animated-flow.is-running .flow-line {
    transform: scaleY(1);
  }

  .flow-node {
    min-height: 72px;
    align-items: flex-start;
    padding-left: 88px;
    text-align: left;
  }

  .flow-icon {
    position: absolute;
    left: 0;
    top: 0;
  }

  .flow-node p {
    max-width: none;
  }

  .hero {
    padding: 48px 0 46px;
  }

  .section {
    padding: 58px 0;
  }

  .step-card {
    min-height: auto;
  }

  .timeline::before {
    display: none;
  }

  .timeline .step-card.flow-node {
    padding-left: 20px;
  }

  .motion-poster {
    min-height: auto;
    gap: 14px;
    padding: 18px;
  }

  .signal-line {
    height: 42px;
    width: 4px;
    margin-inline: auto;
  }

  .signal-line span {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .trust-loop {
    grid-template-columns: 1fr;
  }

  .trust-loop::before,
  .trust-loop::after {
    display: none;
  }

  .loop-node:nth-child(2),
  .loop-node:nth-child(4) {
    text-align: left;
  }

  .video-frame,
  .video-frame img {
    min-height: 280px;
  }

  .hero-video-frame {
    min-height: 0;
  }
}
