/* Manga Vault — Material 3 Expressive, light mode
   Violet scheme pulled from app colors.ts (violetLight).
   Fraunces (display) + Inter (body). Preview-only. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,400..900,0..100&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* M3 color roles — violet light, sourced from app */
  --primary: #6B4BE6;            /* slightly darker than #7C3AED for AA on white */
  --primary-vivid: #7C3AED;      /* app brand primary for logo mark / screenshots */
  --on-primary: #FFFFFF;
  --primary-container: #EADDFF;
  --on-primary-container: #22005D;
  --secondary: #5B5FC7;
  --secondary-container: #E0E0FF;
  --tertiary: #BE185D;
  --tertiary-container: #FFD8E4;
  --error: #DC2626;
  --success: #16A34A;
  --warning: #D97706;

  --background: #FBFAFD;
  --surface: #FFFFFF;
  --surface-container-lowest: #FFFFFF;
  --surface-container-low: #F7F4FA;
  --surface-container: #F2EEF6;
  --surface-container-high: #ECE6F2;
  --surface-container-highest: #E6DFEE;

  --on-surface: #1C1B1F;
  --on-surface-variant: #49454F;
  --on-surface-muted: #6B6770;
  --outline: #79747E;
  --outline-variant: #E3DFE7;
  --hairline: rgba(16, 14, 32, 0.06);

  /* Dark tokens for the single dark waitlist anchor section */
  --dark-bg: #0F0D13;
  --dark-surface: #1D1B20;
  --dark-on-surface: #E6E1E5;
  --dark-on-surface-variant: #A8A3AE;

  /* Gradient accents */
  --gradient-start: #7C3AED;
  --gradient-end: #A855F7;

  /* Elevation — critical for light mode */
  --elevation-1: 0 1px 2px rgba(16,14,32,0.04), 0 1px 1px rgba(16,14,32,0.03);
  --elevation-2: 0 4px 12px -2px rgba(16,14,32,0.06), 0 2px 4px rgba(16,14,32,0.04);
  --elevation-3: 0 12px 32px -8px rgba(16,14,32,0.10), 0 4px 8px -2px rgba(16,14,32,0.05);
  --elevation-brand: 0 24px 60px -16px rgba(107,75,230,0.30), 0 8px 24px -8px rgba(107,75,230,0.14);

  /* Shape */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 28px; --r-full: 9999px;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.3, 0.7, 0.4, 1.0);
  --dur: 250ms;

  --container: 1240px;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  background: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Type scale — M3 Expressive with Fraunces display */
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 72px); line-height: 1.02;
  font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.02em; color: var(--on-surface);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 56px); line-height: 1.05;
  font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 20;
  letter-spacing: -0.02em; color: var(--on-surface);
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px); line-height: 1.1;
  font-weight: 700; font-variation-settings: "opsz" 72, "SOFT" 20;
  letter-spacing: -0.01em; color: var(--on-surface);
}
.headline-lg {
  font-family: var(--font-display);
  font-size: 36px; line-height: 1.15; font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.01em; color: var(--on-surface);
}
.headline-md {
  font-family: var(--font-body);
  font-size: 28px; line-height: 1.2; font-weight: 700;
  letter-spacing: -0.01em; color: var(--on-surface);
}
.headline-sm { font-family: var(--font-body); font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--on-surface); }
.title-lg { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--on-surface); }
.title-md { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--on-surface); letter-spacing: 0.1px; }
.body-lg { font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--on-surface-variant); }
.body-md { font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--on-surface-variant); }
.label-lg { font-size: 14px; font-weight: 550; line-height: 1.4; letter-spacing: 0.1px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(251, 250, 253, 0.72);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; gap: var(--s-6);
  height: 72px; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
}
.nav-logo { display: flex; align-items: center; gap: var(--s-3); font-weight: 700; font-size: 17px; color: var(--on-surface); }
.nav-logo-mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: block;
  background-image: url("assets/logo-mark.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-links { display: flex; gap: var(--s-6); margin-left: var(--s-8); }
.nav-links a {
  font-size: 14px; color: var(--on-surface-variant); font-weight: 500;
  padding: var(--s-2) 0; transition: color var(--dur) var(--ease); position: relative;
}
.nav-links a:hover { color: var(--on-surface); }
.nav-links a.current { color: var(--on-surface); }
.nav-links a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--primary); border-radius: var(--r-full);
}
.nav-right { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.nav-discord {
  width: 40px; height: 40px; border-radius: var(--r-full);
  display: grid; place-items: center; background: var(--surface-container);
  color: var(--on-surface-variant); transition: all var(--dur) var(--ease);
}
.nav-discord:hover { background: var(--primary-container); color: var(--on-primary-container); }
.nav-mobile-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: 48px; padding: 0 var(--s-6); border-radius: var(--r-full);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  letter-spacing: 0.1px; cursor: pointer; border: none;
  transition: all var(--dur) var(--ease); white-space: nowrap;
}
.btn-filled {
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(16,14,32,0.08);
}
.btn-filled:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(107,75,230,0.45), 0 2px 6px rgba(107,75,230,0.2);
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
}
.btn-outlined {
  background: var(--surface); color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outlined:hover { background: var(--primary-container); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-tonal:hover { background: #DCCBFF; }
.btn-ghost {
  background: var(--surface-container-low); color: var(--on-surface-variant);
  border: 1px solid var(--hairline);
}
.btn-sm { height: 40px; padding: 0 var(--s-5); font-size: 14px; }
.btn-lg { height: 56px; padding: 0 var(--s-8); font-size: 16px; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  height: 38px; padding: 0 var(--s-4); border-radius: var(--r-xl);
  font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--hairline);
  color: var(--on-surface-variant); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip-selected {
  background: var(--primary-container); border-color: var(--primary-container);
  color: var(--on-primary-container);
}

/* Cards — elevation not outline */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--elevation-1);
  transition: all var(--dur) var(--spring);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--elevation-2);
  border-color: rgba(107,75,230,0.15);
}
.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--primary-container); color: var(--on-primary-container);
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
}

/* Sections */
section { padding: var(--s-20) 0; }
section.section-flush-top { padding-top: 0; }                     /* sits flush against the previous section */
section.section-tagline { padding: var(--s-12) 0 var(--s-8); }    /* short bridge / tagline section between hero and content */
section.section-tight-top { padding-top: var(--s-12); }           /* full section with reduced top — for content that relates to previous */
section.section-tight { padding: var(--s-16) 0; }                  /* shorter than default — for compact sections like pricing/CTA */
.section-head { max-width: 780px; margin: 0 auto var(--s-12); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-3); display: inline-block; }
.section-head h2 { margin-bottom: var(--s-4); }

/* Hero */
.hero { position: relative; padding: var(--s-10) 0 var(--s-16); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 8%, rgba(107, 75, 230, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 82% 20%, rgba(91, 95, 199, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(190, 24, 93, 0.06), transparent 65%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-16); align-items: start;
  padding-top: var(--s-6);
}
.hero-grid > div:first-child { padding-left: var(--s-4); }
.hero-title { margin: var(--s-4) 0 var(--s-5); }
.hero-sub { margin-bottom: var(--s-8); max-width: 540px; }
.hero-cta-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-8); }

/* App Store + Google Play badges — official artwork, sized by height */
.app-store-badges {
  display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center;
}
.app-store-badges a {
  display: inline-block;
  transition: opacity var(--dur) var(--ease);
}
.app-store-badges a:hover { opacity: 0.82; }
.app-store-badges img {
  display: block;
  height: 52px;
  width: auto;
}
/* Download CTA variant — sits inside the dark download anchor */
.download-cta-badges {
  justify-content: center;
  margin: var(--s-6) 0 var(--s-3);
}
.download-cta-badges img { height: 56px; }
.waitlist-small a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 3px; }
.waitlist-small a:hover { color: white; }

