/* PingVend marketing site: clean, self-contained design system.
   No CDN dependency, no external images. */

/* Self-hosted Plus Jakarta Sans (variable, latin + latin-ext). */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --pb-purple: #4B1685;
  --pb-purple-hover: #3B106B;
  --pb-purple-light: #F1EAF8;
  --pb-orange: #FF6A00;
  --pb-orange-light: #FFF1E7;
  --pb-orange-action: #B94700;

  --bg: #FCFAFD;
  --surface: #FFFFFF;
  --surface-2: #F7F5F9;
  --ink: #17121F;
  --ink-2: #302A38;
  --muted: #514A59;
  --muted-2: #6B6472;
  --border: #E9E2EF;
  --border-strong: #D9D2DF;
  --primary: #4B1685;
  --primary-dark: #3B106B;
  --primary-soft: #F1EAF8;
  --accent: #FF6A00;
  --accent-soft: #FFF1E7;
  --accent-action: #B94700;
  --cta: #4B1685;
  --cta-hover: #3B106B;
  --green: #18794E;
  --green-strong: #13603D;
  --green-soft: #EAF6EF;
  --amber: #946200;
  --amber-soft: #FFF5D8;
  --red: #B42318;
  --red-soft: #FDEDEC;
  --info: #175CD3;
  --info-soft: #EFF6FF;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 18, 31, 0.06);
  --shadow: 0 4px 12px rgba(23, 18, 31, 0.08);
  --shadow-md: 0 4px 12px rgba(23, 18, 31, 0.08);
  --shadow-lg: 0 12px 32px rgba(23, 18, 31, 0.12);
  --container: 1120px;
  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-brand: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --motion-fast: 140ms;
  --motion-normal: 180ms;
  --motion-slow: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
.brand,
.btn,
.eyebrow {
  font-family: var(--font-brand);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--surface-2);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--cta);
  color: #17121f;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
}

.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section.tight {
  padding: 56px 0;
}

.section.surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 40px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow.green {
  background: var(--green-soft);
  color: var(--green-strong);
}

.eyebrow.accent {
  background: var(--accent-soft);
  color: #3a0f68;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 20px;
}

