/* Tokens from design/DESIGN.md ("Looming Pulse"). */
:root {
  --primary: #b90538;
  --primary-container: #dc2c4f;
  --on-primary: #ffffff;
  --secondary: #4648d4;
  --tertiary: #00628d;
  --tertiary-container: #007cb1;
  --error: #ba1a1a;

  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-low: #eff4ff;
  --surface-mid: #e5eeff;
  --surface-high: #dce9ff;
  --surface-highest: #d3e4fe;
  --text: #0b1c30;
  --text-muted: #5b4041;
  --outline: #8f6f71;
  --outline-variant: #e3bdbf;
  --inverse: #213145;
  --inverse-text: #eaf1ff;
  --line: rgba(11, 28, 48, 0.07);

  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-2: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-3: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  --glow-primary: 0 8px 28px rgba(185, 5, 56, 0.3);

  --r-sm: 0.5rem;
  --r: 1rem;
  --r-md: 1.5rem;
  --r-lg: 2rem;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-label: 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
kbd {
  font: 600 0.85em var(--font-label);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  background: var(--surface-mid);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
}
.skip:focus {
  left: 16px;
}

.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.c-primary { color: var(--primary); }
.c-secondary { color: var(--secondary); }
.c-tertiary { color: var(--tertiary); }
.muted { color: var(--text-muted); }

.t-primary { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.t-secondary { background: color-mix(in srgb, var(--secondary) 10%, transparent); color: var(--secondary); }
.t-tertiary { background: color-mix(in srgb, var(--tertiary) 12%, transparent); color: var(--tertiary); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container.narrow {
  max-width: 820px;
}
@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 14px/20px var(--font-label);
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 8px 16px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  box-shadow: var(--glow-primary);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.btn-white {
  background: #fff;
  color: #b90538;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.btn .arrow { font-size: 18px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn .accent { color: var(--primary); }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 1px 8px rgba(11, 28, 48, 0.06); }
.header-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-pills {
  display: none;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: var(--shadow-1);
}
.nav-pills a {
  padding: 6px 16px;
  border-radius: 999px;
  font: 600 14px/20px var(--font-label);
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-pills a:hover { background: var(--surface-mid); color: var(--text); }
.nav-pills a[aria-current], .mobile-nav a[aria-current] { color: var(--primary); }
.nav-pills a[aria-current] { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 4px;
  font: 600 15px var(--font-label);
  border-top: 1px solid var(--line);
}
/* Seven menu entries need this much room next to the logo and the install button. */
@media (min-width: 1120px) {
  .nav-pills { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (max-width: 420px) {
  .header-actions .btn span:last-child { display: none; }
  .header-actions .btn { padding: 10px; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background: linear-gradient(to bottom, var(--surface-low), var(--bg) 60%);
}
@media (min-width: 960px) { .hero { padding: 88px 0 96px; } }
.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
}
.glow-a {
  top: -160px;
  left: 50%;
  translate: -50% 0;
  width: min(700px, 120vw);
  height: 400px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.glow-b {
  top: 33%;
  right: -120px;
  width: 380px;
  height: 380px;
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pill-announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(185, 5, 56, 0.08);
  font: 500 13px/18px var(--font-label);
}
.pill-announce .ms { font-size: 16px; color: var(--primary); }
.ping {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}
.ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary);
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2.4); opacity: 0; }
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-container), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 640px;
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
}
.trust {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font: 500 13px var(--font-label);
  color: var(--text-muted);
}
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ms { font-size: 18px; }

/* Mockup */
.mockup {
  width: 100%;
  max-width: 1000px;
  padding: 10px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(11, 28, 48, 0.08);
  text-align: left;
}
@media (min-width: 640px) { .mockup { padding: 20px; } }
.window { border-radius: 18px; overflow: hidden; background: var(--surface-low); }
.window-bar {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-mid);
}
.dots { display: flex; gap: 7px; }
.dots span { width: 11px; height: 11px; border-radius: 99px; background: color-mix(in srgb, var(--error) 70%, transparent); }
.dots span:nth-child(2) { background: color-mix(in srgb, var(--tertiary-container) 70%, transparent); }
.dots span:nth-child(3) { background: color-mix(in srgb, var(--secondary) 60%, transparent); }
.url {
  flex: 1;
  max-width: 380px;
  height: 28px;
  border-radius: 99px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
}
.url .ms { font-size: 14px; color: var(--outline); }
.rec-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 11px var(--font-label);
  color: var(--primary);
  letter-spacing: 0.04em;
}
.rec-badge .dot, .live .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.viewport {
  position: relative;
  height: 420px;
  padding: 20px;
  background: linear-gradient(135deg, var(--surface-low), var(--surface), var(--surface-mid));
  overflow: hidden;
}
@media (min-width: 640px) { .viewport { height: 480px; } }
.fake-page {
  height: 100%;
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fp-row { display: flex; justify-content: space-between; align-items: center; }
.bar { height: 14px; border-radius: 6px; background: var(--surface-high); }
.w20 { width: 20%; } .w28 { width: 28%; } .w32 { width: 32%; } .w40 { width: 40%; } .w44 { width: 44%; }
.chips { display: flex; gap: 8px; }
.chips div { width: 64px; height: 22px; border-radius: 99px; background: var(--surface-mid); }
.chips .hot { background: color-mix(in srgb, var(--primary) 20%, transparent); }
.fp-grid { flex: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.fp-card { border-radius: 12px; background: var(--surface-low); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.fp-card .bar { height: 10px; }
.block { flex: 1; border-radius: 10px; background: var(--surface-highest); }
.block.alt { background: var(--surface-mid); }
.block.alt2 { background: color-mix(in srgb, var(--secondary) 10%, var(--surface-mid)); }

.panel-float {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 290px;
  padding: 16px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(11, 28, 48, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px) { .panel-float { right: 56px; top: 40px; width: 320px; } }
@media (max-width: 520px) { .panel-float { left: 16px; right: 16px; width: auto; } }
.pf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pf-head strong { font-size: 15px; flex: 1; }
.pf-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}
.pf-logo .ms { font-size: 15px; }
.pf-logo.lg { width: 34px; height: 34px; border-radius: 12px; }
.pf-logo.lg .ms { font-size: 20px; }
.chip-rec {
  padding: 2px 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font: 700 10px var(--font-label);
  letter-spacing: 0.04em;
}
.pf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-low);
  font-size: 13px;
}
.pf-row .ms { font-size: 18px; }
.sw {
  margin-left: auto;
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: var(--surface-highest);
  position: relative;
}
.sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 99px;
  background: #fff;
}
.sw.on { background: var(--primary); }
.sw.on::after { left: 16px; }
.meter { display: flex; align-items: center; gap: 4px; padding: 4px; }
.meter .ms { font-size: 16px; margin-right: 4px; }
.meter i {
  width: 6px;
  height: var(--h);
  border-radius: 99px;
  background: var(--primary);
  animation: bounce 0.9s ease-in-out infinite alternate;
}
.meter i:nth-child(odd) { animation-delay: -0.4s; }
.meter i.b { background: var(--secondary); }
.meter i.m { background: var(--outline-variant); }
@keyframes bounce { to { transform: scaleY(0.5); } }
.pf-stop {
  margin-top: 4px;
  padding: 11px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 600 14px var(--font-label);
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  box-shadow: 0 4px 16px rgba(185, 5, 56, 0.35);
}
.pf-stop .ms { font-size: 18px; }
.hud {
  position: absolute;
  bottom: 18px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--inverse) 92%, transparent);
  color: var(--inverse-text);
  box-shadow: var(--shadow-3);
}
.hud .ms { font-size: 18px; padding: 4px; }
.hud .sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.25); margin: 0 4px; }
.hud .stop { color: #ffb2b7; }
.toast {
  position: absolute;
  left: 24px;
  bottom: 72px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-2);
  font: 500 13px var(--font-label);
}
@media (min-width: 760px) { .toast { display: inline-flex; left: 48px; bottom: 40px; } }

