/* Rewards Catcher till page. Product UI is the proof. Photos carry the pause. */
:root {
  --bg: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #0F1F2E;
  --muted: #62706A;
  --hair: #E3E8E5;
  --teal: #0E8C7F;
  --teal-deep: #0A6B61;
  --teal-soft: #E4F3F0;
  --teal-press: #084E47;
  --on-brand: #FFFFFF;
  --radius-btn: 12px;
  --radius-photo: 20px;
  --radius-phone: 32px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-med: 400ms;
  --sticky-h: 64px;
  --phone-w: 268px;
  --phone-beat: 250px;
  --phone-edge: 210px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--teal-press); }

:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  max-width: 11em;
  font-weight: 700;
}

h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { margin: 0; color: var(--muted); }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

[id] { scroll-margin-top: calc(var(--sticky-h) + 16px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--teal-deep);
  color: var(--on-brand);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; color: var(--on-brand); }

.name-catcher { color: var(--teal); }

.brand-wordmark {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.footer-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand--sm .brand-mark {
  width: 28px;
  height: 28px;
}

.brand-name {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand--sm .brand-name { font-size: 1rem; }

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin-inline: auto;
  padding: 1.25rem 0 0.5rem;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  touch-action: manipulation;
}

.btn-sm {
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.8125rem;
}

.btn-primary {
  background: var(--teal-deep);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--teal-press);
  color: var(--on-brand);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hair);
  font-weight: 500;
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--teal-deep) 45%, var(--hair));
  color: var(--teal-deep);
}

a.btn[data-dummy="true"] { cursor: pointer; }

.cta-row,
.sticky-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cta-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.trust-inline {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  max-width: 36ch;
}

.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  transform: translateY(-110%);
  transition: transform var(--dur-med) var(--ease-out);
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta[hidden] { display: none; }

.sticky-cta-inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--sticky-h);
  padding: 0.45rem 0;
}

.chapter-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 1.5rem;
  background: var(--bg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 38rem;
}

.hero-kicker {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal-deep);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 38ch;
  color: var(--muted);
}

.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.phone-glow {
  position: absolute;
  width: min(420px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 140, 127, 0.16) 0%, transparent 68%);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.phone-mock {
  position: relative;
  z-index: 1;
  margin: 0;
  width: var(--phone-w);
  border-radius: var(--radius-phone);
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 22px 50px rgba(15, 31, 26, 0.16),
    0 0 0 1px rgba(15, 31, 26, 0.06);
  line-height: 0;
}

.phone-mock--beat {
  width: min(var(--phone-beat), 74vw);
  border-radius: 28px;
  flex-shrink: 0;
}

.phone-mock--edge {
  width: min(var(--phone-edge), 68vw);
  border-radius: 24px;
  flex-shrink: 0;
}

.phone-shot,
.phone-mock img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-caption {
  line-height: 1.4;
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js:not(.is-loaded) .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.js.is-loaded .reveal[data-reveal="kicker"] {
  animation: riseIn 280ms var(--ease-out) 0ms both;
}
html.js.is-loaded .reveal[data-reveal="h1"] {
  animation: riseIn 450ms var(--ease-out) 80ms both;
}
html.js.is-loaded .reveal[data-reveal="sub"],
html.js.is-loaded .reveal[data-reveal="cta"] {
  animation: riseIn 400ms var(--ease-out) 200ms both;
}
html.js.is-loaded .reveal[data-reveal="phone"] {
  animation: phoneEnter 600ms var(--ease-out) 180ms both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes phoneEnter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

html.js .reveal-on-scroll:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-on-scroll.is-in {
  opacity: 1;
  transform: translateY(0);
}

.how-step:nth-child(2) { transition-delay: 40ms; }
.how-step:nth-child(3) { transition-delay: 80ms; }

.hero-figure.is-floating {
  animation: phoneFloat 5.5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.chapter-photo-band {
  padding: 0;
  background: var(--bg);
}

.photo-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.5rem 0 2.25rem;
}

.photo-frame {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-photo);
  overflow: hidden;
  height: 220px;
  background: var(--hair);
  box-shadow: 0 10px 28px rgba(15, 31, 26, 0.06);
}

.photo-frame--shop { height: 210px; }

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-frame--phone img { object-position: 50% 40%; }

.photo-caption {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.chapter-how {
  background: var(--surface);
  padding: 3.25rem 0 2.75rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.35rem;
}

.how-steps {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.how-step {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hair);
}

.how-step:last-child { border-bottom: none; }

.how-num {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-line {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.chapter-trust {
  background: var(--bg);
  padding: 0.5rem 0 1.65rem;
}

.trust-panel {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 1.75rem 1.35rem 1.5rem;
}

.trust-panel h2 { margin-bottom: 0.35rem; }

.trust-list {
  list-style: disc;
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  color: var(--ink);
  line-height: 1.45;
  padding-left: 0.25rem;
}

.trust-list li::marker { color: var(--teal-deep); }

.chapter-marks {
  background: var(--bg);
  padding: 0 0 1.75rem;
}

.chapter-marks h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  max-width: 18em;
}

.marks-sub {
  margin-top: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 36ch;
}

.marks-row {
  display: grid;
  grid-template-columns: repeat(4, 3.5rem);
  gap: 0.7rem 0.85rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  width: max-content;
  max-width: 100%;
}

.marks-row li {
  margin: 0;
  width: 3.5rem;
  height: 3.5rem;
}

.marks-row img {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
}

.chapter-moments {
  background: var(--surface);
  padding: 3.25rem 0 3rem;
}

.moments-title { max-width: 16ch; }

.moments-lead {
  margin-top: 0.7rem;
  font-size: 1.0625rem;
  max-width: 36ch;
}

.beat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hair);
}

.beat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-width: 34rem;
}