.hero h1 .grad {
  color: var(--primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 30px;
}

.check-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: 0 0 auto;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.avatars {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  background: var(--primary);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar.a2 {
  background: var(--accent);
}

.avatar.a3 {
  background: var(--green);
}

.avatar.a4 {
  background: var(--ink-2);
}

.hero-proof strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.hero-proof span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Product mockup ---------- */
.mockup {
  position: relative;
}

.mockup-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mockup-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-user .avatar {
  width: 36px;
  height: 36px;
  margin: 0;
  border: none;
  background: var(--green);
  font-size: 12px;
}

.mockup-user strong {
  display: block;
  font-size: 13px;
}

.mockup-user span {
  font-size: 11px;
  color: var(--green-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 600;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.chat {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.bubble.in {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}

.bubble.out {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble .meta {
  display: block;
  font-size: 10px;
  opacity: 0.72;
  margin-top: 4px;
  text-align: right;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #3a0f68;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.order-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  background: #fff;
  color: var(--ink);
}

.mockup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mockup-foot .label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mockup-foot .value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.mockup-foot .delta {
  font-size: 11px;
  color: var(--green-strong);
  font-weight: 600;
}

.mockup-foot .spark {
  width: 150px;
  height: 30px;
  margin: 0;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.order-row + .order-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.order-row .name {
  color: var(--ink);
  font-weight: 600;
}

.order-row .price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.order-row .muted {
  color: var(--muted);
  font-size: 11px;
}

.mockup-float {
  position: absolute;
  right: -18px;
  bottom: 26px;
  width: 210px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.mockup-float .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mockup-float .value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 2px 0;
}

.mockup-float .delta {
  font-size: 11px;
  color: var(--green-strong);
  font-weight: 600;
}

.spark {
  width: 100%;
  height: 34px;
  margin-top: 6px;
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 650;
  font-size: 14px;
  opacity: 0.75;
}

.trust-logo svg {
  width: 20px;
  height: 20px;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}

.card .icon.accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.card .icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.card .icon.amber {
  background: var(--amber-soft);
  color: #b45309;
}

.card .icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card .card-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card .card-foot svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split.reverse .split-media {
  order: -1;
}

.split-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.split-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 2px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.panel .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel .panel-head h4 {
  font-size: 14px;
}

.panel .panel-head span {
  font-size: 12px;
  color: var(--muted);
}

.metric {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.metric + .metric {
  margin-top: 10px;
}

.metric .metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.metric .metric-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.metric .metric-value.green {
  color: var(--green-strong);
}

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin-top: 10px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
}

/* ---------- Channels ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.channel .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dot-wa {
  background: #25d366;
}
.dot-ig {
  background: #c13584;
}
.dot-fb {
  background: #0084ff;
}
.dot-vb {
  background: #7360f2;
}
.dot-web {
  background: #6b6472;
}
.dot-tg {
  background: #229ed9;
}
.dot-line {
  background: #06c755;
}
.dot-slack {
  background: #611f69;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.stat .num {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.stat .num.green {
  color: var(--green-strong);
}

.stat .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 0 auto 36px;
}

.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.pricing-toggle button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 18px 44px rgba(75, 22, 133, 0.16);
  position: relative;
}

.price-card .plan {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-card .plan-desc {
  font-size: 12px;
  color: var(--muted);
  min-height: 34px;
  margin-bottom: 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price .amount {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price .per {
  font-size: 12px;
  color: var(--muted);
}

.price-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  min-height: 16px;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
  flex: 1;
}

.plan-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.plan-list svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 2px;
}

.badge-featured {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 26px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

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

.faq summary .plus {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
  transition: transform 0.15s ease;
}

.faq details[open] summary .plus {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: #fff;
  padding: 56px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.cta-band .btn-primary:hover {
  background: #f7f3fb;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cta-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--ink);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.legal-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}

.legal-hero p {
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0 80px;
}

.legal-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 13px;
}

.legal-toc h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-toc ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: var(--muted);
}

.legal-toc a:hover {
  color: var(--primary);
}

.prose {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}

.prose h2 {
  font-size: 22px;
  margin: 34px 0 12px;
  scroll-margin-top: 90px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 7px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 13px;
}

.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.prose th {
  background: var(--surface);
  font-weight: 700;
  color: var(--ink);
}

.callout {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
  margin: 18px 0;
}

.callout.warn {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.callout.green {
  border-left-color: var(--green);
  background: var(--green-soft);
}

/* ---------- Contact ---------- */
#contact-form {
  scroll-margin-top: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex: 0 0 auto;
  margin-top: 2px;
}

.contact-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .mockup-float {
    right: 12px;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 2px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-secondary,
  .header-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 44px 0 48px;
  }

  .grid-2,
  .grid-3,
  .steps,
  .channel-grid,
  .grid-4,
  .price-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .mockup-float {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .cta-band {
    padding: 40px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Home: scroll-driven story experience
   ========================================================= */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background: var(--surface);
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: blobFloat 14s ease-in-out infinite;
}

.blob-a {
  width: 280px;
  height: 280px;
  left: -90px;
  top: 120px;
  background: rgba(75, 22, 133, 0.18);
}

.blob-b {
  width: 240px;
  height: 240px;
  right: 4%;
  top: 40px;
  background: rgba(255, 106, 0, 0.2);
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.06);
  }
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.home-hero-grid > * {
  min-width: 0;
}

.home-hero h1 {
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 18px 0 22px;
  max-width: 640px;
}

.home-hero h1 .accent {
  color: var(--primary);
}

.home-hero .hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.home-hero .hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 520px;
}

/* Phone shell */
.phone {
  position: relative;
  width: 390px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 90px -24px rgba(23, 18, 31, 0.3);
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.phone-top .avatar {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 0;
  background: var(--green);
  font-size: 11px;
}

.phone-top strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.phone-top .sub {
  font-size: 11px;
  color: var(--green-strong);
}

.phone-top .right {
  margin-left: auto;
}

.phone-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  min-height: 420px;
  background: var(--surface);
}

.phone-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}

.phone-foot .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  display: inline-block;
  margin-right: 6px;
}

/* Floating hero chips */
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px -14px rgba(23, 18, 31, 0.24);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  animation: chipFloat 7s ease-in-out infinite;
}

.float-chip .chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.float-chip .chip-icon svg {
  width: 15px;
  height: 15px;
}

.float-chip small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

.float-chip.paid {
  left: -42px;
  top: 74px;
  animation-delay: -2s;
}

.float-chip.aov {
  right: -8px;
  top: -30px;
  animation-delay: -4s;
}

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

/* Entrance animations */
.fade-up {
  opacity: 1;
}

.js .fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.bubble-anim {
  opacity: 1;
}

.js .bubble-anim {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  animation: bubbleIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface-2);
  width: fit-content;
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--muted-2);
  animation: typingDot 1.2s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingDot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Story section */
.story {
  position: relative;
  padding: 100px 0 40px;
  background: #fff;
  scroll-margin-top: 84px;
}

.story-intro {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.story-intro h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.story-intro p {
  color: var(--muted);
  font-size: 17px;
}

.story-grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.story-visual {
  position: sticky;
  top: 104px;
  align-self: start;
}

.story-phone {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 36px 80px -26px rgba(23, 18, 31, 0.3);
  overflow: hidden;
}

.story-screen {
  position: relative;
  height: 480px;
  background: var(--surface);
}

.story-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.story-scene.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.story-scene .scene-note {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}

.story-scene .scene-note svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 14px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.story-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.story-dots button.active {
  width: 20px;
  background: var(--primary);
}

.story-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 0 16px 14px;
  background: var(--surface);
}

@media (max-width: 720px) {
  .story-hint {
    display: block;
  }
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 120px;
}

.story-step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3vh 0;
  opacity: 1;
  transform: none;
}

