/* YT Advisors — shared site styles (Notion-clean, brand-tokens v5) */
:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface2: #f1f4f8;
  --border: #e7ebf0;
  --border-strong: #d7dee7;
  --text: #0a1628;
  --body: #36404d;
  --muted: #7a8794;
  --subtle: #9ca3af;
  --navy: #001f3f;
  --red: #b91c1c;
  --red-hover: #a41616;
  --green: #047857;
  --imessage: #0a84ff;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-hover);
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
}
.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 12px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: #fbeaea;
  border: 1px solid #f3d3d3;
  padding: 6px 13px;
  border-radius: 999px;
}
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.4px;
  margin: 18px 0 14px;
}
.section-head p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}
.em,
.it {
  font-style: italic;
  color: var(--navy);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: auto;
  height: 34px;
  display: block;
  background: none;
  border-radius: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
}

/* Amy cold open: a short first-visit introduction that fades into the existing homepage. */
body.amy-intro-playing {
  overflow: hidden;
}
.amy-intro[hidden] {
  display: none !important;
}
.amy-intro {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px) saturate(0.82);
  backdrop-filter: blur(8px) saturate(0.82);
  opacity: 0;
  transition:
    opacity 0.45s ease,
    background 0.8s ease,
    -webkit-backdrop-filter 0.8s ease;
}
.amy-intro.is-on {
  opacity: 1;
}
.amy-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.amy-intro.is-bubbling {
  background: rgba(255, 255, 255, 0);
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  pointer-events: none;
}
.amy-intro__line {
  min-height: 1.25em;
  color: var(--text);
  font-family: var(--serif) !important;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}
.amy-intro__summary {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.amy-intro__line span {
  font-family: var(--serif) !important;
}
#wp-content .amy-intro__line,
#wp-content .amy-intro__line span {
  font-family: var(--serif) !important;
}
.amy-intro__line.is-changing {
  opacity: 0;
  transform: translateY(-5px);
}
.amy-intro.is-bubbling .amy-intro__line,
.amy-intro.is-bubbling .amy-intro__skip {
  opacity: 0;
  transform: translateY(-5px);
}
.amy-intro__caret {
  display: inline-block;
  width: 0.055em;
  height: 0.82em;
  margin-left: 0.08em;
  border-radius: 1px;
  background: var(--red);
  vertical-align: -0.04em;
  animation: amy-intro-caret 0.9s step-end infinite;
}
.amy-intro__skip {
  position: absolute;
  right: 28px;
  bottom: 24px;
  border: 0;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
}
.amy-intro__skip:hover,
.amy-intro__skip:focus-visible {
  color: var(--text);
}
.amy-intro__bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.amy-intro__bubbles i {
  position: absolute;
  width: var(--bubble-size, 150px);
  height: var(--bubble-size, 150px);
  left: var(--bubble-x, 50%);
  top: var(--bubble-y, 50%);
  border: 1px solid rgba(185, 28, 28, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7) 38%, rgba(241, 244, 248, 0.48) 72%, rgba(0, 31, 63, 0.08)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    inset -14px -16px 28px rgba(0, 31, 63, 0.05),
    0 18px 48px rgba(10, 22, 40, 0.08);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.08);
}
.amy-intro__bubbles i:nth-child(1) { --bubble-x: 10%; --bubble-y: 20%; --bubble-size: 180px; }
.amy-intro__bubbles i:nth-child(2) { --bubble-x: 32%; --bubble-y: 15%; --bubble-size: 115px; }
.amy-intro__bubbles i:nth-child(3) { --bubble-x: 65%; --bubble-y: 17%; --bubble-size: 210px; }
.amy-intro__bubbles i:nth-child(4) { --bubble-x: 90%; --bubble-y: 28%; --bubble-size: 135px; }
.amy-intro__bubbles i:nth-child(5) { --bubble-x: 18%; --bubble-y: 66%; --bubble-size: 230px; }
.amy-intro__bubbles i:nth-child(6) { --bubble-x: 48%; --bubble-y: 50%; --bubble-size: 170px; }
.amy-intro__bubbles i:nth-child(7) { --bubble-x: 78%; --bubble-y: 62%; --bubble-size: 260px; }
.amy-intro__bubbles i:nth-child(8) { --bubble-x: 38%; --bubble-y: 88%; --bubble-size: 150px; }
.amy-intro__bubbles i:nth-child(9) { --bubble-x: 94%; --bubble-y: 91%; --bubble-size: 190px; }
.amy-intro.is-bubbling .amy-intro__bubbles i {
  animation: amy-intro-bubble 0.9s cubic-bezier(0.18, 0.7, 0.25, 1) both;
}
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(2),
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(5),
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(8) {
  animation-delay: 0.08s;
}
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(3),
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(6),
.amy-intro.is-bubbling .amy-intro__bubbles i:nth-child(9) {
  animation-delay: 0.16s;
}
@keyframes amy-intro-caret {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}
@keyframes amy-intro-bubble {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.08);
  }
  24% {
    opacity: 0.92;
  }
  72% {
    opacity: 0.56;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2);
  }
}
@media (max-width: 640px) {
  .amy-intro {
    padding: 24px;
  }
  .amy-intro__line {
    font-size: clamp(38px, 12vw, 52px);
  }
  .amy-intro__skip {
    right: 16px;
    bottom: 14px;
  }
  .amy-intro__bubbles i:nth-child(5),
  .amy-intro__bubbles i:nth-child(7) {
    --bubble-size: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .amy-intro {
    display: none !important;
  }
  body.amy-intro-playing {
    overflow: auto;
  }
}

/* Hero */
.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 32px 18px;
  text-align: center;
}
.hero[tabindex='-1']:focus {
  outline: none;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 76px;
  line-height: 1.03;
  letter-spacing: -0.5px;
  margin: 26px 0 24px;
}
h1 .em {
  font-style: italic;
  color: var(--navy);
}
.sub {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--body);
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.play {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  margin-right: 9px;
  flex: 0 0 auto;
  padding-left: 1px;
}
.micro {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* Sub-page hero */
.page-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 54px 32px 6px;
  text-align: center;
}
.page-hero h1 {
  font-size: 60px;
  margin: 22px 0 18px;
}