/* Facts */
.facts { padding: 24px 0; background: var(--surface-low); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.fact strong { font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.02em; }
.fact span { font-size: 13px; color: var(--text-muted); }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section.alt { background: var(--surface-low); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .privacy h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  margin: 8px 0 12px;
}
.section-head p, .privacy-copy > p { color: var(--text-muted); font-size: 16px; }
.eyebrow {
  font: 700 11px var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; display: flex; flex-direction: column; }
.step:hover, .feature:hover { box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; flex: 1; margin-bottom: 20px; }
.step-visual {
  height: 128px;
  border-radius: var(--r);
  background: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  flex-wrap: wrap;
}
.step-visual.col { flex-direction: column; }
.mini-pill, .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font: 600 13px var(--font-label);
}
.tag { border-radius: 12px; }
.tag .ms { font-size: 16px; }
.seg-mini { display: flex; gap: 6px; font: 600 11px var(--font-label); }
.seg-mini span { padding: 5px 10px; border-radius: 8px; background: var(--surface-mid); color: var(--text-muted); }
.seg-mini .on { background: var(--secondary); color: #fff; }
.progress { width: 160px; height: 6px; border-radius: 99px; background: var(--surface-highest); overflow: hidden; }
.progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--secondary); }

/* Live demo call to action */
.demo-cta { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .demo-cta { grid-template-columns: 1fr 300px; gap: 72px; } }
.demo-cta-copy h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin: 8px 0 12px; }
.demo-cta-copy > p { color: var(--text-muted); font-size: 16px; max-width: 560px; }
.demo-cta-copy .hero-ctas { justify-content: flex-start; margin: 28px 0 0; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.demo-cta-shot {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-3), 0 0 0 1px var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.demo-cta-shot:hover { transform: translateY(-4px); }
.demo-cta-shot img { width: 100%; height: auto; }
.demo-cta-play {
  position: absolute;
  left: 50%;
  bottom: 20px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #fff;
  font: 700 14px var(--font-label);
  box-shadow: var(--glow-primary);
  white-space: nowrap;
}

/* Features */
.feature-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--text-muted); font-size: 14.5px; flex: 1; }
.f-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.f-icon .ms { font-size: 26px; }
.f-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--surface-low);
  font: 600 11px var(--font-label);
  color: var(--text-muted);
}

