/* ==========================================================================
   Pages — multi-page structure, shared page patterns and new sections
   (logo lockup, page hero, sub-nav, steps summary, service overview,
    testimonials, service details, pricing, FAQ, CTA band, page transitions)
   ========================================================================== */

/* ---- Page transitions (cross-document View Transitions) --------------
   Supported in Chromium & Safari 18.2+; other browsers navigate normally. */

@view-transition {
  navigation: auto;
}

.nav {
  view-transition-name: site-nav;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 260ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* ---- Logo lockup ------------------------------------------------------ */

.logo-text {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.logo-sub {
  font-size: 10.5px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--graphite);
}

.logo-sub b {
  font-weight: 500;
  color: var(--violet);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--blue);
}

.menu-links a[aria-current="page"] {
  color: var(--blue-ink);
}

/* ---- Page hero (inner pages) ----------------------------------------- */

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: var(--section-y-sm);
  overflow: clip;
}

.page-hero .hero-glow {
  top: 30%;
  height: 600px;
  opacity: 0.8;
}

.page-hero-inner {
  position: relative;
  display: grid;
  gap: var(--s-6);
}

.page-hero .h1 {
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 54ch;
}

.page-hero .btn-row {
  margin-top: var(--s-2);
}

/* ---- Home · three-step summary --------------------------------------- */

.steps3 {
  display: grid;
  gap: var(--s-4);
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.step3 {
  position: relative;
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-6) 0 0;
  border-top: 1px solid var(--line-strong);
}

.step3::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-emphasized);
  transition-delay: calc(var(--i, 0) * 180ms + 200ms);
}

.step3.is-in::before {
  transform: scaleX(1);
}

.step3 .how-num {
  color: var(--violet);
}

.step3 h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
}

.step3 p {
  max-width: 34ch;
  color: var(--graphite);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section-foot p {
  color: var(--graphite);
  font-size: var(--fs-small);
}

@media (min-width: 768px) {
  .steps3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-10);
  }
}

/* ---- Testimonials ----------------------------------------------------- */

.testimonials-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
}

.testimonials-head .section-head {
  max-width: 720px;
}

.tgrid {
  display: grid;
  gap: 16px;
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.tgrid > li {
  display: flex;
}

.tcard {
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  padding: clamp(24px, 1.25rem + 1vw, 32px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}

.tcard--feature {
  color: var(--night-text);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(221, 161, 140, 0.18), transparent 60%),
    var(--night);
  box-shadow: var(--shadow-3);
}

.tcard blockquote {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.tcard--feature blockquote {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.45;
}

.tcard blockquote::before {
  content: "“";
  display: block;
  height: 0.55em;
  margin-bottom: 0.35em;
  font-size: 3rem;
  line-height: 1;
  color: var(--violet);
}

.tcard figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.t-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--brand-grad);
}

.t-who {
  display: grid;
  gap: 1px;
  font-size: var(--fs-small);
}

.t-who strong {
  font-weight: 550;
}

.t-who span {
  font-size: var(--fs-xs);
  color: var(--mute);
}

.tcard--feature .t-who span {
  color: var(--night-text-3);
}

.t-note {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--mute);
}

@media (min-width: 900px) {
  .tgrid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

/* ---- CTA band (inner pages) ------------------------------------------- */

.cta-band {
  padding-block: var(--section-y);
}

.cta-band-inner {
  display: grid;
  gap: var(--s-8);
  align-items: end;
  padding: clamp(28px, 1.5rem + 3vw, 64px);
  border-radius: var(--r-xl);
  color: var(--night-text);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(221, 161, 140, 0.22), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(184, 201, 181, 0.16), transparent 60%),
    var(--night);
  box-shadow: var(--shadow-product);
}

.cta-band-inner .h2 {
  max-width: 18ch;
}

.cta-band-inner .lead {
  margin-top: var(--s-4);
  max-width: 44ch;
  color: var(--night-text-2);
}

.cta-band-inner :focus-visible {
  outline-color: var(--blue-soft);
}

@media (min-width: 900px) {
  .cta-band-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* ---- Services page · detail blocks ----------------------------------- */

.sd-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd {
  display: grid;
  gap: var(--s-8);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h-compact) + 90px);
}