/* Inline text link — quiet CTA that doesn't compete with buttons/badges */
.text-link {
  font-size: 15px; font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.text-link:hover { color: var(--primary-hover, #5a3dd1); text-decoration: underline; text-underline-offset: 3px; }

/* Hero mockup — real iOS app screenshot replaces HTML phone-frame */
.hero-mockup {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 24px 60px rgba(107, 75, 230, 0.28))
    drop-shadow(0 8px 24px rgba(16, 14, 32, 0.12));
}

/* Phone frame — dark, sits on light with violet-tinted shadow */
.phone-frame {
  width: 340px; aspect-ratio: 9/19;
  margin: 0 auto;
  background: #0A0A0F;
  border: 8px solid #18161D;
  border-radius: 44px;
  padding: 0;
  box-shadow: var(--elevation-brand);
  position: relative;
  overflow: hidden;
}
.phone-frame::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px; background: #000; border-radius: var(--r-full);
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 36px;
  background: #141218;
  padding: 52px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.phone-header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 18px 16px; border-radius: 18px; color: white;
}
.phone-header-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.phone-header-sub { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.phone-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.phone-chips span {
  font-size: 10px; padding: 4px 10px; border-radius: var(--r-full);
  border: 1px solid #3F3F46; color: #CAC4D0;
}
.phone-chips span.on { background: #4F378B; border-color: #6B4BE6; color: white; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-cover {
  aspect-ratio: 2/3; border-radius: 6px;
  background: linear-gradient(135deg, #2B2930, #1D1B20);
  border: 1px solid #3F3F46;
}
.phone-cover:nth-child(1) { background: linear-gradient(135deg, #7C3AED, #4F378B); border-color: transparent; }
.phone-cover:nth-child(4) { background: linear-gradient(135deg, #EC4899, #831843); border-color: transparent; }
.phone-cover:nth-child(6) { background: linear-gradient(135deg, #0EA5E9, #0369A1); border-color: transparent; }

/* Trust strip */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-10);
  box-shadow: var(--elevation-1);
}
.trust-stat .num { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; color: var(--on-surface); font-variation-settings: "opsz" 72, "SOFT" 20; }
.trust-stat .num.accent { background: linear-gradient(135deg, var(--gradient-start), var(--tertiary)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 22px; }
.trust-stat .lbl { font-size: 13px; color: var(--on-surface-muted); margin-top: 4px; }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.ba-col { border-radius: var(--r-xl); padding: var(--s-8); min-height: 360px; box-shadow: var(--elevation-1); }
.ba-before { background: var(--surface-container); }
.ba-after {
  background: var(--surface);
  border: 1px solid rgba(107,75,230,0.18);
  box-shadow: var(--elevation-3);
  position: relative;
}
.ba-after::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-xl);
  padding: 1.5px; background: linear-gradient(135deg, rgba(107,75,230,0.3), transparent 40%, rgba(190,24,93,0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.ba-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: var(--s-4); }
.ba-before .ba-tag { color: var(--on-surface-muted); }
.ba-after .ba-tag { color: var(--primary); }
.spreadsheet-mock {
  background: #fff; color: #333; border-radius: var(--r-md); padding: 14px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.7; overflow: hidden;
  border: 1px solid var(--hairline);
}
.spreadsheet-mock .row { display: grid; grid-template-columns: 28px 2fr 50px 50px 60px; gap: 4px; border-bottom: 1px solid #ededed; padding: 3px 0; }
.spreadsheet-mock .row.head { font-weight: 700; background: #f7f6f9; margin: -14px -14px 4px; padding: 6px 14px; border-bottom: 1px solid #e6e4ea; }

/* Feature pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }
.pillar { display: flex; flex-direction: column; }
.pillar > p { flex: 1 1 auto; }
.pillar > .shot { margin-top: var(--s-6) !important; }
.pillar .pillar-shot {
  margin-top: var(--s-6); aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-container-low), var(--surface-container));
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--on-surface-muted); font-size: 12px;
}

/* Theme showcase */
.theme-showcase {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-16) var(--s-8);
  text-align: center;
  box-shadow: var(--elevation-2);
  position: relative;
  overflow: hidden;
}
.theme-showcase::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(107,75,230,0.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 75% 80%, rgba(236,72,153,0.04), transparent 60%);
  pointer-events: none;
}
.theme-showcase > * { position: relative; z-index: 1; }
.theme-device {
  width: 260px; aspect-ratio: 9/19; margin: var(--s-8) auto var(--s-6);
  background: #141218;
  border: 8px solid #18161D; border-radius: 36px;
  padding: 44px 10px 10px;
  box-shadow: var(--elevation-brand);
}
.theme-swatches { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }
.theme-sw {
  padding: var(--s-2) var(--s-5); border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; color: white; cursor: pointer;
  transition: all var(--dur) var(--spring);
  box-shadow: var(--elevation-1);
}
.theme-sw:hover { transform: scale(1.05) translateY(-1px); box-shadow: var(--elevation-2); }
.theme-sw.active { transform: scale(1.08); box-shadow: var(--elevation-2); }
.theme-violet { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.theme-ocean { background: linear-gradient(135deg, #0369A1, #0EA5E9); }
.theme-sakura { background: linear-gradient(135deg, #EC4899, #F472B6); }
.theme-ember { background: linear-gradient(135deg, #C2410C, #EA580C); }
.theme-matcha { background: linear-gradient(135deg, #15803D, #16A34A); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.step-num {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--primary-container); color: var(--on-primary-container);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  margin-bottom: var(--s-5);
}
.step-shot {
  margin-top: var(--s-5); aspect-ratio: 16/10;
  background: var(--surface-container-low);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--on-surface-muted); font-size: 12px;
}

/* Roadmap teaser */
.rt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.rt-item {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--elevation-1);
  transition: all var(--dur) var(--spring);
}
.rt-item:hover { transform: translateY(-2px); box-shadow: var(--elevation-2); }
.rt-item.shipped { border-color: rgba(22,163,74,0.2); }
.rt-item.coming { border-color: rgba(107,75,230,0.2); background: linear-gradient(180deg, var(--surface), var(--surface-container-low)); }
.rt-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: var(--s-3); }
.shipped .rt-section-label { color: var(--success); }
.coming .rt-section-label { color: var(--primary); }
.rt-item h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: var(--s-1); color: var(--on-surface); }
.rt-item p { font-size: 12px; color: var(--on-surface-muted); margin-bottom: var(--s-3); }
.pro-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--tertiary-container); color: var(--tertiary);
  text-transform: uppercase;
}

/* Founder moment — editorial pull-quote */
.founder-moment {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex; align-items: center; gap: var(--s-10);
  padding: var(--s-12) var(--s-12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 180, 164, 0.20), transparent 50%),
    radial-gradient(circle at 10% 88%, rgba(168, 132, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #FBF8FF 0%, #F4EEFF 50%, #FCF1EB 100%);
  border: 1px solid rgba(107, 75, 230, 0.16);
  box-shadow:
    0 14px 36px -16px rgba(107, 75, 230, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  isolation: isolate;
}
.founder-moment::before {
  /* Oversized decorative quote mark watermark, anchored at the start of the text column */
  content: "\201C";
  position: absolute;
  top: 12px;
  left: calc(var(--s-12) + 120px + var(--s-10) - 12px);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 200px;
  line-height: 1;
  color: rgba(107, 75, 230, 0.10);
  font-weight: 800;
  pointer-events: none;
  z-index: -1;
}
.founder-avatar {
  position: relative;
  width: 120px; height: 120px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #8665FF 0%, #6B4BE6 45%, #BE185D 115%);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: 52px; font-weight: 800;
  flex-shrink: 0;
  box-shadow:
    0 20px 44px -8px rgba(107, 75, 230, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.founder-avatar::after {
  /* Soft brand halo behind the avatar */
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(107, 75, 230, 0.22), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.founder-moment p {
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--on-surface);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.founder-moment p strong {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--primary) 0%, #BE185D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.founder-moment .meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--on-surface-muted);
  margin-top: var(--s-4);
}
.founder-moment .meta .meta-sep { opacity: 0.4; }
.founder-moment .meta > span:first-child { color: var(--on-surface); font-weight: 600; }
.founder-moment .meta a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: var(--s-2);
  padding-left: var(--s-3);
  border-left: 1px solid rgba(107, 75, 230, 0.25);
}
.founder-moment .meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .founder-moment {
    flex-direction: column;
    text-align: center;
    padding: var(--s-8) var(--s-6);
    gap: var(--s-5);
  }
  .founder-moment::before { display: none; }
  .founder-moment .meta { justify-content: center; }
  .founder-moment .meta a { margin-left: 0; padding-left: 0; border-left: 0; flex-basis: 100%; }
}

/* ===== Waitlist — the DARK anchor section ===== */
.waitlist-wrap { padding: var(--s-12) 0; }
.waitlist {
  background: linear-gradient(135deg, #1a1426 0%, #2d1b4e 45%, #4c1d95 100%);
  border-radius: var(--r-xl);
  padding: var(--s-24) var(--s-8);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(76, 29, 149, 0.45);
}
.waitlist::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(168,85,247,0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(236,72,153,0.25), transparent 60%);
  pointer-events: none;
}
.waitlist > * { position: relative; z-index: 1; }
.waitlist .eyebrow { color: #D0BCFF; }
.waitlist h2 { color: white; margin: var(--s-3) 0 var(--s-4); }
.waitlist p { color: rgba(255,255,255,0.85); margin-bottom: var(--s-10); font-size: 17px; }
.waitlist-form {
  display: flex; gap: var(--s-3); max-width: 560px; margin: 0 auto;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,0.15);
}
.waitlist-input {
  flex: 1; height: 52px; border-radius: var(--r-full);
  border: none; background: transparent; padding: 0 var(--s-5);
  font-size: 15px; color: white; font-family: inherit;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist-input:focus { outline: none; }
.waitlist-btn {
  background: linear-gradient(135deg, #A855F7, #EC4899) !important;
  color: white !important;
  box-shadow: 0 8px 24px -4px rgba(168,85,247,0.5);
}
.waitlist-btn:hover { box-shadow: 0 12px 32px -4px rgba(168,85,247,0.7); transform: translateY(-1px); }
.waitlist-small { color: rgba(255,255,255,0.6) !important; font-size: 13px !important; margin-top: var(--s-5) !important; margin-bottom: 0 !important; }

/* FAQ preview */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.faq-row {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: all var(--dur) var(--spring);
  box-shadow: var(--elevation-1);
}
.faq-row:hover { border-color: rgba(107,75,230,0.3); transform: translateY(-1px); box-shadow: var(--elevation-2); }
.faq-q { font-size: 15px; font-weight: 500; color: var(--on-surface); }
.faq-chev { color: var(--on-surface-muted); transition: transform var(--dur) var(--ease); }

/* Footer */
.footer {
  background: var(--surface-container-low);
  border-top: 1px solid var(--hairline);
  padding: var(--s-16) 0 var(--s-8);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-8); margin-bottom: var(--s-12);
}
.footer-brand p { margin-top: var(--s-3); max-width: 280px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--primary); margin-top: var(--s-4) !important; font-weight: 500; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-surface); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a { font-size: 14px; color: var(--on-surface-variant); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-4);
  padding-top: var(--s-6); border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--on-surface-muted);
}
.footer-disclaimer {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
  font-size: 12px; line-height: 1.5;
  color: var(--on-surface-muted);
  text-align: center;
}
.footer-socials { display: flex; gap: var(--s-3); }
.footer-socials a {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--hairline);
  display: grid; place-items: center; color: var(--on-surface-variant);
  font-size: 12px; font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.footer-socials a:hover { color: var(--primary); border-color: var(--primary); }

/* ============================================
   Mobile menu overlay (light theme)
   ============================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--surface);
  transform: translateY(-100%);
  transition: transform 350ms var(--spring);
  display: flex; flex-direction: column;
  padding: var(--s-6);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu-close {
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--surface-container); border: 1px solid var(--hairline);
  display: grid; place-items: center; cursor: pointer; color: var(--on-surface);
}
.mobile-menu-links {
  display: flex; flex-direction: column; gap: var(--s-1);
  padding: var(--s-6) 0;
}
.mobile-menu-links a {
  display: block; padding: var(--s-4) 0;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--on-surface);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu-links a:last-child { border-bottom: none; }
.mobile-menu-cta {
  margin-top: var(--s-4); text-align: center;
  background: var(--primary); color: var(--on-primary) !important;
  border-radius: var(--r-full); border: none !important;
  padding: var(--s-4) !important;
  font-size: 17px !important;
}
.mobile-menu-discord {
  display: inline-flex !important; align-items: center; gap: var(--s-2);
  background: var(--surface-container); color: var(--on-surface) !important;
  border-radius: var(--r-full); border: none !important;
  padding: var(--s-3) var(--s-5) !important;
  font-size: 15px !important;
  align-self: flex-start;
  margin-top: var(--s-3);
}

/* ============================================
   Klaviyo waitlist form — light-on-dark styling
   (waitlist section is dark, form sits inside it)
   ============================================ */
.waitlist-form-container { max-width: 560px; margin: 0 auto; }
.waitlist-form-container.success .waitlist-form,
.waitlist-form-container.success .platform-select,
.waitlist-form-container.success .consent-wrapper,
.waitlist-form-container.success .consent-error,
.waitlist-form-container.success .waitlist-small { display: none; }

.platform-select {
  margin-top: var(--s-5);
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-3); flex-wrap: wrap;
}
.platform-label {
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.platform-options { display: flex; gap: var(--s-2); }
.platform-option { position: relative; cursor: pointer; }
.platform-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.platform-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--dur) var(--ease);
}
.platform-option input:checked + .platform-btn {
  background: rgba(255,255,255,0.95); color: var(--on-surface);
  border-color: rgba(255,255,255,0.95);
}
.platform-option:hover .platform-btn { background: rgba(255,255,255,0.15); }

.consent-wrapper {
  margin-top: var(--s-5);
  display: flex; gap: var(--s-3); align-items: flex-start;
  text-align: left;
}
.consent-checkbox {
  flex-shrink: 0; width: 18px; height: 18px;
  margin-top: 3px; cursor: pointer;
  accent-color: var(--gradient-end);
}
.consent-label {
  font-size: 13px; line-height: 1.5;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}
.consent-label a { color: #D0BCFF; text-decoration: underline; }
.consent-error {
  display: none; margin-top: var(--s-2);
  font-size: 13px; color: #fca5a5;
  text-align: left;
}
.consent-error.show { display: block; }

.waitlist-success {
  display: none;
  text-align: center;
  padding: var(--s-4) 0;
}
.waitlist-success.show { display: block; }
.success-icon {
  width: 64px; height: 64px; border-radius: var(--r-full);
  background: rgba(22,163,74,0.15); color: #4ade80;
  display: grid; place-items: center; margin: 0 auto var(--s-4);
  border: 2px solid rgba(22,163,74,0.35);
}
.success-icon svg { width: 28px; height: 28px; }
.success-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: white; margin-bottom: var(--s-2);
}
.success-text { color: rgba(255,255,255,0.8); }

/* ============================================
   Screenshot / GIF placeholder system
   ============================================ */
.shot {
  position: relative;
  background: var(--surface-container-low);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--on-surface-muted);
  box-shadow: var(--elevation-1);
}
.shot::before {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--on-surface-muted);
  padding: 4px 10px;
  background: var(--surface);
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  position: relative; z-index: 2;
}
.shot::after {
  /* subtle diagonal stripe pattern so empty placeholders are obviously placeholders */
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0, transparent 12px,
    rgba(107,75,230,0.03) 12px, rgba(107,75,230,0.03) 24px
  );
  pointer-events: none;
}
.shot img, .shot video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  z-index: 3;
}
.shot:has(img)::before, .shot:has(video)::before,
.shot:has(img)::after, .shot:has(video)::after { display: none; }

.shot-phone {
  aspect-ratio: 9 / 19;
  max-width: 340px;
  margin-left: auto; margin-right: auto;
  border-radius: 36px;
  border-width: 8px;
  border-color: #18161D;
  background: #141218;
}
.shot-phone::before { color: rgba(230,225,229,0.6); background: rgba(43,41,48,0.8); border-color: rgba(63,63,70,0.8); }

.shot-landscape { aspect-ratio: 4 / 3; }

.shot-gif { aspect-ratio: 4 / 3; position: relative; }
.shot-gif::before { content: attr(data-label) " · GIF"; }
.shot-gif > .shot-loop-badge {
  position: absolute; top: var(--s-3); right: var(--s-3);
  display: inline-flex; align-items: center; gap: 4px;
  background: #0F0D13;
  color: white;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: var(--r-full);
  z-index: 4;
}
.shot-gif > .shot-loop-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  animation: loop-pulse 1.4s ease-in-out infinite;
}
@keyframes loop-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* SMS phone input — country select + tel input combo */
.phone-input-wrap {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.phone-input-wrap select,
.phone-input-wrap input {
  height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--outline-variant);
  background: var(--surface);
  font-family: inherit; font-size: 16px;
  color: var(--on-surface);
  padding: 0 var(--s-4);
  transition: border-color var(--dur) var(--ease);
}
.phone-input-wrap select:focus,
.phone-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,75,230,0.12);
}
.phone-input-wrap select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2349454F' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--on-surface);
  margin-bottom: var(--s-2);
  letter-spacing: 0.02em;
}

