/* =============================================================
   LearnSnap AI — Website Styles
   Fonts : Poppins (headings) + Inter (body) via Google Fonts
           Fallback: system-ui, sans-serif
   Scale : 4 px spacing grid, 16 px root
   Layout: mobile-first, breakpoints 480 / 768 / 1024 / 1280
   ============================================================= */

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

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Brand palette (from learnsnap-design-system.png) */
  --blue-50:    #EFF6FF;
  --blue-100:   #DBEAFE;
  --blue-400:   #60A5FA;
  --blue-500:   #2563EB;
  --blue-600:   #1D4ED8;
  --blue-700:   #1E40AF;
  --purple-100: #EDE9FE;
  --purple-400: #A78BFA;
  --purple-500: #7C5CFA;
  --purple-600: #6D45F0;
  --indigo-50:  #EEF2FF;

  /* Semantic colours */
  --clr-primary:      #2563EB;
  --clr-primary-dark: #1D4ED8;
  --clr-primary-bg:   #EFF6FF;
  --clr-accent:       #7C5CFA;
  --clr-accent-bg:    #EDE9FE;

  --clr-bg:       #F7FAFF;
  --clr-bg-alt:   #EEF3FF;
  --clr-surface:  #FFFFFF;
  --clr-muted:    #F1F5FD;
  --clr-border:   #E2EAFC;

  --clr-text:     #0F172A;
  --clr-text-2:   #475569;
  --clr-text-3:   #94A3B8;
  --clr-white:    #FFFFFF;

  --clr-success:  #059669;
  --clr-warning:  #D97706;
  --clr-error:    #DC2626;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #2563EB 0%, #7C5CFA 100%);
  --grad-hero:    linear-gradient(155deg, #EEF3FF 0%, #F7FAFF 55%, #F3EEFF 100%);
  --grad-section: linear-gradient(180deg, #F7FAFF 0%, #EEF3FF 100%);

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(42, 99, 234, .06);
  --sh-sm:  0 1px 6px rgba(42, 99, 234, .08), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:  0 4px 16px rgba(42, 99, 234, .10), 0 2px 4px rgba(0,0,0,.04);
  --sh-lg:  0 8px 32px rgba(42, 99, 234, .12), 0 4px 8px rgba(0,0,0,.06);
  --sh-btn: 0 2px 10px rgba(37, 99, 235, .35);

  /* Border radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  24px;
  --r-pill: 9999px;

  /* Spacing — 4 px grid */
  --s1:  4px;   --s2:  8px;   --s3:  12px;  --s4:  16px;  --s5:  20px;
  --s6:  24px;  --s8:  32px;  --s10: 40px;  --s12: 48px;  --s14: 56px;
  --s16: 64px;  --s20: 80px;  --s24: 96px;  --s32: 128px;

  /* Typography */
  --ff-head: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-body: 'Inter',   system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs:   .75rem;   /* 12 */
  --fs-sm:   .875rem;  /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-lg:   1.125rem; /* 18 */
  --fs-xl:   1.25rem;  /* 20 */
  --fs-2xl:  1.5rem;   /* 24 */
  --fs-3xl:  1.875rem; /* 30 */
  --fs-4xl:  2.25rem;  /* 36 */
  --fs-5xl:  3rem;     /* 48 */
  --fs-6xl:  3.75rem;  /* 60 */

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0, 0, .2, 1);
  --t-base: 200ms cubic-bezier(0, 0, .2, 1);
  --t-slow: 300ms cubic-bezier(0, 0, .2, 1);

  /* Layout */
  --max-w:    1200px;
  --max-w-p:  760px;   /* policy / content pages */
  --h-nav:    64px;
  --py-sect:  clamp(var(--s12), 6vw, var(--s20));
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── BASE ────────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { opacity: .85; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--clr-text);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ── ACCESSIBILITY ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  padding: var(--s2) var(--s5);
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  z-index: 10000;
  transition: top var(--t-base);
}

.skip-link:focus-visible { top: 0; }

:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s4);
}

@media (min-width: 640px)  { .container { padding-inline: var(--s6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--s8); } }

.section { padding-block: var(--py-sect); }
.section--alt   { background-color: var(--clr-bg-alt); }
.section--white { background-color: var(--clr-surface); }
.section--dark  { background-color: #0F172A; color: var(--clr-white); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s12);
}

.section__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.section__title {
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  font-weight: 700;
  margin-bottom: var(--s4);
}

.section__subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: var(--clr-text-2);
  line-height: 1.65;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  padding: 14px var(--s6);
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast),
    opacity var(--t-fast);
  min-height: 48px;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: var(--r-pill);
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--clr-white);
  box-shadow: var(--sh-btn);
}

.btn--primary:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, .45);
  transform: translateY(-1px);
  opacity: 1;
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--clr-primary-bg);
  opacity: 1;
}

.btn--ghost {
  color: var(--clr-text-2);
}

.btn--ghost:hover {
  background: var(--clr-muted);
  color: var(--clr-text);
  opacity: 1;
}