/* Pricing */
.plans {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; align-items: start; } }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; }
.badge {
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--primary);
  color: #fff;
  font: 700 11px var(--font-label);
  letter-spacing: 0.04em;
}
.plan-sub { color: var(--text-muted); font-size: 14px; margin: 6px 0 20px; }
.plan.pro {
  box-shadow: var(--shadow-3), inset 0 0 0 2px var(--primary);
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 60%),
    var(--surface);
}
.billing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--surface-mid);
}
.billing button {
  padding: 8px 6px;
  border-radius: 999px;
  font: 600 13px var(--font-label);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.billing button em { font-style: normal; color: var(--primary); font-size: 11px; }
.billing button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--text-muted); font: 500 15px var(--font-label); }
.plan-note { font-size: 13px; color: var(--text-muted); margin: 4px 0 24px; min-height: 20px; }
.plan-list { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .ms { font-size: 20px; color: var(--primary); }
.all-prices { text-align: center; font-size: 13px; color: var(--text-muted); margin: 24px auto 48px; max-width: 640px; }

.table-wrap {
  max-width: 880px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 700 12px var(--font-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.compare thead .pro-col { color: var(--primary); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--text-muted); }
.compare td:last-child { color: var(--text); font-weight: 600; }
.compare .yes { color: var(--primary); }
.compare .no { color: var(--outline-variant); }

.refund {
  max-width: 880px;
  margin: 32px auto 0;
  padding: 24px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--surface), var(--surface-mid));
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  display: grid;
  gap: 16px;
  align-items: center;
}
@media (min-width: 760px) { .refund { grid-template-columns: auto 1fr auto; gap: 20px; padding: 28px 32px; } }
.refund h3 { font-size: 18px; margin-bottom: 4px; }
.refund p { color: var(--text-muted); font-size: 14px; }