/* SMS page — single focused form layout */
.sms-card {
  max-width: 560px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-12) var(--s-10);
  box-shadow: var(--elevation-2);
  position: relative; overflow: hidden;
}
.sms-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 30% 0%, rgba(107,75,230,0.08), transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 100%, rgba(190,24,93,0.05), transparent 60%);
}
.sms-card > * { position: relative; }
.sms-benefits {
  list-style: none; padding: 0;
  margin: var(--s-6) 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.sms-benefits li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-size: 15px; line-height: 1.5;
  color: var(--on-surface);
}
.sms-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-container);
  margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%237C3AED' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 11 9 15 17 7'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.sms-error {
  display: none;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--error-container);
  color: var(--error);
  font-size: 14px;
  margin-bottom: var(--s-4);
}
.sms-error.show { display: block; }
.sms-success {
  display: none;
  text-align: center;
  padding: var(--s-6) 0;
}
.sms-success.show { display: block; }
.sms-success .success-icon {
  width: 72px; height: 72px; border-radius: var(--r-full);
  background: rgba(22,163,74,0.12); color: var(--success);
  display: grid; place-items: center; margin: 0 auto var(--s-5);
  border: 2px solid rgba(22,163,74,0.3);
}
.sms-success .success-icon svg { width: 32px; height: 32px; }