/* Product window + KPI card */
.stage {
  max-width: 1120px;
  margin: 46px auto 0;
  padding: 0 32px;
  position: relative;
}
.window {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 40px 80px -32px rgba(10, 22, 40, 0.28),
    0 8px 24px -12px rgba(10, 22, 40, 0.12);
}
.titlebar {
  height: 42px;
  background: #f4f6f8;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}
.urlpill {
  margin-left: 14px;
  flex: 1;
  max-width: 360px;
  height: 24px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.window img {
  display: block;
  width: 100%;
}
.kpi-float {
  position: absolute;
  right: 8px;
  top: -26px;
  width: 300px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -20px rgba(10, 22, 40, 0.35);
  padding: 16px 18px;
}
.kpi-float .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 9px 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.kpi-row .v {
  color: var(--navy);
}
.kpi-row .v small {
  color: var(--muted);
  font-weight: 500;
}
.bar {
  height: 7px;
  border-radius: 99px;
  background: #eaeef2;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--navy), var(--green));
}
.score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.score .s {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}
.score .t {
  font-size: 13px;
  color: var(--muted);
}

/* Trust */
.trust {
  text-align: center;
  margin: 54px auto 8px;
}
.trust .cap {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.logos {
  display: flex;
  gap: 38px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: #9aa6b2;
  font-weight: 700;
  font-size: 18px;
}

/* Two-column feature / connected apps */
.connect,
.feature {
  padding: 96px 0 0;
}
.grid2 {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.grid2.rev {
  grid-template-columns: 1.08fr 0.92fr;
}
.copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.4px;
  margin: 16px 0 16px;
}
.copy p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 22px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  font-size: 16px;
  color: var(--body);
}
.ticks li {
  padding: 7px 0 7px 28px;
  position: relative;
}
.ticks li:before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--green);
  font-weight: 700;
}
.conn {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 40px 80px -36px rgba(10, 22, 40, 0.26),
    0 8px 24px -14px rgba(10, 22, 40, 0.1);
}
.conn .hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.conn .hd b {
  font-size: 16px;
}
.conn .hd span {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.app {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
}
.app:last-child {
  border-bottom: none;
}
.app .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
}
.app .ic img {
  width: 22px;
  height: 22px;
  display: block;
}
.app .nm {
  font-weight: 600;
  font-size: 15.5px;
}
.app .meta {
  font-size: 13px;
  color: var(--muted);
}
.app .grow {
  flex: 1;
}
.conn-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  background: #e7f4ee;
  border: 1px solid #bfe3d0;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.conn-pill .d {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
}
.conn-add {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

/* Amy voice layer / command center */
.voice-console {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 40px 80px -36px rgba(10, 22, 40, 0.26),
    0 8px 24px -14px rgba(10, 22, 40, 0.1);
}
.voice-console__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
}
.voice-console__hd b {
  font-size: 15px;
}
.voice-console__hd span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.voice-console__hd span i,
.voice-command__result span {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
  flex: 0 0 auto;
}
.voice-conversation {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.voice-turn {
  max-width: 88%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 15px;
  background: var(--surface);
}
.voice-turn > span,
.voice-turn > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.voice-turn p {
  margin: 4px 0 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
}
.voice-turn--caller {
  align-self: flex-end;
  background: #edf5ff;
  border-color: #d6e8fb;
}
.voice-turn--amy {
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 94%;
  background: #fff;
  border-color: var(--border-strong);
}
.voice-orb {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  color: #fff;
  background: var(--navy);
}
.voice-orb strong {
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  transform: translateY(-5px);
}
.voice-wave {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.voice-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: #fff;
}
.voice-wave i:nth-child(1),
.voice-wave i:nth-child(5) {
  height: 4px;
  opacity: 0.55;
}
.voice-wave i:nth-child(2),
.voice-wave i:nth-child(4) {
  height: 7px;
  opacity: 0.78;
}
.voice-wave i:nth-child(3) {
  height: 10px;
}
.voice-command {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.voice-command__label {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.voice-command__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.voice-command__grid > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
}
.voice-key {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.voice-command__grid p {
  min-width: 0;
  margin: 0;
  line-height: 1.15;
}
.voice-command__grid b,
.voice-command__grid small {
  display: block;
}
.voice-command__grid b {
  color: var(--text);
  font-size: 13px;
}
.voice-command__grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}
.voice-command__result {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}
#wp-content .voice-console {
  background: #fff !important;
}
#wp-content .voice-command {
  background: var(--surface) !important;
}