.btn--coming-soon {
  background: var(--clr-muted);
  color: var(--clr-text-2);
  border-color: var(--clr-border);
  cursor: default;
  pointer-events: none;
}

.btn--danger {
  background: #FEF2F2;
  color: var(--clr-error);
  border-color: #FECACA;
}

.btn--danger:hover {
  background: #FEE2E2;
  opacity: 1;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}

/* ── BADGE / TAG ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--ff-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px var(--s3);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  line-height: 1.5;
}

.badge--primary { background: var(--clr-primary-bg); color: var(--clr-primary); }
.badge--accent  { background: var(--clr-accent-bg);  color: var(--clr-accent);  }
.badge--muted   { background: var(--clr-muted);      color: var(--clr-text-2);  }

/* ── CARD ────────────────────────────────────────────────────── */
.card {
  background: var(--clr-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--sh-sm);
  padding: var(--s6);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

/* ── HEADER / NAVIGATION ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--h-nav);
  background: rgba(247, 250, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--t-base);
}

.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s4);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1;
}

.logo-accent { color: var(--clr-primary); }

/* Desktop navigation */
.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.site-nav a {
  display: block;
  padding: var(--s2) var(--s3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-2);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--clr-primary);
  background: var(--clr-primary-bg);
  opacity: 1;
}

/* Mobile menu toggle */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  margin-left: auto;
  color: var(--clr-text);
  transition: background var(--t-fast);
}

.menu-btn:hover { background: var(--clr-muted); }
.menu-btn svg { pointer-events: none; }

/* Nav overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav drawer */
@media (max-width: 767px) {
  .menu-btn { display: flex; }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 82vw);
    background: var(--clr-surface);
    padding: var(--s16) var(--s6) var(--s6);
    box-shadow: var(--sh-lg);
    transform: translateX(100%);
    transition: transform var(--t-slow);
    overflow-y: auto;
    z-index: 200;
    margin-left: 0;
  }

  .site-nav.is-open { transform: translateX(0); }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s1);
  }

  .site-nav a {
    font-size: var(--fs-base);
    padding: var(--s3) var(--s4);
  }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(var(--s16), 9vw, var(--s32));
  background: var(--grad-hero);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 70% 50%, rgba(124, 92, 250, .07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(37, 99, 235, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--s12);
  }
}

@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 56fr 44fr; }
}

.hero__badge { margin-bottom: var(--s5); }

.hero__title {
  font-size: clamp(var(--fs-3xl), 5.5vw, var(--fs-6xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: var(--s5);
}

.hero__title mark {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.hero__desc {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
  color: var(--clr-text-2);
  line-height: 1.65;
  margin-bottom: var(--s8);
  max-width: 520px;
}

.hero__cta-note {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  margin-top: var(--s3);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__app-icon {
  width: clamp(120px, 24vw, 200px);
  height: auto;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(42, 99, 234, .08);
}

/* ── FEATURES ────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 480px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-bg);
  flex-shrink: 0;
  transition: background var(--t-base);
}

.feature-card:hover .feature-card__icon { background: var(--grad-brand); }

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--clr-primary);
  transition: color var(--t-base);
  flex-shrink: 0;
}

.feature-card:hover .feature-card__icon svg { color: var(--clr-white); }

.feature-card__title {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
}

.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.6;
  margin: 0;
}

.features-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  margin-top: var(--s10);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  text-align: center;
}

.features-note svg {
  width: 16px;
  height: 16px;
  color: var(--clr-primary);
  flex-shrink: 0;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

.step {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
}

@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 23px;
    right: calc(-1 * var(--s3));
    width: var(--s6);
    height: 2px;
    background: linear-gradient(to right, var(--clr-primary), var(--clr-accent));
    opacity: .3;
  }
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: var(--clr-white);
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh-btn);
}

.step__title {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 600;
}

.step__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.65;
}

/* ── SCREENSHOTS ─────────────────────────────────────────────── */
.screenshots-row {
  display: flex;
  gap: var(--s6);
  padding-block: var(--s4);
  padding-inline: var(--s2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-border) transparent;
  justify-content: flex-start;
}

@media (min-width: 860px) {
  .screenshots-row {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: nowrap;
  }
}

.phone-frame {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: clamp(155px, 22vw, 210px);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

.screenshot-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  margin-top: var(--s3);
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── INFO CARDS (account / audience / disclaimer) ────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  padding: var(--s6);
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  box-shadow: var(--sh-xs);
}

.info-card--warn {
  border-color: #FDE68A;
  background: #FFFBEB;
}

.info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-bg);
  margin-bottom: var(--s4);
}

.info-card__icon svg { width: 20px; height: 20px; color: var(--clr-primary); }
.info-card--warn .info-card__icon { background: #FEF3C7; }
.info-card--warn .info-card__icon svg { color: var(--clr-warning); }

.info-card__title {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--s2);
}

.info-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.65;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
}

.footer-inner {
  padding-block: var(--s12) var(--s8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: start; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  margin-bottom: var(--s3);
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
}

.footer-logo .logo-text { color: #F1F5F9; }
.footer-logo .logo-accent { color: #60A5FA; }

.footer-tagline {
  font-size: var(--fs-sm);
  color: #64748B;
  max-width: 280px;
  line-height: 1.5;
  margin-bottom: var(--s5);
}

.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
}

.footer-app-badge svg { width: 14px; height: 14px; }

.footer-nav-col {}

.footer-nav-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
  display: block;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: #64748B;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: #F1F5F9;
  opacity: 1;
}

.footer-bottom {
  padding-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright,
.footer-legal {
  font-size: var(--fs-xs);
  color: #334155;
  line-height: 1.5;
}

/* ── POLICY / CONTENT PAGES ──────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding-block: var(--s16) var(--s12);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero .container { max-width: var(--max-w-p); }

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  margin-bottom: var(--s4);
}

.page-hero__breadcrumb a {
  color: var(--clr-primary);
  text-decoration: none;
}

.page-hero__breadcrumb a:hover { text-decoration: underline; }

.page-hero__breadcrumb span { color: var(--clr-text-3); }

.page-hero__title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 700;
  margin-bottom: var(--s3);
}

.page-hero__meta {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.6;
}

/* Content body */
.page-content {
  max-width: var(--max-w-p);
  margin-inline: auto;
  padding-block: var(--s12);
  padding-inline: var(--s4);
}

@media (min-width: 640px) { .page-content { padding-inline: var(--s6); } }

.page-content h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: var(--s14);
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 2px solid var(--clr-border);
  color: var(--clr-text);
}

.page-content > section:first-child h2,
.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: var(--s8);
  margin-bottom: var(--s3);
  color: var(--clr-text);
}

.page-content p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--clr-text);
  margin-bottom: var(--s5);
}