/* Comparison table — vs-pages */
.compare-table {
  width: 100%; max-width: 820px; margin: 0 auto;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--elevation-1);
}
.compare-table th,
.compare-table td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  background: var(--surface-container-low);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
}
.compare-table thead th.brand { color: var(--primary); }
.compare-table .feature-name { font-weight: 500; color: var(--on-surface); }
.compare-table .check { color: var(--success); font-weight: 700; font-size: 20px; text-align: center; }
.compare-table .cross { color: var(--on-surface-muted); font-weight: 700; text-align: center; }
.compare-table .partial { color: var(--warning); font-style: italic; font-size: 13px; }
.compare-table td.center { text-align: center; }

/* Time-comparison cards (vs-pages) */
.time-compare {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--s-6); align-items: center; max-width: 720px; margin: 0 auto;
}
.time-card {
  text-align: center;
  padding: var(--s-8);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--elevation-1);
}
.time-card.brand {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--gradient-start), var(--tertiary)) border-box;
  box-shadow: var(--elevation-2);
}
.time-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-muted);
}
.time-card.brand .time-label { color: var(--primary); }
.time-value {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 800; line-height: 1;
  margin: var(--s-3) 0 var(--s-2);
  color: var(--on-surface);
  letter-spacing: -0.02em;
}
.time-vs {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--on-surface-muted);
  text-align: center;
}
.time-unit { font-size: 13px; color: var(--on-surface-variant); }

/* Pain-point cards (vs-pages) */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 980px; margin: 0 auto;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--elevation-1);
  text-align: center;
}
/* Platform logo above the name in comparison boxes */
.platform-logo {
  width: 52px; height: 52px;
  margin: 0 auto var(--s-3);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--surface-container-low);
  border: 1px solid var(--hairline);
}
.platform-logo img { width: 100%; height: 100%; object-fit: contain; }
.pain-card .problem h3 {
  font-size: 18px; font-weight: 600;
  color: var(--on-surface);
  margin-bottom: var(--s-2);
}
.pain-card .problem p {
  font-size: 15px; line-height: 1.55;
  color: var(--on-surface-variant);
}
.pain-card .solution {
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.pain-card .solution-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.pain-card .solution-text {
  font-size: 15px; color: var(--on-surface);
  font-weight: 500;
}

/* FAQ category section heading */
.faq-category {
  margin-bottom: var(--s-12);
}
.faq-category-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--on-surface);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--hairline);
}
.faq-category .faq-accordion { max-width: none; }

/* FAQ rich answer support — lists, multiple paragraphs */
.faq-answer-inner ul {
  margin: var(--s-3) 0; padding-left: var(--s-6);
  list-style: disc;
}
.faq-answer-inner li {
  font-size: 15px; line-height: 1.55;
  color: var(--on-surface-variant);
  margin-bottom: 4px;
}
.faq-answer-inner p + p { margin-top: var(--s-3); }

/* Legal pages — privacy / terms / etc. */
.legal-content {
  max-width: 720px; margin: 0 auto;
  font-size: 16px; line-height: 1.7;
  color: var(--on-surface-variant);
}
.legal-updated {
  font-size: 14px; color: var(--on-surface-muted);
  font-style: italic;
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--hairline);
}
.legal-content > p { margin-bottom: var(--s-5); }
.legal-content h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: var(--s-12) 0 var(--s-4);
}
.legal-content h3 {
  font-size: 18px; font-weight: 600;
  color: var(--on-surface);
  margin: var(--s-6) 0 var(--s-3);
}
.legal-content ul {
  margin: var(--s-3) 0 var(--s-5);
  padding-left: var(--s-6);
  list-style: disc;
}
.legal-content li {
  font-size: 16px; line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: var(--s-2);
}
.legal-content strong { color: var(--on-surface); font-weight: 600; }
.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--gradient-end); }

