/* ==========================================================================
   ORYGIN AI — section layouts
   --------------------------------------------------------------------------
   One block per chapter of the page, in the order it is scrolled. Anything
   used by more than one section belongs in components.css instead.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Masthead — wordmark only. No nav: there is one action on this page.
   -------------------------------------------------------------------------- */

.masthead {
  padding-top: clamp(1.75rem, 5vw, 2.75rem);
  text-align: center;
}

.wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.wordmark span { color: var(--brand-400); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: var(--space-8);
  padding-bottom: var(--section-gap);
  text-align: center;
}

.hero__title {
  max-width: 18ch;
  margin-inline: auto;
}

/* The one accent in the headline. A colour change, not an underline plus a
   glow plus a second colour — the old hero marked four separate phrases. */
.hero__title .accent { color: var(--brand-400); }

.hero__sub {
  max-width: 54ch;
  margin: var(--space-6) auto 0;
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.hero__sub strong { color: var(--text-secondary); }

.hero .pill { margin-bottom: var(--space-6); }

/* Video frame. Padding is small on purpose: at 320px a 2rem inset eats a
   quarter of the screen the VSL is trying to use. */
.hero__video {
  max-width: 46rem;
  margin: var(--space-10) auto 0;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-300);
}

.hero__video .wistia_responsive_padding {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.hero__lede {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* The five wins. Left-aligned inside a centred block: ticked lines that are
   themselves centred are unreadable, the eye loses the left edge. */
.hero__wins {
  display: grid;
  gap: var(--space-1);
  max-width: 34rem;
  margin: var(--space-4) auto 0;
  text-align: left;
}

@media (min-width: 44rem) {
  .hero__wins {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-8);
    max-width: 44rem;
  }

  /* Five items over two columns: the last one spans so the grid does not end
     on a lonely half-width row. */
  .hero__wins li:last-child { grid-column: 1 / -1; }
}

.hero__cta { margin-top: var(--space-10); }

/* --------------------------------------------------------------------------
   Urgency banner — its own small card, not a full-width red stripe
   -------------------------------------------------------------------------- */

.banner {
  max-width: 26rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-300);
  text-align: center;
}

.banner__note {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.banner__note strong { color: var(--brand-400); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 48rem) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-300);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--brand-400);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Card grids — "what you get" and the bundle both use this
   -------------------------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 40rem) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 60rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Sits directly under the full-width feature card, so it needs its own top
   gap — the grid's own `gap` only works between its children. */
.grid--stacked { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   Feature card — the one item in a grid that is the headline item, promoted
   to full width above the rest rather than competing inside the grid.
   -------------------------------------------------------------------------- */

.card--feature {
  border-color: var(--border-brand);
  background: linear-gradient(180deg, var(--surface-400), var(--surface-300));
}

/* .card:hover sets a flat background and outspecifies the modifier, so the
   gradient has to be restated here or it vanishes on hover. */
.card--feature:hover {
  border-color: var(--brand-wash-28);
  background: linear-gradient(180deg, var(--surface-500), var(--surface-400));
}

.card--feature .card__title { font-size: var(--text-xl); }

.card--feature .chips { margin-top: var(--space-5); }

/* --------------------------------------------------------------------------
   Use-case card — a title and one line. No numeral: six of them in a row of
   counted cards would read as an ordered list, and the order means nothing.
   -------------------------------------------------------------------------- */

.use__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.use .card__body { margin-top: var(--space-2); }

/* --------------------------------------------------------------------------
   Feature panel — one component of the stack, opened up. Stacked full width
   rather than gridded: each one carries a different shape of content (a
   fourteen-row list, a three-step flow, a single line), and a grid would
   force them all to the height of the tallest.
   -------------------------------------------------------------------------- */

.feature {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-300);
}

.feature + .feature { margin-top: var(--space-4); }

.feature__count {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--brand-400);
}

.feature__title {
  margin-top: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}

.feature__lede {
  max-width: 62ch;
  margin-top: var(--space-3);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.feature__list,
.feature .flow {
  margin-top: var(--space-6);
}

.feature__note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Value stack — the whole box in one list, immediately above the price.
   -------------------------------------------------------------------------- */

.value-stack {
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-300);
}

.value-stack__list { margin-top: var(--space-4); }

/* The stack sits inside the price section, so the price card below it loses
   its own top margin and the two read as one block. */
.value-stack + .price { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   Audience — six labels, no ranking, no ticks needed to sell them.
   -------------------------------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (min-width: 44rem) {
  .audience { grid-template-columns: repeat(3, 1fr); }
}

.audience__item {
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-300);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.audience__note {
  max-width: 60ch;
  margin: var(--space-8) auto 0;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  text-align: center;
  color: var(--text-muted);
}

.audience__note strong { color: var(--brand-400); }

/* Bundle card: a department, its agent count, and the names that matter.
   The old page listed all 24 names in four columns; the count plus four
   examples carries the same information in a quarter of the words. */
.agent-group__count {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.agent-group__list {
  margin-top: var(--space-4);
}

.agent-group__more {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Social proof rail
   --------------------------------------------------------------------------
   Horizontal, scroll-snapped, and it scrolls on its own axis so a swipe in
   the rail never drags the page sideways.
   -------------------------------------------------------------------------- */

.proof__hint {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-faint);
  text-align: center;
}

.proof__rail {
  display: flex;
  /* Not stretch: the three vertical videos are ~480px tall and the review
     screenshots are half that, so stretching leaves each review card with a
     tall empty box under it. */
  align-items: flex-start;
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* Bleed to the viewport edge so the rail reads as scrollable, while the
     first and last card still line up with the container gutter. */
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--space-2) var(--gutter) var(--space-5);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-600) transparent;
}

