/* 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);
}