/* Cover thumbnails — used in the before/after section and theme device */
.cover-thumb {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: var(--surface-container);
  box-shadow:
    0 1px 2px rgba(16,14,32,0.08),
    0 4px 12px -2px rgba(16,14,32,0.06);
  transition: transform var(--dur) var(--spring);
}
.cover-thumb:hover { transform: translateY(-2px) scale(1.02); }

/* Stat grid — about page market section */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.stat-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-8) var(--s-5);
  text-align: center;
  box-shadow: var(--elevation-1);
  transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease);
}
.stat-item:hover { transform: translateY(-2px); box-shadow: var(--elevation-2); }
.stat-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--gradient-start), var(--tertiary));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-3);
}
.stat-label {
  font-size: 14px; line-height: 1.4;
  color: var(--on-surface-variant);
}

/* Phase cards — Track / Trade / Shop vision */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.phase-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  box-shadow: var(--elevation-1);
  position: relative;
}
.phase-card.now {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--gradient-start), var(--tertiary)) border-box;
  box-shadow: var(--elevation-3);
}
.phase-marker {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-surface-muted);
  margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: var(--s-2);
}
.phase-card.now .phase-marker { color: var(--primary); }
.phase-marker .when {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  letter-spacing: 0.02em; text-transform: none;
  color: var(--on-surface-muted);
}
.phase-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on-surface);
  margin-bottom: var(--s-3);
}
.phase-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--on-surface-variant);
}

/* Editorial prose — wider variant for founder narrative */
.prose-wide {
  max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.7;
  color: var(--on-surface);
}
.prose-wide p {
  margin-bottom: var(--s-5);
}
.prose-wide p:last-child { margin-bottom: 0; }
.prose-wide em { font-style: italic; color: var(--primary); }
.prose-wide strong { font-weight: 600; }

/* Pull-quote — for punchline moments inside prose-wide */
.pull-quote {
  max-width: 760px;
  margin: var(--s-10) auto 0;
  padding: var(--s-8) var(--s-10);
  background: linear-gradient(135deg, rgba(107,75,230,0.08), rgba(236,72,153,0.05));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--on-surface);
}

/* Founder section — expressive M3 wrapper around the bio */
.founder-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #FFF7ED 0%, #F5F3FF 50%, #FCE7F3 100%);
}
.founder-section > .container { position: relative; }


/* Sub-page hero — smaller than homepage, centered */
.page-hero {
  position: relative;
  padding: var(--s-12) 0 var(--s-16);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(107,75,230,0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(190,24,93,0.05), transparent 65%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero .eyebrow { display: inline-block; margin-bottom: var(--s-3); }
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* Editorial prose — narrative paragraphs (about, vs-pages, etc.) */
.prose {
  max-width: 680px; margin: 0 auto;
  font-size: 18px; line-height: 1.7;
  color: var(--on-surface);
}
.prose p { margin-bottom: var(--s-5); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose .pull-quote {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-style: italic;
  font-size: 28px; line-height: 1.35; font-weight: 500;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding: var(--s-4) 0 var(--s-4) var(--s-6);
  margin: var(--s-8) 0;
}
.prose h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-size: 28px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: var(--s-10) 0 var(--s-4);
}

/* Founder split — portrait + bio */
.founder-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-12);
  max-width: 980px; margin: 0 auto;
  align-items: start;
}
.founder-portrait {
  width: 280px; height: 340px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 120px; font-weight: 800;
  line-height: 1;
  box-shadow: var(--elevation-3);
  position: sticky; top: var(--s-20);
}
.founder-bio h2 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--on-surface);
  margin-bottom: 4px;
}
.founder-bio .role {
  font-size: 14px; color: var(--primary);
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: var(--s-6);
}
.founder-bio p {
  font-size: 17px; line-height: 1.65;
  color: var(--on-surface);
  margin-bottom: var(--s-4);
}
.founder-bio .signature {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--on-surface-variant);
}
.founder-bio .signature .name {
  font-weight: 700; color: var(--primary); margin-top: 4px;
}

/* Values grid — 3 columns of manifesto cards (about, etc.) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-10) var(--s-8) var(--s-8);
  box-shadow: var(--elevation-1);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elevation-2);
}
/* Distinct soft gradient per card */
.value-card:nth-child(1) {
  background: linear-gradient(160deg, #F5F3FF 0%, #FFFFFF 75%);
  border-color: rgba(107,75,230,0.18);
}
.value-card:nth-child(2) {
  background: linear-gradient(160deg, #FCE7F3 0%, #FFFFFF 75%);
  border-color: rgba(190,24,93,0.18);
}
.value-card:nth-child(3) {
  background: linear-gradient(160deg, #FEF3C7 0%, #FFFFFF 75%);
  border-color: rgba(217,119,6,0.18);
}
.value-num {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: var(--s-6);
}
.value-card:nth-child(2) .value-num { color: #BE185D; }
.value-card:nth-child(3) .value-num { color: #D97706; }
.value-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: var(--s-4);
}
.value-card p {
  font-size: 16px; line-height: 1.6;
  color: var(--on-surface-variant);
}

/* Centered CTA card (sub-page footer CTAs) */
.cta-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-16) var(--s-8);
  text-align: center;
  max-width: 720px; margin: 0 auto;
  box-shadow: var(--elevation-2);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, rgba(107,75,230,0.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(190,24,93,0.04), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card h2 { margin-bottom: var(--s-4); }
.cta-card p { margin-bottom: var(--s-8); max-width: 520px; margin-left: auto; margin-right: auto; }


/* More Features — compact 3-column grid for the "everything else" section */
.more-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
@media (max-width: 900px) {
  .more-features { grid-template-columns: repeat(2, 1fr); }
}
.more-feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.more-feature:hover {
  border-color: rgba(107,75,230,0.22);
  transform: translateY(-1px);
  box-shadow: var(--elevation-1);
}
.more-feature h4 {
  font-size: 16px; font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  justify-content: center;
}
.more-feature p {
  font-size: 14px; line-height: 1.5;
  color: var(--on-surface-variant);
}

/* Pricing — Free vs Pro side-by-side */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 880px; margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-10) var(--s-8);
  position: relative;
  box-shadow: var(--elevation-1);
}
.pricing-card.pro {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--gradient-start), var(--tertiary)) border-box;
  box-shadow: var(--elevation-3);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--tertiary));
  color: white; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 8px 20px -4px rgba(107,75,230,0.4);
}
.pricing-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-size: 24px; font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--s-2);
}
.pricing-price {
  display: baseline;
  margin-bottom: var(--s-2);
}
.pricing-price .amount {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 48px; font-weight: 800; line-height: 1;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}
.pricing-price .period {
  font-size: 16px; color: var(--on-surface-muted);
  margin-left: 6px;
}
.pricing-note {
  font-size: 13px; color: var(--on-surface-muted);
  margin-bottom: var(--s-6);
}
/* 7-day free trial chip — PRO card only */
.pricing-trial {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s-3); margin-bottom: var(--s-3);
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #FFF4D6 0%, #FFE9A8 100%);
  border: 1px solid rgba(140, 90, 0, 0.18);
  color: #6E4500;
  font-family: var(--font-body);
  font-size: 13px; line-height: 1;
  letter-spacing: 0.005em;
}
.pricing-trial svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: #B27800;
}
.pricing-trial strong { font-weight: 700; }
.pricing-features {
  list-style: none; padding: 0;
  margin: var(--s-6) 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-size: 15px; line-height: 1.5;
  color: var(--on-surface);
}
.pricing-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success);
  margin-top: 2px;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 9 7.5 12.5 14 6'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.pricing-card.pro .pricing-features li::before {
  background-color: var(--tertiary);
}
.pricing-cta {
  width: 100%;
  margin-top: var(--s-2);
}

