@import url("tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap");

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.wrap {
  width: min(72rem, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

section { padding-block: var(--space-3xl); }
@media (max-width: 40rem) { section { padding-block: var(--space-2xl); } }

.section-head { max-width: 40rem; margin-bottom: var(--space-xl); }
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { margin-top: var(--space-sm); color: var(--color-neutral); font-size: var(--text-md); max-width: 60ch; }

/* ---------- Buttons — same as the dashboard ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: 0.7em 1.2em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  min-height: 44px;
}
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: color-mix(in oklch, var(--color-accent) 88%, white); }
.btn-primary:active, .btn:active { transform: translateY(1px); }
.btn-ghost { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-rule); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; font-size: var(--text-sm); color: var(--color-accent);
  transition: color var(--dur-base) var(--ease-out);
}
.link-arrow:hover { color: color-mix(in oklch, var(--color-accent) 80%, white); }
.link-arrow svg { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ================= NAV — N1b canonical SaaS three-section ================= */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklch, var(--color-paper-2) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--color-rule); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-sm);
  gap: var(--space-md);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--text-md);
}
.wordmark::before {
  content: ''; width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5L5 13.5h6l-1 8 8-11h-6z' fill='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 16px no-repeat,
    linear-gradient(140deg, oklch(66% 0.17 262), oklch(50% 0.2 275));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.25);
}
.wordmark__name { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.wordmark__name span { color: oklch(75% 0.14 262); }
.nav__links {
  display: flex; gap: var(--space-lg);
  font-size: var(--text-sm); font-weight: 500; color: var(--color-neutral);
}
.nav__links a:hover { color: var(--color-ink); }
.nav__actions { display: flex; align-items: center; gap: var(--space-md); }
.nav__signin { font-size: var(--text-sm); font-weight: 600; color: var(--color-neutral); }
.nav__signin:hover { color: var(--color-ink); }
.nav__toggle { display: none; }

@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__signin { display: none; }
  .nav__toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
  }
}

/* ================= HERO — Workbench (small heading, image central fast) ================= */
.hero { position: relative; isolation: isolate; padding-top: var(--space-3xl); padding-bottom: var(--space-xl); }
/* Blue glow + faint grid behind the hero only, fading out toward the bottom and the edges */
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(60% 70% at 18% 0%, oklch(46% 0.17 262 / 0.55), transparent 70%),
    radial-gradient(55% 65% at 92% 22%, oklch(42% 0.16 275 / 0.4), transparent 70%),
    radial-gradient(40% 40% at 60% 60%, oklch(40% 0.13 250 / 0.22), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero::after {
  background-image:
    linear-gradient(to right, oklch(100% 0 0 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 40% 12%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 40% 12%, #000 25%, transparent 78%);
}
@media (max-width: 40rem) { .hero { padding-top: var(--space-2xl); } }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-xl); align-items: center;
}
@media (max-width: 60rem) { .hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); } }

/* Connection status pill, same look as the dashboard badges */
.hero__status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: var(--space-md); padding: 0.3rem 0.85rem;
  border: 1px solid color-mix(in oklch, var(--color-good) 38%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--color-good) 12%, transparent);
  color: var(--color-good); font-size: var(--text-xs); font-weight: 500; line-height: 1.5;
}
.hero__status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-good); box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-good) 55%, transparent); animation: hero-status-pulse 2.2s ease-out infinite; }
.hero__status-sep { opacity: 0.55; }
.hero__status .logo { width: 14px; height: 14px; flex-shrink: 0; }
.hero__status .logo--whop { width: 17px; height: auto; }
.logo { display: inline-block; flex-shrink: 0; }
@keyframes hero-status-pulse { 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .hero__status-dot { animation: none; } }

.hero__copy h1 {
  /* Three lines; the last one ("Nobody <verb> it.") never wraps, so the rotating verb stays on the same line */
  font-size: clamp(1.5rem, 4.8vw + 0.3rem, 2.9rem);
  min-width: 0;
}
.h1-line { display: block; white-space: nowrap; }
.hero__copy p.lede {
  margin-top: var(--space-md);
  font-size: var(--text-md);
  color: var(--color-neutral);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }
.hero__meta { margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }

/* Product-mockup frame — a real depiction of the app UI, hairline border only, no fake browser chrome */
.frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.frame__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid var(--color-mock-rule);
  font-size: var(--text-xs); color: var(--color-mock-muted);
}
.frame__body { padding: var(--space-md); color: var(--color-mock-ink); }