.page-content p:last-child { margin-bottom: 0; }

.page-content ul {
  list-style: disc;
  padding-left: var(--s6);
  margin-bottom: var(--s5);
}

.page-content ol {
  list-style: decimal;
  padding-left: var(--s6);
  margin-bottom: var(--s5);
}

.page-content li {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--clr-text);
  margin-bottom: var(--s2);
}

.page-content a { font-weight: 500; }
.page-content strong { font-weight: 600; }

/* Callout blocks */
.callout {
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  margin-block: var(--s6);
  border-left: 4px solid var(--clr-primary);
  background: var(--clr-primary-bg);
}

.callout--warn {
  border-color: var(--clr-warning);
  background: #FFFBEB;
}

.callout--success {
  border-color: var(--clr-success);
  background: #ECFDF5;
}

.callout p { margin-bottom: 0; }
.callout p + p { margin-top: var(--s3); }

/* Meta info box */
.meta-box {
  background: var(--clr-muted);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s10);
}

.meta-box dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s5); }

.meta-box dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: start;
  padding-top: 2px;
}

.meta-box dd {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  font-weight: 500;
}

/* ── DELETE ACCOUNT PAGE ─────────────────────────────────────── */
.method-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s6);
  margin-block: var(--s8);
}

@media (min-width: 640px) { .method-card { padding: var(--s6) var(--s8); } }

.method-card__header {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}

.method-card__number {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: var(--clr-white);
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-card__title {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 600;
}

.method-card--secondary { border-style: solid; border-color: var(--clr-border); }
.method-card--primary   { border-color: var(--clr-primary); }

.email-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin-block: var(--s5);
}

.email-template {
  background: #F8FAFC;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--s5);
  font-size: var(--fs-sm);
  line-height: 1.75;
  white-space: pre-wrap;
  font-family: 'Courier New', Courier, monospace;
  color: var(--clr-text);
  margin-block: var(--s4) var(--s3);
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-2);
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 36px;
}

.copy-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.copy-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── SUPPORT / FAQ ───────────────────────────────────────────── */
.support-contact-box {
  background: var(--grad-hero);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--s10) var(--s8);
  text-align: center;
  margin-block: var(--s10);
}

.support-contact-box__title {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--s3);
}

.support-contact-box__desc {
  font-size: var(--fs-base);
  color: var(--clr-text-2);
  margin-bottom: var(--s6);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--s6);
}

.support-contact-box__email {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  word-break: break-all;
}

.support-contact-box__email:hover { text-decoration: underline; }

.faq-list { margin-block: var(--s6); }

.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-item:first-child { border-top: 1px solid var(--clr-border); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) 0;
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-text);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast);
  min-height: 52px;
}

.faq-btn:hover { color: var(--clr-primary); }

.faq-btn__icon {
  width: 20px;
  height: 20px;
  color: var(--clr-text-3);
  flex-shrink: 0;
  transition: transform var(--t-base), color var(--t-fast);
}

.faq-item.is-open .faq-btn { color: var(--clr-primary); }
.faq-item.is-open .faq-btn__icon {
  transform: rotate(180deg);
  color: var(--clr-primary);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow);
}

.faq-item.is-open .faq-answer { max-height: 400px; }

.faq-answer__inner {
  padding-bottom: var(--s5);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.7;
}

/* ── TEXT UTILITIES ──────────────────────────────────────────── */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--clr-text-2); }
.text-sm      { font-size: var(--fs-sm); }

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--s8);
}