.js .story-step {
  opacity: 0.32;
  transform: translateY(6px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.js .story-step.active {
  opacity: 1;
  transform: none;
}

.story-step .step-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.story-step .step-time::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.story-step h3 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.story-step p {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
}

/* Success card inside story */
.success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
  padding: 26px;
}

.success-card .big-check {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-strong);
  margin-bottom: 6px;
}

.success-card .big-check svg {
  width: 30px;
  height: 30px;
}

.success-card .amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.success-card .amount small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Big statement */
.statement {
  padding: 92px 0;
  text-align: center;
  background: #fff;
}

.statement blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
}

.statement blockquote .muted {
  color: var(--muted-2);
}

.statement .attrib {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Timeline steps */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.timeline-item {
  padding: 30px 26px;
  border-left: 1px solid var(--border);
}

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

.timeline-item .t-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 7px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--muted);
}

/* Story responsive */
@media (max-width: 1000px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-hero-visual {
    justify-content: center;
    min-height: 0;
  }

  .float-chip {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-visual {
    top: 76px;
    z-index: 5;
  }

  .story-phone {
    max-width: 340px;
  }

  .story-screen {
    height: 400px;
  }

  .story-steps {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .story-step {
    min-height: 62vh;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 46px 0 50px;
  }

  .home-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .home-hero-visual {
    padding-bottom: 10px;
  }

  .float-chip {
    display: none;
  }

  .story {
    padding-top: 64px;
  }

  .story-intro {
    margin-bottom: 34px;
  }

  .story-screen {
    height: 360px;
  }

  .story-phone {
    max-width: 310px;
  }

  .story-step {
    min-height: 0;
    padding: 18px 0;
  }

  .story-visual {
    position: static;
  }

  .js .story-step {
    opacity: 1;
    transform: none;
  }

  .story-steps {
    padding-top: 22px;
    padding-bottom: 10px;
  }


  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .timeline-item:first-child {
    border-top: 0;
  }
}


@media (prefers-reduced-motion: reduce) {
  .js .fade-up,
  .js .bubble-anim,
  .js .reveal,
  .js .story-step {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .blob,
  .float-chip,
  .marquee-track {
    animation: none !important;
  }
}

/* =========================================================
   Shared inner-page hero (Product, Pricing, Channels, etc.)
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 58px;
  background: var(--surface);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.page-hero-grid > * {
  min-width: 0;
}

.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 800;
  margin: 16px 0 18px;
  max-width: 620px;
}

.page-hero .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 26px;
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.page-hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 70px -28px rgba(23, 18, 31, 0.28);
}

.page-hero-card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-hero-card .card-title h2 {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.page-hero-card .card-title span {
  font-size: 11px;
  color: var(--muted);
}

.stack-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
}

.stack-row + .stack-row {
  margin-top: 8px;
}

.stack-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.stack-icon svg {
  width: 17px;
  height: 17px;
}

.stack-row .stack-copy {
  flex: 1;
  min-width: 0;
}

.stack-row strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.stack-row span {
  font-size: 11px;
  color: var(--muted);
}

.stack-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-strong);
  background: var(--green-soft);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.stack-status.amber {
  color: #b45309;
  background: var(--amber-soft);
}

.stack-status.blue {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.page-hero-card .card-title .stack-status {
  color: var(--green-strong);
}

.page-hero-card .hero-card-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero-card .hero-card-foot svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.page-hero-card .price {
  margin: 2px 0 2px;
}

.page-hero-card .amount {
  font-size: 44px;
}

@media (max-width: 1000px) {
  .page-hero {
    padding: 46px 0 46px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero-visual {
    justify-content: flex-start;
  }

  .page-hero-card {
    max-width: 100%;
  }
}

/* Scale-plan reveal (hidden $199 tier) */
.scale-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-left: 6px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.scale-link:hover {
  text-decoration: underline;
}

.scale-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scale-modal.hidden {
  display: none;
}

.scale-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 31, 0.6);
  backdrop-filter: blur(4px);
}

.scale-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 40px 90px -20px rgba(23, 18, 31, 0.5);
}