.hero__mock { position: relative; }
.hero__mock .frame__body { display: flex; flex-direction: column; gap: var(--space-sm); }
.frame__bar .live { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-good); }
.frame__bar .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-good); }
.mock-chart { border: 1px solid var(--color-rule); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-sm) 0.4rem; background: var(--color-paper); }
.mock-chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-xs); }
.mock-chart__k { font-size: 0.78rem; color: var(--color-muted); }
.mock-chart__v { font-size: 1.5rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pill-up { display: inline-flex; align-items: center; gap: 4px; padding: 0.12rem 0.5rem; border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--color-good-soft); color: var(--color-good); }
.mock-chart__svg { display: block; width: 100%; height: 5.5rem; margin-top: 0.3rem; overflow: visible; }
.mock-toast { position: absolute; display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.85rem 0.6rem 0.7rem; border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: color-mix(in oklch, var(--color-paper-3) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 12px 32px -10px oklch(0% 0 0 / 0.6); font-size: var(--text-xs); line-height: 1.35; animation: toast-float 6s ease-in-out infinite; }
.mock-toast .logo { width: 22px; height: 22px; }
.mock-toast .logo--whop { width: 26px; height: auto; }
.mock-toast strong { display: block; font-weight: 600; font-size: 0.8rem; }
.mock-toast span { color: var(--color-muted); }
.mock-toast--a { top: -1.1rem; right: -2.4rem; }
.mock-toast--b { bottom: -1.2rem; left: -3rem; animation-delay: -3s; }
@keyframes toast-float { 50% { transform: translateY(-5px); } }
@media (max-width: 60rem) { .mock-toast--a { right: 0.5rem; } .mock-toast--b { left: 0.5rem; } }
@media (prefers-reduced-motion: reduce) { .mock-toast { animation: none; } }
.mock-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; }
.mock-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; background: var(--color-paper); padding: var(--space-sm) 1.1rem; }
.mock-stat .k { font-size: 0.78rem; color: var(--color-muted); }
.mock-stat .v { font-size: 1.7rem; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.mock-stat .v.accent { color: var(--color-accent); }
.mock-stat .v.hero-stat { font-family: var(--font-outlier); }
.mock-list { display: flex; flex-direction: column; border: 1px solid var(--color-rule); border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); border-bottom: 1px solid var(--color-rule); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .who { color: var(--color-ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: auto; }
/* Dashboard badges: tinted text and border on a faint tinted fill */
.chip { font-size: var(--text-xs); font-weight: 500; line-height: 1.5; padding: 0.15em 0.65em; border-radius: var(--radius-pill); border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.chip.good { color: var(--color-good); background: color-mix(in oklch, var(--color-good) 14%, transparent); border-color: color-mix(in oklch, var(--color-good) 38%, transparent); }
.chip.warn { color: var(--color-warn); background: color-mix(in oklch, var(--color-warn) 14%, transparent); border-color: color-mix(in oklch, var(--color-warn) 38%, transparent); }

/* ================= PAYMENT METHODS — centered line + logos scrolling ================= */
.paymethods { margin-top: calc(var(--space-3xl) + var(--space-md)); padding-bottom: var(--space-xl); text-align: center; }
.paymethods__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.paymethods__marquee {
  display: flex; overflow: hidden; margin-top: var(--space-lg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.paymethods__track { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-xl); padding-right: var(--space-xl); min-width: 100%; justify-content: space-around; animation: paymethods-scroll 38s linear infinite; }
.paymethods__marquee:hover .paymethods__track { animation-play-state: paused; }
.paymethods__track li { display: flex; align-items: center; color: var(--color-muted); opacity: 0.8; transition: color var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.paymethods__track li:hover { color: var(--color-ink); opacity: 1; }
.paymethods__track svg { width: auto; max-width: none; overflow: visible; }
@keyframes paymethods-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .paymethods__track { animation: none; } .paymethods__marquee { overflow-x: auto; } }

/* ================= PROBLEM ================= */
.problem__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl); align-items: center;
}
@media (max-width: 60rem) { .problem__grid { grid-template-columns: 1fr; } }
.problem__copy h2 { font-size: var(--text-2xl); max-width: 18ch; }
.problem__copy p { margin-top: var(--space-md); color: var(--color-neutral); max-width: 50ch; }
/* The three risks in a dashboard-style card, each with the same orange cross as the comparison table */
.problem__list { margin-top: var(--space-lg); max-width: 34rem; display: flex; flex-direction: column; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.problem__list li { display: flex; gap: 0.8rem; align-items: center; padding: 0.85rem 1.1rem; color: var(--color-ink); font-size: var(--text-sm); line-height: 1.45; border-bottom: 1px solid var(--color-rule); }
.problem__list li:last-child { border-bottom: 0; }
.problem__list .mark { flex-shrink: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: 0; background-color: color-mix(in oklch, var(--color-warn) 18%, transparent); background-position: center; background-repeat: no-repeat; background-size: 62%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0a060' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.problem__closing { margin-top: var(--space-md); max-width: 44ch; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); line-height: 1.55; }

.notice {
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}
.notice__from { font-size: var(--text-xs); color: var(--color-muted); }
.notice__subject { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin-top: var(--space-xs); }
.notice__body { margin-top: var(--space-sm); color: var(--color-neutral); font-size: var(--text-sm); line-height: 1.65; }
.notice__figure { margin-top: var(--space-md); background: color-mix(in oklch, var(--color-warn) 12%, transparent); border: 1px solid color-mix(in oklch, var(--color-warn) 30%, transparent); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md); }
.notice__figure .k { font-size: var(--text-xs); color: var(--color-neutral); }
.notice__figure .v { font-family: var(--font-outlier); font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-warn); }
.notice__caption { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }

/* Email-style notice + the Whop balance that stays available */
.problem__side { display: flex; flex-direction: column; gap: var(--space-sm); }
/* A light email window on the dark page, with the Whop balance overlapping its corner */
.problem__side { position: relative; padding-bottom: 1.6rem; }
.mail { --m-ink: #1a1a1a; --m-body: #4a4f57; --m-muted: #8a9099; --m-rule: #e7e9ec; background: #fff; color: var(--m-ink); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -18px oklch(0% 0 0 / 0.7); overflow: hidden; }
.mail__chrome { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; background: #f4f5f7; border-bottom: 1px solid var(--m-rule); font-size: var(--text-xs); color: var(--m-muted); }
.mail__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d9dce1; }
.mail__chrome span { margin-left: 0.4rem; }
.mail__tag { margin-left: auto; padding: 0.1em 0.65em; border: 1px solid var(--m-rule); border-radius: var(--radius-pill); background: #fff; font-style: normal; white-space: nowrap; }
.mail__content { display: flex; flex-direction: column; gap: var(--space-xs); padding: 1.3rem 1.5rem 1.6rem; font-size: var(--text-sm); line-height: 1.65; color: var(--m-body); }
.mail__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.mail__from { font-size: var(--text-xs); color: var(--m-muted); }
.mail__from strong { color: var(--m-ink); font-weight: 600; }
.mail__pill { padding: 0.15em 0.7em; border-radius: var(--radius-pill); background: #fdf0e0; color: #b4631a; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.mail__content h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--m-ink); }
.mail__cards { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-xs); margin-top: 0.4rem; }
.mail__card { display: flex; flex-direction: column; gap: 2px; padding: 0.8rem 1rem; border-radius: var(--radius-md); background: #f4f5f7; }
.mail__card span { font-size: var(--text-xs); color: var(--m-muted); }
.mail__card strong { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--m-ink); }
.mail__card--hold { background: #fdf0e0; }
.mail__card--hold span { color: #8a6a3e; }
.mail__card--hold strong { color: #b4631a; }
.available { position: absolute; right: -1.2rem; bottom: 0; display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem 0.7rem 0.75rem; background: var(--color-paper-3); border: 1px solid color-mix(in oklch, var(--color-good) 45%, var(--color-rule)); border-radius: var(--radius-md); box-shadow: 0 14px 34px -10px oklch(0% 0 0 / 0.7); animation: toast-float 6s ease-in-out infinite; }
.available__logo { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--color-paper); flex-shrink: 0; }
.available__logo .logo--whop { width: 19px; height: auto; }
.available__k { display: block; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.3; }
.available__v { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--color-good); font-variant-numeric: tabular-nums; line-height: 1.3; }
@media (max-width: 60rem) { .available { right: 0.5rem; } }
@media (prefers-reduced-motion: reduce) { .available { animation: none; } }

/* ================= WORKBENCH — screenshot-frame steps ================= */
.workbench__steps { display: flex; flex-direction: column; gap: var(--space-2xl); }
.step { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-xl); align-items: center; }
.step:nth-child(even) { direction: rtl; }
.step:nth-child(even) > * { direction: ltr; }
@media (max-width: 60rem) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}
.step__num { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.step__title { font-size: var(--text-xl); margin-top: var(--space-2xs); }
.step__desc { margin-top: var(--space-sm); color: var(--color-neutral); max-width: 40ch; }
.step__frame .frame__body { min-height: 11rem; display: flex; align-items: center; justify-content: center; }

.checkout-mock { width: 100%; padding: var(--space-sm); }
.checkout-mock__row { display: flex; justify-content: space-between; padding: var(--space-2xs) 0; border-bottom: 1px solid var(--color-mock-rule); font-size: var(--text-sm); }
.checkout-mock__row:last-child { border-bottom: 0; }
.checkout-mock__cta { margin-top: var(--space-sm); background: var(--color-accent); color: var(--color-accent-ink); text-align: center; padding: var(--space-xs); border-radius: var(--radius-sm); font-weight: 600; font-size: var(--text-sm); }
.badge-row { display: flex; gap: var(--space-2xs); margin-top: var(--space-sm); flex-wrap: wrap; }
.badge-row span { font-size: var(--text-xs); color: var(--color-mock-muted); background: var(--color-mock-paper-2); border: 1px solid var(--color-rule); padding: 0.2em 0.65em; border-radius: var(--radius-pill); }

/* CTA bar — appears after the third screenshot section, per Workbench spec */
.sticky-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
  background: var(--color-paper); color: var(--color-ink);
  border: 1px solid color-mix(in oklch, var(--color-accent) 40%, var(--color-rule));
  border-radius: 20px;
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-2xl);
  box-shadow: 0 24px 60px -28px color-mix(in oklch, var(--color-accent) 50%, transparent), var(--shadow-card);
}
.sticky-cta__glow { position: absolute; z-index: -1; left: -4rem; top: -6rem; width: 22rem; height: 14rem; background: radial-gradient(closest-side, color-mix(in oklch, var(--color-accent) 30%, transparent), transparent); pointer-events: none; }
.sticky-cta__txt { display: flex; flex-direction: column; gap: 0.25rem; }
.sticky-cta__txt strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.sticky-cta__txt span { font-size: var(--text-sm); color: var(--color-neutral); }
.sticky-cta__actions { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
@media (max-width: 40rem) {
  .sticky-cta { flex-direction: column; align-items: stretch; padding: var(--space-md) var(--space-sm); }
  .sticky-cta__actions { flex-direction: column; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
}

/* ================= SPEC SHEET (feature comparison) — a card, with the Whopforcheckout column highlighted ================= */
.spec { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); background: var(--color-paper); box-shadow: var(--shadow-card); overflow: hidden; }
.spec__row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); border-bottom: 1px solid var(--color-rule); align-items: stretch; transition: background var(--dur-fast) var(--ease-out); }
.spec__row:last-child { border-bottom: 0; }
.spec__row > * { padding: var(--space-md) var(--space-md); display: flex; align-items: center; }
.spec__row:not(.head):hover { background: color-mix(in oklch, var(--color-ink) 3%, transparent); }
.spec__row.head { background: color-mix(in oklch, var(--color-paper-3) 55%, var(--color-paper)); color: var(--color-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.spec__row.head > * { padding-block: var(--space-sm); }
.spec__row .label { font-weight: 600; }
.spec__row .val { gap: 0.7rem; font-size: var(--text-sm); }
.spec__row .val::before { content: ''; width: 1.35rem; height: 1.35rem; flex-shrink: 0; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 62%; }
.spec__row .val.without { color: var(--color-neutral); }
.spec__row .val.without::before { background-color: color-mix(in oklch, var(--color-warn) 18%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0a060' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.spec__row .val.with { color: var(--color-ink); font-weight: 500; }
.spec__row .val.with::before { background-color: color-mix(in oklch, var(--color-good) 20%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373d39d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* The highlighted column: a soft accent band from the header down to the last row */
.spec__row > :nth-child(3) { background: color-mix(in oklch, var(--color-accent) 7%, transparent); border-left: 1px solid color-mix(in oklch, var(--color-accent) 22%, var(--color-rule)); }
.spec__row.head > :nth-child(3) { color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 12%, transparent); }
@media (max-width: 40rem) {
  .spec__row { grid-template-columns: 1fr; }
  .spec__row.head { display: none; }
  .spec__row > * { padding: var(--space-xs) var(--space-sm); }
  .spec__row .label { padding-top: var(--space-sm); font-size: var(--text-md); }
  .spec__row > :nth-child(3) { border-left: 0; padding-bottom: var(--space-sm); }
}

/* ================= PRICING ================= */
.pricing__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
@media (max-width: 50rem) { .pricing__grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--color-paper); box-shadow: var(--shadow-card);
  border: 1px solid var(--color-rule); border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.price-card.featured { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.price-card__tier { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.price-card.featured .price-card__tier { color: var(--color-accent); }
.price-card__price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; font-variant-numeric: tabular-nums; }
.price-card__price small { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-neutral); }
.price-card ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.price-card li { display: flex; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-neutral); }
.price-card li .ok { color: var(--color-good); flex-shrink: 0; }

/* ================= FAQ ================= */
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--color-rule); }
.faq__item:last-child { border-bottom: 1px solid var(--color-rule); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-md); text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-md);
  gap: var(--space-md);
}
.faq__q .plus { font-size: var(--text-lg); color: var(--color-muted); transition: transform var(--dur-base) var(--ease-out); flex-shrink: 0; }
.faq__item[data-open="true"] .plus { transform: rotate(45deg); color: var(--color-accent); }
.faq__a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out);
}
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: var(--space-md); color: var(--color-neutral); max-width: 60ch; font-size: var(--text-sm); }

/* ================= FINAL CTA ================= */
.final-cta { text-align: center; }
.final-cta h2 { font-size: var(--text-3xl); max-width: 20ch; margin-inline: auto; overflow-wrap: anywhere; }
.final-cta .hero__actions { justify-content: center; }