.sd-main {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.sd-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--mute);
}

.sd-index .icon {
  color: var(--ink);
}

.sd-tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: #263D32;
  background: rgba(38, 61, 50, 0.08);
}

.sd-main .lead {
  max-width: 46ch;
}

.sd-best {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--s-2) 0 0;
  padding: 0;
  list-style: none;
}

.sd-best li {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.sd-card {
  align-self: start;
  padding: clamp(20px, 1rem + 1.5vw, 32px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}

.sd-card-title {
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--mute);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5.2' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--ink);
}

.sd-card .checks {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sd-card .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (min-width: 1024px) {
  .sd {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s-16);
  }
}

/* ---- Pricing ---------------------------------------------------------- */

.plans {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  padding: clamp(22px, 1.1rem + 1vw, 30px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  transition: transform var(--dur-md) var(--ease-emphasized), box-shadow var(--dur-md) var(--ease-standard);
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-2);
}

.plan--featured {
  color: var(--night-text);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(221, 161, 140, 0.24), transparent 60%),
    var(--night);
  box-shadow: 0 0 0 1px rgba(221, 161, 140, 0.45), var(--shadow-3);
}

.plan--featured:hover {
  box-shadow: 0 0 0 1px rgba(221, 161, 140, 0.6), var(--shadow-3);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand-grad);
}

.plan-head {
  display: grid;
  gap: 6px;
}

.plan-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.plan-for {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--graphite);
  min-height: 4.5em; /* up to three lines, so buttons stay aligned */
}

.plan--featured .plan-for {
  color: var(--night-text-2);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 3rem; /* keeps every plan's button on the same line */
}

.plan-amount {
  font-size: clamp(2.4rem, 2rem + 1.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-amount--text {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem);
}

.plan-period {
  font-size: var(--fs-small);
  color: var(--mute);
}

.plan--featured .plan-period {
  color: var(--night-text-3);
}

.plan .btn {
  width: 100%;
}

.plan-includes {
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}

.plan--featured .plan-includes {
  border-top-color: var(--night-line);
}

.plan-includes p {
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--mute);
}

.plan--featured .plan-includes p {
  color: var(--night-text-3);
}

.plan--featured .checks li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5.2' fill='none' stroke='%230b0b0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--night-text);
}

@media (min-width: 700px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---- FAQ (native details/summary) ------------------------------------ */

.faq-grid {
  display: grid;
  gap: var(--s-10);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 64px;
  padding-block: var(--s-4);
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  flex: none;
  color: var(--mute);
  transition: transform var(--dur-md) var(--ease-emphasized), color var(--dur-sm) var(--ease-standard);
}

.faq summary:hover .icon {
  color: var(--ink);
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq details p {
  max-width: 64ch;
  padding-bottom: var(--s-6);
  color: var(--graphite);
}

.faq details[open] p {
  animation: faq-in var(--dur-lg) var(--ease-emphasized);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s-16);
  }
}

/* ---- How-it-works page: consecutive dark sections ------------------- */

.night + .night {
  border-top: 1px solid var(--night-line);
}

/* ==========================================================================
   Industries page — "don't see your industry?"
   ========================================================================== */