.scale-modal-head {
  text-align: center;
  padding: 0 26px;
  margin-bottom: 22px;
}

.scale-modal-head h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.scale-modal-head p {
  font-size: 13px;
  color: var(--muted);
}

.scale-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scale-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scale-modal-close:hover {
  color: var(--ink);
  background: var(--surface);
}

.scale-modal-close svg {
  width: 16px;
  height: 16px;
}

.scale-modal .price-card {
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 14px;
  box-shadow: none;
  background: #fff;
}

.scale-modal .price-card .amount {
  font-size: 32px;
}

.scale-modal .price-card .plan-list li {
  font-size: 12px;
}

.scale-modal .price-card:hover {
  transform: none;
  box-shadow: none;
}

.scale-modal-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}

.scale-modal-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .scale-modal {
    padding: 14px;
  }

  .scale-modal-card {
    padding: 24px 18px;
  }

  .scale-modal-grid {
    grid-template-columns: 1fr;
  }

  .scale-modal-head {
    padding: 0 20px;
  }
}

/* =========================================================
   PingVend design system overrides
   Flat surfaces, solid colors, restrained elevation and motion.
   ========================================================= */

/* Remove decorative gradients */
.hero,
.home-hero,
.page-hero {
  background: var(--surface);
}

.blob {
  display: none !important;
}

.hero h1 .grad,
.home-hero h1 .accent {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--primary);
  -webkit-text-fill-color: currentColor;
}

.cta-band {
  background: var(--primary);
}

.bar-fill {
  background: var(--primary);
}

.dot-ig {
  background: #c13584;
}

.phone-chat,
.story-screen {
  background: var(--surface);
}