/* ================= FOOTER — Ft2 inline single line ================= */
footer.site-footer { border-top: 1px solid var(--color-rule); padding-block: var(--space-xl) var(--space-md); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-xl); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.footer__brand .wordmark { font-size: var(--text-base); }
.footer__brand p { max-width: 28ch; color: var(--color-neutral); font-size: var(--text-sm); line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h3 { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink); margin-bottom: 0.2rem; }
.footer__col a { font-size: var(--text-sm); color: var(--color-neutral); }
.footer__col a:hover { color: var(--color-ink); }
.footer__disclosure { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); line-height: 1.6; color: var(--color-muted); max-width: 90ch; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }
@media (max-width: 40rem) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); } .footer__brand { grid-column: 1 / -1; } }

/* Rotating verb */
.rotator { display: inline-block; color: var(--color-accent); }
.rotator__word { display: inline-block; transition: transform 0.34s var(--ease-out), opacity 0.34s var(--ease-out), filter 0.34s var(--ease-out); will-change: transform; }
.rotator__word.is-out { transform: translateY(-45%); opacity: 0; filter: blur(6px); }
.rotator__word.is-in { transform: translateY(45%); opacity: 0; filter: blur(6px); transition: none; }

/* Interactive curve */
.mock-chart__plot { position: relative; margin-top: 0.3rem; cursor: crosshair; touch-action: pan-y; }
.mock-chart__plot .mock-chart__svg { margin-top: 0; }
.mock-chart__line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--color-rule); transform: translateX(-50%); pointer-events: none; }
.mock-chart__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--color-paper); border: 2px solid var(--color-accent); transform: translate(-50%, -50%); pointer-events: none; }
.mock-chart__tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); display: flex; flex-direction: column; align-items: center; padding: 0.3rem 0.6rem; border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper-3); box-shadow: 0 8px 24px -8px oklch(0% 0 0 / 0.7); pointer-events: none; white-space: nowrap; }
.mock-chart__tip strong { font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-chart__tip span { font-size: 0.68rem; color: var(--color-muted); }
.mock-chart__svg path#mc-line.is-drawn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mc-draw 1.1s var(--ease-out) forwards; }
@keyframes mc-draw { to { stroke-dashoffset: 0; } }
.mock-chart__v.is-bump, .mock-stat .v.is-bump { animation: mc-bump 0.5s var(--ease-out); }
@keyframes mc-bump { 40% { color: var(--color-accent); transform: translateY(-1px); } }
.pill-up.is-down { background: var(--color-bad-soft); color: var(--color-bad); }

/* Notifications: swap + time */
.mock-toast { transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out); }
.mock-toast.is-swap { opacity: 0; transform: translateY(8px) scale(0.98); }
.mock-toast__ago { margin-left: auto; padding-left: 0.5rem; align-self: flex-start; font-size: 0.66rem; color: var(--color-muted); font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .rotator__word, .mock-toast { transition: none; } .mock-chart__svg path#mc-line.is-drawn { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; } }

/* ================= HOW IT WORKS — timeline that fills while you scroll ================= */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.workbench__steps { position: relative; gap: var(--space-xl); padding-left: 4.2rem; }
.workbench__steps::before { content: ''; position: absolute; left: 1.1rem; top: var(--line-top, 1.15rem); height: var(--line-h, calc(100% - 2.3rem)); width: 2px; border-radius: 2px; background: var(--color-rule); }
.workbench__line { position: absolute; left: 1.1rem; top: var(--line-top, 1.15rem); width: 2px; height: 0; border-radius: 2px; background: linear-gradient(to bottom, oklch(66% 0.17 262), var(--color-accent)); box-shadow: 0 0 14px oklch(66% 0.17 262 / 0.7); }
.workbench__steps .step {
  position: relative; padding: var(--space-md);
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  border-color: color-mix(in oklch, var(--color-accent) calc(var(--s, 0) * 55%), var(--color-rule));
}
.workbench__steps .step:nth-child(even) { direction: ltr; }
/* The content grows and fades in; the card and its marker stay put so the marker never drifts off the line */
.workbench__steps .step > :not(.step__marker) { transform: scale(calc(0.95 + 0.05 * var(--s, 1))); opacity: calc(0.4 + 0.6 * var(--s, 1)); }
/* Marker 1 at the top of the line, marker 2 in the middle of its card, marker 3 at the end of the line */
.workbench__steps .step[data-step="1"] .step__marker { top: 0; }
.workbench__steps .step[data-step="2"] .step__marker { top: 50%; transform: translateY(-50%); }
.workbench__steps .step[data-step="3"] .step__marker { top: auto; bottom: 0; }
.step__marker {
  position: absolute; left: -4.2rem; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--color-paper-2); border: 2px solid var(--color-rule);
  color: var(--color-muted); font-size: var(--text-sm); font-weight: 700;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.step.is-lit .step__marker { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px color-mix(in oklch, var(--color-accent) 22%, transparent); }
@media (max-width: 60rem) {
  .workbench__steps { padding-left: 3.2rem; }
  .workbench__steps::before, .workbench__line { left: 0.75rem; }
  .step__marker { left: -3.2rem; width: 1.9rem; height: 1.9rem; font-size: var(--text-xs); }
  .workbench__steps .step, .workbench__steps .step:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}
@media (prefers-reduced-motion: reduce) { .workbench__steps .step > :not(.step__marker) { transform: none; opacity: 1; } }

/* ================= Wireframe illustrations for the steps ================= */
.wf { background: var(--color-paper); }
.wf__bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-rule); background: color-mix(in oklch, var(--color-paper-3) 55%, var(--color-paper)); }
.wf__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-paper-3); box-shadow: inset 0 0 0 1px var(--color-rule); }
.wf__url { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 auto; padding: 0.2rem 0.9rem; border-radius: var(--radius-pill); background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-neutral); transform: translateX(-14px); }
.wf__body { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md); }
.sk { display: block; height: 0.5rem; border-radius: 999px; background: var(--color-paper-3); }
.sk--short { width: 62%; }
.sk--logo { width: 4.6rem; height: 0.8rem; }
.sk--pill { width: 2.8rem; height: 0.7rem; }
.sk--title { width: 5rem; height: 0.7rem; }
.sk--field { height: 2.1rem; border-radius: var(--radius-md); background: var(--color-paper-2); border: 1px solid var(--color-rule); }
.wf__nav { display: flex; align-items: center; justify-content: space-between; }
.wf__navpills { display: flex; gap: 0.5rem; }
.wf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.wf__product { overflow: hidden; border-radius: var(--radius-md); background: var(--color-paper-2); border: 1px solid var(--color-rule); }
.wf__img { aspect-ratio: 1 / 0.9; background: linear-gradient(160deg, var(--color-paper-3), color-mix(in oklch, var(--color-paper-3) 55%, var(--color-paper-2))); }
.wf__lines { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.7rem 0.75rem 0.85rem; }
.wf__cta { padding: 0.8rem; border-radius: var(--radius-md); background: var(--color-ink); color: var(--color-paper-2); text-align: center; font-size: var(--text-sm); font-weight: 700; }
.wf__cta--pay { background: var(--color-accent); color: var(--color-accent-ink); margin-top: auto; }
.wf__body--checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-sm); }
.wf__form { display: flex; flex-direction: column; gap: 0.6rem; }
.wf__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.wf__side { display: flex; flex-direction: column; gap: 0.55rem; }
.wf__pill { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.85rem; border-radius: var(--radius-md); background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-neutral); }
.wf__pill svg { flex-shrink: 0; color: var(--color-muted); }
.wf__pill--rating span { color: var(--color-warn); letter-spacing: 1px; }
.wf__pill--bump { border: 1px dashed color-mix(in oklch, var(--color-good) 60%, transparent); background: color-mix(in oklch, var(--color-good) 10%, transparent); color: var(--color-good); font-weight: 600; }
.wf--plain .wf__body { padding: var(--space-sm); }
.whopcard { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem 1.4rem 1.4rem; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, oklch(62% 0.18 262), oklch(46% 0.2 275)); box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.25); }
.whopcard__k { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.whopcard__v { font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.whopcard__dots { position: absolute; top: 1.2rem; right: 1.4rem; font-size: var(--text-xs); opacity: 0.85; letter-spacing: 0.08em; }
.wf__log { display: flex; flex-direction: column; gap: 0.5rem; }
.wf__log li { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-md); background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-sm); }
.wf__log .ok { display: inline-flex; color: var(--color-good); }
.wf__log.is-seq li.is-in .ok path { stroke-dasharray: 24; animation: pay-check 0.25s 0.1s var(--ease-out) backwards; }
.wf__log time { margin-left: auto; font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .wf__body--checkout { grid-template-columns: 1fr; } }

/* Notifications keep a fixed size whatever the text: long lines are cut with an ellipsis */
.mock-toast { width: min(19.5rem, calc(100% - 1rem)); height: 3.6rem; }
.mock-toast > div { flex: 1; min-width: 0; }
.mock-toast strong, .mock-toast span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-toast .logo { flex-shrink: 0; }
.mock-toast__ago { flex-shrink: 0; }