.more-ind {
  display: grid;
  gap: var(--s-6);
  padding: clamp(22px, 1.25rem + 1.5vw, 36px);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.more-ind .muted {
  margin-top: 6px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-cloud li {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

@media (min-width: 1024px) {
  .more-ind {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: center;
    gap: var(--s-12);
  }
}

/* ==========================================================================
   Pricing — setup fee + billing explainer
   ========================================================================== */

.billing {
  display: grid;
  gap: 12px;
  margin: 0 0 var(--s-6);
  padding: 0;
  list-style: none;
}

.billing li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.billing-num {
  padding-top: 2px;
  font-size: var(--fs-xs);
  color: var(--violet);
}

.billing strong {
  font-weight: 550;
}

.billing p {
  margin-top: 2px;
  font-size: var(--fs-small);
  color: var(--graphite);
}

@media (min-width: 900px) {
  .billing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan-setup {
  margin-top: calc(var(--s-4) * -1);
  font-size: var(--fs-small);
  color: var(--graphite);
}

.plan-setup strong {
  font-weight: 600;
  color: var(--ink);
}

.plan--featured .plan-setup {
  color: var(--night-text-2);
}

.plan--featured .plan-setup strong {
  color: var(--night-text);
}

/* Included AI voice minutes */
.plan-usage {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: calc(var(--s-3) * -1);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--graphite);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.plan-usage strong {
  font-weight: 600;
  color: var(--ink);
}

.plan-usage span {
  font-size: var(--fs-xs);
  color: var(--mute);
}

.plan--featured .plan-usage {
  color: var(--night-text-2);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
}

.plan--featured .plan-usage strong {
  color: var(--night-text);
}

.plan--featured .plan-usage span {
  color: var(--night-text-3);
}

.plans-note {
  margin-top: var(--s-6);
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--mute);
}

/* Usage & add-ons */
.usage-grid {
  display: grid;
  gap: 16px;
}

.usage-card {
  padding: clamp(22px, 1.1rem + 1vw, 30px);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.usage-title {
  margin-bottom: var(--s-5);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .usage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Spacing fixes
   ========================================================================== */

/* A CTA band right after a section shouldn't double the vertical gap. */
.section + .cta-band {
  padding-top: 0;
}

/* How It Works page — tighter sticky storytelling */
.how .how-grid {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .how .how-step {
    min-height: 30vh;
    padding-block: var(--s-8);
  }

  .how .how-step:first-child {
    min-height: 24vh;
    padding-top: var(--s-4);
  }

  .how .how-step:last-child {
    min-height: 0;
  }

  .how .how-stage-wrap {
    margin-top: 0;
  }
}

/* ==========================================================================
   Home — the two products
   ========================================================================== */

.products {
  display: grid;
  gap: 16px;
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.products > li {
  display: flex;
}

.product {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  transition: transform var(--dur-md) var(--ease-emphasized), box-shadow var(--dur-md) var(--ease-standard);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(38, 61, 50, 0.28), var(--shadow-2);
}

.product-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 12px;
  height: clamp(200px, 11rem + 4vw, 260px);
  padding: 20px clamp(20px, 1rem + 1.5vw, 32px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

/* Photo fills the panel; the subject sits right, UI chips sit left */
.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transition: transform var(--dur-2xl) var(--ease-emphasized);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.55), rgba(247, 244, 238, 0) 55%);
}

.product-visual > :not(.product-photo) {
  position: relative;
  z-index: 1;
}

.product:hover .product-photo {
  transform: scale(1.04);
}

.product-copy {
  flex: 1;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(22px, 1.25rem + 1vw, 32px);
}

.product-kicker {
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: #263D32;
}

.product-copy p:not(.product-kicker) {
  max-width: 46ch;
  color: var(--graphite);
}

.product-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  font-weight: 500;
}

.product-more .icon {
  transition: transform var(--dur-md) var(--ease-emphasized);
}

.product:hover .product-more .icon {
  transform: translateX(4px);
}

@media (min-width: 900px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mini call card (AI Receptionist visual) */
.mini-call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--night-text);
  background: var(--night-2);
  box-shadow: 0 20px 40px -20px rgba(11, 11, 14, 0.55);
}

.mini-call-text {
  display: grid;
  gap: 1px;
}

.mini-call-text strong {
  font-size: 14px;
  font-weight: 550;
}

.mini-call-text span {
  font-size: 11.5px;
  color: var(--night-text-3);
}

.mini-booked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: #11633a;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(17, 99, 58, 0.22), var(--shadow-1);
  transform: translate3d(0, 6px, 0);
  opacity: 0.8;
  transition: transform var(--dur-lg) var(--ease-emphasized), opacity var(--dur-lg) var(--ease-standard);
}

.product:hover .mini-booked {
  transform: none;
  opacity: 1;
}

/* Mini flow (Automation visual) — a short top-down sequence */
.mini-flow {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-flow li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-1);
  transition: box-shadow var(--dur-md) var(--ease-standard);
}

.mini-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 100%;
  width: 1px;
  height: 6px;
  background: rgba(38, 61, 50, 0.35);
}