.marquee {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.marquee-track {
  animation: none;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 24px;
}

/* Buttons */
.btn {
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border-strong);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.btn-ghost {
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-destructive {
  background: var(--red);
  color: #fff;
}

.btn-destructive:hover {
  background: #8f1b13;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--primary-soft);
}

/* Supporting labels */
.eyebrow.accent {
  background: var(--accent-soft);
  color: var(--accent-action);
}

/* Restrained elevation */
.card,
.panel {
  box-shadow: none;
}

.card:hover {
  box-shadow: var(--shadow-sm);
}

.mockup-card,
.phone,
.story-phone,
.price-card.featured,
.page-hero-card,
.scale-modal-card {
  box-shadow: var(--shadow-lg);
}

.float-chip {
  box-shadow: var(--shadow-md);
  animation: none;
}

/* Purposeful motion only */
.js .fade-up,
.js .reveal,
.js .bubble-anim {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header and focus states */
.site-header {
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Type scale: display is reserved for the homepage hero. */
.home-hero h1 {
  font-size: clamp(40px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.home-hero .hero-sub {
  font-size: 18px;
}

/* Heading scale for inner marketing pages. */
.section-head h2,
.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 32px);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Active navigation uses the brand purple. */
.site-nav a[aria-current='page'] {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Buttons share one radius token at every size. */
.btn-lg {
  border-radius: var(--radius-md);
}

/* =========================================================
   Home: live "selling while you're away" hero
   ========================================================= */
:root {
  --night: #1f0a38;
  --night-2: #2c1150;
  --night-ink: #efe7f8;
  --night-muted: #b9a8cf;
}

.home-hero h1 .accent {
  color: var(--primary);
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 390px;
  max-width: 100%;
}

.phone-wrap .phone {
  width: 100%;
}

.phone-night {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  background: var(--night);
  color: var(--night-muted);
  font-size: 11px;
}

.phone-night .night-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-night svg {
  width: 13px;
  height: 13px;
  color: #ffd9a8;
}

.phone-night strong {
  color: var(--night-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.phone-night .night-right {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--night-ink);
  font-weight: 600;
}

.sparkle {
  color: var(--accent);
  display: inline-block;
}

.phone-wrap .phone-chat {
  height: 430px;
  min-height: 0;
  overflow: hidden;
  justify-content: flex-end;
}

.phone-top .avatar {
  transition: background-color 0.4s ease;
}

.ai-tag {
  gap: 4px;
}

.ai-tag > span[aria-hidden] {
  color: var(--accent);
}

.bubble.out .ai-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.bubble.out .ai-tag > span[aria-hidden] {
  color: #ffb27a;
}

.chat-event {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.chat-event svg {
  width: 12px;
  height: 12px;
}

.paid-event {
  background: var(--green-soft);
  color: var(--green-strong);
}

.handoff-event {
  background: var(--amber-soft);
  color: var(--amber);
}

.pay-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.pay-link small {
  color: var(--muted);
  font-weight: 500;
  font-size: 10px;
}

.live-typing {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: var(--primary-soft);
}

.live-typing span {
  background: var(--primary);
}

.live-msg {
  animation: liveIn 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes liveIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-channels {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.hero-channels button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.hero-channels button:hover {
  color: var(--ink);
}

.hero-channels button.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero-channels .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.float-chip.paid {
  left: -34px;
  top: 150px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-live .float-chip.paid {
  opacity: 0;
  transform: translateY(8px);
}

.hero-live .float-chip.paid.show {
  opacity: 1;
  transform: none;
}

.night-foot {
  background: var(--night);
  border-top-color: var(--night);
  color: var(--night-muted);
}

.night-foot .night-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.night-foot svg {
  width: 13px;
  height: 13px;
  color: #ffd9a8;
}

.night-foot strong {
  color: var(--night-ink);
  font-variant-numeric: tabular-nums;
}

.phone-night > span,
.night-foot > span,
.night-foot > strong {
  white-space: nowrap;
}

.rules-title {
  flex: 1;
  white-space: nowrap;
}

/* =========================================================
   Home: "you stay in control" section
   ========================================================= */
.control-section {
  background: var(--night);
  color: var(--night-ink);
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.control-copy .eyebrow {
  background: var(--night-2);
  color: #ffb27a;
}

.control-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.control-copy > p {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--night-muted);
  font-size: 16px;
  line-height: 1.65;
}

.rules-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}

.rules-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.rules-shop {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.rule-row:last-child {
  border-bottom: 0;
}

.rule-row.stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.rule-row strong {
  display: block;
  font-size: 13px;
}

.rule-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--border-strong);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
}

.toggle.on {
  background: var(--primary);
}

.toggle.on::after {
  left: 17px;
}

.rule-value {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-action);
  font-size: 13px;
  font-weight: 700;
}

.rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rule-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

.handover-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.handover-phone {
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}

.handover-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.handover-note {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--night-2);
  border-radius: var(--radius-lg);
  background: var(--night-2);
}

.note-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
}

.note-icon svg {
  width: 16px;
  height: 16px;
}

.handover-note strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.handover-note p {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--night-muted);
}

.note-action {
  font-size: 12px;
  font-weight: 700;
  color: #ffb27a;
}

/* Steps play in order once the section scrolls into view (JS only). */
.js .control-section .step {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--s, 0) * 700ms);
}

.js .control-section.in-play .step {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .control-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-wrap .phone-chat {
    height: 400px;
  }
}

@media (max-width: 720px) {
  .phone-night .night-right {
    display: none;
  }

  .rule-row {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-msg {
    animation: none;
  }

  .js .control-section .step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Home: "what it handles" + "built for"
   ========================================================= */
.handles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.handle-card {
  display: flex;
  flex-direction: column;
}

.handle-card p {
  flex: 1 0 auto;
}

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.mini {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.mini.in {
  align-self: flex-start;
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}

.mini.out {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 3px;
}

.mini.out::before {
  content: '\2726  ';
  color: #ffb27a;
}

.handle-cta {
  background: var(--night);
  border-color: var(--night);
  color: var(--night-ink);
}

.handle-cta:hover {
  border-color: var(--night-2);
}

.handle-cta .sparkle {
  font-size: 22px;
  margin-bottom: 14px;
}

.handle-cta h3 {
  color: #fff;
}

.handle-cta p {
  color: var(--night-muted);
  margin-bottom: 20px;
}

.handle-cta .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--primary);
}

.handle-cta .btn:hover {
  background: var(--primary-soft);
}

.who-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.who-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.who-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.who-list li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .handles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .handles-grid {
    grid-template-columns: 1fr;
  }

  .who-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.booking-event {
  background: var(--accent-soft);
  color: var(--accent-action);
}

.float-chip.paid.booking .chip-icon {
  background: var(--accent-soft) !important;
  color: var(--accent-action) !important;
}

/* =========================================================
   Dark "night" band reused on inner pages
   ========================================================= */
.night-section {
  background: var(--night);
  color: var(--night-ink);
}

.night-section .section-head h2 {
  color: #fff;
}

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

.night-section .eyebrow {
  background: var(--night-2);
  color: #ffb27a;
}

.night-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.night-card {
  padding: 26px;
  border: 1px solid var(--night-2);
  border-radius: var(--radius-lg);
  background: var(--night-2);
}

.night-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--accent);
  color: #fff;
}

.night-icon svg {
  width: 20px;
  height: 20px;
}

.night-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #fff;
}

.night-card > p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--night-muted);
}