/* Pricing footer note */
.pricing-footer-note {
  text-align: center;
  margin-top: var(--s-8);
  font-size: 14px;
  color: var(--on-surface-muted);
}

/* FAQ accordion with answers */
.faq-accordion {
  display: flex; flex-direction: column; gap: var(--s-3);
  max-width: 820px; margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: rgba(107,75,230,0.18); }
.faq-item.open { border-color: rgba(107,75,230,0.3); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  font-size: 16px; font-weight: 500;
  color: var(--on-surface);
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit;
}
.faq-icon {
  flex-shrink: 0; margin-left: var(--s-4);
  width: 20px; height: 20px;
  color: var(--on-surface-muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 350ms var(--ease);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 var(--s-6) var(--s-5);
  font-size: 15px; line-height: 1.6;
  color: var(--on-surface-variant);
}

/* Trust line — editorial replacement for the 4-card trust strip */
.trust-line {
  max-width: 900px; margin: 0 auto;
  text-align: center;
  padding: var(--s-6) 0;
}
.trust-line p {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}
.trust-line strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--tertiary));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.trust-line .trust-meta {
  margin-top: var(--s-4);
  font-family: var(--font-body); font-size: 17px;
  line-height: 1.55;
  color: var(--on-surface-muted);
  letter-spacing: 0;
}

/* Split steps — editorial replacement for 3-card how-it-works */
.split-steps { display: flex; flex-direction: column; gap: var(--s-20); }
.split-step {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-16); align-items: center;
}
.split-step.reverse > .split-step-text { order: 2; }
.split-step-text { max-width: 520px; }
.split-step.reverse > .split-step-text { margin-left: auto; }
.split-step-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 88px; line-height: 0.9; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-4);
}
.split-step h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  font-size: clamp(28px, 3vw, 36px); line-height: 1.15;
  font-weight: 700; letter-spacing: -0.015em;
  color: var(--on-surface);
  margin-bottom: var(--s-4);
}
.split-step p {
  font-size: 17px; line-height: 1.6;
  color: var(--on-surface-variant);
}
.split-step p strong { color: var(--on-surface); font-weight: 600; }

/* Changelog list — editorial replacement for built-in-public 4-card grid */
.changelog {
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid var(--hairline);
}
/* Status-colored left rail per roadmap group */
.changelog.rail {
  border-top: 0;
  border-left: 3px solid var(--hairline);
  padding-left: var(--s-6);
}
.changelog.rail .changelog-item:first-child { padding-top: 0; }
.changelog.rail-done { border-left-color: rgba(22,163,74,0.45); }
.changelog.rail-next { border-left-color: rgba(107,75,230,0.45); }
.changelog.rail-exploring { border-left-color: rgba(100,116,139,0.35); }

/* Roadmap status pill — replaces plain colored eyebrow */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status-pill.done { background: rgba(22,163,74,0.12); color: var(--success); }
.status-pill.done::before { background: var(--success); }
.status-pill.next { background: rgba(107,75,230,0.12); color: var(--primary); }
.status-pill.next::before { background: var(--primary); box-shadow: 0 0 0 3px rgba(107,75,230,0.15); }
.status-pill.exploring { background: var(--surface-container); color: var(--on-surface-muted); }
.status-pill.exploring::before { background: var(--on-surface-muted); }
.changelog-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: baseline;
  padding: var(--s-6) var(--s-2);
  border-bottom: 1px solid var(--hairline);
  transition: background var(--dur) var(--ease);
}
.changelog-item:hover { background: var(--surface-container-low); }
.changelog-body h4 {
  font-family: var(--font-body);
  font-size: 19px; font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
}
.changelog-body p {
  font-size: 15px; line-height: 1.5;
  color: var(--on-surface-variant);
  max-width: 62ch;
}
.changelog-status {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.changelog-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
}
.changelog-status.shipped { color: var(--success); }
.changelog-status.shipped::before { background: var(--success); }
.changelog-status.coming { color: var(--primary); }
.changelog-status.coming::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,75,230,0.15);
}
/* PRO marker — refined thin-outline amber label (replaces gradient pill) */
.pro-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #9A6A00;
  border: 1px solid rgba(154, 106, 0, 0.4);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.5;
}

/* "Only on Manga Vault" — editorial line that replaces the EXCLUSIVE pill */
.only-here {
  display: block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin: -2px 0 8px;
}

/* Feature filter chips — single filterable catalog grid */
.feature-filters {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  justify-content: center;
  margin: 0 0 var(--s-8);
}
.feature-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--on-surface-variant);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.feature-chip:hover {
  border-color: rgba(107, 75, 230, 0.35);
  color: var(--on-surface);
}
.feature-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.feature-chip .chip-count {
  font-size: 12px; font-weight: 600;
  opacity: 0.7;
}
.more-feature[hidden] { display: none; }
.more-feature {
  /* allow smooth filter — no layout jump */
  animation: feature-fade var(--dur) var(--ease);
}
@keyframes feature-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Competitive comparison (vs section) */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 920px;
  margin: 0 auto;
}
.vs-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-8);
  box-shadow: var(--elevation-1);
  text-align: center;
}
.vs-name {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-surface-muted);
  margin-bottom: var(--s-2);
}
.vs-weak {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.5; font-weight: 500;
  color: var(--on-surface);
  letter-spacing: -0.005em;
}
.vs-callout {
  position: relative;
  max-width: 820px;
  margin: var(--s-12) auto 0;
  padding: var(--s-10) var(--s-12);
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #8665FF 0%, #6B4BE6 45%, #4F2DCC 100%);
  border-radius: 28px;
  text-align: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 24px 64px -16px rgba(107, 75, 230, 0.42),
    0 4px 12px -2px rgba(16, 14, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.vs-callout:hover {
  transform: translateY(-2px);
  box-shadow:
    0 32px 72px -16px rgba(107, 75, 230, 0.52),
    0 6px 16px -2px rgba(16, 14, 32, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.vs-callout::after {
  /* Soft warm-pink orb in the upper-right corner */
  content: "";
  position: absolute;
  top: -35%;
  right: -12%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 140, 200, 0.32), transparent 65%);
  pointer-events: none;
  filter: blur(28px);
  z-index: -1;
}
.vs-callout-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--s-5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.vs-callout-tag svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vs-callout p {
  position: relative;
  color: white;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 660px;
  margin: 0 auto;
}
.vs-callout p strong {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, #FFE9A8 0%, #FFB4A4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 600px) {
  .vs-callout { padding: var(--s-8) var(--s-6); border-radius: 24px; }
}

/* Floating pill CTA */
.floating-cta {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--primary); color: white; padding: 14px 24px;
  border-radius: var(--r-full); font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 40px -8px rgba(107,75,230,0.5);
  z-index: 40; opacity: 0; pointer-events: none;
  transition: all var(--dur) var(--spring);
  cursor: pointer;
}
.floating-cta.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-right .nav-discord { display: none; }
  .nav-mobile-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: var(--r-sm);
    background: var(--surface-container); color: var(--on-surface);
    border: 1px solid var(--hairline);
  }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .hero-grid > div:first-child { padding-left: 0; }
  .hero-grid > div:last-child { order: -1; }
  .trust { grid-template-columns: repeat(2, 1fr); padding: var(--s-6); gap: var(--s-4); }
  .ba-grid, .pillars, .steps, .rt-grid, .vs-grid { grid-template-columns: 1fr; }
  .split-step { grid-template-columns: 1fr; gap: var(--s-6); }
  .split-step.reverse > .split-step-text { order: 0; }
  .split-step-num { font-size: 64px; }
  .split-steps { gap: var(--s-12); }
  .trust-line p { font-size: 22px; }
  .changelog-item { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-5) var(--s-2); }
  .changelog-status { justify-self: start; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--s-8) var(--s-6); }
  .more-features { grid-template-columns: 1fr; }
  .founder-split { grid-template-columns: 1fr; gap: var(--s-8); }
  .founder-portrait { position: static; width: 200px; height: 240px; font-size: 80px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-grid { grid-template-columns: 1fr; }
  .time-compare { grid-template-columns: 1fr; gap: var(--s-3); }
  .time-vs { padding: var(--s-1) 0; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: var(--s-3); }
  .sms-card { padding: var(--s-10) var(--s-6); }
  .phone-input-wrap { grid-template-columns: 90px 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .founder-moment { flex-direction: column; text-align: center; }
  section { padding: var(--s-16) 0; }
  .waitlist { padding: var(--s-16) var(--s-5); }
  .waitlist-form { flex-direction: column; background: transparent; border: none; padding: 0; gap: var(--s-3); }
  .waitlist-input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
}

/* =================================================
   FEATURES PAGE — mirrors live page structure
   (icon-grid + alternating highlight blocks)
   ================================================= */

/* Section header pattern (label + h2 + subtitle) */
.section-header {
  max-width: 760px;
  margin: 0 auto var(--s-12);
  text-align: center;
}
.section-header .section-label {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-3);
}
.section-header h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: var(--s-3);
}
.section-header .section-subtitle {
  font-size: 17px; line-height: 1.55;
  color: var(--on-surface-muted);
  max-width: 580px; margin: 0 auto;
}