/* Amy sample-call video: user-initiated so the approved voice is never autoplayed. */
.amy-demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.amy-demo__video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.amy-demo__play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.02) 42%, rgba(10, 22, 40, 0.88) 100%);
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  transition: opacity 0.18s ease, background 0.18s ease;
}
.amy-demo__play:hover {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.04) 36%, rgba(10, 22, 40, 0.94) 100%);
}
.amy-demo__play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.amy-demo__play-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding-left: 3px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.65);
  font-size: 18px;
}
.amy-demo__play strong,
.amy-demo__play small {
  display: block;
}
.amy-demo__play strong {
  font-size: 16px;
  line-height: 1.25;
}
.amy-demo__play small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}
.amy-demo.has-started .amy-demo__play {
  opacity: 0;
  pointer-events: none;
}
.amy-demo__caption {
  padding: 16px 20px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.amy-demo__caption .voice-command__result {
  margin-top: 0;
}
.amy-demo__caption p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
#wp-content .amy-demo__caption {
  background: var(--surface) !important;
}

/* Gantt / launch tracker */
.gantt {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 40px 80px -36px rgba(10, 22, 40, 0.24),
    0 8px 24px -14px rgba(10, 22, 40, 0.1);
}
.gantt .g-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.gantt .g-hd b {
  font-size: 15px;
}
.gantt .g-hd .gp {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gantt .g-hd .gp .d {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
}
.g-grid {
  padding: 12px 20px 18px;
}
.g-axis,
.g-row {
  display: grid;
  grid-template-columns: 166px repeat(4, 1fr);
  align-items: center;
  column-gap: 6px;
}
.g-axis {
  padding: 0 0 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.g-axis .lead,
.g-axis .wk {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--subtle);
}
.g-axis .wk {
  text-align: center;
}
.g-row {
  height: 40px;
}
.g-lbl {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-right: 8px;
}
.g-lbl .od {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.g-lbl .gt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g-bar {
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid transparent;
}
.g-bar.done {
  background: #e6f2ec;
  color: #0a7a52;
  border-color: #cde7d9;
}
.g-bar.prog {
  background: linear-gradient(90deg, #cfddef 0 var(--p, 60%), #eef3f9 var(--p, 60%));
  color: #2c4e86;
  border-color: #dae3ef;
}
.g-bar.todo {
  background: var(--surface);
  color: var(--muted);
  border: 1px dashed var(--border-strong);
}

/* Agents */
.agents {
  padding: 96px 0 8px;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.agent {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  transition: 0.18s;
}
.agent:hover {
  box-shadow: 0 18px 40px -22px rgba(10, 22, 40, 0.28);
  transform: translateY(-2px);
}
.agent .top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.av-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, 0.06);
}
.agent .nm {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}
.agent .role {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.agent .desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  margin: 0;
}
.agent .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

/* How it works */
.how {
  padding: 100px 0 12px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
.step {
  padding: 30px 26px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
}
.step .n {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 auto;
}
.step h3 {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 14px 0 0;
  grid-column: 1 / -1;
}

/* Outcomes band */
.outcomes {
  margin: 100px 0 0;
  background: var(--navy);
  border-radius: 24px;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.outcomes h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
.outcomes p {
  font-size: 18px;
  line-height: 1.6;
  color: #c7d2dd;
  margin: 0 0 24px;
}
.outcomes .card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  color: var(--text);
}

/* Pricing */
.pricing {
  padding: 100px 0 0;
  text-align: center;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
  text-align: left;
}
.tier {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  background: #fff;
}
.tier.fav {
  border-color: var(--navy);
  box-shadow: 0 18px 40px -22px rgba(10, 22, 40, 0.3);
  position: relative;
}
.tier.fav .pill {
  position: absolute;
  top: -12px;
  left: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 11px;
  border-radius: 999px;
}
.tier .nm {
  font-weight: 700;
  font-size: 17px;
}
.tier .pr {
  font-family: var(--serif);
  font-size: 42px;
  margin: 10px 0 2px;
}
.tier .pr small {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.tier .bl {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.5;
  margin: 10px 0 18px;
  min-height: 44px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--body);
}
.tier li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.tier li:before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.tier .btn {
  width: 100%;
  text-align: center;
}

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.compare thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.compare td.c,
.compare th.c {
  text-align: center;
}
.compare tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}
.compare .yes {
  color: var(--green);
  font-weight: 700;
}
.compare .no {
  color: var(--subtle);
}
.compare .fav {
  background: var(--surface);
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 4px;
}
.faq summary {
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '\2013';
}
.faq p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
}

/* Stats + case studies */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  text-align: center;
}
.stat .big {
  font-family: var(--serif);
  font-size: 50px;
  color: var(--navy);
  line-height: 1;
}
.stat .lbl2 {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.cs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cs-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.cs-card .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 17px;
}
.cs-card .logo .badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.cs-card blockquote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 18px;
}
.cs-card .who {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.cs-metrics {
  display: flex;
  gap: 26px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cs-metrics .m .n {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
}
.cs-metrics .m .l {
  font-size: 13px;
  color: var(--muted);
}

/* Prose (legal + about long-form) */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--text);
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
}
.prose h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text);
}
.prose p {
  margin: 0 0 14px;
}
.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose a {
  color: var(--navy);
  text-decoration: underline;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 15px;
}
.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
}
.draft {
  background: #fff7e6;
  border: 1px solid #f4d58a;
  color: #7a5b12;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Contact form */
.form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  display: block;
  margin-bottom: 6px;
}
.form input,
.form textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  width: 100%;
  background: #fff;
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}