/* ================= SUBSCRIPTIONS — the dashboard's own components (same rules as app/src/index.css) ================= */
.dash-ui { --font-mono: var(--font-body); }
.dash-ui .num { font-variant-numeric: tabular-nums; }
.dash-ui .card { background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.dash-ui .section-title { font-size: 0.78rem; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-xs); }
.dash-ui .badge { --tone: var(--color-neutral); display: inline-flex; align-items: center; gap: 0.35em; padding: 0.15em 0.6em; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 500; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--tone); }
.dash-ui .badge.active { --tone: var(--color-good); border-color: color-mix(in oklch, var(--tone) 38%, transparent); background: color-mix(in oklch, var(--tone) 8%, transparent); }
.dash-ui .badge.cancelation_set { --tone: var(--color-warn); border-color: color-mix(in oklch, var(--tone) 38%, transparent); background: color-mix(in oklch, var(--tone) 14%, transparent); }
.dash-ui .badge.trialing { --tone: #f0b100; border-color: color-mix(in srgb, var(--tone) 32%, transparent); background: color-mix(in srgb, var(--tone) 15%, transparent); }
.dash-ui .badge.past_due { --tone: var(--color-bad); border-color: color-mix(in oklch, var(--tone) 38%, transparent); background: color-mix(in oklch, var(--tone) 16%, transparent); }
.dash-ui .trend-pill { display: inline-flex; align-items: center; gap: 4px; padding: 0.12rem 0.5rem; border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-ui .trend-pill svg { width: 12px; height: 12px; }
.dash-ui .trend-pill.up { background: var(--color-good-soft); color: var(--color-good); }
.subs__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: var(--space-md); align-items: start; text-align: left; }
@media (max-width: 64rem) { .subs__grid { grid-template-columns: 1fr; } }
.subs__col { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.subs__points { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-lg); margin: calc(-1 * var(--space-md)) 0 var(--space-xl); font-size: var(--text-sm); color: var(--color-neutral); }
.subs__points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.subs__points .ok { color: var(--color-good); font-weight: 700; }

/* Stat strip */
.dash-ui .stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--color-rule); border-radius: 20px; overflow: hidden; border: 0; }
.dash-ui .stat-cell { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) 1.25rem; background: var(--color-paper); }
.dash-ui .stat-cell__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-xs); }
.dash-ui .stat-cell__top > div:first-child { flex: 0 0 auto; }
.dash-ui .stat-cell .v { font-size: 1.55rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dash-ui .stat-cell .k { font-size: 0.78rem; color: var(--color-muted); font-weight: 500; margin-top: 2px; }
.dash-ui .stat-cell__bottom { display: flex; align-items: center; flex-wrap: wrap; row-gap: 2px; gap: 0.5rem; min-height: 1.6rem; font-size: 0.78rem; color: var(--color-neutral); }
.dash-ui .sparkline { display: block; color: var(--color-muted); margin-top: 2px; }
@media (max-width: 40rem) { .dash-ui .stat-strip { grid-template-columns: 1fr; } .dash-ui .stat-cell .sparkline { display: none; } }

/* Revenue card */
.dash-ui .revenue-card { padding: var(--space-sm); }
.dash-ui .revenue-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-xs); padding: 0 0.25rem; }
.dash-ui .revenue-card__head h3 { font-size: 0.95rem; letter-spacing: -0.01em; }
.pill-select { display: inline-flex; align-items: center; gap: 0.4rem; height: 32px; padding: 0 0.85rem; border-radius: var(--radius-pill); background: var(--color-paper-3); font-size: 0.82rem; font-weight: 500; }
.dash-ui .revenue-card__panel { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-sm) var(--space-sm) var(--space-2xs); }
.dash-ui .revenue-card__label { font-size: 0.78rem; color: var(--color-muted); font-weight: 500; }
.dash-ui .revenue-card__total { display: flex; align-items: center; gap: 0.6rem; margin: 2px 0 var(--space-xs); }
.dash-ui .revenue-card__total .num { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.dash-ui .rev-chart { position: relative; min-height: 220px; }
.dash-ui .rev-chart svg { display: block; position: absolute; inset: 0; overflow: visible; }
.dash-ui .rev-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dash-ui .rev-chart.is-drawn .rev-chart__line { animation: rev-draw 0.9s var(--ease-out) forwards; }
.dash-ui .rev-chart__area { opacity: 0; }
.dash-ui .rev-chart.is-drawn .rev-chart__area { animation: rev-fade 0.7s var(--ease-out) 0.15s forwards; }
.dash-ui .rev-chart__dot { opacity: 0; }
.dash-ui .rev-chart.is-drawn .rev-chart__dot { animation: rev-fade 0.35s var(--ease-out) forwards; }
@keyframes rev-draw { to { stroke-dashoffset: 0; } }
@keyframes rev-fade { to { opacity: 1; } }
.dash-ui .rev-chart__tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 0.3rem 0.6rem; border-radius: 8px; background: var(--color-ink); color: var(--color-paper); font-size: 0.72rem; white-space: nowrap; box-shadow: 0 4px 12px oklch(0% 0 0 / 0.25); }
.dash-ui .rev-chart__tip span { opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .dash-ui .rev-chart__line, .dash-ui .rev-chart__area, .dash-ui .rev-chart__dot { animation: none !important; opacity: 1; stroke-dashoffset: 0; } }

/* Table */
.dash-ui .dt-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.dash-ui .dt-head h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.dash-ui .dt-count { padding: 0.12rem 0.55rem; border-radius: 999px; background: var(--color-paper-3); font-size: 0.72rem; font-weight: 600; color: var(--color-ink); }
.dash-ui .dt-card { border-radius: 16px; overflow: hidden; }
.dash-ui .table-wrap { overflow-x: auto; }
.dash-ui .dt-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dash-ui .dt-table th, .dash-ui .dt-table td { padding: 0.55rem 0.85rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-rule); }
.dash-ui .dt-table th + th, .dash-ui .dt-table td + td { border-left: 1px solid var(--color-rule); }
.dash-ui .dt-table th { font-size: 0.82rem; font-weight: 500; color: var(--color-neutral); white-space: nowrap; }
.dash-ui .dt-table tbody tr:last-child td { border-bottom: none; }
.dash-ui .dt-table tbody tr:hover { background: var(--color-paper-2); }
.dash-ui .dt-table td.num { font-family: var(--font-body); font-weight: 400; }
.dash-ui .dt-date { color: var(--color-neutral); white-space: nowrap; }
.dash-ui .person { display: flex; align-items: center; gap: var(--space-xs); }
.dash-ui .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.dash-ui .person .meta strong { display: block; font-weight: 600; font-size: 0.85rem; }
.dash-ui .person .meta span { color: var(--color-muted); font-size: 0.78rem; }