/* Differentiator section */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.differentiator-card {
  background: linear-gradient(135deg, rgba(107,75,230,0.05), rgba(107,75,230,0.02));
  border: 1px solid rgba(107,75,230,0.18);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.differentiator-card:hover {
  transform: translateY(-3px);
  border-color: rgba(107,75,230,0.4);
  box-shadow: 0 12px 32px rgba(107,75,230,0.08);
}

/* Feature icon — color variants */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-5);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.purple { background: rgba(107,75,230,0.10); color: var(--primary); }
.feature-icon.pink   { background: rgba(190,24,93,0.10);  color: #BE185D; }
.feature-icon.cyan   { background: rgba(8,145,178,0.10);  color: #0891B2; }
.feature-icon.green  { background: rgba(22,163,74,0.10);  color: #16A34A; }
.feature-icon.orange { background: rgba(217,119,6,0.10);  color: #D97706; }
.differentiator-card .feature-icon { width: 64px; height: 64px; border-radius: 18px; }
.differentiator-card .feature-icon svg { width: 32px; height: 32px; }

/* Feature shot — mini UI screenshot tile (replaces .feature-icon) */
.feature-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--surface-container-low), var(--surface-container));
  border: 1px solid var(--hairline);
  margin: 0 auto var(--s-6);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.feature-shot::after {
  content: attr(data-label);
  font-size: 11px;
  color: var(--on-surface-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 var(--s-4);
  text-align: center;
}
.feature-shot:has(img)::after { content: none; }
.feature-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feature-shot.purple { background: linear-gradient(135deg, rgba(107,75,230,0.07), rgba(107,75,230,0.02)); border-color: rgba(107,75,230,0.18); }
.feature-shot.pink   { background: linear-gradient(135deg, rgba(190,24,93,0.07),  rgba(190,24,93,0.02));  border-color: rgba(190,24,93,0.18); }
.feature-shot.cyan   { background: linear-gradient(135deg, rgba(8,145,178,0.07),  rgba(8,145,178,0.02));  border-color: rgba(8,145,178,0.18); }
.feature-shot.green  { background: linear-gradient(135deg, rgba(22,163,74,0.07),  rgba(22,163,74,0.02));  border-color: rgba(22,163,74,0.18); }
.feature-shot.orange { background: linear-gradient(135deg, rgba(217,119,6,0.07),  rgba(217,119,6,0.02));  border-color: rgba(217,119,6,0.18); }

/* Feature card content */
.feature-title {
  font-family: var(--font-body);
  font-size: 20px; font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; justify-content: center;
}
.differentiator-card .feature-title { font-size: 22px; }
.feature-description {
  font-size: 15px; line-height: 1.55;
  color: var(--on-surface-variant);
}
.differentiator-card .feature-description { font-size: 16px; }

/* Feature tags (small pill row at bottom of cards) */
.feature-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px; margin-top: var(--s-4);
  justify-content: center;
}
.feature-tag {
  font-size: 12px; font-weight: 500;
  color: var(--on-surface-variant);
  background: var(--surface-container);
  padding: 4px 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--hairline);
}

/* Features grid (Core / Organization / Social / Power) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-8) var(--s-6);
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.feature-card:hover {
  border-color: rgba(107,75,230,0.3);
  transform: translateY(-2px);
  box-shadow: var(--elevation-2);
}

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

/* Highlight section — alternating split blocks */
section.highlight-section {
  padding: var(--s-20) 0;
  background: linear-gradient(180deg, transparent, rgba(107,75,230,0.04), transparent);
}
.highlight-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.highlight-text h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: var(--s-5);
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.highlight-text p {
  font-size: 17px; line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: var(--s-6);
}
.highlight-features {
  display: flex; flex-direction: column;
  gap: 10px;
}
.highlight-feature {
  display: flex; align-items: center;
  gap: var(--s-3);
  font-size: 15px;
  color: var(--on-surface);
}
.highlight-feature svg {
  width: 20px; height: 20px;
  color: #16A34A;
  flex-shrink: 0;
}

/* Visual frames (shared) */
.highlight-visual,
.lending-visual,
.wrapped-visual,
.value-visual {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 320px;
  box-shadow: var(--elevation-1);
}
.scanner-label {
  margin-top: var(--s-5);
  font-family: var(--font-body);
  font-size: 17px; font-weight: 700;
  color: var(--on-surface);
}
.scanner-sublabel {
  font-size: 13px;
  color: var(--on-surface-muted);
  margin-top: 4px;
}

/* Scanner demo (animated) */
.scanner-demo {
  width: 180px; height: 180px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(107,75,230,0.05), rgba(107,75,230,0.02));
  border: 2px solid rgba(107,75,230,0.25);
  position: relative;
  overflow: hidden;
}
.scanner-corners,
.scanner-corners-extra { position: absolute; inset: 20px; }
.scanner-corners::before, .scanner-corners::after,
.scanner-corners-extra::before, .scanner-corners-extra::after {
  content: ''; position: absolute;
  width: 28px; height: 28px;
  border: 3px solid var(--primary);
}
.scanner-corners::before { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.scanner-corners::after { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 6px 0; }
.scanner-corners-extra::before { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.scanner-corners-extra::after { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.scan-line {
  position: absolute; left: 20px; right: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 15px rgba(107,75,230,0.6);
  animation: feature-scan 2s ease-in-out infinite;
}
@keyframes feature-scan {
  0%, 100% { top: 20px; opacity: 0.6; }
  50% { top: calc(100% - 23px); opacity: 1; }
}

/* Lending card demo */
.lending-card-demo {
  background: linear-gradient(145deg, rgba(107,75,230,0.06), rgba(107,75,230,0.02));
  border: 1px solid rgba(107,75,230,0.22);
  border-radius: var(--r-md);
  padding: var(--s-6);
  width: 240px;
}
.lending-shot {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}
/* Override shared frame — phone screenshots don't need a card around them */
.lending-visual,
.wrapped-visual,
.value-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
.wrapped-shot,
.value-shot {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}
.lending-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-4); }
.lending-book-cover {
  width: 48px; height: 68px;
  background: var(--primary);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lending-book-cover svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lending-book-info { text-align: left; }
.lending-book-title { font-size: 14px; font-weight: 700; color: var(--on-surface); }
.lending-book-volume { font-size: 12px; color: var(--on-surface-muted); }
.lending-borrower { display: flex; align-items: center; gap: 8px; margin-bottom: var(--s-3); }
.lending-avatar {
  width: 28px; height: 28px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.lending-borrower-text { font-size: 13px; color: var(--on-surface-variant); text-align: left; }
.lending-borrower-text strong { color: var(--on-surface); }
.lending-return {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline);
}
.lending-return-date { font-size: 12px; color: #D97706; font-weight: 500; }
.lending-remind-btn {
  font-size: 11px; font-weight: 600;
  color: var(--primary);
  background: var(--primary-container);
  border: 1px solid rgba(107,75,230,0.25);
  padding: 6px 12px; border-radius: var(--r-xs);
}

/* Wrapped card demo */
.wrapped-card-demo {
  background: linear-gradient(145deg, rgba(107,75,230,0.10), rgba(107,75,230,0.03));
  border: 1px solid rgba(107,75,230,0.22);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-7);
  width: 260px;
}
.wrapped-month {
  font-size: 12px; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.wrapped-title {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--s-5);
}
.wrapped-stat { margin-bottom: var(--s-4); }
.wrapped-stat-number {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-size: 44px; font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.wrapped-stat-label { font-size: 14px; color: var(--on-surface-variant); margin-top: 2px; }
.wrapped-mini-chart {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 6px; height: 40px; margin-bottom: var(--s-4);
}
.wrapped-bar { width: 16px; background: var(--primary); border-radius: 4px; }
.wrapped-bar:nth-child(1) { height: 60%; }
.wrapped-bar:nth-child(2) { height: 40%; }
.wrapped-bar:nth-child(3) { height: 80%; }
.wrapped-bar:nth-child(4) { height: 100%; }
.wrapped-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: white; background: var(--primary);
  padding: 10px 20px; border-radius: var(--r-sm);
}
.wrapped-share-btn svg { width: 14px; height: 14px; }

/* Value card demo */
.value-card-demo {
  background: linear-gradient(145deg, rgba(107,75,230,0.06), rgba(107,75,230,0.02));
  border: 1px solid rgba(107,75,230,0.22);
  border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-8);
  width: 280px;
}
.value-header {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 6px;
}
.value-header-text {
  font-size: 12px; font-weight: 700;
  color: var(--on-surface-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.value-pro-badge {
  font-size: 9px; font-weight: 700;
  color: #6E4500;
  background: linear-gradient(135deg, #FFE9A8, #F4C45A);
  padding: 2px 6px;
  border-radius: var(--r-xs);
}
.value-amount {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-size: 48px; font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 6px;
  line-height: 1;
}
.value-trend {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700;
  color: #16A34A;
  margin-bottom: var(--s-4);
}
.value-trend svg { width: 16px; height: 16px; }
.value-breakdown {
  display: flex; justify-content: space-between;
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.value-breakdown-item { text-align: center; }
.value-breakdown-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-size: 19px; font-weight: 800;
  color: var(--on-surface);
}
.value-breakdown-label { font-size: 11px; color: var(--on-surface-muted); margin-top: 2px; }
.value-updated { font-size: 11px; color: var(--on-surface-muted); margin-top: var(--s-4); }

/* CTA card */
section.cta-section { padding: var(--s-20) 0; text-align: center; }
.cta-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(107,75,230,0.06), rgba(107,75,230,0.02));
  border: 1px solid rgba(107,75,230,0.2);
  border-radius: var(--r-xl);
  padding: var(--s-12) var(--s-10);
}
.cta-card h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800; line-height: 1.1;
  color: var(--on-surface);
  margin-bottom: var(--s-4);
}
.cta-card p {
  font-size: 17px; line-height: 1.55;
  color: var(--on-surface-variant);
  margin-bottom: var(--s-6);
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  border-radius: var(--r-md);
  color: white;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,75,230,0.30);
}

