:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --primary-soft: rgba(139, 92, 246, 0.14);

  --bg: #08080B;
  --surface: rgba(255, 255, 255, 0.026);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #F4F4F5;
  --muted: #A1A1AA;
  --dim: #71717A;
  --faint: #52525B;

  --success: #34D399;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: #C4B5FD; }

::selection { background: rgba(139, 92, 246, .35); }

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

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

header .container { display: flex; align-items: center; gap: 24px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-right: auto;
}
.logo:hover { color: var(--text); }
.logo-img { width: 30px; height: 30px; border-radius: 8px; display: block; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 18px;
  background: var(--text);
  color: #09090B;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 30px -14px rgba(244, 244, 245, .5);
}
.btn-store:hover { background: #fff; color: #09090B; transform: translateY(-1px); box-shadow: 0 16px 34px -16px rgba(244, 244, 245, .6); }
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store .store-eyebrow { display: block; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .62; }
.btn-store .store-name { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.btn-store.compact { padding: 9px 17px; gap: 8px; }
.btn-store.compact svg { width: 15px; height: 15px; }
.btn-store.compact .store-name { font-size: 13.5px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px; font-weight: 500;
  transition: all .18s ease;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.28); background: var(--surface); }

/* ---------- Shared section furniture ---------- */
.section { padding: 104px 0; position: relative; }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--primary); opacity: .7; }

.section-title { max-width: 660px; margin-bottom: 52px; }
.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.14;
  margin-bottom: 14px;
}
.section-title p { color: var(--muted); font-size: 17px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, background .2s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-hover); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 164px 0 40px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 1100px; max-width: 160vw; height: 760px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, .20) 0%, rgba(139, 92, 246, .05) 42%, transparent 68%);
  pointer-events: none;
}
.hero .container { position: relative; }

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

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 26px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary-light) 10%, #E9D5FF 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .tagline { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--faint); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }
.hero-meta span:first-child::before { display: none; }

/* ---------- Hero receipt mock ---------- */
.mock {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock-avatar {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center;
}
.mock-avatar svg { width: 19px; height: 19px; color: #fff; }
.mock-head h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mock-head p { font-size: 12.5px; color: var(--dim); }
.mock-total { margin-left: auto; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.mock-list { list-style: none; padding: 6px 0 0; }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mock-list li:last-child { border-bottom: 0; }
.mock-list .name { color: var(--text); }
.mock-list .qty { color: var(--faint); font-size: 12.5px; }
.mock-list .amt { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  white-space: nowrap;
}
.chip .swatch { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.mock-foot { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.mock-foot svg { width: 14px; height: 14px; color: var(--primary-light); flex-shrink: 0; }

/* ---------- Three ways ---------- */
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 8px; }
.way p { color: var(--muted); font-size: 14.5px; }
.way .sample {
  margin-top: 18px; padding: 12px 14px;
  background: rgba(0,0,0,.34);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--primary-light);
}
.way-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  border: 1px solid rgba(139, 92, 246, .26);
}
.way-icon svg { width: 19px; height: 19px; color: var(--primary-light); }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin: 16px 0 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }
.feature-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  border: 1px solid rgba(139, 92, 246, .24);
}
.feature-icon svg { width: 18px; height: 18px; color: var(--primary-light); }

/* ---------- Split band ---------- */
.band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.band .card { padding: 30px; }
.band h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 10px; }
.band p { color: var(--muted); font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.member-row { display: flex; align-items: center; margin-top: 22px; flex-wrap: wrap; gap: 10px 0; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; color: #fff;
  border: 2px solid var(--bg);
  margin-left: -9px;
}
.avatars span:first-child { margin-left: 0; }
.avatars .plus { background: var(--surface-hover); color: var(--dim); }
.member-note { margin-left: 12px; font-size: 13.5px; color: var(--dim); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; }
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(139, 92, 246, .10), rgba(139, 92, 246, .02));
  border-color: rgba(139, 92, 246, .40);
  box-shadow: 0 30px 70px -46px rgba(139, 92, 246, .85);
}
.pricing-badge {
  position: absolute; top: -11px; left: 32px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pricing-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pricing-card .price { margin-top: 6px; font-size: 14px; color: var(--dim); }
.pricing-card .headline-num {
  margin: 20px 0 2px;
  font-size: 38px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  background: linear-gradient(120deg, var(--text), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing-card .ai-label { font-size: 13.5px; color: var(--dim); margin-bottom: 24px; }
.pricing-features { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.pricing-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.pricing-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--primary-light); }
.pricing-card .foot { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--faint); }
.pricing-note { margin-top: 26px; font-size: 13.5px; color: var(--dim); max-width: 860px; }
.pricing-note strong { color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  margin-left: auto; color: var(--dim);
  font-size: 20px; line-height: 1.2; font-weight: 400;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 15px; padding-right: 34px; }

/* ---------- CTA ---------- */
.cta-box {
  border: 1px solid rgba(139, 92, 246, .30);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .03) 60%);
  padding: 58px 44px;
  text-align: center;
}
.cta-box h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 12px; }
.cta-box p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0 56px; margin-top: 104px; }
.footer-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; margin-left: auto; }
.footer-links a { color: var(--dim); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-info { color: var(--faint); font-size: 13px; }
.footer-info p + p { margin-top: 5px; }

/* ---------- Legal pages ---------- */

.legal-page { display: block; padding: 132px 0 40px; }

.legal-content { max-width: 800px; margin: 0 auto; }

.legal-header { margin-bottom: 40px; }
.legal-header .back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); font-size: 14px; margin-bottom: 26px; }
.legal-header .back-link:hover { color: var(--text); }
.legal-header h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 8px; }
.legal-header .last-updated, .legal-header .legal-date { color: var(--dim); font-size: 14px; }

.legal-toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 44px;
}
.legal-toc h2 { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.legal-toc ul { list-style: none; columns: 2; column-gap: 28px; }
.legal-toc li { margin-bottom: 8px; break-inside: avoid; }
.legal-toc a { color: var(--muted); font-size: 14.5px; }
.legal-toc a:hover { color: var(--primary-light); }

.legal-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin: 48px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); margin: 28px 0 10px; }
.legal-body p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.legal-body ul, .legal-body ol { color: var(--muted); margin: 0 0 16px 20px; font-size: 15.5px; }
.legal-body li { margin-bottom: 9px; }
.legal-body strong { color: var(--text); font-weight: 600; }

.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 14.5px; }
.legal-body th, .legal-body td { padding: 12px 14px; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--surface); color: var(--text); font-weight: 600; font-size: 13.5px; }
.legal-body td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

.legal-notice {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 22px 0;
  font-size: 15px; color: var(--muted);
}
.legal-notice strong { color: var(--text); }

.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.legal-section p { color: var(--muted); margin-bottom: 12px; font-size: 15.5px; }
.legal-section ul { color: var(--muted); margin: 0 0 14px 20px; font-size: 15.5px; }
.legal-section li { margin-bottom: 9px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .tagline { max-width: none; }
  .ways-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .hero { padding: 128px 0 72px; }
  .nav-links { display: none; }
  .ways-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .legal-toc ul { columns: 1; }
  .cta-box { padding: 42px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-links { margin-left: 0; gap: 18px; }
  .legal-page { padding-top: 112px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