/* Customer window (payment-retry pop-up) */
.mp { background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -18px oklch(0% 0 0 / 0.7); overflow: hidden; }
.mp__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-rule); }
.mp__head h3 { font-size: 1rem; letter-spacing: -0.01em; }
.mp__close { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--color-muted); font-size: 0.8rem; }
.mp__body { padding: var(--space-md); }
.mp__mail { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 0.82rem; color: var(--color-muted); }
.mp__ext { display: inline-flex; line-height: 0; }
.mp__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: 0.4rem 0; font-size: 0.85rem; }
.dash-ui .retry-failed-note { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 0.65rem 0.85rem; border: 1px solid color-mix(in oklch, var(--color-bad) 35%, transparent); border-radius: var(--radius-md); background: color-mix(in oklch, var(--color-bad) 9%, transparent); }
.dash-ui .retry-failed-note strong { font-size: 0.85rem; color: var(--color-bad); }
.dash-ui .retry-failed-note span { font-size: 0.78rem; color: var(--color-neutral); }
.mp__boxes { display: flex; gap: 10px; margin-top: 12px; }
.mp__boxes > div { flex: 1; background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-md); padding: 0.6rem 0.85rem; }
.mp__boxes span { display: block; font-size: 0.65rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; margin-bottom: 4px; }
.mp__boxes strong { font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.dash-ui .timeline { display: flex; flex-direction: column; }
.dash-ui .timeline-item { display: flex; gap: var(--space-xs); padding: 0.3rem 0; border-bottom: 1px solid var(--color-rule); align-items: center; }
.dash-ui .timeline-item:last-child { border-bottom: 0; }
.dash-ui .timeline-item.timeline-item--failed { padding: 0.5rem 0.6rem; margin: 0 -0.6rem; border-radius: var(--radius-md); background: color-mix(in oklch, var(--color-bad) 7%, transparent); }
.dash-ui .timeline-item .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dash-ui .timeline-item .dot.charge { background: var(--color-good); }
.dash-ui .timeline-item .dot.refund { background: var(--color-bad); }
.dash-ui .timeline-item .label { font-size: 0.78rem; }
.dash-ui .timeline-item .at { font-size: 0.68rem; color: var(--color-muted); }
.dash-ui .timeline-item .amt { margin-left: auto; font-size: 0.78rem; font-weight: 600; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.dash-ui .timeline-item .amt.neg { color: var(--color-bad); }
.dash-ui .timeline-item .amt.pos { color: var(--color-good); }
.dash-ui .dt-btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.8rem; border: 1px solid var(--color-rule); border-radius: 10px; background: var(--color-paper); font-size: 0.82rem; font-weight: 400; color: var(--color-ink); }
.dash-ui .dt-btn--pill { border-radius: 999px; }
.dash-ui .dt-btn.whop-link { gap: 0.4rem; padding: 0.3rem 0.6rem; flex-shrink: 0; }
.dash-ui .dt-btn.whop-link svg:first-child { width: 15px; height: auto; }
.dash-ui .dt-btn.whop-link svg:last-child { width: 12px; height: 12px; color: var(--color-muted); }

/* Product page widget: the plan preview, always light */
.pw { --pw-paper: oklch(97.5% 0.007 255); --pw-rule: oklch(87% 0.012 255); --pw-ink: oklch(21% 0.020 255); --pw-muted: oklch(58% 0.014 255); --pw-accent: oklch(56% 0.185 262); background: var(--pw-paper); color: var(--pw-ink); border: 1px solid var(--pw-rule); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.pw__head { display: flex; align-items: center; gap: 12px; padding: 1rem; border-bottom: 1px solid var(--pw-rule); }
.pw__thumb { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; border: 1px solid var(--pw-rule); flex-shrink: 0; }
.pw__thumb svg { display: block; width: 100%; height: 100%; }
.pw__title { font-size: 0.85rem; font-weight: 700; }
.pw__sub { font-size: 0.78rem; color: var(--pw-muted); margin-top: 2px; }
.pw__body { padding: 0.85rem; }
.pw__label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pw-muted); margin-bottom: 8px; }
.pw__options { display: flex; flex-direction: column; gap: 6px; }
.pw__option { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 0.55rem 0.7rem; text-align: left; background: none; color: inherit; border: 1px solid var(--pw-rule); border-radius: 8px; cursor: pointer; }
.pw__option.is-selected { border: 2px solid var(--pw-accent); padding: calc(0.55rem - 1px) calc(0.7rem - 1px); }
.pw__radio { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--pw-rule); flex-shrink: 0; }
.pw__option.is-selected .pw__radio { border: 4px solid var(--pw-accent); }
.pw__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pw__txt strong { font-size: 0.78rem; font-weight: 600; }
.pw__txt small { font-size: 0.7rem; color: var(--pw-muted); }
.pw__price { font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.pw__price--accent { color: var(--pw-accent); }
.pw__price s { font-size: 0.65rem; font-weight: 400; color: var(--pw-muted); }
.pw__badge { position: absolute; top: -8px; right: 8px; background: var(--pw-accent); color: #fff; font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 4px; }
.pw__cta { margin-top: 10px; width: 100%; padding: 0.5rem; background: var(--pw-accent); color: #fff; border-radius: 6px; font-size: 0.82rem; font-weight: 700; text-align: center; box-sizing: border-box; }
.pw__note { font-size: 0.65rem; color: var(--pw-muted); text-align: center; margin: 6px 0 0; }

/* ================= BACK OFFICE — tabs over pieces of the dashboard ================= */
.bo__tabs-wrap { display: flex; justify-content: center; margin-bottom: var(--space-lg); }
.bo__tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.bo__tabs button { padding: 0.5em 1.1em; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; color: var(--color-neutral); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.bo__tabs button:hover { color: var(--color-ink); }
.bo__tabs button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.bo__window { position: relative; }
.bo__app { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); height: 36rem; overflow: hidden; }
.bo__app::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(to bottom, transparent, var(--color-paper)); pointer-events: none; }
.bo__window[data-active="overview"] .bo__link[data-nav="overview"],
.bo__window[data-active="builder"] .bo__link[data-nav="builder"],
.bo__window[data-active="subscriptions"] .bo__link[data-nav="subscriptions"] { background: oklch(25% 0.010 258); font-weight: 500; }
.bo__panels { min-width: 0; background: var(--color-paper-2); overflow: hidden; }
.bo__panel { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-sm) var(--space-md) var(--space-md); }
.bo__panel[hidden] { display: none; }
.bo__crumb { font-size: 0.82rem; color: var(--color-muted); }
.bo__crumb span { margin: 0 0.3rem; }
.bo__crumb strong { color: var(--color-ink); font-weight: 600; }
.dash-ui .stat-strip--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-ui .stat-strip--4 .stat-cell { padding: var(--space-sm) 1rem; container-type: inline-size; }
.dash-ui .stat-strip--4 .stat-cell .v { font-size: 1.3rem; }
@container (max-width: 11.5rem) { .dash-ui .stat-cell .sparkline { display: none; } }
.bo__panel .rev-chart { min-height: 170px; }
.bo__builder-head { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-sm); }
.bo__draft { font-size: 0.78rem; color: var(--color-muted); }
.bo__publish { padding: 0.45rem 1rem; border-radius: var(--radius-md); background: var(--color-accent); color: var(--color-accent-ink); font-size: 0.82rem; font-weight: 600; }
.bo__builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-sm); align-items: start; }
.bo__addons { padding: var(--space-sm); }
.bo__addon-list { display: flex; flex-direction: column; gap: 0.5rem; }
.dash-ui .addon-row { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--color-rule); border-radius: 14px; padding: 0.55rem 0.75rem 0.55rem 0.6rem; background: var(--color-paper); }
.dash-ui .addon-row__grip { display: flex; color: var(--color-muted); flex-shrink: 0; }
.dash-ui .addon-row__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 8px; background: var(--color-paper-2); color: var(--color-neutral); }
.dash-ui .addon-row__label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dash-ui .addon-row__label strong { font-size: 0.85rem; font-weight: 600; }
.dash-ui .addon-row__label span { font-size: 0.72rem; color: var(--color-muted); }
.dash-ui .addon-row.is-hidden .addon-row__icon, .dash-ui .addon-row.is-hidden .addon-row__label { opacity: 0.45; }
.sw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--color-paper-3); flex-shrink: 0; transition: background var(--dur-fast); }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--dur-fast); }
.sw.is-on { background: var(--color-accent); }
.sw.is-on::after { transform: translateX(14px); }
.pv { --pv-rule: #e3e5e8; --pv-ink: #1a1a1a; --pv-muted: #6b6b6b; background: #fff; color: var(--pv-ink); border: 1px solid var(--pv-rule); border-radius: var(--radius-lg); padding: var(--space-sm); display: flex; flex-direction: column; gap: 0.55rem; box-shadow: var(--shadow-card); }
.pv__bar { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; }
.pv__stars { font-size: 0.72rem; color: #f5a623; }
.pv__stars b { color: var(--pv-ink); font-weight: 600; }
.pv__item { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.8rem; border-radius: 10px; background: #f4f5f7; font-size: 0.82rem; }
.pv__item div { display: flex; flex-direction: column; line-height: 1.3; }
.pv__item span { font-size: 0.7rem; color: var(--pv-muted); }
.pv__line { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; border-radius: 10px; background: #f4f5f7; font-size: 0.74rem; color: var(--pv-muted); }
.pv__line--timer { font-weight: 600; color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 10%, #fff); }
.pv__bump { padding: 0.6rem 0.8rem; border: 1px dashed oklch(60% 0.14 155); border-radius: 10px; background: color-mix(in oklch, oklch(60% 0.14 155) 9%, #fff); color: oklch(42% 0.12 155); font-size: 0.76rem; font-weight: 600; }
.pv__pay { padding: 0.7rem; border-radius: 10px; background: var(--color-accent); color: #fff; text-align: center; font-size: 0.85rem; font-weight: 700; }
.pv__trust { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.68rem; color: var(--pv-muted); }
@media (max-width: 60rem) {
  .bo__app { grid-template-columns: 1fr; height: auto; max-height: 40rem; }
    .bo__builder { grid-template-columns: 1fr; }
  .dash-ui .stat-strip--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* The hover pieces of the hero curve are hidden with the `hidden` attribute: `display: flex` on the tip used to override it */
.mock-chart__tip[hidden], .mock-chart__dot[hidden], .mock-chart__line[hidden] { display: none; }
/* Mail notification over the corner of the email window */
.notif { position: absolute; top: -1.5rem; right: -1.4rem; z-index: 3; display: flex; align-items: center; gap: 0.7rem; width: min(22rem, calc(100% - 1rem)); height: 4.4rem; padding: 0.65rem 0.85rem 0.65rem 0.7rem; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; border: 1px solid oklch(100% 0 0 / 0.1); border-radius: 22px; background: oklch(24% 0.005 258 / 0.72); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 14px 36px -10px oklch(0% 0 0 / 0.7); transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out); animation: toast-float 6s ease-in-out infinite; }
.notif.is-swap { opacity: 0; transform: translateY(8px) scale(0.98); }
.notif__icon { display: inline-flex; width: 38px; height: 38px; flex-shrink: 0; }
.notif__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.notif__txt strong { font-size: 0.8rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.notif__subject { font-size: 0.78rem; font-weight: 500; color: oklch(100% 0 0 / 0.92); letter-spacing: -0.01em; }
.notif__preview { font-size: 0.78rem; color: oklch(100% 0 0 / 0.62); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif__txt > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif time { align-self: flex-start; font-size: 0.7rem; color: oklch(100% 0 0 / 0.5); }
@media (max-width: 60rem) { .notif { right: 0.5rem; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; transition: none; } }

/* ================= Page glow: the background shifts colour as each section reaches the middle of the screen ================= */
@property --glow { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --glow2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
.bgfx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(75% 60% at 50% -5%, var(--glow), transparent 72%),
    radial-gradient(55% 45% at 95% 105%, var(--glow2), transparent 70%),
    radial-gradient(45% 40% at 0% 60%, color-mix(in oklch, var(--glow2) 60%, transparent), transparent 70%);
  transition: --glow 1.1s var(--ease-out), --glow2 1.1s var(--ease-out);
}
/* A faint band at the top of each section helps to feel the change of subject */
main > section:not(.final-cta) { position: relative; }
main > section:not(.final-cta)::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--color-ink) 12%, transparent) 30%, color-mix(in oklch, var(--color-ink) 12%, transparent) 70%, transparent); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bgfx { transition: none; } }

/* Once the curve has drawn itself, hovering redraws the SVG: no animation must replay (it made the curve vanish and come back) */
.dash-ui .rev-chart.is-settled .rev-chart__line, .dash-ui .rev-chart.is-settled .rev-chart__area, .dash-ui .rev-chart.is-settled .rev-chart__dot { animation: none !important; stroke-dashoffset: 0; opacity: 1; }

.bo__side { --sb-ink: oklch(96% 0.004 258); --sb-muted: oklch(74% 0.008 258); background: oklch(17% 0.006 258); color: var(--sb-ink); border-right: 1px solid oklch(28% 0.008 258); padding: 0.8rem 0.6rem; display: flex; flex-direction: column; gap: var(--space-sm); }

/* Sidebar: same structure and rules as the dashboard (groups, links, chevrons, account widget) */
.bo__side { --sidebar-ink: oklch(96% 0.004 258); --sidebar-muted: oklch(74% 0.008 258); --sidebar-rule: oklch(28% 0.008 258); --sidebar-card: oklch(14% 0.005 258); background: oklch(17% 0.006 258); color: var(--sidebar-ink); border-right: 1px solid var(--sidebar-rule); padding: 0.8rem 0.6rem 0.6rem; display: flex; flex-direction: column; min-height: 0; }
.bo__brand { display: flex; align-items: center; gap: 0.6rem; padding: 0.2rem 0.35rem; margin-bottom: var(--space-sm); }
.bo__logo { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, oklch(66% 0.17 262), oklch(50% 0.2 275)); color: #fff; box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.25); }
.bo__name { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.bo__name span { color: oklch(75% 0.14 262); }
.bo__nav { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
.bo__group { display: flex; flex-direction: column; gap: 2px; }
.bo__group + .bo__group { margin-top: var(--space-sm); }
.bo__group-label { font-size: 0.72rem; font-weight: 500; color: oklch(60% 0.008 258); padding: 0.3rem 0.65rem 0.35rem; }
.bo__link { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.65rem; border-radius: 10px; font-size: 0.875rem; font-weight: 400; color: var(--sidebar-ink); width: 100%; }
.bo__link > svg { width: 18px; height: 18px; flex-shrink: 0; }
.bo__link .sidebar__chevron { margin-left: auto; display: inline-flex; color: var(--sidebar-muted); }
.bo__link .sidebar__chevron svg { width: 15px; height: 15px; }
.bo__sub { display: none; flex-direction: column; gap: 2px; margin: 2px 0 4px 1.3rem; padding: 0 0 0 0.55rem; border-left: 1px solid var(--sidebar-rule); }
.bo__window[data-active="subscriptions"] .bo__sub--subs, .bo__window[data-active="builder"] .bo__sub--builder { display: flex; }
.bo__link--sub { font-size: 0.84rem; padding: 0.4rem 0.65rem; color: var(--sidebar-muted); }
.bo__link--sub.is-active { color: var(--sidebar-ink); background: oklch(25% 0.010 258); font-weight: 500; }
.bo__window[data-active="subscriptions"] .bo__link[data-nav="subscriptions"] .sidebar__chevron { transform: rotate(90deg); }
@media (min-width: 60.01rem) { .bo__app { height: 41rem; } }
.bo__footer { flex-shrink: 0; padding-top: var(--space-xs); }
.bo__side .account-widget { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.5rem 0.55rem; border: 1px solid var(--sidebar-rule); border-radius: 12px; background: var(--sidebar-card); color: var(--sidebar-ink); text-align: left; }
.bo__side .account-widget__avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(140deg, oklch(66% 0.17 262), oklch(50% 0.2 275)); color: #fff; display: flex; align-items: center; justify-content: center; }
.bo__side .account-widget__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bo__side .account-widget__info strong { color: var(--sidebar-ink); font-size: 0.88rem; font-weight: 400; }
.bo__side .account-widget__dots { width: 18px; height: 18px; flex-shrink: 0; color: var(--sidebar-muted); }

/* Sparkline hover (rules of the dashboard) */
.dash-ui .sparkline-wrap { position: relative; display: block; margin-top: 2px; flex: 0 1 80px; min-width: 36px; height: 32px; }
.dash-ui .sparkline-wrap .sparkline { width: 100%; height: 100%; cursor: crosshair; margin-top: 0; }
.dash-ui .stat-cell:hover .sparkline { color: var(--color-neutral); }
.dash-ui .spark-tip { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; display: flex; flex-direction: column; gap: 4px; min-width: 9rem; padding: 0.5rem 0.7rem; border-radius: 12px; pointer-events: none; background: oklch(17% 0.006 258); color: oklch(96% 0.004 258); border: 1px solid oklch(28% 0.008 258); box-shadow: 0 8px 20px oklch(0% 0 0 / 0.3); animation: rev-fade 0.12s var(--ease-out) both; }
.dash-ui .spark-tip[hidden] { display: none; }
.dash-ui .spark-tip__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(74% 0.008 258); }
.dash-ui .spark-tip__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; white-space: nowrap; }

/* "Open Whop" pill of the Whop balance cell (decorative here) */
.dash-ui .whop-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.65rem; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: 0.75rem; font-weight: 600; }
.dash-ui .stat-cell:hover .whop-pill { background: var(--color-paper-3); border-color: color-mix(in oklch, var(--color-ink) 28%, var(--color-rule)); }
.dash-ui .whop-pill svg:first-child { width: 15px; height: auto; color: #fa4616; }
.dash-ui .whop-pill svg:last-child { width: 11px; height: 11px; color: var(--color-muted); }

/* Overview: revenue card + recent orders, side by side like the dashboard */
.bo__two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-sm); align-items: stretch; }
@media (max-width: 80rem) { .bo__two { grid-template-columns: 1fr; } }
.dash-ui .ro { padding: var(--space-sm); display: flex; flex-direction: column; min-width: 0; }
.ro__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-xs); padding: 0 0.25rem; }
.ro__head h3 { font-size: 0.95rem; letter-spacing: -0.01em; }
.ro__all { font-size: 0.75rem; font-weight: 600; color: var(--color-muted); }
.ro__list { display: flex; flex-direction: column; overflow: hidden; }
.ro__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--color-rule); }
.ro__row:last-child { border-bottom: 0; }
.ro__amt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ro__amt .num { font-weight: 600; font-size: 0.85rem; }
.bo__window[data-active="builder"] .bo__link[data-nav="builder"] .sidebar__chevron { transform: rotate(90deg); }
.bo__window[data-view="checkout"] .bo__link--sub[data-sub="checkout"], .bo__window[data-view="thanks"] .bo__link--sub[data-sub="thanks"] { color: var(--sidebar-ink); background: oklch(25% 0.010 258); font-weight: 500; }
.bo__builder-head { justify-content: space-between; }
.bo__builder-head .bo__draft { margin-left: auto; }
.bo__vtoggle { display: inline-flex; gap: 4px; padding: 3px; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.bo__vtoggle button { padding: 0.35em 0.85em; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; color: var(--color-neutral); }
.bo__vtoggle button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.bo__builder-view[hidden] { display: none; }
.ty { --ty-rule: #e3e5e8; --ty-ink: #1a1a1a; --ty-muted: #6b6b6b; background: #fff; color: var(--ty-ink); border: 1px solid var(--ty-rule); border-radius: var(--radius-lg); padding: var(--space-sm); display: flex; flex-direction: column; gap: 0.7rem; box-shadow: var(--shadow-card); }
.ty__head { display: flex; align-items: center; gap: 0.75rem; }
.ty__check { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid #16a34a; color: #16a34a; flex-shrink: 0; }
.ty__head small { display: block; font-size: 0.7rem; color: var(--ty-muted); }
.ty__head strong { font-size: 1.05rem; font-weight: 500; }
.ty__card { border: 1px solid var(--ty-rule); border-radius: 12px; overflow: hidden; }
.ty__map { position: relative; height: 5.6rem; background: #e8ecef; background-image: linear-gradient(115deg, transparent 46%, #fff 46%, #fff 49%, transparent 49%), linear-gradient(20deg, transparent 58%, #f6f8f9 58%, #f6f8f9 66%, transparent 66%), linear-gradient(to right, #dfe4e8 1px, transparent 1px), linear-gradient(to bottom, #dfe4e8 1px, transparent 1px); background-size: auto, auto, 22px 22px, 22px 22px; }
.ty__pin { position: absolute; left: 50%; top: 58%; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); border: 3px solid #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 0.35); transform: translate(-50%, -50%); }
.ty__bubble { position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 0.25rem 0.8rem; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); font-size: 0.62rem; color: var(--ty-muted); white-space: nowrap; }
.ty__bubble b { font-size: 0.72rem; color: var(--ty-ink); font-weight: 600; }
.ty__body { display: flex; flex-direction: column; gap: 3px; padding: 0.8rem 0.9rem; font-size: 0.74rem; color: var(--ty-muted); }
.ty__body strong { font-size: 0.85rem; color: var(--ty-ink); font-weight: 600; }
.ty__details { padding: 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.76rem; color: var(--ty-muted); }
.ty__details strong { font-size: 0.85rem; color: var(--ty-ink); font-weight: 600; margin-bottom: 0.15rem; }
.ty__details div { display: flex; justify-content: space-between; }
.ty__details b { color: var(--ty-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.ty__total { padding-top: 0.4rem; border-top: 1px solid var(--ty-rule); color: var(--ty-ink) !important; font-weight: 600; }

/* Icons of the checkout blocks (rating, guarantee, timer, stock, bump) */
.ic-star { color: #f5a623; fill: #f5a623; }
.pv__line svg { flex-shrink: 0; }
.dash-ui .badge.canceled { --tone: var(--color-bad); border-color: color-mix(in oklch, var(--tone) 38%, transparent); background: color-mix(in oklch, var(--tone) 16%, transparent); }
.pv__item { gap: 0.7rem; }
.pv__item > div { flex: 1; min-width: 0; }
.pv__img { width: 2.8rem; height: 2.8rem; flex-shrink: 0; border-radius: 8px; border: 1px solid #e3e5e8; overflow: hidden; }
.pv [data-block][hidden] { display: none; }
.dash-ui .addon-row[data-block] { cursor: pointer; }
.dash-ui .addon-row[data-block]:hover { border-color: color-mix(in oklch, var(--color-ink) 24%, var(--color-rule)); }
.bo__note { margin: var(--space-sm) auto 0; max-width: 60rem; text-align: center; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.5; }
@media (min-width: 48rem) { .bo__note { white-space: nowrap; } }
/* Fictional store logo in the profile widget (it replaces the default gradient avatar) */
.bo__side .account-widget__avatar { background: none; overflow: hidden; }
.bo__side .account-widget__avatar .gs-logo { width: 100%; height: 100%; display: block; }

/* The table column ends where the customer window ends: the table fills what is left and fades out */
.subs__grid { align-items: stretch; }
.subs__col--tables { contain: size; min-height: 0; }
.subs__tablewrap { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.subs__tablewrap .dt-card { flex: 1; min-height: 0; position: relative; }
.subs__tablewrap .dt-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2rem; background: linear-gradient(to bottom, transparent, var(--color-paper)); pointer-events: none; }
@media (max-width: 64rem) { .subs__col--tables { contain: none; } .subs__tablewrap { overflow: visible; } .subs__tablewrap .dt-card::after { display: none; } }

/* Pricing: one plan, centered, with the no-fees line and the "book a call" link */
.pricing__grid { grid-template-columns: minmax(0, 28rem); justify-content: center; }
.price-card__nofees { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); border: 1px solid color-mix(in oklch, var(--color-good) 38%, transparent); background: color-mix(in oklch, var(--color-good) 12%, transparent); color: var(--color-good); font-size: var(--text-xs); font-weight: 600; }
.pricing__call { margin-top: var(--space-md); text-align: center; font-size: var(--text-sm); color: var(--color-neutral); }
.pricing__call a { color: var(--color-accent); font-weight: 600; }
.pricing__call a:hover { text-decoration: underline; }

/* Final CTA: big card with accent glow and grid */
.final-cta__card { position: relative; isolation: isolate; overflow: hidden; max-width: 54rem; margin-inline: auto; padding: var(--space-2xl) var(--space-lg); display: flex; flex-direction: column; align-items: center; gap: var(--space-md); background: var(--color-paper); border: 1px solid color-mix(in oklch, var(--color-accent) 35%, var(--color-rule)); border-radius: 22px; box-shadow: 0 30px 80px -30px color-mix(in oklch, var(--color-accent) 45%, transparent), var(--shadow-card); }
.final-cta__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, color-mix(in oklch, var(--color-ink) 6%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in oklch, var(--color-ink) 6%, transparent) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); }
.final-cta__glow { position: absolute; z-index: -1; left: 50%; top: -9rem; width: 34rem; height: 20rem; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in oklch, var(--color-accent) 40%, transparent), transparent); filter: blur(10px); pointer-events: none; }
.final-cta__pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem; border-radius: var(--radius-pill); border: 1px solid var(--color-rule); background: color-mix(in oklch, var(--color-paper-2) 70%, transparent); font-size: var(--text-xs); color: var(--color-neutral); }
.final-cta__pill .logo { height: 14px; width: auto; }
.final-cta__card h2 { font-size: var(--text-3xl); max-width: 18ch; line-height: 1.08; }
.final-cta__accent { color: var(--color-accent); }
.final-cta__sub { color: var(--color-neutral); font-size: 1.1rem; max-width: 40ch; }
.final-cta__card .btn--lg { padding: 0.95em 1.9em; font-size: var(--text-base); }
.final-cta__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-neutral); }
.final-cta__points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.final-cta__points svg { color: var(--color-good); }
@media (max-width: 40rem) { .final-cta__card { padding: var(--space-xl) var(--space-sm); } }

