/* StatusLoop — by HephaTech
   Dark theme · purple → pink gradient identity */

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #F8F8FF; color: #0F0F1A;
  padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid #EC4899; outline-offset: 3px; border-radius: 4px; }

:root {
  --bg: #0F0F1A;
  --bg-elevated: #16162A;
  --card: #1A1A2E;
  --surface: #252540;
  --text: #F8F8FF;
  --muted: #9CA3AF;
  --muted-soft: #6B7280;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --purple: #7C3AED;
  --pink: #EC4899;
  --coral: #F97316;
  --mint: #10B981;
  --blue: #3B82F6;
  --gradient: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 1000;
  pointer-events: none;
  transition: width 0.05s linear;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.6);
}

/* Custom scrollbar — matches top progress bar gradient */
* { scrollbar-width: thin; scrollbar-color: var(--purple) #0a0a14; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a14; }
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 100px;
  border: 2px solid #0a0a14;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--pink); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: #0a0a14; }

/* Reveal animations (modern easing) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger, 0ms);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal].is-visible,
  [data-reveal-stagger] > *, [data-reveal-stagger].is-visible > * {
    opacity: 1; transform: none; transition: none;
  }
  .glow, .scroll-progress, .status-pill::before { animation: none !important; }
}

/* Image fade-in */
img { opacity: 0; transition: opacity 0.5s ease; }
img.is-loaded, img[src*=".svg"] { opacity: 1; }

/* Ambient glows */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
}
.glow-1 { width: 540px; height: 540px; background: var(--purple); top: -160px; left: -160px; animation: drift1 22s ease-in-out infinite; }
.glow-2 { width: 460px; height: 460px; background: var(--pink); top: 40%; right: -180px; opacity: 0.28; animation: drift2 28s ease-in-out infinite; }
.glow-3 { width: 380px; height: 380px; background: var(--purple); bottom: -120px; left: 30%; opacity: 0.22; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px, -40px); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -60px); } }

a { color: var(--purple); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--pink); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* Header / Nav */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.brand-text { display: flex; align-items: baseline; }
.brand-mark a { color: var(--muted); text-decoration: none; }
.brand-mark a:hover { color: var(--text); }
.brand-mark .parent { color: var(--muted); }
.brand-mark .slash { color: var(--muted-soft); margin: 0 10px; }
.brand-mark .product {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}
.status-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 var(--pink);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(236, 72, 153, 0); }
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 19px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.5;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff !important;
}
.btn-primary:hover { color: #fff !important; box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4); }
.btn-secondary {
  background: var(--card);
  color: var(--text) !important;
  border-color: var(--line-strong);
}
.btn-secondary:hover { color: var(--text) !important; border-color: rgba(255, 255, 255, 0.2); background: var(--surface); }
.btn.is-soon { cursor: not-allowed; opacity: 0.7; }
.btn.is-soon:hover { transform: none; opacity: 0.7; }
.soon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.18);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
  border: 1px solid rgba(124, 58, 237, 0.4);
}
.btn svg { width: 20px; height: 20px; }

.hero-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta strong { color: var(--text); font-weight: 600; }

/* Phone mockup */
.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}
.phone {
  position: relative;
  width: 270px;
  height: 540px;
  background: linear-gradient(145deg, #2a2a44, #1a1a2e);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0a14;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 16px;
  z-index: 2;
}
.phone-status {
  padding: 14px 22px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}
.phone-content {
  flex: 1;
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.result-card {
  width: 100%;
  background: var(--gradient);
  border-radius: 24px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.4);
}
.result-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  filter: blur(40px);
}
.result-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.result-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.result-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 18px;
}
.result-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trait {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.phone-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
}
.phone-action {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.phone-action.primary { background: rgba(255, 255, 255, 0.95); color: #0a0a14; }

/* Stats band */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Section shell */
section.block { padding: 100px 0; }
.section-eyebrow {
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 720px;
}
.section-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 48px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, 0.4); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Screens showcase */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 96px;
  margin-top: 72px;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }
.showcase-text { max-width: 460px; }
.showcase-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.showcase-text h3 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.showcase-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.showcase-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.showcase-img::before {
  content: '';
  position: absolute;
  inset: 10% -10%;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
}
.showcase-img img {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 32px;
  border: 8px solid #1A1A2E;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #0F0F1A;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step { text-align: left; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 15px; }

/* Categories ribbon */
.categories {
  background: var(--bg-elevated);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.cat-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cat-chip:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.4); }
.cat-emoji { font-size: 18px; }

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 760px;
}
.faq-item p a { color: var(--purple); text-decoration: underline; text-decoration-color: rgba(124, 58, 237, 0.3); text-underline-offset: 2px; }
.faq-item p a:hover { color: var(--pink); }

/* Also from HephaTech */
.also { padding: 100px 0; border-top: 1px solid var(--line); }
.also-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.also-card {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.also-card:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, 0.5); }
.also-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-soft, transparent);
  border: 1px solid var(--line);
}
.also-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.also-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.also-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.55;
}
.also-link {
  font-size: 12px;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA section */
.cta-section {
  padding: 120px 0;
  text-align: center;
}
.cta-card {
  background: var(--gradient);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}
.cta-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-card .hero-buttons { justify-content: center; margin-bottom: 0; position: relative; }
.cta-card .btn-primary {
  background: #fff;
  color: var(--purple) !important;
}
.cta-card .btn-primary:hover { color: var(--purple) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.cta-card .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.cta-card .btn-secondary:hover { color: #fff !important; background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); }

/* Footer */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.footer-col a:hover { color: var(--pink); }
.footer-brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.footer-line {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Back to top */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 60;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
  text-decoration: none;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover { transform: translateY(-2px); color: #fff; opacity: 1; }
.to-top svg { width: 20px; height: 20px; }

/* Legal pages */
.legal-content {
  flex: 1;
  padding: 56px 0 96px;
}
.legal-content .container { max-width: 760px; }
.legal-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content li strong { color: var(--text); font-weight: 600; }
.legal-content strong { color: var(--text); font-weight: 700; }
.legal-content hr { border: none; height: 1px; background: var(--line); margin: 40px 0; }
.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.3);
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--pink); text-decoration-color: rgba(236, 72, 153, 0.4); }
.legal-content .card-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}
.legal-content .card-block p:last-child { margin-bottom: 0; }

/* ─── Modern micro-interactions ────────────────────────────────────── */

/* Animated underlines on text links */
.nav-links a:not(.nav-cta), .footer-col a {
  position: relative; display: inline-block;
}
.nav-links a:not(.nav-cta)::after, .footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.nav-cta):hover::after, .footer-col a:hover::after {
  transform: scaleX(1); transform-origin: left;
}

/* Button arrow shifts on hover */
.btn { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, box-shadow 0.3s ease; }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.97); }

/* Feature card lift */
.feature {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}
.feature:hover { box-shadow: 0 18px 44px rgba(124, 58, 237, 0.18); }

/* Showcase image entrance */
.showcase-img img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; }
.showcase-row:hover .showcase-img img { transform: translateY(-4px) rotate(-1deg); }