@media (max-width: 900px) {
  .highlight-content { grid-template-columns: 1fr; gap: var(--s-8); }
  .cta-card { padding: var(--s-10) var(--s-6); }
}

/* ============================================================
   PARTNER LANDING PAGE — co-branded hero, used on /tokyopop and
   future /partners/* templates
   ============================================================ */
.partner-hero {
  position: relative;
  padding: var(--s-16) 0 var(--s-12);
  text-align: center;
  overflow: hidden;
}
.partner-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 35% at 30% 18%, rgba(107,75,230,0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 72% 80%, rgba(217,119,6,0.07), transparent 65%);
  pointer-events: none;
}
.partner-hero > .container { position: relative; z-index: 1; }
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
.partner-logo {
  width: 88px; height: 88px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  padding: var(--s-3);
  box-shadow: var(--elevation-1);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--on-surface);
}
.partner-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.partner-x {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 44px;
  font-weight: 800;
  color: var(--on-surface-muted);
  line-height: 1;
}
.partner-hero h1 {
  margin: var(--s-4) auto var(--s-4);
  max-width: 840px;
}
.partner-hero .lead {
  max-width: 640px;
  margin: 0 auto var(--s-6);
}
.partner-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(107,75,230,0.10);
  color: var(--primary);
  margin-bottom: var(--s-5);
}
.partner-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,75,230,0.15);
}

/* "How it works" steps — uses .values-grid + .value-card pattern,
   no overrides needed beyond what's already shipped on /about */

/* Partner "for publishers" footer line — quiet meta CTA */
.partner-publisher-meta {
  max-width: 680px; margin: 0 auto;
  text-align: center;
  font-size: 14px; line-height: 1.6;
  color: var(--on-surface-muted);
  padding: var(--s-6) var(--s-4);
  border-top: 1px solid var(--hairline);
}
.partner-publisher-meta strong { color: var(--on-surface); font-weight: 700; }

@media (max-width: 900px) {
  .partner-logos { gap: var(--s-3); }
  .partner-logo { width: 72px; height: 72px; }
  .partner-x { font-size: 36px; }
}

/* Mobile-first tuning — partnership page + manifesto cards */
@media (max-width: 600px) {
  /* Partner hero: tighter vertical rhythm */
  .partner-hero { padding: var(--s-10) 0 var(--s-8); }
  .partner-logos { gap: var(--s-2); margin-bottom: var(--s-4); }
  .partner-logo { width: 60px; height: 60px; padding: 6px; }
  .partner-x { font-size: 28px; }
  .partner-hero h1 { margin: var(--s-3) auto; }
  .partner-hero .lead { font-size: 16px; line-height: 1.5; margin-bottom: var(--s-5); }

  /* Manifesto cards: tighter padding + smaller numeral on narrow screens */
  .value-card { padding: var(--s-7) var(--s-6) var(--s-6); }
  .value-num { font-size: 44px; margin-bottom: var(--s-4); }
  .value-card h3 { font-size: 21px; }
  .value-card p { font-size: 15px; }

  /* Publisher meta line: less generous padding */
  .partner-publisher-meta { padding: var(--s-5) var(--s-2); font-size: 13px; }
}
