/* Homepage sections */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 2.25rem 1.25rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(29, 158, 117, 0.08), transparent 55%),
    var(--page);
}

.hero-visual {
  background: var(--hero-grad);
  padding: 2rem 1.25rem 3.5rem;
  position: relative;
  min-height: 420px;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mint-soft);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.55);
  animation: pulse 2s ease-out infinite;
}

.hero h1 {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  max-width: 12ch;
}

.hero h1 em,
.hero h1 .accent {
  font-style: normal;
  color: var(--forest);
}

.hero-lead {
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.05rem;
  margin: 1rem 0 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 0.5px solid var(--mint-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--forest);
}

.trust-chip svg {
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.hero-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.phone-stage {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.phone {
  width: min(260px, 100%);
  margin: 0 auto;
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  transform-origin: center;
}

.phone-screen {
  background: var(--page);
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.85rem 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.phone-loc {
  margin: 0.35rem 0.75rem;
  background: var(--mint-soft);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.phone-utils {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.55rem;
}

.phone-util {
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 0.4rem 0.1rem;
  font-size: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
}

.phone-util span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.phone-card {
  margin: 0.5rem 0.7rem;
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  display: none;
}

.phone-card.is-on {
  display: block;
  animation: cardIn 0.45s var(--ease);
}

.phone-card strong {
  display: block;
  font-family: var(--font-display);
}

.phone-card small {
  color: var(--muted);
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--forest);
  width: 148px;
  z-index: 2;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.float-card span {
  font-size: 0.68rem;
  color: var(--muted);
}

.float-a {
  top: 8%;
  left: -8%;
  animation: floaty 3s ease-in-out infinite;
}

.float-b {
  top: 18%;
  right: -10%;
  border-left-color: var(--amber);
  animation: floaty 3.5s ease-in-out 1s infinite;
}

.float-c {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  animation: floaty 3.2s ease-in-out 0.5s infinite;
}

.ticker {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: var(--mint);
}

.scroll-cue i {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: drop 1.6s ease-in-out infinite;
}

.hero.is-scrolled .scroll-cue {
  display: none;
}

.counters {
  background: var(--forest);
  color: #fff;
  padding: 2.5rem 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}

.counter-item {
  text-align: center;
  padding: 0.5rem;
}

.counter-item + .counter-item {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.counter-item:nth-child(odd) {
  border-left: 0;
}

.counter-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-item h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.counter-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 3.5rem);
}

.section-head p {
  color: var(--muted);
}

.util-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.util-tab {
  scroll-snap-align: start;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  min-height: var(--touch);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.util-tab[aria-selected="true"] {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

.util-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.util-panel.is-active {
  display: grid;
  animation: fadeSlide 0.35s var(--ease);
}

.util-panel[hidden] {
  display: none !important;
}

.util-copy .chip {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.util-copy ul {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.util-copy li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.util-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.util-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
}

.util-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.util-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay, rgba(8, 80, 65, 0.3));
}

.journey {
  background: var(--page);
}

.steps {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  position: absolute;
  right: 0.8rem;
  top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--mint);
  opacity: 0.15;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.compare {
  margin-top: 2.5rem;
  overflow-x: auto;
}

.compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.compare thead th:first-child {
  background: #1a1a1a;
  color: #fff;
}

.compare thead th:last-child {
  background: var(--forest);
  color: #fff;
}

.compare tbody tr:nth-child(odd) {
  background: #f6faf8;
}

.compare td:last-child {
  box-shadow: inset 0 0 0 1px var(--forest);
  font-weight: 600;
  color: var(--forest);
}

.audiences {
  background: var(--ink);
  color: #fff;
}

.audiences .section-head h2,
.audiences .section-head p {
  color: #fff;
}

.audiences .section-head p {
  opacity: 0.7;
}

.audience-grid {
  display: grid;
  gap: 1rem;
}

.aud-card {
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.aud-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.aud-partner {
  background: var(--hero-grad);
  color: #fff;
}

.aud-partner h3,
.aud-franchise h3 {
  color: #fff;
}

.aud-customer {
  background: #fff;
  color: var(--ink);
}

.aud-customer:hover {
  transform: scale(1.02);
}

.aud-franchise {
  background: linear-gradient(160deg, #ba7517, #8a5410);
  color: #fff;
}

.aud-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 0.9;
  margin: 0.5rem 0;
}

.aud-card p {
  flex: 1;
  opacity: 0.92;
}

.voices-track-wrap {
  position: relative;
}

.voices-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  overflow-anchor: none;
}

.voice-card {
  flex: 0 0 min(380px, 88vw);
  scroll-snap-align: start;
  background: #fff;
  border: 0.5px solid #e1f5ee;
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.stars {
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.voice-card q {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  quotes: none;
}

.voice-card::before {
  content: "“";
  position: absolute;
  top: 1.4rem;
  left: 1.2rem;
  font-size: 4.5rem;
  font-family: var(--font-display);
  color: var(--forest);
  opacity: 0.15;
  line-height: 1;
}

.voice-who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.voice-who strong {
  display: block;
  font-family: var(--font-display);
}

.voice-who span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.voices-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.voices-nav button {
  width: var(--touch);
  height: var(--touch);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--forest);
}

.dots {
  display: flex;
  gap: 0.4rem;
}

.dots button {
  width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
}

.dots button.is-on {
  background: var(--forest);
  width: 18px;
  border-radius: 99px;
}

.early {
  background: var(--forest);
  color: #fff;
}

.early .section-head h2,
.early .section-head p {
  color: #fff;
}

.early-form {
  display: grid;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.early-form .form-field label {
  color: #fff;
}

.early-trust {
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-statement {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  max-width: 16ch;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.stat-pills span {
  background: var(--mint-soft);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
}

.map-card {
  background: var(--forest);
  border-radius: var(--radius);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.map-card svg {
  width: min(280px, 80%);
  height: auto;
  opacity: 0.85;
}

.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(186, 117, 23, 0.5);
}

.ripple::before,
.ripple::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  animation: rings 3s ease-out infinite;
}

.ripple::after {
  animation-delay: 1s;
}

.faq-item {
  border-bottom: 0.5px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

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

.faq-item .faq-icon {
  color: var(--mint);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--forest);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--muted);
  padding: 0 0 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: none;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes drop {
  0% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 32px;
    opacity: 0;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rings {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .counter-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .counter-item:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .counter-item:first-child {
    border-left: 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .early-form {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .early-form .form-submit {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 55% 45%;
    min-height: 100svh;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5% 4rem 8%;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }

  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -8%;
    padding-left: 8%;
  }

  .util-panel {
    grid-template-columns: 1fr 1fr;
  }

  .util-visual img {
    height: 360px;
  }
}

@media (max-width: 959px) {
  .float-a,
  .float-b,
  .float-c {
    position: static;
    transform: none;
    animation: none;
    width: auto;
    margin: 0.35rem;
  }

  .phone-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .float-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    width: 100%;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .float-card,
  .scroll-cue i,
  .ripple::before,
  .ripple::after,
  .phone-card.is-on,
  .util-panel.is-active,
  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .aud-card:hover {
    transform: none;
  }
}

/* HTML class aliases (homepage markup) */
.hero-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.float-row {
  display: contents;
}

.early-form {
  display: grid;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.early-trust {
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.form-submit {
  min-width: 200px;
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.map-card {
  background: var(--forest);
  border-radius: var(--radius);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
}

@media (min-width: 768px) {
  .early-form {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .early-form .form-submit {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