/* Final CTA */
.final {
  text-align: center;
  padding: 110px 0 90px;
}
.final h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.04;
  margin: 0 0 18px;
  letter-spacing: -0.4px;
}
.final p {
  font-size: 19px;
  color: var(--body);
  margin: 0 0 28px;
}

/* Footer */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid .about {
  max-width: 300px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer-grid nav a {
  display: block;
  color: var(--body);
  font-size: 15px;
  padding: 5px 0;
}
.footer-grid nav a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 44px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

/* Section helper */
.sec {
  padding: 96px 0;
}
.sec-sm {
  padding: 64px 0;
}

/* Subtle motion (disabled for reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
  .bar > i {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.15s cubic-bezier(0.2, 0.85, 0.25, 1) 0.15s;
  }
  .in .bar > i {
    transform: scaleX(1);
  }
  /* Gantt bars draw in left-to-right when the tracker reveals */
  .gantt .g-bar {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.25, 1);
  }
  .gantt.in .g-bar {
    transform: scaleX(1);
  }
  .stage .kpi-float {
    animation: floaty 7s ease-in-out infinite;
  }
  @keyframes floaty {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-7px);
    }
  }
  .nav {
    animation: fadeDown 0.6s ease both;
  }
  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .agent,
  .step,
  .tier,
  .cs-card,
  .stat {
    will-change: transform, opacity;
  }
}