/* Shopify <-> Whop sync widget (hero) */
.sync { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: var(--space-md); padding: 0.55rem 0.6rem 0.55rem 0.55rem; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: 16px; box-shadow: var(--shadow-card); flex-wrap: wrap; }
.sync__node { display: flex; align-items: center; gap: 0.55rem; }
.sync__tile { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--color-paper-3); border: 1px solid var(--color-rule); flex-shrink: 0; }
.sync__tile .logo { width: 20px; height: 20px; }
.sync__tile .logo--whop { width: 22px; height: auto; }
.sync__txt { display: flex; flex-direction: column; line-height: 1.25; }
.sync__txt b { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.sync__txt small { font-size: 0.7rem; color: var(--color-muted); }
.sync__link { position: relative; width: 2.8rem; height: 2px; border-radius: 2px; background: color-mix(in oklch, var(--color-good) 35%, var(--color-rule)); overflow: hidden; flex-shrink: 0; }
.sync__link i { position: absolute; top: 0; left: 0; width: 1rem; height: 100%; background: linear-gradient(90deg, transparent, var(--color-good), transparent); animation: sync-flow 1.8s linear infinite; }
@keyframes sync-flow { from { transform: translateX(-1rem); } to { transform: translateX(2.8rem); } }
.sync__badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: 0.2rem; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); border: 1px solid color-mix(in oklch, var(--color-good) 38%, transparent); background: color-mix(in oklch, var(--color-good) 12%, transparent); color: var(--color-good); font-size: var(--text-xs); font-weight: 500; }
.sync__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-good); animation: hero-status-pulse 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .sync__link i, .sync__dot { animation: none; } .sync__link i { width: 100%; } }