.mini-flow .icon {
  color: var(--violet);
}

.product:hover .mini-flow li {
  box-shadow: inset 0 0 0 1px rgba(38, 61, 50, 0.45), var(--shadow-1);
}

.product:hover .mini-flow li:nth-child(2) { transition-delay: 90ms; }
.product:hover .mini-flow li:nth-child(3) { transition-delay: 180ms; }
.product:hover .mini-flow li:nth-child(4) { transition-delay: 270ms; }

@media (max-width: 479px) {
  .mini-flow li:nth-child(2)::after {
    display: none;
  }
}

/* ==========================================================================
   AI Receptionist — grouped capabilities
   ========================================================================== */

.capgroups {
  display: grid;
  gap: 16px;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.capgroup {
  padding: clamp(22px, 1.25rem + 0.75vw, 30px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}

.capgroup-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
}

.capgroup-title .mono {
  font-size: 12px;
  font-weight: 500;
  color: #263D32;
}

.caplist {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.caplist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  font-size: 15.5px;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.caplist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.caplist .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--ink);
}

.capnote {
  margin-top: var(--s-8);
  font-size: var(--fs-small);
  color: var(--graphite);
}

@media (min-width: 900px) {
  .capgroups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Automation — detail blocks + "also available"
   ========================================================================== */

.sd-title {
  margin-top: 2px;
}

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--graphite);
}

.also-label {
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--mute);
}

/* ==========================================================================
   Home — "The problem" research stats
   Palette (dark surface #263D32):
   answered = de-emphasis green-gray; voicemail = muted sage; no response = soft
   terracotta (Voicely palette), so the worst outcome reads warmest.
   ========================================================================== */

.stats {
  --c-answered: #7A8F81;
  --c-voicemail: #B8C9B5;
  --c-none: #DDA18C;
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--night-line);
}

.stats-kicker {
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--night-text-3);
}

.callsplit {
  margin: 0;
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.stats-hero {
  margin-top: var(--s-2);
  font-size: clamp(4rem, 2.5rem + 5vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.stats-pct {
  color: var(--night-text-3);
}

.stats-hero-text {
  max-width: 36ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--night-text-2);
}

/* 100% stacked bar */
.splitbar {
  display: flex;
  gap: 2px;
  height: 16px;
  margin-top: var(--s-4);
  clip-path: inset(-56px 100% -4px 0);
  transition: clip-path 1.6s var(--ease-emphasized) 0.2s;
}

.callsplit.is-in .splitbar,
html:not(.js) .splitbar {
  clip-path: inset(-56px -40px -4px -40px);
}

.seg {
  position: relative;
  flex: 0 0 calc(var(--w) * 1% - 2px);
}

.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }

.seg--answered { background: var(--c-answered); }
.seg--voicemail { background: var(--c-voicemail); }
.seg--none { background: var(--c-none); }

/* hover tooltip — values are also direct-labeled in the legend */
.seg::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--ink);
  background: var(--night-text);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity var(--dur-sm) var(--ease-standard), transform var(--dur-sm) var(--ease-standard);
}

.seg:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.splitbar:hover .seg:not(:hover) {
  opacity: 0.45;
}

.seg {
  transition: opacity var(--dur-sm) var(--ease-standard);
}

.split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--night-text-2);
}

.split-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.split-legend b {
  font-weight: 600;
  color: var(--night-text);
}

.sw {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.sw--answered { background: var(--c-answered); }
.sw--voicemail { background: var(--c-voicemail); }
.sw--none { background: var(--c-none); }

.stats-source {
  max-width: 62ch;
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--night-text-3);
}

.stats-source a {
  color: var(--night-text-2);
  text-decoration: underline;
  text-decoration-color: var(--night-line-strong);
  text-underline-offset: 3px;
  transition: color var(--dur-sm) var(--ease-standard);
}

.stats-source a:hover {
  color: var(--night-text);
}

/* Meters */
.meters {
  display: grid;
  gap: var(--s-8);
  align-content: start;
}

.meter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  align-items: center;
}