/* Responsive */
@media (max-width: 900px) {
  h1 {
    font-size: 50px;
  }
  .page-hero h1 {
    font-size: 42px;
  }
  .section-head h2,
  .copy h2,
  .outcomes h2 {
    font-size: 38px;
  }
  .grid2,
  .grid2.rev,
  .outcomes,
  .cs {
    grid-template-columns: 1fr;
  }
  .agent-grid,
  .steps,
  .tiers,
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .stage .kpi-float {
    display: none;
  } /* hide only the floating hero overlay on mobile; keep the outcomes metrics card visible */
  .outcomes {
    padding: 40px 28px;
  }
}

@media (max-width: 520px) {
  .amy-demo__play {
    padding: 16px;
  }
  .amy-demo__play-icon {
    width: 42px;
    height: 42px;
  }
}

/* ── Host-theme overrides — this stylesheet loads ONLY on redesigned pages, so these
      !important rules win over the WordPress theme's dark wrappers + Rubik fonts without
      affecting any of the legacy pages. ── */
html,
body,
#wp-content,
#globalWrapper,
.localscroll,
.main,
.nav-wrapper,
#home {
  background: #ffffff !important;
}
.hero,
.hero *,
.page-hero,
.page-hero *,
.feature,
.feature *,
.agents,
.agents *,
.how,
.how *,
.outcomes,
.outcomes *,
.pricing,
.pricing *,
.final,
.final *,
.prose,
.prose *,
.stage,
.stage *,
.trust,
.trust *,
.form,
.form *,
.footer-grid,
.footer-grid * {
  font-family: var(--sans) !important;
}
.hero h1,
.page-hero h1,
.section-head h2,
.copy h2,
.outcomes h2,
.final h2,
.prose h2,
.cs-card blockquote,
.tier .pr,
.stat .big,
.em,
.it {
  font-family: var(--serif) !important;
}

/* ── Stronger host-theme override (scoped to #wp-content; loads only on redesigned pages) ── */
#wp-content {
  background: #fff !important;
}
#wp-content .hero,
#wp-content .stage,
#wp-content .feature,
#wp-content .connect,
#wp-content .agents,
#wp-content .how,
#wp-content .pricing,
#wp-content .trust,
#wp-content .final,
#wp-content .sec,
#wp-content .sec-sm,
#wp-content section,
#wp-content .wrap,
#wp-content .page-hero {
  background: transparent !important;
}
#wp-content .outcomes {
  background: var(--navy) !important;
}
#wp-content .step {
  background: var(--surface) !important;
}
#wp-content h1,
#wp-content h2,
#wp-content h3,
#wp-content h4,
#wp-content h5,
#wp-content p,
#wp-content a,
#wp-content span,
#wp-content li,
#wp-content div,
#wp-content button,
#wp-content small,
#wp-content strong,
#wp-content blockquote,
#wp-content summary,
#wp-content label,
#wp-content input,
#wp-content textarea {
  font-family: var(--sans) !important;
}
#wp-content .hero h1,
#wp-content .page-hero h1,
#wp-content .section-head h2,
#wp-content .copy h2,
#wp-content .outcomes h2,
#wp-content .final h2,
#wp-content .prose h2,
#wp-content .cs-card blockquote,
#wp-content .tier .pr,
#wp-content .stat .big,
#wp-content .em,
#wp-content .it {
  font-family: var(--serif) !important;
}