.beat-copy p,
.edge-copy p {
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 36ch;
  color: var(--muted);
}

.edge-grid {
  display: grid;
  gap: 2.25rem;
  padding-top: 2.25rem;
}

.edge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.edge-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.chapter-close {
  padding: 3.75rem 0 2.5rem;
  background: var(--bg);
  text-align: center;
}

.close-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.close-inner h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
}

.close-sub {
  font-size: 1.0625rem;
  max-width: 34ch;
  color: var(--muted);
}

.close-inner .cta-row {
  justify-content: center;
  margin-top: 0.35rem;
}

.site-footer {
  padding: 0.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-brand { gap: 0.4rem; }

.footer-nav a:hover { color: var(--teal-deep); }

.footer-sep { opacity: 0.55; }

.footer-copy { font-weight: 500; }

.footer-fine {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

@media (min-width: 768px) {
  :root {
    --shell: min(1120px, calc(100% - 4.5rem));
    --phone-w: 300px;
    --phone-beat: 270px;
    --phone-edge: 220px;
    --sticky-h: 68px;
  }

  .site-nav { padding: 1.5rem 0 0.25rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
    padding-top: 1.75rem;
    align-items: center;
  }

  .hero-copy { gap: 1.25rem; }

  .hero-sub { font-size: 1.125rem; }

  .hero-phone-wrap { justify-content: flex-end; }

  .photo-band { padding: 1.25rem 0 2.75rem; }

  .photo-frame { height: 320px; }
  .photo-frame--shop { height: 300px; }

  .chapter-how { padding: 4rem 0 3.25rem; }

  .how-step { padding: 1.2rem 0; gap: 1.15rem; }

  .trust-panel {
    max-width: 48rem;
    padding: 2.25rem 2.25rem 2rem;
  }

  .trust-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }

  .chapter-marks { padding-bottom: 2.25rem; }

  .marks-row {
    grid-template-columns: repeat(8, 3.75rem);
    gap: 0.85rem;
  }

  .marks-row li,
  .marks-row img {
    width: 3.75rem;
    height: 3.75rem;
  }

  .chapter-moments { padding: 4rem 0 3.5rem; }

  .beat {
    display: grid;
    grid-template-columns: minmax(0, 32rem) auto;
    justify-content: start;
    gap: 3.5rem;
    align-items: center;
    padding: 2.75rem 0;
  }

  .beat--flip {
    grid-template-columns: auto minmax(0, 32rem);
    justify-content: end;
  }

  .beat--flip .beat-copy { order: 2; }

  .edge { align-items: center; text-align: center; }
  .edge-copy { align-items: center; }

  .edge-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-top: 2.75rem;
  }

  .chapter-close { padding: 4.75rem 0 3rem; }
}

@media (min-width: 1100px) {
  :root { --phone-w: 320px; }

  .hero-grid { gap: 3.5rem; }
}

@media (min-width: 768px) and (max-width: 1040px) {
  .hero-copy .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hero-copy .cta-row .btn-primary { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-row .btn { width: 100%; }

  .close-inner .cta-row { width: min(100%, 22rem); }

  .sticky-cta-inner { flex-wrap: nowrap; }

  .sticky-cta-btns {
    flex: 1;
    min-width: 0;
    gap: 0.4rem;
  }

  .sticky-cta-btns .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.35rem;
    font-size: 0.75rem;
  }

  .hero-phone-wrap { padding-top: 0.25rem; }

  .brand--sm .brand-name,
  .brand--sm .brand-wordmark { display: none; }
}

@media (max-width: 720px) {
  .site-nav .brand { gap: 0.4rem; }
  .site-nav .brand-wordmark { display: none; }
  .site-nav .brand-name { display: inline; font-size: 0.94rem; letter-spacing: -0.03em; }
  .site-nav nav { gap: 0.7rem; }
}

@media (max-width: 400px) {
  .site-nav .brand-name { font-size: 0.84rem; }
  .site-nav .nav-link { font-size: 0.78rem; }
  .site-nav nav { gap: 0.45rem; }
}

@media (max-width: 350px) {
  .site-nav .brand-mark { width: 26px; height: 26px; }
  .site-nav .brand-name { font-size: 0.72rem; }
  .site-nav .nav-link { font-size: 0.72rem; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .brand--sm .brand-wordmark { display: none; }
  .brand--sm .brand-name { display: inline; }
}

@media (min-width: 900px) {
  .brand--sm .brand-wordmark { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  body.is-loaded .reveal,
  html.js.is-loaded .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-figure.is-floating { animation: none !important; }

  .sticky-cta { transition: none; }

  [data-parallax] { transform: none !important; }
}