.meter-fig {
  grid-row: span 2;
  min-width: 2.6ch;
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.meter-text {
  max-width: 40ch;
  color: var(--night-text-2);
}

.meter-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--night-3);
  overflow: hidden;
}

.meter-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--c-voicemail);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-emphasized) calc(var(--i, 0) * 120ms + 200ms);
}

.meter.is-in .meter-fill,
html:not(.js) .meter-fill {
  transform: scaleX(calc(var(--v) / 100));
}

.meter--ai .meter-fill {
  background: var(--brand-grad);
}

@media (min-width: 1024px) {
  .stats {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splitbar {
    clip-path: none;
    transition: none;
  }

  .meter-fill {
    transform: scaleX(calc(var(--v) / 100));
    transition: none;
  }
}

/* ==========================================================================
   Home — "Get an AI call"
   ========================================================================== */

/* Tighter hand-off into "What we do", separated by a hairline */
.callme {
  padding-bottom: var(--section-y-sm);
}

.callme + .section {
  padding-top: 0;
}

.callme + .section > .container::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--section-y-sm);
  background: var(--line-strong);
}

.callme-inner {
  display: grid;
  justify-items: center;
  gap: var(--s-6);
  text-align: center;
}

.callme-inner .h2 {
  max-width: 16ch;
}

.callme-inner .lead {
  max-width: 44ch;
}

.callme-form {
  display: grid;
  gap: var(--s-4);
  width: 100%;
  max-width: 560px;
  margin-top: var(--s-4);
}

.callme {
  overflow: hidden;
}

/* Flowing ribbon backdrop. The ribbons are drawn once (flow-ribbons.js);
   motion is transform-only, so it stays on the compositor. */
.callme-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.flow-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--flow-top, 30%);
  height: var(--flow-h, 420px);
  animation: flow-sway 16s var(--ease-smooth) infinite alternate;
}

.flow-layer--b {
  animation-duration: 21s;
  animation-direction: alternate-reverse;
}

.flow-track {
  width: 200%;
  height: 100%;
  will-change: transform;
  animation: flow-drift 70s linear infinite;
}

.flow-layer--b .flow-track {
  animation-duration: 110s;
  animation-direction: reverse;
}

.flow-track canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Static fades into the page colour — cheaper than a mask on moving content */
.callme-flow::before,
.callme-flow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.callme-flow::before {
  top: var(--flow-top, 30%);
  height: var(--flow-h, 420px);
  background: linear-gradient(180deg, var(--paper), transparent 28%, transparent 72%, var(--paper));
}

.callme-flow::after {
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--paper), transparent 24%, transparent 76%, var(--paper));
}

.callme-flow.is-paused .flow-layer,
.callme-flow.is-paused .flow-track {
  animation-play-state: paused;
}

@keyframes flow-drift {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes flow-sway {
  from { transform: translate3d(0, -12px, 0); }
  to { transform: translate3d(0, 12px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-layer,
  .flow-track {
    animation: none;
  }
}

.callme-inner {
  position: relative;
  z-index: 1;
}

/* Floating card: number field over a full-width call button */
.callme-card {
  display: grid;
  gap: 8px;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(38, 61, 50, 0.35), var(--shadow-1);
}

.callme-field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--dur-sm) var(--ease-standard), background-color var(--dur-sm) var(--ease-standard);
}

.callme-field:focus-within {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(38, 61, 50, 0.12);
}

.callme-field input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.callme-field input::placeholder {
  color: var(--mute);
}

.callme-field input:focus-visible {
  outline: none;
}

.callme-submit {
  width: 100%;
  min-height: 52px;
  border-radius: var(--r-md);
  font-size: 1rem;
}

.callme-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--graphite);
  transition: color var(--dur-sm) var(--ease-standard);
}

.callme-demo .icon {
  transform: rotate(-45deg);
  transition: transform var(--dur-sm) var(--ease-emphasized);
}

.callme-demo:hover {
  color: var(--blue-ink);
}

.callme-demo:hover .icon {
  transform: rotate(-45deg) translateX(2px);
}

.callme-consent {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
}

.callme-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.callme-status {
  min-height: 1.5em;
  font-size: var(--fs-small);
}