/* ── Agent chat section ── */
.chatsec {
  padding: 100px 0 0;
}
.chat {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 44px 90px -38px rgba(10, 22, 40, 0.3),
    0 8px 24px -14px rgba(10, 22, 40, 0.1);
}
.chat__hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
}
.chat__hd .hash {
  color: var(--muted);
  font-weight: 500;
}
.chat__hd .live {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chat__hd .live .d {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green);
}
.chat__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.msg > img,
.msg .av0 {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.msg .av0 {
  background: #9ca3af;
  color: #fff;
  display: grid;
  place-items: center;
}
.av0 svg {
  width: 23px;
  height: 23px;
  display: block;
}
.msg__b {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 15px;
  max-width: 80%;
}
.msg__who {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.msg__who span {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  margin-left: 7px;
}
.msg__t {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
  margin-top: 3px;
}
.msg--me {
  flex-direction: row-reverse;
}
.msg--me .msg__b {
  background: var(--imessage);
  border-color: var(--imessage);
}
.msg--me .msg__who,
.msg--me .msg__t {
  color: #fff;
}
.chat__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.chat__input .box {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 14px;
}
.chat__input .send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
#wp-content .chat__body,
#wp-content .chat {
  background: #fff !important;
}
#wp-content .msg__b {
  background: var(--surface) !important;
}
#wp-content .msg--me .msg__b {
  background: var(--imessage) !important;
  border-color: var(--imessage) !important;
}

/* kill the host theme's uppercase transform + odd letter-spacing on headings */
#wp-content h1,
#wp-content h2,
#wp-content h3,
#wp-content h4,
#wp-content h5,
#wp-content .hero h1,
#wp-content .page-hero h1,
#wp-content .section-head h2,
#wp-content .copy h2,
#wp-content .outcomes h2,
#wp-content .final h2 {
  text-transform: none !important;
  letter-spacing: -0.4px !important;
}
/* serif display headings are weight 400 (Instrument Serif is single-weight; host brand-v1.css forces 700/800 -> browser fakes bold). */
#wp-content h1,
#wp-content h2,
#wp-content .hero h1,
#wp-content .page-hero h1,
#wp-content .section-head h2,
#wp-content .copy h2,
#wp-content .outcomes h2,
#wp-content .final h2,
#wp-content .prose h2 {
  font-weight: 400 !important;
}

/* buttons: medium weight (host theme forces bold), primary stays brand red (host forces navy) */
#wp-content .btn {
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 10px !important;
}
#wp-content .btn-lg {
  border-radius: 12px !important;
}
/* consistency: no all-uppercase text anywhere (neutralize every text-transform:uppercase source) */
#wp-content .eyebrow,
#wp-content .kpi-float .lbl,
#wp-content .g-axis .lead,
#wp-content .g-axis .wk,
#wp-content .tier .pill,
#wp-content .compare thead th,
#wp-content .footer-grid h4 {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}
#wp-content .btn-primary {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}
#wp-content .btn-primary:hover {
  background: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
}
/* ghost/secondary buttons: white background, dark text (host theme forces white text otherwise) */
#wp-content .btn-ghost {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--border-strong) !important;
}
#wp-content .btn-ghost:hover {
  background: var(--surface) !important;
}
#wp-content .btn-ghost .play {
  color: #fff !important;
  background: var(--navy) !important;
}

/* work board section (kanban re-added below the fold; titlebar has no urlpill -> no URL) */
.board {
  padding: 100px 0 0;
}
.board .window {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 14px 0;
  background: #fff;
}
.board .titlebar {
  height: auto;
  background: transparent;
  border: 0;
  padding: 2px 6px 12px;
}
#wp-content .board .window {
  background: #fff !important;
}

