/* Subtract — Dark theme with vivid green accent */
:root {
  --bg: #0B0B0D;
  --surface: #111115;
  --surface-raised: #18181D;
  --border: #1E1E24;
  --fg: #FAFAFA;
  --fg-muted: #888894;
  --accent: #00FF94;
  --accent-dim: rgba(0, 255, 148, 0.08);
  --danger: #FF4D4D;
  --danger-dim: rgba(255, 77, 77, 0.1);
  --warn: #FF9F0A;
  --font: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.nav-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* Hero */
.hero {
  padding: 80px 48px 100px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,148,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.hero-headline-accent {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Subscription card UI */
.hero-ui {
  display: flex;
  justify-content: center;
}
.sub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,255,148,0.03);
}
.sub-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sub-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.sub-card-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
.sub-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.sub-item:hover { background: rgba(255,255,255,0.02); }
.sub-item--unknown { background: rgba(255,77,77,0.03); }
.sub-item-left { display: flex; align-items: center; gap: 12px; }
.sub-item-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 8px; }
.sub-item-info { display: flex; flex-direction: column; gap: 2px; }
.sub-item-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.sub-item-vendor { font-size: 0.75rem; color: var(--fg-muted); }
.sub-item-vendor--unknown { color: var(--danger); }
.sub-item-right { display: flex; align-items: center; gap: 10px; }
.sub-item-price { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.sub-item-price.known { color: var(--fg-muted); }
.sub-item-badge {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}
.sub-item-badge.known { background: rgba(0,255,148,0.12); color: var(--accent); }
.sub-item-badge.cancel { background: var(--danger); color: #fff; }
.sub-card-footer {
  padding: 14px 20px;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
}
.sub-card-savings {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.savings-num {
  font-weight: 800;
  color: var(--danger);
  font-size: 1rem;
}

/* Stats */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 48px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 48px;
}
.stat:first-child { padding-left: 0; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}
.stat-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* How it works */
.how {
  padding: 100px 48px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  max-width: 680px;
  margin-bottom: 64px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.how-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}
.how-step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  padding: 100px 48px;
  background: var(--bg);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}
.manifesto-quote {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.manifesto-text {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
}
.manifesto-text--secondary {
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Closing */
.closing {
  padding: 100px 48px;
  background: linear-gradient(180deg, var(--bg) 0%, #050508 100%);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
}

/* Footer */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 4px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-link {
  font-size: 0.875rem;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { align-items: flex-start; }
  .hero-ui { justify-content: flex-start; }
  .sub-card { max-width: 100%; }
  .stats { padding: 48px 24px; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .how { padding: 80px 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .features { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .manifesto { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 24px; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.25rem; }
  .stat-num { font-size: 2rem; }
}