/* ================= MOBILE — everything below only applies to small screens; desktop is untouched ================= */
@media (max-width: 60rem) {
  .hero__grid, .problem__grid, .subs__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > *, .problem__grid > *, .subs__grid > * { min-width: 0; }
  /* mobile menu */
  .nav { position: sticky; }
  .nav__inner { position: static; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: var(--space-2xs) clamp(1rem, 4vw, 2.5rem) var(--space-sm); background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); box-shadow: 0 20px 40px -20px oklch(0% 0 0 / 0.8); }
  .nav--open .nav__links { display: flex; }
  .nav__links a { display: block; padding: 0.85rem 0; font-size: var(--text-base); color: var(--color-ink); border-bottom: 1px solid var(--color-rule); }
  .nav__links li:last-child a { border-bottom: 0; }
}
@media (max-width: 40rem) {
  .nav__inner { gap: var(--space-xs); }
  .nav__actions .btn { padding: 0.55em 1em; font-size: var(--text-sm); white-space: nowrap; }
  .wordmark { gap: 0.45rem; font-size: var(--text-base); }
  .wordmark::before { width: 26px; height: 26px; }
  .sync { max-width: 100%; }
  .sync__link { width: 1.6rem; }
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__meta { font-size: var(--text-xs); }
}

@media (max-width: 60rem) {
  .bo__side { display: none; }
  .bo__app { max-height: 34rem; overflow-y: auto; }
  .bo__tabs-wrap { justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 4vw, 2.5rem)); padding-inline: clamp(1rem, 4vw, 2.5rem); scrollbar-width: none; }
  .bo__tabs-wrap::-webkit-scrollbar { display: none; }
  .bo__tabs { flex-shrink: 0; }
  .bo__tabs button { white-space: nowrap; }
}
@media (max-width: 40rem) {
  .section-head { margin-bottom: var(--space-lg); }
  .final-cta__card { padding: var(--space-xl) var(--space-sm); }
  .final-cta__card h2 { font-size: var(--text-2xl); }
  .sticky-cta { padding: var(--space-md) var(--space-sm); }
  .pricing__call { padding-inline: var(--space-sm); }
}

@media (max-width: 40rem) {
  .workbench__steps { padding-left: 2.6rem; gap: var(--space-lg); }
  .workbench__steps::before, .workbench__line { left: 0.8rem; }   /* centre of the 1.6rem marker (the step card has a 1px border) */
  .step__marker { left: -2.6rem; width: 1.6rem; height: 1.6rem; }
  .workbench__steps .step { padding: var(--space-sm); gap: var(--space-sm); }
  .step__title { font-size: var(--text-lg); line-height: 1.12; }
  .step__desc { margin-top: var(--space-2xs); font-size: var(--text-sm); }
  .step__frame { margin: 0; width: 100%; min-width: 0; }
  .step__frame .frame__body { min-height: 0; }
  .wf__bar { padding: 0.5rem 0.7rem; }
  .wf__url { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.68rem; }
  .wf__body { padding: var(--space-xs); gap: var(--space-xs); }
  .wf__navpills .sk--pill { width: 1.8rem; }
  .wf__cta { padding: 0.6rem; }
  .whopcard { padding: 1rem 1.1rem 1.1rem; }
  .whopcard__v { font-size: 1.6rem; }
}

@media (max-width: 40rem) {
  .hero__copy h1 { font-size: clamp(1.6rem, 7.3vw, 2.2rem); }
  .hero__copy p.lede { margin-top: var(--space-sm); font-size: 0.94rem; line-height: 1.55; }
  .hero__actions { margin-top: var(--space-md); gap: var(--space-sm); }
  .sync { gap: 0.5rem; padding: 0.4rem 0.5rem; border-radius: 13px; margin-bottom: var(--space-sm); }
  .sync__node { gap: 0.4rem; }
  .sync__tile { width: 28px; height: 28px; border-radius: 8px; }
  .sync__tile .logo { width: 16px; height: 16px; }
  .sync__tile .logo--whop { width: 18px; }
  .sync__txt b { font-size: 0.78rem; }
  .sync__txt small { font-size: 0.62rem; }
  .sync__link { width: 1.1rem; }
  .sync__badge { margin-left: 0; padding: 0.2rem 0.55rem; font-size: 0.68rem; }
}

@media (max-width: 40rem) {
  .mock-stat { padding: var(--space-xs) 0.7rem; }
  .mock-stat .v { font-size: 1.3rem; white-space: nowrap; }
  .mock-stat .k { font-size: 0.7rem; }
}