.night-card .feature-list li {
  color: var(--night-ink);
}

.night-card .feature-list svg {
  color: #ffb27a;
}

@media (max-width: 1000px) {
  .night-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Home: trust strip under the hero
   ========================================================= */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.trust-item span:not(.trust-icon) {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Home: the night shift.
   Static by default (phones, reduced motion, no JS). On large
   screens site.js adds .ns-pin to <html>: the scene pins while you
   scroll and the background steps through solid colors from night
   to morning, one per chapter.
   ========================================================= */
.night-shift {
  --ns-bg: #1f0a38;
  position: relative;
  background: var(--ns-bg);
  color: var(--night-ink);
  transition: background-color 0.8s ease;
}

.night-shift[data-active='0'] { --ns-bg: #170630; }
.night-shift[data-active='1'] { --ns-bg: #1f0a38; }
.night-shift[data-active='2'] { --ns-bg: #2c1150; }
.night-shift[data-active='3'] { --ns-bg: #3b106b; }
.night-shift[data-active='4'] { --ns-bg: #f7f3fb; color: var(--ink); }

.ns-stage {
  position: relative;
  padding: 96px 0 88px;
}

.ns-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.night-shift .eyebrow {
  background: var(--night-2);
  color: #ffb27a;
  transition: background-color 0.8s ease, color 0.8s ease;
}

.ns-steps {
  display: none;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-steps button {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ns-steps button:hover {
  color: #fff;
}

.ns-steps li.active button {
  background: #fff;
  border-color: #fff;
  color: var(--night);
}

.ns-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.ns-chapter:last-child {
  margin-bottom: 0;
}

.ns-time {
  display: block;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #ffb27a;
}

.ns-text h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.ns-text p {
  max-width: 480px;
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--night-muted);
}

.ns-card {
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ns-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.ns-card-top .avatar {
  margin: 0;
  border: 0;
  flex: 0 0 auto;
}

.ns-card-top strong {
  display: block;
  font-size: 13px;
}

.ns-card-top span:not(.avatar) {
  font-size: 11px;
  color: var(--muted);
}

.ns-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.ns-chat .bubble.out .ai-tag + div {
  margin-top: 6px;
}

.ns-summary {
  padding: 28px;
}

.ns-summary-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-action);
}

.ns-summary-big {
  margin-top: 8px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.ns-summary-big small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.ns-summary ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.ns-summary li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.dot-ok,
.dot-act {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dot-ok {
  background: var(--green);
}

.dot-act {
  background: var(--accent);
}

.ns-progress {
  display: none;
}

/* Morning: the last chapter turns light. */
.night-shift[data-active='4'] .ns-text h2 {
  color: var(--ink);
}

.night-shift[data-active='4'] .ns-text p {
  color: var(--muted);
}

.night-shift[data-active='4'] .ns-time {
  color: var(--accent-action);
}

.night-shift[data-active='4'] .eyebrow {
  background: var(--primary-soft);
  color: var(--primary);
}

.night-shift[data-active='4'] .ns-steps button {
  border-color: var(--border-strong);
  color: var(--muted);
}

.night-shift[data-active='4'] .ns-steps li.active button {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.night-shift[data-active='4'] .ns-card {
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}

/* Pinned mode */
.ns-pin .night-shift {
  height: 500vh;
}

.ns-pin .ns-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 680px;
  padding: 68px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.ns-pin .ns-steps {
  display: flex;
}

.ns-pin .ns-chapters {
  position: relative;
  height: min(540px, 64vh);
}

.ns-pin .ns-chapter {
  position: absolute;
  inset: 0 24px;
  margin: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.ns-pin .ns-chapter.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ns-pin .ns-progress {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.ns-pin .ns-progress span {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  background: var(--accent);
}

@media (max-width: 900px) {
  .ns-chapter {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .night-shift,
  .night-shift .eyebrow {
    transition: none;
  }
}

/* =========================================================
   Home: live inbox
   ========================================================= */
.live-inbox {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.live-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.live-inbox-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-inbox-head strong {
  font-size: 14px;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 700;
}

.live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  50% {
    opacity: 0.3;
  }
}

.live-counts {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.live-counts b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.live-counts .needs b {
  color: var(--accent-action);
}

.live-list {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 304px;
  overflow: hidden;
}

.live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.live-row .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.live-main {
  flex: 1;
  min-width: 0;
}

.live-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.live-top strong {
  font-size: 13px;
}

.live-top span {
  font-size: 11px;
  color: var(--muted);
}

.live-main p {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-status {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.live-status.ok {
  background: var(--green-soft);
  color: var(--green-strong);
}

.live-status.need {
  background: var(--accent-soft);
  color: var(--accent-action);
}

.live-status.wait {
  background: var(--primary-soft);
  color: var(--primary);
}

.live-row.arrive {
  animation: rowIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
    background: var(--primary-soft);
  }
  to {
    opacity: 1;
    transform: none;
    background: transparent;
  }
}

/* =========================================================
   Home: your first afternoon
   ========================================================= */
.af-track {
  position: relative;
}

.af-line {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}

.af-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform-origin: left;
}

.af-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.af-dot {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 18px;
  border: 3px solid var(--primary);
  border-radius: 999px;
  background: var(--surface);
}

.af-step:last-child .af-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.af-time {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.af-step h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.af-step p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.af-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 700;
}

.af-chip svg {
  width: 12px;
  height: 12px;
}

.af-chip.accent {
  background: var(--accent-soft);
  color: var(--accent-action);
}

/* Plays once when scrolled into view (JS only). */
.js .afternoon .af-line span {
  transform: scaleX(0);
  transition: transform 2.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.js .afternoon.in-play .af-line span {
  transform: scaleX(1);
}

.js .afternoon .af-step {
  opacity: 0.25;
  transition: opacity 0.5s ease;
  transition-delay: calc(var(--i) * 0.6s);
}

.js .afternoon .af-chip {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i) * 0.6s + 0.35s);
}

.js .afternoon.in-play .af-step {
  opacity: 1;
}

.js .afternoon.in-play .af-chip {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .af-line {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .af-line span {
    transform-origin: top;
  }

  .js .afternoon .af-line span {
    transform: scaleY(0);
  }

  .js .afternoon.in-play .af-line span {
    transform: scaleY(1);
  }

  .af-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .af-step {
    position: relative;
    padding-left: 36px;
  }

  .af-dot {
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
  }
}

/* =========================================================
   Home: interactive rules demo
   ========================================================= */
.try-hint {
  display: block;
  margin-top: 10px;
  color: #ffb27a;
  font-weight: 600;
}

.seg {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.seg button {
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.seg button.on {
  background: var(--accent-soft);
  color: var(--accent-action);
}

.rule-chips button {
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rule-chips button.on {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--primary);
}

.rule-chips button.on::before {
  content: '\2713  ';
}

.preview-pill {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-action);
  font-size: 11px;
  font-weight: 700;
}

.handover-demo .phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-event {
  background: var(--green-soft);
  color: var(--green-strong);
}

.reply-update {
  animation: replyUpdate 0.5s ease;
}

@keyframes replyUpdate {
  from {
    opacity: 0.2;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Home: mini chats type in when their card scrolls into view
   ========================================================= */
.js .handle-card .mini {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .handle-card.play .mini {
  opacity: 1;
  transform: none;
}

.js .handle-card.play .mini:nth-child(2) {
  transition-delay: 0.9s;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot::before,
  .live-row.arrive,
  .reply-update {
    animation: none;
  }

  .js .afternoon .af-line span,
  .js .afternoon .af-step,
  .js .afternoon .af-chip,
  .js .handle-card .mini {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Inner pages: shared story-timeline column variants
   ========================================================= */
.af-steps.af-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-steps.af-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.af-steps.af-5 .af-time {
  font-size: 24px;
}

@media (max-width: 900px) {
  .af-steps.af-3,
  .af-steps.af-5 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Product: "you're the owner" booking demo
   ========================================================= */
.owner-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--night-2);
  border-radius: var(--radius-lg);
  background: #170630;
}

.owner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb27a;
}

.owner-copy h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.owner-copy p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--night-muted);
}

.owner-reset {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #ffb27a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.owner-request,
.owner-chat {
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.owner-request-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.owner-status {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.owner-status.wait {
  background: var(--accent-soft);
  color: var(--accent-action);
}

.owner-status.ok {
  background: var(--green-soft);
  color: var(--green-strong);
}

.owner-status.no {
  background: var(--red-soft);
  color: var(--red);
}

.owner-request dl {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
}

.owner-request dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.owner-request dt {
  color: var(--muted);
}

.owner-request dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.owner-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.owner-actions .btn {
  flex: 1;
  justify-content: center;
}

.owner-actions .btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.owner-chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.owner-chat-top .avatar {
  margin: 0;
  border: 0;
}

.owner-chat-top strong {
  display: block;
  font-size: 13px;
}

.owner-chat-top span:not(.avatar) {
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .owner-demo {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Channels: same question, every channel
   ========================================================= */
.channel-switch {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.channel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.channel-tabs button {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.channel-tabs button.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.channel-card {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.channel-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: #fff;
  transition: background-color 0.4s ease;
}

.channel-card-top .avatar {
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
}

.channel-card-top strong {
  display: block;
  font-size: 14px;
}

.channel-card-top span:not(.avatar) {
  font-size: 12px;
  opacity: 0.85;
}

/* =========================================================
   About: the same message, two endings
   ========================================================= */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cmp-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.cmp-after {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.cmp-head {
  margin-bottom: 16px;
  font-size: 15px;
}

.cmp-before .cmp-head {
  color: var(--muted);
}

.cmp-after .cmp-head {
  color: var(--primary);
}

.cmp-card ol {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.cmp-card li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.cmp-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.cmp-after .cmp-time {
  color: var(--primary);
}

.cmp-text {
  color: var(--ink-2);
}

.cmp-end {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cmp-end.lost {
  background: var(--red-soft);
  color: var(--red);
}

.cmp-end.won {
  background: var(--green-soft);
  color: var(--green-strong);
}

.js .compare li,
.js .compare .cmp-end {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--i, 4) * 0.5s);
}

.js .afternoon.in-play .compare li,
.js .afternoon.in-play .compare .cmp-end {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Pricing: plan finder
   ========================================================= */
.finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.finder-inputs,
.finder-result {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.finder-row {
  display: block;
  margin-bottom: 24px;
}

.finder-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.finder-label output {
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  font-weight: 800;
}

.finder-row input[type='range'] {
  width: 100%;
  accent-color: var(--primary);
}

.finder-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}

.finder-check input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.finder-result {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.finder-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-action);
}

.finder-plan {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.finder-plan strong {
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.finder-plan span {
  font-size: 14px;
  color: var(--muted);
}

.finder-plan b {
  font-size: 24px;
  color: var(--ink);
}

.finder-why {
  margin: 6px 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.finder-meters {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.meter {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.meter em {
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.meter-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.meter-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.35s ease;
}

.meter-bar i.full {
  background: var(--accent);
}

.finder-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.finder-cta span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .finder {
    grid-template-columns: 1fr;
  }

  .meter {
    grid-template-columns: 90px minmax(0, 1fr) 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .compare li,
  .js .compare .cmp-end {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