.callme-status[data-kind="success"] { color: #11633a; }
.callme-status[data-kind="error"] { color: #a1301f; }

.callme-note {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  color: var(--mute);
}


/* ==========================================================================
   Legal pages (privacy.html, terms.html)
   ========================================================================== */

.page-hero--legal {
  padding-bottom: var(--s-10);
}

.legal-updated {
  font-size: var(--fs-small);
  color: var(--mute);
}

.legal {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-2);
}

.legal > * + * {
  margin-top: var(--s-4);
}

.legal h2 {
  margin-top: var(--s-12);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.legal h3 {
  margin-top: var(--s-6);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ink);
}

.legal ul {
  display: grid;
  gap: var(--s-2);
  padding-left: 1.25em;
  list-style: disc;
}

.legal li::marker {
  color: var(--blue);
}

.legal-contact {
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}


/* ==========================================================================
   Pricing — founding client launch offer
   ========================================================================== */

.launch {
  position: relative;
  display: grid;
  gap: var(--s-6);
  align-items: center;
  margin-bottom: var(--s-6);
  padding: clamp(22px, 1.1rem + 1.2vw, 32px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(221, 161, 140, 0.18), transparent 60%),
    rgba(184, 201, 181, 0.28);
  box-shadow: inset 0 0 0 1px rgba(38, 61, 50, 0.14);
}

.launch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.launch-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c97c62; /* deeper terracotta so the dot reads on sage */
}

.launch-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: launch-ping 2.4s var(--ease-out) infinite;
}

@keyframes launch-ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

.launch-title {
  margin-top: var(--s-3);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.launch-text {
  max-width: 62ch;
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--graphite);
}

.launch-cta {
  justify-self: start;
}

@media (min-width: 900px) {
  .launch {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-dot::after {
    animation: none;
  }
}

/* Setup fee: founding price, regular price struck through */
.plan-was {
  margin-left: 2px;
  color: var(--mute);
  text-decoration-thickness: 1px;
}

.plan-offer {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a85e45; /* readable terracotta on white */
}

.plan--featured .plan-was {
  color: var(--night-text-3);
}

.plan--featured .plan-offer {
  color: #DDA18C;
}

/* keep every plan's button on the same line now setup lines vary */
.plan-setup {
  min-height: 3.2em;
}

.plan-usage {
  align-content: flex-start;
  min-height: 5.9em;
}

.plan-offer {
  display: block;
  margin: 2px 0 0;
}

/* ==========================================================================
   Industries — Around the GTA map
   ========================================================================== */

.gta-wrap {
  display: grid;
  gap: 16px;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.gta-map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1400 / 876; /* matches the aerial photo so pins stay on their buildings */
  align-self: center;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}

.gta-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gta-block {
  fill: rgba(184, 201, 181, 0.07);
  stroke: rgba(184, 201, 181, 0.16);
  stroke-width: 1;
}

.gta-park {
  fill: rgba(120, 160, 110, 0.18);
  stroke: rgba(184, 201, 181, 0.22);
  stroke-width: 1;
}

.gta-main {
  fill: rgba(184, 201, 181, 0.12);
}

.gta-centre {
  fill: none;
  stroke: rgba(247, 244, 238, 0.28);
  stroke-width: 2;
  stroke-dasharray: 14 12;
}

.gta-street {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  fill: rgba(247, 244, 238, 0.45);
}

.gta-street--sm {
  font-size: 11px;
  fill: rgba(247, 244, 238, 0.3);
}

/* Pins */
.gta-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  cursor: pointer;
}

/* Forest-green pin with an ivory ring — stands out on the aerial photo */
.gta-pin-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 7px rgba(38, 61, 50, 0.35),
    0 6px 16px rgba(11, 18, 14, 0.45);
  transition: transform var(--dur-md) var(--ease-emphasized), box-shadow var(--dur-md) var(--ease-standard);
}

.gta-pin-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(247, 244, 238, 0.85);
  animation: gta-ping 2.6s var(--ease-out) infinite;
}

.gta-pin:nth-of-type(2) .gta-pin-dot::after { animation-delay: 0.6s; }
.gta-pin:nth-of-type(3) .gta-pin-dot::after { animation-delay: 1.2s; }
.gta-pin:nth-of-type(4) .gta-pin-dot::after { animation-delay: 1.8s; }