@media (max-width: 40rem) {
  .hero__copy h1 { font-size: clamp(1.7rem, 7.8vw, 2.4rem); letter-spacing: -0.04em; }
  .sync { flex-wrap: nowrap; gap: 0.4rem; padding: 0.35rem 0.45rem; }
  .sync__txt small { display: none; }
  .sync__tile { width: 24px; height: 24px; border-radius: 7px; }
  .sync__tile .logo { width: 14px; height: 14px; }
  .sync__tile .logo--whop { width: 16px; }
  .sync__txt b { font-size: 0.74rem; white-space: nowrap; }
  .sync__link { width: 0.9rem; }
  .sync__badge { padding: 0.18rem 0.5rem; font-size: 0.66rem; white-space: nowrap; }
}

.lede__short { display: none; }
@media (max-width: 40rem) {
  .lede__full { display: none; }
  .lede__short { display: inline; }
}

@media (max-width: 40rem) {
  .bo__app { max-height: 30rem; }
  .bo__panel { padding: var(--space-xs); gap: var(--space-xs); }
  .bo__crumb { font-size: 0.72rem; }
  .bo__builder-head { flex-wrap: nowrap; gap: 0.5rem; }
  .bo__builder-head .bo__draft { display: none; }
  .bo__vtoggle { flex-shrink: 1; min-width: 0; }
  .bo__vtoggle button { padding: 0.3em 0.6em; font-size: 0.7rem; white-space: nowrap; }
  .bo__publish { margin-left: auto; padding: 0.35rem 0.8rem; font-size: 0.74rem; flex-shrink: 0; }
  .bo__addons { padding: var(--space-xs); }
  .bo__addons .section-title { font-size: 0.66rem; }
  .dash-ui .addon-row { gap: 0.5rem; padding: 0.45rem 0.55rem 0.45rem 0.4rem; border-radius: 12px; }
  .dash-ui .addon-row__icon { width: 1.7rem; height: 1.7rem; }
  .dash-ui .addon-row__label strong { font-size: 0.78rem; }
  .dash-ui .addon-row__label span { font-size: 0.66rem; }
  .bo__note { font-size: var(--text-xs); }
}

@media (max-width: 40rem) {
  .spec__row > * { padding: 0.35rem 0.8rem; }
  .spec__row .label { padding: 0.7rem 0.8rem 0.15rem; font-size: 0.86rem; }
  .spec__row .val { gap: 0.5rem; font-size: 0.78rem; line-height: 1.35; }
  .spec__row .val::before { width: 1.05rem; height: 1.05rem; }
  .spec__row > :nth-child(3) { padding-bottom: 0.45rem; }
}
.nav__li-signin { display: none; }
@media (max-width: 60rem) { .nav__li-signin { display: block; } }

/* Slot-machine digits in the back-office: each digit is a strip that rolls down and stops on its value */
.odo { display: inline-block; overflow: hidden; vertical-align: top; text-align: center; }
.odo__strip { display: flex; flex-direction: column; will-change: transform; }
.odo__strip > span { display: block; }
.bo__side .account-widget__info .hn-wordmark { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; }
.price-card__fees { margin-left: 0.5rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; letter-spacing: 0; color: var(--color-muted); white-space: nowrap; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-paper); color: var(--color-neutral); transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); }
.social:hover { border-color: var(--color-accent); color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 8%, var(--color-paper)); }
@media (max-width: 60rem) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__contact { grid-column: 1 / -1; } }
.footer__contact .footer__social { margin-top: 0; }
.footer__book { margin-top: 0.7rem; font-size: var(--text-sm); color: var(--color-neutral); max-width: 24ch; }
.footer__book a { color: var(--color-accent); font-weight: 600; }
.footer__book a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ================= Landing storytelling: the risk notification arrives, the checkout pays, the balance rolls ================= */
/* The processor's notification lands like a real one: it drops in, buzzes, a ring pulses, then it floats as before */
.notif { will-change: transform, opacity; }
.notif.is-armed:not(.is-arrived) { opacity: 0; transform: translateY(-1.6rem) scale(0.96); animation: none; transition: none; }
.notif.is-arrived { animation: notif-arrive 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards, toast-float 6s 0.75s ease-in-out infinite; }
.notif::after { content: ''; position: absolute; inset: -2px; border-radius: 24px; border: 2px solid var(--color-bad); opacity: 0; pointer-events: none; }
.notif.is-arrived::after { animation: notif-ring 1.1s 0.3s ease-out; }
@keyframes notif-arrive { from { opacity: 0; transform: translateY(-1.6rem) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes notif-ring { 0% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.35); } }

/* Step 2: the pay button presses, spins, then turns green */
.wf__cta--pay { display: grid; place-items: center; position: relative; overflow: hidden; transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.15s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.wf__cta--pay > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.18s var(--ease-out), transform 0.25s var(--ease-out); }
.wf__cta--pay .pay__spin, .wf__cta--pay .pay__ok { opacity: 0; transform: translateY(10px); }
.pay__spin::before { content: ''; display: block; width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: pay-spin 0.45s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.wf__cta--pay.is-busy { transform: scale(0.97); }
.wf__cta--pay.is-busy .pay__idle { opacity: 0; transform: translateY(-10px); }
.wf__cta--pay.is-busy .pay__spin { opacity: 1; transform: none; }
.wf__cta--pay.is-paid { background: var(--color-good); color: var(--color-white, #fff); box-shadow: 0 0 0 6px color-mix(in oklch, var(--color-good) 22%, transparent), 0 10px 28px -8px color-mix(in oklch, var(--color-good) 70%, transparent); }
.wf__cta--pay.is-paid .pay__idle, .wf__cta--pay.is-paid .pay__spin { opacity: 0; transform: translateY(-10px); }
.wf__cta--pay.is-paid .pay__ok { opacity: 1; transform: none; }
.pay__ok svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.wf__cta--pay.is-paid .pay__ok svg path { animation: pay-check 0.3s 0.08s var(--ease-out) forwards; }
@keyframes pay-check { to { stroke-dashoffset: 0; } }

/* Step 3: the events arrive one by one, the balance rolls like a slot machine */
.wf__log.is-seq li { opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 0.25s var(--ease-out), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.wf__log.is-seq li.is-in { opacity: 1; transform: none; }
.wf__log.is-seq li.is-in .ok { animation: log-pop 0.35s 0.05s cubic-bezier(0.2, 1.6, 0.4, 1) backwards; }
@keyframes log-pop { from { transform: scale(0); } }
.whopcard__v { display: inline-flex; }
.whopcard__v .slot { display: inline-block; height: var(--row); overflow: hidden; }
.whopcard__v .slot__strip { display: flex; flex-direction: column; will-change: transform; }
.whopcard__v .slot__strip span { display: block; height: var(--row); line-height: var(--row); }
.whopcard__v .slot-static { height: var(--row); line-height: var(--row); }
.whopcard__plus { position: absolute; right: 1.4rem; bottom: 1.3rem; padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); background: oklch(100% 0 0 / 0.2); font-size: var(--text-xs); font-weight: 700; opacity: 0; pointer-events: none; }
.whopcard.is-bump { animation: card-bump 0.6s var(--ease-out); }
.whopcard.is-bump .whopcard__plus { animation: plus-float 1.1s var(--ease-out) forwards; }
@keyframes card-bump { 0% { transform: scale(1); box-shadow: 0 0 0 0 oklch(70% 0.15 262 / 0.6); } 35% { transform: scale(1.025); } 100% { transform: scale(1); box-shadow: 0 0 0 18px oklch(70% 0.15 262 / 0); } }
@keyframes plus-float { 0% { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

/* Product-page widget: Add to cart spins, turns into "Added", then goes back to normal */
.pw__cta { display: grid; place-items: center; border: 0; font-family: inherit; cursor: pointer; transition: background 0.25s var(--ease-out), transform 0.15s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.pw__cta > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.4rem; transition: opacity 0.18s var(--ease-out), transform 0.25s var(--ease-out); }
.pw__cta .pay__spin, .pw__cta .pay__ok { opacity: 0; transform: translateY(8px); }
.pw__cta.is-busy { transform: scale(0.97); }
.pw__cta.is-busy .pay__idle { opacity: 0; transform: translateY(-8px); }
.pw__cta.is-busy .pay__spin { opacity: 1; transform: none; }
.pw__cta.is-added { background: oklch(60% 0.16 155); box-shadow: 0 0 0 4px oklch(60% 0.16 155 / 0.2); }
.pw__cta.is-added .pay__idle, .pw__cta.is-added .pay__spin { opacity: 0; transform: translateY(-8px); }
.pw__cta.is-added .pay__ok { opacity: 1; transform: none; }
.pw__cta.is-added .pay__ok svg path { animation: pay-check 0.25s 0.08s var(--ease-out) forwards; }

/* MRR period selector: a real dropdown (3 / 6 / 12 months) */
.pill-wrap { position: relative; }
button.pill-select { border: 0; color: inherit; font-family: inherit; cursor: pointer; transition: background var(--dur-fast) var(--ease-out); }
button.pill-select:hover, button.pill-select[aria-expanded="true"] { background: var(--color-rule); }
button.pill-select svg { transition: transform var(--dur-base) var(--ease-out); }
button.pill-select[aria-expanded="true"] svg { transform: rotate(180deg); }
.pill-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 100%; display: flex; flex-direction: column; padding: 4px; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.pill-menu[hidden] { display: none; }
.pill-menu button { padding: 0.4rem 0.7rem; border: 0; border-radius: var(--radius-sm, 6px); background: none; color: var(--color-neutral); font: inherit; font-size: 0.82rem; text-align: left; white-space: nowrap; cursor: pointer; }
.pill-menu button:hover { background: var(--color-paper-3); color: var(--color-ink); }
.pill-menu button[aria-selected="true"] { color: var(--color-ink); font-weight: 600; }