/* ── Inline demo player: the kanban window IS the video (poster=kanban.png + play icon) ── */
.board-video__frame {
  position: relative;
  line-height: 0;
}
.board-video__v {
  display: block;
  width: 100%;
  height: auto;
  background: #0a1628;
}
.board-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(185, 28, 28, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px -10px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.18s,
    background 0.18s;
  z-index: 2;
}
.board-video__play:hover {
  transform: scale(1.06);
  background: #b91c1c;
}
.board-video__play .tri {
  font-size: 30px;
  line-height: 1;
  margin-left: 5px;
}
.board-video.playing .board-video__play {
  opacity: 0;
  pointer-events: none;
}
/* Mobile: the 9:16 vertical cut (swapped in by site.js, marked .board-video--tall) is capped + centred so it doesn't run the full phone height. */
.board-video--tall .board-video__v {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero chat: live-conversation animation (messages reveal one-by-one with typing dots) ── */
.chat__body.anim .msg {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.chat__body.anim .msg:not(.show) {
  display: none !important;
}
.chat__body.anim .msg.show {
  opacity: 1;
  transform: none;
}
/* defeat the host theme's `.msg{display:block!important}` class collision: keep avatar+bubble side-by-side */
#wp-content .chat__body .msg.show {
  display: flex !important;
}
#wp-content .chat__body:not(.anim) .msg {
  display: flex !important;
}
#wp-content .chat__body .msg--me {
  flex-direction: row-reverse !important;
}
#wp-content .chat__typing {
  display: flex !important;
}
.chat__typing {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chat__typing img,
.chat__typing .av0 {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.chat__typing .av0 {
  background: #0a1628;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.chat__typing .bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.chat__dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.chat__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  display: block;
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat__dots span:nth-child(2) {
  animation-delay: 0.18s;
}
.chat__dots span:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes chatDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
#wp-content .chat__typing .bubble {
  background: var(--surface) !important;
}

/* ── Connections card: animated "connecting" sequence (starts on scroll-into-view) ── */
.conn-pill {
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.conn-pill.pop {
  animation: connPop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
@keyframes connPop {
  0% {
    transform: scale(0.5);
    opacity: 0.25;
  }
  55% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.conn-pill--wait {
  color: var(--muted) !important;
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.conn-pill--wait .d {
  width: 12px;
  height: 12px;
  border: 2px solid #cdd3da;
  border-top-color: var(--muted);
  border-radius: 50%;
  background: none !important;
  animation: connSpin 0.6s linear infinite;
}
@keyframes connSpin {
  to {
    transform: rotate(360deg);
  }
}
.conn .app.conn-reveal {
  opacity: 0;
  transform: translateY(8px);
}
.conn .app.conn-reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* ── Services team grid: staggered "assemble" reveal (scroll-into-view) ── */
.agents .agent.team-anim {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}
.agents .agent.team-anim.team-show {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.agents .agent.team-anim .av-img {
  transform: scale(0.6);
  opacity: 0;
}
.agents .agent.team-anim.team-show .av-img {
  transform: none;
  opacity: 1;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.35) 0.12s,
    opacity 0.4s ease 0.12s;
}

/* long-form prose (terms, privacy): bold should be heavier, not larger.
   host main.css groups `strong` with h1/h2/h3 at font-size:1.5em — neutralize it in prose. */
#wp-content .prose strong,
#wp-content .prose b {
  font-size: inherit !important;
  font-weight: 700 !important;
}

/* step cards: number badge inline with the heading (defeat any host `.step` display override) */
#wp-content .step {
  display: grid !important;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
}
#wp-content .step .n {
  margin: 0 !important;
}
#wp-content .step h3 {
  margin: 0 !important;
}
#wp-content .step p {
  grid-column: 1 / -1 !important;
  margin: 14px 0 0 !important;
}

/* ---------- Urgency treatment (2026-07): red reflecting into the white ---------- */
/* Signal edge: thin red line across the very top of the page, its light reflecting ~200px down.
   Heartbeat (lub-dub) so the top border reads as a living urgency cue, not a static rule. */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ef4444 50%, var(--red));
  z-index: 9999;
  pointer-events: none;
}
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.05), transparent 85%);
  z-index: 0;
}
/* Warm blush behind the hero — gone by the subhead; white stays white */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -60px 0 auto 0;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(92% 70% at 50% 0%, rgba(185, 28, 28, 0.07), transparent 70%);
  z-index: -1;
}
/* Temporal accent: the time-words in the headline carry the red */
.hero h1 .em {
  text-decoration: underline;
  text-decoration-color: rgba(185, 28, 28, 0.55);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.13em;
}
/* Second headline line: "running your {word}"
   Desktop: one line. Mobile: word wraps under and stays centered.
   Invisible sizer = longest word so type/delete never resizes the line box. */
