/* The source layout is retained; these rules adapt the saved snapshot to live HTML. */
.seo-light-page {
  color-scheme: light;
  min-height: 100svh;
  --background: var(--ui-paper);
  --foreground: var(--ui-ink);
  --surface: var(--ui-surface);
  --surface-raised: var(--ui-surface);
  --text-secondary: var(--ui-muted);
  --text-muted: var(--ui-muted);
  --border: var(--ui-line);
  background: var(--background);
  color: var(--foreground);
}
:root:has([data-seo-page]:not([hidden], [hidden] *, [style*="display: none"], [style*="display: none"] *)) {
  color-scheme: light;
}
.seo-skip { position: fixed; top: 1rem; left: 1rem; z-index: 100; transform: translateY(-200%); background: white; color: #171717; padding: .75rem 1rem; border-radius: .5rem; }
.seo-skip:focus { transform: none; }
@scope (.rewardaSeo) {
  :scope { color-scheme: light; --font-geist-sans: 'Inter Variable', Inter, system-ui, sans-serif; background: #fff; color: #171717; overflow-x: clip; }
  main { min-width: 0; padding-bottom: 4rem; }
  .seo-card-art { display: block; width: 100%; height: 100%; object-fit: contain; }
  .coffee-shop-benefits {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-block: clamp(3.5rem, 6vw, 6rem);
    background: white;
  }
  .coffee-shop-benefits h2 {
    max-width: 39rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  .coffee-shop-benefits-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(1.75rem, 4vw, 3.25rem);
  }
  .coffee-shop-benefits article {
    overflow: hidden;
    border-radius: 1.375rem;
    background: #f8f8f8;
  }
  .coffee-shop-benefits img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 344;
    object-fit: cover;
    object-position: top;
  }
  .coffee-shop-benefits-copy {
    padding: 0 clamp(1.25rem, 2.25vw, 2rem) clamp(1.5rem, 2.45vw, 2.25rem);
  }
  .coffee-shop-benefits h3 {
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.25;
  }
  .coffee-shop-benefits p {
    margin-top: .75rem;
    color: var(--ui-muted);
    font-size: 1rem;
    line-height: 1.55;
  }
  @media (min-width: 52rem) {
    .coffee-shop-benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  details > summary { list-style: none; gap: 1rem; }
  details > summary::-webkit-details-marker { display: none; }
  details > summary::after { content: '+'; flex-shrink: 0; }
  details[open] > summary::after { content: '−'; }
  details > summary:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
  [id^='card-'] { scroll-margin-top: 6rem; }
  [data-hero-overlay] h1 { display: block; max-width: 24ch; }
  [data-hero-overlay] h1 span { display: block; }
  [data-hero-overlay] p { max-width: 44rem; }
  [data-solution-hero] & [data-hero-overlay] > [aria-hidden='true'] {
    background: linear-gradient(180deg, rgb(0 0 0 / .6) 0 60px, rgb(0 0 0 / .26) min(165px, 35%), rgb(0 0 0 / .42) 50%, rgb(0 0 0 / .7) 100%);
  }
  [data-solution-hero] & [data-hero-overlay] :is(h1, p) {
    font-family: var(--font-inter), Inter, system-ui, sans-serif;
  }
  [data-solution-hero] & [data-hero-overlay] h1 {
    font-size: 1.509375rem;
    line-height: 1.15;
  }
  [data-solution-hero] & [data-hero-overlay] p {
    max-width: 36rem;
    font-size: .8625rem;
  }
  @media (min-width: 40rem) {
    [data-solution-hero] & [data-hero-overlay] h1 { font-size: 1.81125rem; }
  }
  [data-solution-hero] & [data-hero-overlay] a::after {
    content: '';
    width: .45em;
    height: .45em;
    margin-inline: .25em;
    border-block-start: 2px solid currentColor;
    border-inline-end: 2px solid currentColor;
    rotate: 45deg;
  }
  @media (pointer: coarse) {
    [data-solution-hero] & [data-hero-overlay] a { min-height: 44px; }
  }
  @media (min-width: 64rem) {
    [data-solution-hero] & [data-hero-overlay] h1 {
      display: flex;
      max-width: none;
      font-size: 2.415rem;
    }
  }
  [data-loyalty-hero] { overflow: hidden; }
  [data-loyalty-hero] > .mx-auto { position: relative; z-index: 1; }
  [data-loyalty-hero] .loyalty-hero-phone { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; }
  [data-loyalty-hero] .loyalty-hero-glow {
    --glow-height: clamp(160px, 20vw, 280px);
    position: absolute;
    pointer-events: none;
    z-index: 0;
    bottom: calc(var(--glow-height) * -.55);
    left: 50%;
    width: min(1040px, 125vw);
    height: var(--glow-height);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgb(0 189 255 / .43) 0%, rgb(0 189 255 / .2) 32%, rgb(0 189 255 / .07) 52%, transparent 72%);
    transform: translate3d(-50%, 0, 0);
  }
  @media (min-width: 1024px) {
    [data-loyalty-hero] {
      /* The trial banner and navigation take 45px and 60px above the hero. */
      min-height: calc(100svh - 105px);
      align-content: end;
      padding-top: 80px;
    }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
}

@scope (.rewardaSeo) {
  .coffee-shop-cards {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem);
    scroll-margin-top: 4rem;
    background: var(--background);
  }

  .coffee-shop-cards-caption {
    margin-bottom: .875rem;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .coffee-shop-cards h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.04em;
    text-wrap: balance;
  }

  .coffee-shop-cards nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.125rem;
    margin-top: 1.25rem;
  }

  .coffee-shop-cards nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
  }

  .coffee-shop-cards nav a::before {
    width: .375rem;
    height: .375rem;
    flex: none;
    border-radius: 50%;
    background: var(--primary);
    content: '';
    opacity: 0;
    margin-inline-end: -.375rem;
  }

  .coffee-shop-cards nav a:hover,
  .coffee-shop-cards nav a[aria-current] { color: var(--foreground); }

  .coffee-shop-cards nav a[aria-current]::before {
    opacity: 1;
    margin-inline-end: .625rem;
  }

  .coffee-shop-card-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    isolation: isolate;
  }

  .coffee-shop-card-entry { display: contents; }
  .coffee-shop-card-entry + .coffee-shop-card-entry .coffee-shop-card-anchor { margin-top: 1rem; }
  .coffee-shop-card-anchor { scroll-margin-top: 6rem; }

  .coffee-shop-card-list article {
    border-radius: 1.375rem;
    background: var(--surface);
    padding: clamp(.75rem, 2vw, 1.5rem);
  }

  .coffee-shop-card-copy { padding: .375rem .375rem 1.125rem; }
  .coffee-shop-card-copy h3 { font-weight: 650; font-size: clamp(1.125rem, 2vw, 1.375rem); }
  .coffee-shop-card-copy p { margin-top: .375rem; color: var(--text-secondary); line-height: 1.5; }

  .coffee-shop-card-photo {
    overflow: clip;
    border-radius: .875rem;
    aspect-ratio: 16 / 9;
    background: var(--surface);
  }

  @media (min-width: 62rem) {
    .coffee-shop-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
    .coffee-shop-cards-sidebar { position: sticky; top: 6rem; align-self: start; }
    .coffee-shop-cards h2 { font-size: clamp(1.5rem, 2.2vw, 1.75rem); line-height: 1.2; }
    .coffee-shop-cards nav ul { flex-direction: column; gap: 0; margin-top: 2.75rem; }
    .coffee-shop-cards nav a { font-size: 1.125rem; }
    .coffee-shop-card-list article {
      overflow: clip;
      padding: 2rem 2rem 0;
    }
    .coffee-shop-card-copy { padding: 0 0 1.5rem; line-height: 1.55; }
    .coffee-shop-card-photo {
      margin-inline-end: -2rem;
      border-radius: 1rem 0 0 0;
      aspect-ratio: 1.92;
    }
    .coffee-shop-card-copy :is(h3, p) {
      display: inline;
      margin: 0;
      font-size: 1.0625rem;
      line-height: inherit;
    }
    .coffee-shop-card-copy h3 { font-weight: 550; }
    .coffee-shop-card-copy h3::after { content: '. '; }
  }

  @media (min-width: 62rem) and (min-height: 45rem) and (prefers-reduced-motion: no-preference) {
    .coffee-shop-cards { --coffee-stacked: 1; }
    .coffee-shop-card-list article {
      position: sticky;
      top: calc(6rem + var(--coffee-stack-offset, 0rem));
    }
    .coffee-shop-card-list article::after {
      position: absolute;
      z-index: 1;
      inset: 0;
      border-radius: inherit;
      background: var(--background);
      opacity: var(--coffee-cover, 0);
      pointer-events: none;
      content: '';
    }
    .coffee-shop-card-entry:nth-child(2) { --coffee-stack-offset: 1.5rem; }
    .coffee-shop-card-entry:nth-child(3) { --coffee-stack-offset: 3rem; }
    .coffee-shop-card-entry:nth-child(4) { --coffee-stack-offset: 4.5rem; }
  }

  @media (prefers-reduced-motion: no-preference) {
    .coffee-shop-cards nav a { transition: color var(--duration-fast, 160ms); }
    .coffee-shop-cards nav a::before {
      transition: opacity var(--duration-fast, 160ms), margin-inline-end var(--duration-fast, 160ms);
    }

    @supports (animation-timeline: view()) {
      .coffee-shop-card-photo > [data-wallet-photo] {
        animation: coffee-shop-photo-settle linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 100%;
        transform-origin: 25% center;
      }
    }
  }
}

@keyframes coffee-shop-photo-settle {
  from { transform: scale(1.027); }
  to { transform: scale(1); }
}

@scope (.rewardaSeo) {
  .coffee-shop-card-photo > img[data-wallet-photo] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}