/* Step numbers */
.step-num { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.step:hover .step-num { transform: scale(1.1) rotate(-3deg); }

/* Cat chips ripple */
.cat-chip { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.25s ease; }

/* Phone in hero — tilt slightly more on hover */
.phone-stage:hover .phone { animation-play-state: paused; transform: rotate(-2deg); }

/* ─── Comprehensive responsive ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .also-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 72px; }
  .phone-stage { min-height: 420px; }
  .phone { width: 240px; height: 480px; }
  .hero-title { font-size: clamp(40px, 12vw, 72px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  section.block { padding: 64px 0; }
  .section-title { font-size: clamp(28px, 6vw, 40px); }
  .section-lede { font-size: 16px; margin-bottom: 36px; }
  .feature { padding: 24px 22px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 56px 24px; }
  .cta-card h2 { font-size: clamp(30px, 7vw, 44px); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-header .container { position: relative; }
  #primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    padding: 8px;
    background: rgba(15, 15, 26, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 60;
  }
  #primary-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  #primary-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  #primary-nav .nav-links li { width: 100%; }
  #primary-nav .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
  }
  #primary-nav .nav-links a:hover { background: rgba(124, 58, 237, 0.12); color: #fff; }
  #primary-nav .nav-links .nav-cta { text-align: center; margin-top: 4px; padding: 12px 16px; }
  #primary-nav .nav-links a::after { display: none !important; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .site-header { padding: 16px 0; }
  .hero { padding: 32px 0 56px; }
  .hero-title { font-size: clamp(40px, 14vw, 60px); letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .phone { width: 220px; height: 440px; padding: 10px; }
  .phone-screen { border-radius: 28px; }
  .phone-content { padding: 22px 14px 14px; }
  .result-title { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-chip { padding: 10px 14px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .faq-item summary { font-size: 17px; gap: 16px; }
  .showcase { gap: 56px; margin-top: 48px; }
  .showcase-img img { max-width: 240px; }
  .also-card { padding: 22px 20px; gap: 14px; }
  .also-mark { width: 48px; height: 48px; }
  .to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
  .scroll-progress { height: 2px; }
  .legal-content h1 { font-size: 36px; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 44px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; }
  .feature h3 { font-size: 17px; }
  .section-title { font-size: 24px; }
  .cta-card { padding: 48px 18px; }
  .cta-card h2 { font-size: 32px; }
  .brand-mark { font-size: 12px; }
  .brand-mark .product { font-size: 14px; }
}

/* Print */
@media print {
  .ambient, .glow, .to-top, .site-header, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-content { padding: 0; }
  .legal-content .container { max-width: 100%; }
  .legal-content h1, .legal-content h2, .legal-content h3 { color: #000; page-break-after: avoid; -webkit-text-fill-color: #000; }
  .legal-content p, .legal-content li { color: #222; }
  .legal-content a { color: #000; text-decoration: underline; }
  .legal-content .card-block { background: #fafafa; border: 1px solid #ccc; }
  .gradient-text { -webkit-text-fill-color: #000 !important; color: #000 !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { min-height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .showcase-row { grid-template-columns: 1fr; gap: 32px; }
  .showcase-row.reverse { direction: ltr; }
  .showcase { gap: 64px; }
  .also-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .hero { padding: 48px 0 64px; }
  section.block { padding: 64px 0; }
  .stats { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { display: inline-flex; }
  .cta-card { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ===================================================================
   Phone mockups · real component renders for showcase section
   Tokens: bg #0F0F1A, card #1A1A2E, surface #252540, text #F8F8FF,
   muted #9CA3AF, border #333355, brand grad purple→pink, pastel grad pink→yellow
   =================================================================== */
.sl-phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  border: 8px solid #1A1A2E;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px #333355;
  background: #0F0F1A;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.slp-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0F0F1A 0%, #1A1A2E 100%);
  color: #F8F8FF;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.35;
}
.slp-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 16px 4px;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.slp-statusbar .slp-icons { display: inline-flex; gap: 4px; align-items: center; }
.slp-icons i { display: inline-block; width: 6px; height: 6px; background: #F8F8FF; border-radius: 50%; opacity: 0.85; }
.slp-icons .slp-wifi { width: 8px; height: 5px; border-radius: 1.5px; opacity: 1; }
.slp-icons .slp-batt { width: 12px; height: 5px; border-radius: 1px; opacity: 1; }
.slp-pad { padding: 6px 14px 14px; flex: 1; overflow: hidden; }
.slp-pad-tight { padding: 6px 12px 14px; }
.slp-h { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1px; }
.slp-sub { font-size: 9px; color: #9CA3AF; margin-bottom: 8px; }
.slp-discover-head { display: flex; justify-content: space-between; align-items: flex-start; }
.slp-avatar { width: 22px; height: 22px; border-radius: 50%; background: #1A1A2E; border: 1px solid #333355; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #9CA3AF; flex-shrink: 0; margin-top: 2px; }
.slp-search { background: #1A1A2E; border: 1px solid #333355; border-radius: 999px; padding: 6px 12px; display: flex; align-items: center; gap: 8px; font-size: 9px; color: #6B7280; margin-bottom: 10px; }
.slp-search-i { width: 8px; height: 8px; border: 1.2px solid #9CA3AF; border-radius: 50%; flex-shrink: 0; }
.slp-trending { background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%); border-radius: 12px; padding: 10px 12px; position: relative; margin-bottom: 12px; min-height: 64px; }
.slp-trending-eyebrow { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.85; }
.slp-trending h5 { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 3px; line-height: 1.15; }
.slp-trending-meta { font-size: 8px; opacity: 0.85; }
.slp-trending-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.22); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.slp-cat-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 10px; font-weight: 700; }
.slp-cat-link { color: #EC4899; font-size: 8px; }
.slp-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.slp-cat { background: #1A1A2E; border: 1px solid #333355; border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 7px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.1; }
.slp-cat b { font-size: 14px; font-weight: 400; }
.slp-cat-more { background: #252540; color: #9CA3AF; }
.slp-cat-more b { font-size: 9px; font-weight: 700; }

/* Pack detail */
.slp-pack { position: relative; }
.slp-back { position: absolute; left: 12px; top: 30px; width: 24px; height: 24px; border-radius: 50%; background: #1A1A2E; border: 1px solid #333355; display: grid; place-items: center; font-size: 12px; color: #9CA3AF; z-index: 2; }
.slp-pack-glow { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); width: 160px; height: 160px; background: radial-gradient(circle, rgba(236,72,153,0.4) 0%, transparent 70%); pointer-events: none; }
.slp-pack-icon { display: flex; justify-content: center; margin-top: 22px; position: relative; }
.slp-pack-icon span { font-size: 44px; }
.slp-pack-title { text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 6px 0 8px; }
.slp-pack-pills { display: flex; justify-content: center; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
.slp-pack-pill { font-size: 7px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 999px; background: #1A1A2E; border: 1px solid #333355; color: #9CA3AF; text-transform: uppercase; }
.slp-pack-pill.is-pink { background: linear-gradient(135deg, #EC4899, #FBBF24); color: #0F0F1A; border-color: transparent; }
.slp-pack-desc { text-align: center; font-size: 9px; color: #9CA3AF; line-height: 1.45; margin-bottom: 8px; padding: 0 4px; }
.slp-pack-glass { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.slp-pack-glass h6 { font-size: 8px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 6px; opacity: 0.9; text-transform: uppercase; }
.slp-pack-glass ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.slp-pack-glass li { display: flex; align-items: center; gap: 6px; font-size: 8.5px; }
.slp-pack-glass li span { font-size: 11px; }
.slp-cta-btn { width: 100%; background: linear-gradient(135deg, #7C3AED, #EC4899); border: none; color: #fff; font-family: inherit; padding: 10px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; }
.slp-cta-btn strong { font-size: 11px; font-weight: 700; }
.slp-cta-btn span { font-size: 7px; font-weight: 500; opacity: 0.85; }

/* Question */
.slp-q-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.slp-q-close { width: 22px; height: 22px; border-radius: 50%; background: #1A1A2E; border: 1px solid #333355; display: grid; place-items: center; font-size: 12px; color: #9CA3AF; }
.slp-q-count { font-size: 9px; font-weight: 600; color: #9CA3AF; }
.slp-q-spacer { width: 22px; }
.slp-q-progress { height: 4px; border-radius: 2px; background: #252540; overflow: hidden; margin-bottom: 12px; }
.slp-q-progress i { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, #7C3AED, #EC4899); border-radius: 2px; }
.slp-q-pack { display: inline-block; background: #252540; border-radius: 999px; padding: 4px 9px; font-size: 8px; font-weight: 600; margin-bottom: 14px; }
.slp-q-text { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 14px; }
.slp-q-options { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.slp-q-opt { display: flex; align-items: center; gap: 8px; background: #1A1A2E; border: 1px solid #333355; border-radius: 12px; padding: 9px 10px; font-family: inherit; color: #F8F8FF; font-size: 9.5px; font-weight: 500; cursor: pointer; text-align: left; }
.slp-q-opt.is-selected { background: #252540; border: 2px solid transparent; background-image: linear-gradient(#252540, #252540), linear-gradient(135deg, #7C3AED, #EC4899); background-origin: border-box; background-clip: padding-box, border-box; padding: 8px 9px; }
.slp-q-radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #3F3F5C; flex-shrink: 0; position: relative; }
.slp-q-opt.is-selected .slp-q-radio { border-color: transparent; background: linear-gradient(135deg, #7C3AED, #EC4899); }
.slp-q-opt.is-selected .slp-q-radio::after { content: ''; position: absolute; inset: 3px; background: #1A1A2E; border-radius: 50%; }
.slp-q-foot { text-align: center; font-size: 8px; color: #9CA3AF; margin-top: 8px; }

/* Result */
.slp-r-eyebrow { display: block; text-align: center; font-size: 8px; font-weight: 700; letter-spacing: 0.16em; color: #FBBF24; margin: 4px 0 8px; }
.slp-r-glow { position: absolute; left: 50%; top: 35%; transform: translate(-50%, -50%); width: 220px; height: 220px; background: radial-gradient(circle, rgba(236,72,153,0.45) 0%, transparent 65%); pointer-events: none; }
.slp-r-card { position: relative; background: linear-gradient(135deg, #EC4899, #FBBF24); border-radius: 14px; padding: 14px 14px 12px; transform: rotate(-3deg); margin: 4px 8px 12px; box-shadow: 0 14px 32px rgba(236,72,153,0.3); }
.slp-r-card::before { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,0.22); border-radius: 11px; pointer-events: none; }
.slp-r-pack-tag { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.12em; color: #0F0F1A; opacity: 0.7; margin-bottom: 4px; }
.slp-r-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: #0F0F1A; margin-bottom: 4px; }
.slp-r-sub { display: block; font-style: italic; font-size: 9px; color: #0F0F1A; opacity: 0.78; margin-bottom: 6px; }
.slp-r-body { font-size: 8px; color: #0F0F1A; line-height: 1.45; opacity: 0.9; margin-bottom: 8px; }
.slp-r-traits { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.slp-r-traits span { background: rgba(15,15,26,0.18); color: #0F0F1A; font-size: 7px; font-weight: 600; padding: 3px 7px; border-radius: 999px; }
.slp-r-match { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.1em; color: #0F0F1A; opacity: 0.7; margin-bottom: 3px; }
.slp-r-bar { height: 4px; background: rgba(15,15,26,0.18); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.slp-r-bar i { display: block; width: 31%; height: 100%; background: #0F0F1A; }
.slp-r-brand { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.08em; color: #0F0F1A; opacity: 0.65; }
.slp-r-actions { display: flex; gap: 6px; padding: 0 4px; }
.slp-r-save { flex: 0 0 70px; background: #1A1A2E; border: 1px solid #333355; border-radius: 999px; color: #F8F8FF; font-family: inherit; font-size: 9px; font-weight: 600; padding: 8px; cursor: pointer; }
.slp-r-share { flex: 1; background: linear-gradient(135deg, #EC4899, #FBBF24); border: none; border-radius: 999px; color: #0F0F1A; font-family: inherit; font-size: 9px; font-weight: 700; padding: 8px; cursor: pointer; }

/* Share sheet */
.slp-share-bg { flex: 1; padding: 14px; display: flex; align-items: center; justify-content: center; opacity: 0.45; }
.slp-share-bg-card { background: linear-gradient(135deg, #EC4899, #FBBF24); border-radius: 14px; padding: 18px 20px; width: 80%; text-align: center; }
.slp-share-bg-card span { font-size: 8px; font-weight: 800; letter-spacing: 0.12em; color: #0F0F1A; opacity: 0.7; }
.slp-share-bg-card h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: #0F0F1A; line-height: 0.95; letter-spacing: -0.02em; margin-top: 6px; }
.slp-share-sheet { background: #0F0F1A; border-top: 1px solid #252540; padding: 8px 14px 16px; flex-shrink: 0; }
.slp-share-handle { width: 36px; height: 3px; border-radius: 2px; background: #3F3F5C; margin: 0 auto 8px; }
.slp-share-sheet h6 { text-align: center; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.slp-share-sheet p { text-align: center; font-size: 8px; color: #9CA3AF; margin-bottom: 10px; }
.slp-share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; margin-bottom: 10px; }
.slp-share-grid > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.slp-sb { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; color: #fff; }
.slp-sb.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.slp-sb.sc { background: #FFFC00; color: #000; }
.slp-sb.tt { background: #000; }
.slp-sb.wa { background: #25D366; }
.slp-sb.x { background: #1DA1F2; }
.slp-sb.tg { background: #229ED9; }
.slp-sb.dim { background: #1A1A2E; border: 1px solid #333355; color: #F8F8FF; }
.slp-share-grid span { font-size: 7px; color: #9CA3AF; font-weight: 500; }
.slp-share-chain { background: #1A1A2E; border: 1px solid #333355; border-radius: 10px; padding: 7px 10px; }
.slp-share-chain span { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.1em; color: #7C3AED; margin-bottom: 1px; }
.slp-share-chain em { display: block; font-style: normal; font-size: 8px; color: #9CA3AF; }

/* Stats */
.slp-stats-streak { background: #1A1A2E; border: 1px solid #333355; border-radius: 12px; padding: 9px 12px; margin-bottom: 8px; }
.slp-stats-streak-label { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.12em; color: #FBBF24; }
.slp-stats-streak strong { font-family: 'Space Grotesk', 'Inter', sans-serif; display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; color: #F8F8FF; line-height: 1; margin: 4px 0; }
.slp-stats-streak-sub { font-size: 7.5px; color: #9CA3AF; }
.slp-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.slp-stats-card { background: #1A1A2E; border: 1px solid #333355; border-radius: 10px; padding: 7px 9px; }
.slp-stats-card span { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.1em; color: #9CA3AF; }
.slp-stats-card strong { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: #F8F8FF; margin-top: 3px; }
.slp-stats-chain { background: linear-gradient(135deg, #7C3AED, #EC4899); border-radius: 10px; padding: 7px 10px; margin-bottom: 8px; }
.slp-stats-chain span { display: block; font-size: 7px; font-weight: 800; letter-spacing: 0.12em; opacity: 0.85; }
.slp-stats-chain strong { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 22px; font-weight: 800; margin-top: 3px; }
.slp-stats-chain em { font-style: normal; font-size: 9px; font-weight: 500; opacity: 0.85; }
.slp-stats-recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; font-size: 9px; font-weight: 700; }
.slp-stats-link { font-size: 8px; color: #FBBF24; }
.slp-stats-recent { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slp-stats-recent-card { background: #1A1A2E; border: 1px solid #333355; border-radius: 9px; padding: 7px 8px; min-height: 64px; }
.slp-stats-recent-card span { display: block; font-size: 6.5px; font-weight: 800; letter-spacing: 0.1em; color: #A855F7; }
.slp-stats-recent-card strong { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 11px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.slp-stats-recent-card em { font-style: normal; font-size: 7px; color: #9CA3AF; }
.slp-stats-recent-grad { background: linear-gradient(135deg, #EC4899, #FBBF24); border: none; }
.slp-stats-recent-grad span, .slp-stats-recent-grad strong, .slp-stats-recent-grad em { color: #0F0F1A; }
.slp-stats-recent-grad span { opacity: 0.7; }
.slp-stats-recent-grad em { opacity: 0.7; }
.slp-stats-tag-purple { color: #A855F7 !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sl-phone, .slp-r-card, .slp-trending, .slp-cta-btn { transition: none; }
}

/* ─── Legal pages (privacy + terms) ─────────────────────────────── */
.legal-content { padding: 56px 0 96px; }
.legal-content .legal-container { max-width: 780px; margin: 0 auto; }
.legal-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text-primary, #F8F8FF);
}
.legal-content h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-meta {
  font-family: monospace;
  color: var(--text-muted, #9CA3AF);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border, #333355);
}
.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary, #F8F8FF);
}
.legal-content h3 { font-size: 17px; font-weight: 600; margin-top: 28px; margin-bottom: 12px; color: var(--text-primary, #F8F8FF); }
.legal-content p { color: var(--text-muted, #9CA3AF); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.legal-content ul, .legal-content ol {
  color: var(--text-muted, #9CA3AF); font-size: 15px; line-height: 1.75;
  margin-bottom: 16px; padding-left: 22px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content li strong, .legal-content strong { color: var(--text-primary, #F8F8FF); font-weight: 600; }
.legal-content em { font-style: italic; color: var(--text-primary, #F8F8FF); }
.legal-content a { color: #EC4899; text-decoration: underline; text-decoration-color: rgba(236,72,153,0.4); text-underline-offset: 2px; }
.legal-content a:hover { text-decoration-color: #EC4899; }
.legal-content hr { border: none; height: 1px; background: var(--border, #333355); margin: 36px 0; }
.legal-content .placeholder {
  display: inline-block;
  background: rgba(124,58,237,0.18);
  border: 1px dashed #7C3AED;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  color: #C4B5FD;
  font-weight: 500;
}
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-content th, .legal-content td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border, #333355); }
.legal-content th { color: var(--text-primary, #F8F8FF); font-weight: 600; background: var(--card, #1A1A2E); }
.legal-content td { color: var(--text-muted, #9CA3AF); }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 16px; }
.legal-sidebar { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; padding-right: 8px; }
.legal-toc-side h4 { font-family: monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted, #9CA3AF); font-weight: 600; margin-bottom: 14px; }
.legal-toc-side ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; border-left: 1px solid var(--border, #333355); }
.legal-toc-side ol li { margin: 0; }
.legal-toc-side ol a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 13px; color: var(--text-muted, #9CA3AF);
  text-decoration: none; line-height: 1.4;
  transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}
.legal-toc-side ol a:hover { color: var(--text-primary, #F8F8FF); padding-left: 20px; }
.legal-toc-side ol a.is-active { color: #EC4899; border-left-color: #EC4899; font-weight: 500; }
.legal-body { min-width: 0; }
.legal-body h2 { scroll-margin-top: 100px; }

@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-sidebar {
    position: static; max-height: none; overflow: visible;
    margin-bottom: 32px; padding: 22px 26px;
    background: var(--card, #1A1A2E); border: 1px solid var(--border, #333355); border-radius: 14px;
  }
  .legal-toc-side ol { border-left: none; columns: 2; column-gap: 20px; }
  .legal-toc-side ol a { padding: 4px 0; border-left: none; }
  .legal-toc-side ol a:hover { padding-left: 0; }
  .legal-toc-side ol a.is-active { border-left: none; padding-left: 0; }
}