/* Privacy */
.privacy {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 32px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--surface-low), var(--surface), var(--surface-mid));
}
@media (min-width: 960px) { .privacy { grid-template-columns: 1fr 340px; padding: 56px; } }
.pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  font: 700 12px var(--font-label);
}
.pill-soft .ms { font-size: 16px; }
.privacy-points { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .privacy-points { grid-template-columns: 1fr 1fr; } }
.privacy-points > div { display: flex; gap: 12px; }
.privacy-points div div { display: flex; flex-direction: column; }
.privacy-points strong { font: 600 14px var(--font-label); }
.privacy-points small { font-size: 13px; color: var(--text-muted); }
.text-link { display: inline-flex; align-items: center; gap: 4px; font: 600 14px var(--font-label); color: var(--primary); }
.text-link .ms { font-size: 18px; transition: transform 0.2s; }
.text-link:hover .ms { transform: translateX(3px); }
.checklist {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 14px;
}
.cl-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.chip { padding: 2px 10px; border-radius: 99px; background: var(--surface-high); font: 600 11px var(--font-label); }
.cl-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.cl-row > span { display: inline-flex; align-items: center; gap: 8px; }
.cl-row .ms { font-size: 16px; }
.cl-row small { font: 500 11px var(--font-label); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; text-align: right; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { color: var(--text-muted); transition: transform 0.2s; }
.faq details[open] summary .ms { transform: rotate(180deg); }
.faq details p { padding: 16px 0 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 15px; }
.faq details a { color: var(--primary); font-weight: 600; }

/* Community / support */
.help-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .help-grid { grid-template-columns: 1fr 1fr; } }
.help { display: flex; align-items: center; gap: 18px; padding: 24px 28px; }
.help:hover { box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.help div { flex: 1; }
.help h3 { font-size: 18px; margin-bottom: 4px; }
.help p { color: var(--text-muted); font-size: 14px; }
.help .arrow { color: var(--text-muted); }

/* CTA */
.cta-section { padding-top: 0; padding-bottom: 56px; }
.cta {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #b90538, #dc2c4f 50%, #4648d4);
  box-shadow: 0 16px 40px rgba(185, 5, 56, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) { .cta { padding: 40px 40px; } }
.cta-glow { position: absolute; width: 240px; height: 240px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); filter: blur(40px); }
.cta-glow.a { top: -80px; right: -80px; }
.cta-glow.b { bottom: -80px; left: -80px; }
/* Not the glows: they are decoration behind the text and must stay out of the layout. */
.cta > :not(.cta-glow) { position: relative; }
.cta-icon { width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); margin-bottom: 14px; }
.cta-icon .ms { font-size: 24px; }
.cta h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -0.02em; max-width: 560px; margin-bottom: 8px; }
.cta > p { color: rgba(255, 255, 255, 0.88); max-width: 520px; margin-bottom: 20px; font-size: 15px; }
.cta-meta { margin: 14px 0 0 !important; font: 500 12px var(--font-label) !important; }

/* Footer */
.site-footer { background: var(--surface); box-shadow: 0 -1px 12px rgba(11, 28, 48, 0.03); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 860px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 360px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h4 { font: 700 14px var(--font-label); margin-bottom: 4px; }
.site-footer nav a { color: var(--text-muted); font-size: 14px; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

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

/* Tutorials teaser */
.all-tutorials { margin-top: 28px; text-align: center; }


/* Community call to action */
.community {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 32px 24px;
  margin-bottom: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 9%, var(--surface)), var(--surface), color-mix(in srgb, var(--primary) 7%, var(--surface)));
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
@media (min-width: 900px) { .community { grid-template-columns: 1fr auto; gap: 48px; padding: 44px 48px; } }
.community h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; margin: 8px 0 10px; }
.community-copy > p { color: var(--text-muted); max-width: 560px; }
.community-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; }
.community-points li { display: inline-flex; align-items: center; gap: 8px; }
.community-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 900px) { .community-action { align-items: center; text-align: center; } }
.community-action small { font-size: 12.5px; color: var(--text-muted); max-width: 240px; }