@keyframes gta-ping {
  0% { transform: scale(1); opacity: 0.9; }
  80%, 100% { transform: scale(3.2); opacity: 0; }
}

.gta-pin:hover .gta-pin-dot,
.gta-pin:focus-visible .gta-pin-dot {
  transform: scale(1.25);
}

.gta-pin[aria-pressed="true"] .gta-pin-dot {
  transform: scale(1.3);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 8px rgba(184, 201, 181, 0.55),
    0 0 26px 8px rgba(184, 201, 181, 0.55);
}

.gta-pin-name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity var(--dur-sm) var(--ease-standard), transform var(--dur-md) var(--ease-emphasized);
  pointer-events: none;
}

.gta-pin:hover .gta-pin-name,
.gta-pin:focus-visible .gta-pin-name,
.gta-pin[aria-pressed="true"] .gta-pin-name {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gta-live {
  position: absolute;
  left: 16px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.7);
}

.gta-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.25);
}

/* Card */
.gta-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}

.gta-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.gta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gta-body {
  display: grid;
  gap: var(--s-4);
  padding: clamp(18px, 1rem + 0.8vw, 26px);
}

.gta-biz {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gta-biz strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gta-biz em {
  display: block;
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--mute);
}

.gta-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gta-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--graphite);
}

.gta-steps time {
  padding-top: 2px;
  font-size: var(--fs-micro);
  color: var(--blue-ink);
}

.gta-outcome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  font-weight: 550;
  color: #11633a;
  background: rgba(47, 191, 113, 0.1);
  box-shadow: inset 0 0 0 1px rgba(17, 99, 58, 0.18);
}

/* Card swaps in softly when a new pin is chosen */
.gta-card.is-swapping .gta-photo img {
  animation: gta-photo-in var(--dur-xl) var(--ease-emphasized);
}

.gta-card.is-swapping .gta-steps li,
.gta-card.is-swapping .gta-outcome {
  animation: gta-row-in var(--dur-lg) var(--ease-out) both;
  animation-delay: calc(var(--i, 3) * 90ms + 120ms);
}

@keyframes gta-photo-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

@keyframes gta-row-in {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: none; }
}

.gta-note {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--mute);
}

/* Full-width map; the business card floats as a bubble beside the pin */
.gta-wrap {
  position: relative;
  display: block;
}

.gta-card {
  position: relative;
  margin-top: 12px;
}

@media (min-width: 761px) {
  .gta-card {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 340px;
    margin-top: 0;
    box-shadow: 0 0 0 1px rgba(11, 11, 14, 0.06), 0 30px 60px -20px rgba(11, 11, 14, 0.45);
    transition: opacity var(--dur-md) var(--ease-standard), transform var(--dur-md) var(--ease-emphasized);
  }

  .gta-card.is-closed {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
  }

  .gta-photo {
    aspect-ratio: 16 / 8;
  }

  .gta-body {
    gap: var(--s-3);
    padding: 16px 18px 18px;
  }

  .gta-steps li {
    font-size: 13.5px;
  }
}


@media (max-width: 559px) {
  .gta-street {
    font-size: 22px;
  }

  .gta-street--sm {
    display: none;
  }

  /* the card below names the business; tags would clip at the edges */
  .gta-pin-name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gta-pin-dot::after,
  .gta-card.is-swapping .gta-photo img,
  .gta-card.is-swapping .gta-steps li,
  .gta-card.is-swapping .gta-outcome {
    animation: none;
  }
}

/* Aerial photo version of the map */
.gta-aerial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* forest-green tint: on-brand, and lets the glowing pins stand out */
.gta-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(28, 46, 37, 0.2), rgba(28, 46, 37, 0.2));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.gta-pin,
.gta-live {
  z-index: 2;
}

.gta-live {
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
  background: rgba(28, 46, 37, 0.72);
}

@media (min-width: 761px) {
  /* the open bubble already names the business */
  .gta-pin[aria-pressed="true"] .gta-pin-name {
    opacity: 0;
  }
}