.hero h1 .hero-type-line,
.hero h1 .hero-type-line *,
#wp-content .hero h1 .hero-type-line,
#wp-content .hero h1 .hero-type-line * {
  font-family: var(--serif) !important;
}
.hero h1 .hero-type-line,
#wp-content .hero h1 .hero-type-line {
  white-space: nowrap;
}
.hero h1 .typewriter {
  display: inline-grid;
  grid-template-columns: max-content;
  justify-items: start;
  align-items: baseline;
  margin-left: 0.18em;
  vertical-align: baseline;
  white-space: nowrap;
}
/* Reserves width + height of the longest word ("business") */
.hero h1 .typewriter__sizer {
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero h1 .typewriter__live {
  grid-area: 1 / 1;
  display: inline-flex;
  justify-content: flex-start;
  align-items: baseline;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}
.hero h1 .typewriter__text {
  text-align: left;
}
.hero h1 .typewriter__caret {
  display: inline-block;
  width: 0.055em;
  height: 0.78em;
  margin-left: 0.06em;
  background: rgba(185, 28, 28, 0.85);
  vertical-align: -0.02em;
  border-radius: 1px;
  flex: 0 0 auto;
}
/* Mobile: break so the rotating word is its own centered line under "running your" */
@media (max-width: 640px) {
  .hero h1 .hero-type-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    gap: 0;
  }
  .hero h1 .typewriter {
    display: grid;
    justify-content: center; /* center the reserved word column on the page */
    justify-items: center;
    margin-left: 0;
    margin-top: 0.02em;
    width: 100%;
  }
  .hero h1 .typewriter__live {
    justify-content: center;
  }
  .hero h1 .typewriter__text {
    text-align: center;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .typewriter__caret {
    animation: typewriter-caret-blink 1.05s step-end infinite;
  }
  @keyframes typewriter-caret-blink {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .typewriter__caret {
    display: none;
  }
}
/* Live "starts today" cue in the hero micro-line */
.micro .go-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 7px 1px 0;
  vertical-align: middle;
}
.micro strong {
  color: var(--text);
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  /* Top-of-page red border — lub-dub heartbeat */
  body::before {
    animation: top-border-heartbeat 1.2s ease-in-out infinite;
  }
  @keyframes top-border-heartbeat {
    0%,
    48%,
    100% {
      opacity: 1;
      box-shadow: 0 0 0 0 transparent;
      filter: brightness(1);
    }
    12% {
      opacity: 1;
      box-shadow: 0 2px 14px rgba(185, 28, 28, 0.5);
      filter: brightness(1.2);
    }
    24% {
      opacity: 0.9;
      box-shadow: 0 0 0 0 transparent;
      filter: brightness(1);
    }
    36% {
      opacity: 1;
      box-shadow: 0 1px 10px rgba(185, 28, 28, 0.38);
      filter: brightness(1.12);
    }
  }
  /* Breathing CTA: slow heartbeat on the red glow, never a blink */
  .btn-primary {
    animation: cta-breathe 3.8s ease-in-out infinite;
  }
  .micro .go-dot {
    animation: dot-pulse 2.6s ease-out infinite;
  }
  @keyframes cta-breathe {
    0%,
    100% {
      box-shadow: 0 6px 18px rgba(185, 28, 28, 0.22);
    }
    50% {
      box-shadow: 0 10px 30px rgba(185, 28, 28, 0.42);
    }
  }
  @keyframes dot-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.45);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(185, 28, 28, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(185, 28, 28, 0);
    }
  }
}