.proof__rail::-webkit-scrollbar { height: 6px; }
.proof__rail::-webkit-scrollbar-thumb {
  border-radius: var(--radius-pill);
  background: var(--surface-600);
}

.proof__slide {
  flex: 0 0 auto;
  width: 17rem;
  scroll-snap-align: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-300);
}

.proof__slide img {
  width: 100%;
  height: auto;
}

/* The three vertical testimonials are 9:16 phone recordings. */
.proof__slide--video {
  background: #000;
}

.proof__trust {
  max-width: 34ch;
  margin: var(--block-gap) auto 0;
  font-size: var(--text-2xl);
  text-align: center;
}

.proof__trust .accent { color: var(--brand-400); }

/* --------------------------------------------------------------------------
   Bonuses
   -------------------------------------------------------------------------- */

.bonus {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.bonus__num {
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-400);
}

.bonus__title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.bonus__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.bonus__worth {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-faint);
}

.bonus__worth b { color: var(--text-secondary); }

.bonus__total {
  margin-top: var(--space-8);
  font-size: var(--text-md);
  text-align: center;
  color: var(--text-muted);
}

.bonus__total strong { color: var(--text-primary); }

/* --------------------------------------------------------------------------
   Fit check — two columns, replacing the old six-checkbox quiz
   -------------------------------------------------------------------------- */

.fit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 52rem) {
  .fit__grid { grid-template-columns: 1fr 1fr; }
}

.fit__col {
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-300);
}

.fit__col--yes { border-color: var(--border-brand); }

.fit__title {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
}

.fit__col--yes .fit__title { color: var(--brand-400); }

.fit__col--no .checklist__item { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Price
   -------------------------------------------------------------------------- */

.price {
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2.5rem);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  background: var(--surface-300);
  text-align: center;
}

.price__was {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-faint);
}

.price__now {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-price);
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.price__terms {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price__countdown {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.price__cta { margin-top: var(--space-8); }

/* --------------------------------------------------------------------------
   About — three sentences, not seven paragraphs
   -------------------------------------------------------------------------- */

.about__body {
  text-align: center;
}

.about__body p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.about__body p + p { margin-top: var(--space-4); }

.about__body strong { color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final { text-align: center; }

.final__title {
  max-width: 20ch;
  margin-inline: auto;
  font-size: var(--text-4xl);
}

.final__sub {
  max-width: 48ch;
  margin: var(--space-5) auto 0;
  font-size: var(--text-md);
  color: var(--text-muted);
}

.final__cta { margin-top: var(--space-10); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding-block: var(--space-12);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                         /* WCAG 2.5.5 tap target */
  padding-inline: var(--space-2);
  color: var(--text-muted);
  text-decoration: none;
}

.footer__sep { color: var(--text-faint); }

.footer__legal {
  max-width: 60ch;
  margin: var(--space-4) auto 0;
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Sticky offer bar
   --------------------------------------------------------------------------
   Its real height must match --stickybar-height at every breakpoint, because
   body reserves that as bottom padding.
   -------------------------------------------------------------------------- */

.offerbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-sticky);
  /* Opaque on phones. backdrop-filter re-blurs the whole strip on every
     scroll frame, which is the most expensive thing this page can do on a
     mid-range Android. It is opted back in at 48rem, below. */
  background: var(--surface-veil);
  border-top: 1px solid var(--border-default);
  box-shadow: var(--shadow-offerbar);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Phone geometry, and it has to add up to --stickybar-height (6.25rem =
   100px), which body reserves as bottom padding:
   8 + 20 (meta line) + 8 (gap) + 48 (CTA) + 8 + 8 (borders/rounding) */
.offerbar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-2);
}

.offerbar__proof {
  /* Hidden on phones: the bar has room for a price and a button, and the
     button wins. It returns at 60rem, below. */
  display: none;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.offerbar__name {
  color: var(--brand-400);
  font-weight: 650;
}

.offerbar__name.is-swapping {
  animation: offerbar-swap var(--duration-normal) var(--ease-out);
}

@keyframes offerbar-swap {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.offerbar__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.offerbar__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--text-faint);
}

.offerbar__price b {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-primary);
}

.offerbar__dot { color: var(--text-faint); }

.offerbar__cta { width: 100%; }

.offerbar__cta .btn {
  width: 100%;
  min-height: 48px;
  padding-block: var(--space-3);
  font-size: var(--text-sm);
}

@media (min-width: 48rem) {
  .offerbar {
    background: var(--surface-veil-blurred);
    backdrop-filter: blur(10px);
  }

  .offerbar__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-6);
    /* 12 + 48 (CTA) + 12 + 1 = 73px, inside the 4.75rem (76px) reserved. */
    padding-block: var(--space-3);
  }

  .offerbar__cta { width: auto; }
  .offerbar__cta .btn { width: auto; padding-inline: var(--space-6); }
}

@media (min-width: 60rem) {
  .offerbar__proof { display: block; }
}
