/* =========================================================
   Scenehalo — sch-main.css
   Electric purple + amber creator-tool palette
   Brand prefix: sch
   ========================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Palette */
  --sch-bg-dark: #0A0D14;
  --sch-bg-dark-alt: #12101C;
  --sch-bg-mid: #1C1830;
  --sch-bg-light: #F6F4FF;
  --sch-bg-white: #FFFFFF;

  /* Foreground tokens */
  --sch-fg-on-dark-primary: #F0ECF9;
  --sch-fg-on-dark-secondary: #9D8BB8;
  --sch-fg-on-light-primary: #0A0D14;
  --sch-fg-on-light-secondary: #4B5563;

  /* Accent */
  --sch-accent: #B44FFF;
  --sch-accent-aa-on-light: #7E22CE;
  --sch-accent-aa-on-dark: #D08EFF;
  --sch-amber: #F59E0B;
  --sch-amber-dark: #D97706;

  /* UI */
  --sch-border-dark: rgba(255,255,255,0.1);
  --sch-border-light: rgba(10,13,20,0.1);
  --sch-radius: 12px;
  --sch-radius-sm: 8px;
  --sch-radius-lg: 20px;

  /* Typography */
  --sch-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --sch-font-body: 'Inter', system-ui, sans-serif;
  --sch-font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Transition */
  --sch-transition: 0.2s ease;
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sch-font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--sch-bg-white);
  color: var(--sch-fg-on-light-primary);
  -webkit-font-smoothing: antialiased;
}
body.sch-page--dark-top { background: var(--sch-bg-dark); }
body.sch-page--light-top { background: var(--sch-bg-light); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
address { font-style: normal; }

/* ── CONTAINERS ─────────────────────────────────────────── */
.sch-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.sch-container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────── */
.sch-eyebrow {
  font-family: var(--sch-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Context-scoped eyebrow colors */
.sch-section--dark .sch-eyebrow,
.sch-section--dark-alt .sch-eyebrow,
.sch-hero .sch-eyebrow,
.sch-footer .sch-eyebrow { color: var(--sch-accent-aa-on-dark); }
.sch-section--light .sch-eyebrow,
.sch-section--white .sch-eyebrow,
.sch-card--light .sch-eyebrow { color: var(--sch-accent-aa-on-light); }

.sch-h1 {
  font-family: var(--sch-font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sch-h2 {
  font-family: var(--sch-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.sch-h3 {
  font-family: var(--sch-font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}
.sch-subhead {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.7;
}

/* Color scoping for headings */
.sch-section--dark .sch-h1,
.sch-section--dark .sch-h2,
.sch-section--dark .sch-h3,
.sch-section--dark p,
.sch-section--dark .sch-subhead,
.sch-hero .sch-h1,
.sch-hero p,
.sch-hero .sch-subhead { color: var(--sch-fg-on-dark-primary); }

.sch-section--dark-alt .sch-h1,
.sch-section--dark-alt .sch-h2,
.sch-section--dark-alt .sch-h3,
.sch-section--dark-alt p,
.sch-section--dark-alt .sch-subhead { color: var(--sch-fg-on-dark-primary); }

.sch-section--light .sch-h1,
.sch-section--light .sch-h2,
.sch-section--light .sch-h3,
.sch-section--light p,
.sch-section--light .sch-subhead,
.sch-section--white .sch-h1,
.sch-section--white .sch-h2,
.sch-section--white .sch-h3,
.sch-section--white p,
.sch-section--white .sch-subhead { color: var(--sch-fg-on-light-primary); }

/* ── NAV ────────────────────────────────────────────────── */
.sch-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--sch-transition), box-shadow var(--sch-transition);
}

/* dark-top: transparent at top, solid on scroll */
body.sch-page--dark-top .sch-nav { background: transparent; }
body.sch-page--dark-top .sch-nav--scrolled { background: var(--sch-bg-dark); box-shadow: 0 1px 0 var(--sch-border-dark); }

/* light-top: always solid dark nav */
body.sch-page--light-top .sch-nav { background: var(--sch-bg-dark); box-shadow: 0 1px 0 var(--sch-border-dark); }

.sch-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.sch-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sch-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

.sch-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.sch-nav__link {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--sch-radius-sm);
  color: rgba(240,236,249,0.8);
  transition: color var(--sch-transition), background var(--sch-transition);
  white-space: nowrap;
}
.sch-nav__link:hover {
  color: var(--sch-fg-on-dark-primary);
  background: rgba(255,255,255,0.06);
}

/* Dropdown */
.sch-nav__dropdown {
  position: relative;
}
.sch-nav__dropdown-toggle {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--sch-radius-sm);
  color: rgba(240,236,249,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--sch-transition), background var(--sch-transition);
}
.sch-nav__dropdown-toggle:hover {
  color: var(--sch-fg-on-dark-primary);
  background: rgba(255,255,255,0.06);
}
.sch-nav__dropdown-toggle .sch-nav__caret {
  font-size: 10px;
  transition: transform var(--sch-transition);
}
.sch-nav__dropdown:hover .sch-nav__caret,
.sch-nav__dropdown.is-open .sch-nav__caret { transform: rotate(180deg); }

.sch-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--sch-bg-mid);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--sch-transition), transform var(--sch-transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.sch-nav__dropdown:hover .sch-nav__dropdown-menu,
.sch-nav__dropdown.is-open .sch-nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sch-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--sch-radius-sm);
  color: rgba(240,236,249,0.85);
  font-size: 14px;
  transition: background var(--sch-transition), color var(--sch-transition);
}
.sch-nav__dropdown-item:hover {
  background: rgba(180,79,255,0.12);
  color: var(--sch-fg-on-dark-primary);
}
.sch-nav__dropdown-item i { color: var(--sch-accent-aa-on-dark); font-size: 14px; width: 16px; }

.sch-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sch-nav__signin {
  font-size: 14px;
  font-weight: 500;
  color: rgba(240,236,249,0.7);
  padding: 6px 12px;
  transition: color var(--sch-transition);
}
.sch-nav__signin:hover { color: var(--sch-fg-on-dark-primary); }

/* Hamburger */
.sch-nav__hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--sch-fg-on-dark-primary);
  font-size: 20px;
}
.sch-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--sch-bg-dark);
  border-top: 1px solid var(--sch-border-dark);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.sch-mobile-menu.is-open { display: flex; }
.sch-mobile-menu__link {
  display: block;
  padding: 12px 16px;
  color: rgba(240,236,249,0.8);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--sch-radius-sm);
  transition: background var(--sch-transition), color var(--sch-transition);
}
.sch-mobile-menu__link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--sch-fg-on-dark-primary);
}
.sch-mobile-menu__divider { height: 1px; background: var(--sch-border-dark); margin: 8px 0; }
.sch-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.sch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sch-font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--sch-radius);
  border: none;
  transition: all var(--sch-transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.sch-btn--sm {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--sch-radius-sm);
}
.sch-btn--lg {
  font-size: 16px;
  padding: 16px 32px;
}

/* Primary purple */
.sch-btn--primary {
  background: var(--sch-accent);
  color: #fff;
}
.sch-btn--primary:hover { background: #9B3FE0; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(180,79,255,0.4); }

/* Primary amber */
.sch-btn--amber {
  background: var(--sch-amber);
  color: var(--sch-bg-dark);
  font-weight: 700;
}
.sch-btn--amber:hover { background: #FBBF24; transform: translateY(-1px); }

/* Outline on dark */
.sch-btn--outline-dark {
  background: transparent;
  color: var(--sch-fg-on-dark-primary);
  border: 1.5px solid rgba(240,236,249,0.3);
}
.sch-btn--outline-dark:hover {
  border-color: var(--sch-fg-on-dark-primary);
  background: rgba(255,255,255,0.05);
}

/* Outline on light */
.sch-btn--outline-light {
  background: transparent;
  color: var(--sch-accent-aa-on-light);
  border: 1.5px solid var(--sch-accent-aa-on-light);
}
.sch-btn--outline-light:hover {
  background: rgba(126,34,206,0.06);
}

/* Ghost on dark */
.sch-btn--ghost-dark {
  background: transparent;
  color: rgba(240,236,249,0.75);
  padding-left: 8px;
  padding-right: 8px;
}
.sch-btn--ghost-dark:hover { color: var(--sch-fg-on-dark-primary); }

/* Nav CTA start button */
.sch-btn--nav {
  background: var(--sch-accent);
  color: #fff;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--sch-radius-sm);
}
.sch-btn--nav:hover { background: #9B3FE0; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.sch-section { padding: 96px 0; }
.sch-section--sm { padding: 64px 0; }
.sch-section--dark { background: var(--sch-bg-dark); }
.sch-section--dark-alt { background: var(--sch-bg-dark-alt); }
.sch-section--mid { background: var(--sch-bg-mid); }
.sch-section--light { background: var(--sch-bg-light); }
.sch-section--white { background: var(--sch-bg-white); }

.sch-section__header {
  text-align: center;
  margin-bottom: 56px;
}
.sch-section__header .sch-eyebrow { margin-bottom: 12px; display: block; }
.sch-section__header .sch-h2 { margin-bottom: 16px; }
.sch-section__header .sch-subhead { max-width: 600px; margin: 0 auto; }

/* ── HERO ────────────────────────────────────────────────── */
.sch-hero {
  position: relative;
  background: var(--sch-bg-dark);
  padding: 160px 24px 96px;
  overflow: hidden;
}
.sch-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sch-hero__content .sch-eyebrow { margin-bottom: 16px; display: block; }
.sch-hero__content .sch-h1 { margin-bottom: 24px; color: var(--sch-fg-on-dark-primary); }
.sch-hero__content .sch-subhead { margin-bottom: 40px; color: var(--sch-fg-on-dark-secondary); }
.sch-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── STORYBOARD SVG MOCK ─────────────────────────────────── */
.sch-storyboard-mock {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.sch-storyboard-mock__panel {
  flex: 1;
  background: var(--sch-bg-mid);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius-sm);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sch-storyboard-mock__frame {
  aspect-ratio: 9/16;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(180,79,255,0.15) 0%, rgba(28,24,48,0.8) 100%);
  border: 1px solid rgba(180,79,255,0.2);
  position: relative;
  overflow: hidden;
}
.sch-storyboard-mock__panel--hook .sch-storyboard-mock__frame {
  background: linear-gradient(135deg, rgba(180,79,255,0.25) 0%, rgba(28,24,48,0.9) 100%);
  border-color: rgba(180,79,255,0.5);
}
.sch-storyboard-mock__label {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.sch-storyboard-mock__panel--hook .sch-storyboard-mock__label { color: var(--sch-accent-aa-on-dark); }
.sch-storyboard-mock__panel--broll .sch-storyboard-mock__label,
.sch-storyboard-mock__panel--close .sch-storyboard-mock__label { color: var(--sch-fg-on-dark-secondary); }

/* ── PRODUCT UI MOCK ─────────────────────────────────────── */
.sch-app-chrome {
  background: var(--sch-bg-dark-alt);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(180,79,255,0.15);
}
.sch-app-chrome__bar {
  background: var(--sch-bg-mid);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--sch-border-dark);
}
.sch-app-chrome__dots {
  display: flex;
  gap: 6px;
}
.sch-app-chrome__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sch-app-chrome__dot--red { background: #FF5F57; }
.sch-app-chrome__dot--yellow { background: #FFBD2E; }
.sch-app-chrome__dot--green { background: #28C840; }
.sch-app-chrome__title {
  font-family: var(--sch-font-mono);
  font-size: 12px;
  color: var(--sch-fg-on-dark-secondary);
  flex: 1;
  text-align: center;
}
.sch-app-chrome__body {
  padding: 20px 24px;
}

/* Shot list rows */
.sch-shot-list { display: flex; flex-direction: column; gap: 2px; }
.sch-shot-row {
  display: grid;
  grid-template-columns: 100px 1fr 56px;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--sch-radius-sm);
  background: rgba(255,255,255,0.025);
  border: 1px solid transparent;
  transition: border-color var(--sch-transition);
}
.sch-shot-row:hover { border-color: rgba(180,79,255,0.2); }
.sch-shot-pill {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
}
.sch-shot-pill--hook { background: rgba(180,79,255,0.2); color: #D08EFF; }
.sch-shot-pill--wide { background: rgba(245,158,11,0.15); color: #F59E0B; }
.sch-shot-pill--mcu { background: rgba(16,185,129,0.15); color: #34D399; }
.sch-shot-pill--broll { background: rgba(59,130,246,0.15); color: #60A5FA; }
.sch-shot-pill--close { background: rgba(239,68,68,0.15); color: #F87171; }
.sch-shot-desc {
  font-size: 13px;
  color: rgba(240,236,249,0.8);
  line-height: 1.5;
}
.sch-shot-duration {
  font-family: var(--sch-font-mono);
  font-size: 11px;
  color: var(--sch-fg-on-dark-secondary);
  text-align: right;
  white-space: nowrap;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.sch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.sch-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33.33% - 8px);
  right: calc(33.33% - 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--sch-accent) 0%, var(--sch-amber) 100%);
  opacity: 0.3;
}
.sch-step { text-align: center; }
.sch-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(180,79,255,0.12);
  border: 1px solid rgba(180,79,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--sch-accent-aa-on-dark);
}
.sch-step__title {
  font-family: var(--sch-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--sch-fg-on-dark-primary);
  margin-bottom: 8px;
}
.sch-step__desc {
  font-size: 14px;
  color: var(--sch-fg-on-dark-secondary);
  line-height: 1.6;
}

/* ── FEATURE CARDS ───────────────────────────────────────── */
.sch-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sch-feature-card {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius-lg);
  padding: 32px;
  transition: box-shadow var(--sch-transition), transform var(--sch-transition);
}
.sch-feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.sch-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--sch-radius-sm);
  background: rgba(180,79,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--sch-accent-aa-on-light);
}
.sch-feature-card .sch-h3 {
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 12px;
}
.sch-feature-card p { color: var(--sch-fg-on-light-secondary); font-size: 15px; }

/* ── USE CASE SPLIT ──────────────────────────────────────── */
.sch-use-case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sch-use-case-card {
  border-radius: var(--sch-radius-lg);
  padding: 48px 40px;
}
.sch-use-case-card--dark {
  background: var(--sch-bg-dark);
}
.sch-use-case-card--light {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
}
.sch-use-case-card--dark .sch-h3 { color: var(--sch-fg-on-dark-primary); margin-bottom: 12px; }
.sch-use-case-card--dark p { color: var(--sch-fg-on-dark-secondary); font-size: 15px; margin-bottom: 24px; }
.sch-use-case-card--light .sch-h3 { color: var(--sch-fg-on-light-primary); margin-bottom: 12px; }
.sch-use-case-card--light p { color: var(--sch-fg-on-light-secondary); font-size: 15px; margin-bottom: 24px; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.sch-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sch-testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius-lg);
  padding: 32px;
}
.sch-testimonial__quote {
  font-size: 15px;
  color: rgba(240,236,249,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.sch-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sch-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(180,79,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sch-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--sch-accent-aa-on-dark);
  flex-shrink: 0;
}
.sch-testimonial__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--sch-fg-on-dark-primary);
}
.sch-testimonial__role {
  font-size: 12px;
  color: var(--sch-fg-on-dark-secondary);
  margin-top: 2px;
}

/* ── PRICING TEASER ──────────────────────────────────────── */
.sch-pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.sch-price-preview {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--sch-transition);
}
.sch-price-preview:hover { border-color: var(--sch-accent-aa-on-light); }
.sch-price-preview--featured {
  border-color: var(--sch-accent);
  box-shadow: 0 0 0 2px rgba(180,79,255,0.1);
}
.sch-price-preview__name {
  font-family: var(--sch-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sch-fg-on-light-secondary);
  margin-bottom: 8px;
}
.sch-price-preview__price {
  font-family: var(--sch-font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--sch-fg-on-light-primary);
  line-height: 1;
}
.sch-price-preview__price sup {
  font-size: 18px;
  font-weight: 400;
  vertical-align: super;
}
.sch-price-preview__period {
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
  margin-top: 4px;
}
.sch-price-preview__featured {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sch-accent-aa-on-light);
  margin-top: 8px;
}

/* ── CTA BAND ────────────────────────────────────────────── */
.sch-cta-band {
  background: var(--sch-bg-dark);
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sch-cta-band__aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.sch-cta-band__content {
  position: relative;
  z-index: 1;
}
.sch-cta-band .sch-h2 { color: var(--sch-fg-on-dark-primary); margin-bottom: 16px; }
.sch-cta-band .sch-subhead { color: var(--sch-fg-on-dark-secondary); margin-bottom: 40px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.sch-footer {
  background: var(--sch-bg-dark);
  padding: 64px 24px 32px;
  border-top: 1px solid var(--sch-border-dark);
}
.sch-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--sch-border-dark);
}
.sch-footer__brand .sch-footer__logo { margin-bottom: 16px; }
.sch-footer__brand .sch-footer__logo img {
  height: 28px;
  width: auto;
  max-width: 160px;
}
.sch-footer__brand p {
  font-size: 14px;
  color: var(--sch-fg-on-dark-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sch-footer__contact {
  font-size: 13px;
  color: var(--sch-fg-on-dark-secondary);
  line-height: 1.8;
}
.sch-footer__contact a {
  color: var(--sch-accent-aa-on-dark);
  transition: color var(--sch-transition);
}
.sch-footer__contact a:hover { color: var(--sch-fg-on-dark-primary); }

.sch-footer__col h4 {
  font-family: var(--sch-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sch-fg-on-dark-secondary);
  margin-bottom: 20px;
}
.sch-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.sch-footer__col ul li a {
  font-size: 14px;
  color: rgba(240,236,249,0.65);
  transition: color var(--sch-transition);
}
.sch-footer__col ul li a:hover { color: var(--sch-fg-on-dark-primary); }

.sch-footer__bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sch-footer__copy {
  font-size: 13px;
  color: rgba(240,236,249,0.4);
}
.sch-footer__legal {
  display: flex;
  gap: 20px;
}
.sch-footer__legal a {
  font-size: 13px;
  color: rgba(240,236,249,0.4);
  transition: color var(--sch-transition);
}
.sch-footer__legal a:hover { color: var(--sch-fg-on-dark-primary); }

/* ── PRICING PAGE ────────────────────────────────────────── */
.sch-pricing-hero {
  background: var(--sch-bg-light);
  padding: 140px 24px 64px;
  text-align: center;
}
.sch-pricing-hero .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 16px; }
.sch-pricing-hero .sch-subhead { color: var(--sch-fg-on-light-secondary); }

.sch-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.sch-toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--sch-fg-on-light-secondary);
}
.sch-toggle-label--active { color: var(--sch-fg-on-light-primary); font-weight: 600; }
.sch-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--sch-accent-aa-on-light);
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: background var(--sch-transition);
}
.sch-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--sch-transition);
}
.sch-toggle.is-annual .sch-toggle__knob { transform: translateX(22px); }
.sch-toggle-save {
  font-family: var(--sch-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #166534;
  background: #D1FAE5;
  padding: 3px 8px;
  border-radius: 4px;
}

.sch-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.sch-pricing-card {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.sch-pricing-card--featured {
  background: var(--sch-bg-dark);
  border-color: var(--sch-accent);
  box-shadow: 0 0 0 3px rgba(180,79,255,0.15), 0 16px 48px rgba(0,0,0,0.2);
}
.sch-pricing-card__badge {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sch-accent);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.sch-pricing-card__name {
  font-family: var(--sch-font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sch-pricing-card--featured .sch-pricing-card__name { color: var(--sch-fg-on-dark-primary); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__name { color: var(--sch-fg-on-light-primary); }

.sch-pricing-card__price {
  font-family: var(--sch-font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.sch-pricing-card--featured .sch-pricing-card__price { color: var(--sch-fg-on-dark-primary); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__price { color: var(--sch-fg-on-light-primary); }
.sch-pricing-card__price sup { font-size: 22px; font-weight: 400; vertical-align: super; }
.sch-pricing-card__price .sch-price-mo { font-size: 16px; font-weight: 400; }

.sch-pricing-card__period {
  font-size: 13px;
  margin-bottom: 8px;
}
.sch-pricing-card--featured .sch-pricing-card__period { color: var(--sch-fg-on-dark-secondary); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__period { color: var(--sch-fg-on-light-secondary); }

.sch-pricing-card__limits {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--sch-radius-sm);
  margin-bottom: 24px;
  line-height: 1.5;
}
.sch-pricing-card--featured .sch-pricing-card__limits { background: rgba(255,255,255,0.06); color: var(--sch-fg-on-dark-secondary); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__limits { background: var(--sch-bg-light); color: var(--sch-fg-on-light-secondary); }

.sch-pricing-card__divider {
  height: 1px;
  margin-bottom: 24px;
}
.sch-pricing-card--featured .sch-pricing-card__divider { background: var(--sch-border-dark); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__divider { background: var(--sch-border-light); }

.sch-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}
.sch-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.sch-pricing-card--featured .sch-pricing-card__feature { color: rgba(240,236,249,0.85); }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__feature { color: var(--sch-fg-on-light-secondary); }
.sch-pricing-card__feature i { color: var(--sch-accent-aa-on-dark); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.sch-pricing-card:not(.sch-pricing-card--featured) .sch-pricing-card__feature i { color: var(--sch-accent-aa-on-light); }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.sch-faq { display: flex; flex-direction: column; gap: 0; }
.sch-faq__item {
  border-bottom: 1px solid var(--sch-border-light);
}
.sch-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: transparent;
  border: none;
  font-family: var(--sch-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--sch-fg-on-light-primary);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.sch-faq__question i {
  color: var(--sch-accent-aa-on-light);
  font-size: 14px;
  transition: transform var(--sch-transition);
  flex-shrink: 0;
}
.sch-faq__item.is-open .sch-faq__question i { transform: rotate(45deg); }
.sch-faq__answer {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--sch-fg-on-light-secondary);
  line-height: 1.7;
}
.sch-faq__item.is-open .sch-faq__answer { display: block; }

/* ── PRICING COMPARISON TABLE ─────────────────────────────── */
.sch-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.sch-comparison-table th,
.sch-comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--sch-border-light);
  font-size: 14px;
  color: var(--sch-fg-on-light-secondary);
}
.sch-comparison-table th {
  font-family: var(--sch-font-display);
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  font-size: 15px;
  background: var(--sch-bg-light);
}
.sch-comparison-table th:first-child,
.sch-comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--sch-fg-on-light-primary);
}
.sch-comparison-table .sch-check { color: var(--sch-accent-aa-on-light); }
.sch-comparison-table .sch-dash { color: var(--sch-border-light); }
.sch-comparison-table tr:hover td { background: var(--sch-bg-light); }
.sch-comparison-table .sch-featured-col {
  background: rgba(180,79,255,0.04);
  border-left: 2px solid rgba(180,79,255,0.2);
  border-right: 2px solid rgba(180,79,255,0.2);
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.sch-subhero {
  background: var(--sch-bg-light);
  padding: 140px 24px 72px;
}
.sch-subhero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sch-subhero__content .sch-eyebrow { margin-bottom: 12px; display: block; }
.sch-subhero__content .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 20px; }
.sch-subhero__content .sch-subhead { color: var(--sch-fg-on-light-secondary); }
.sch-subhero__visual { display: flex; align-items: center; justify-content: center; }

/* Light-top sub-page hero eyebrow color */
.sch-subhero .sch-eyebrow { color: var(--sch-accent-aa-on-light); }

.sch-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.sch-team-card { text-align: center; }
.sch-team-card__portrait {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--sch-radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--sch-bg-light);
}
.sch-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sch-team-card__name {
  font-family: var(--sch-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 4px;
}
.sch-team-card__title {
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
}
.sch-team-card__bio {
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
  margin-top: 10px;
  line-height: 1.6;
}

/* ── TEMPLATES GRID ──────────────────────────────────────── */
.sch-templates-hero {
  background: var(--sch-bg-dark-alt);
  padding: 140px 24px 64px;
  text-align: center;
}
.sch-templates-hero .sch-h1 { color: var(--sch-fg-on-dark-primary); margin-bottom: 16px; }
.sch-templates-hero .sch-subhead { color: var(--sch-fg-on-dark-secondary); }

.sch-template-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.sch-filter-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--sch-border-dark);
  background: transparent;
  color: rgba(240,236,249,0.65);
  cursor: pointer;
  transition: all var(--sch-transition);
}
.sch-filter-btn.is-active,
.sch-filter-btn:hover {
  background: rgba(180,79,255,0.12);
  border-color: rgba(180,79,255,0.4);
  color: var(--sch-fg-on-dark-primary);
}

.sch-templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sch-template-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--sch-transition), transform var(--sch-transition);
  cursor: pointer;
}
.sch-template-card:hover {
  border-color: rgba(180,79,255,0.5);
  transform: translateY(-2px);
}
/* ── TEMPLATE CARD PREVIEW — phone-frame thumbnail ── */
.sch-template-card__preview {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sch-bg-mid) 0%, rgba(180,79,255,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sch-border-dark);
  position: relative;
  overflow: hidden;
}

/* subtle dot-grid background texture */
.sch-template-card__preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(180,79,255,0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* per-format accent tint on the bg */
.sch-template-card__preview--tiktok {
  background: linear-gradient(135deg, #0f0b20 0%, rgba(180,79,255,0.18) 100%);
}
.sch-template-card__preview--reels {
  background: linear-gradient(135deg, #0f1520 0%, rgba(99,102,241,0.2) 100%);
}
.sch-template-card__preview--shorts {
  background: linear-gradient(135deg, #0f1a14 0%, rgba(16,185,129,0.15) 100%);
}
.sch-template-card__preview--product {
  background: linear-gradient(135deg, #1a100f 0%, rgba(245,158,11,0.18) 100%);
}
.sch-template-card__preview--tutorial {
  background: linear-gradient(135deg, #0f0c1a 0%, rgba(139,92,246,0.2) 100%);
}

/* format badge — top-left */
.sch-template-card__format {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--sch-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.65);
  color: var(--sch-amber);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ── PHONE FRAME (9:16 portrait thumbnail) ── */
.sch-phone-frame {
  position: relative;
  z-index: 1;
  width: 66px;
  aspect-ratio: 9/16;
  background: rgba(10,8,22,0.82);
  border: 1.5px solid rgba(180,79,255,0.5);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(180,79,255,0.12), 0 4px 28px rgba(0,0,0,0.65);
}

/* REC indicator */
.sch-phone-frame__rec {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--sch-font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 4px 6px 0;
  align-self: flex-end;
  line-height: 1;
}
.sch-phone-frame__rec-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #ef4444;
  border-radius: 50%;
  animation: sch-rec-blink 1.6s ease-in-out infinite;
}
@keyframes sch-rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* scene area — centre of frame, holds icon */
.sch-phone-frame__scene {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.sch-phone-frame__icon {
  font-size: 22px;
  color: rgba(208,142,255,0.9);
  filter: drop-shadow(0 0 6px rgba(180,79,255,0.6));
}

/* tiktok — white icon for contrast */
.sch-template-card__preview--tiktok .sch-phone-frame__icon {
  color: rgba(220,200,255,0.95);
}
/* reels — indigo accent */
.sch-template-card__preview--reels .sch-phone-frame__icon {
  color: rgba(165,180,252,0.9);
  filter: drop-shadow(0 0 5px rgba(99,102,241,0.55));
}
/* shorts — green accent */
.sch-template-card__preview--shorts .sch-phone-frame__icon {
  color: rgba(110,231,183,0.9);
  filter: drop-shadow(0 0 5px rgba(16,185,129,0.5));
}
/* product — amber accent */
.sch-template-card__preview--product .sch-phone-frame__icon {
  color: rgba(252,211,77,0.92);
  filter: drop-shadow(0 0 5px rgba(245,158,11,0.5));
}
/* tutorial — violet accent */
.sch-template-card__preview--tutorial .sch-phone-frame__icon {
  color: rgba(196,181,253,0.92);
  filter: drop-shadow(0 0 5px rgba(139,92,246,0.5));
}

/* caption placeholder bars */
.sch-phone-frame__caption-area {
  width: 100%;
  padding: 0 5px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sch-phone-frame__caption-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
}
.sch-phone-frame__caption-bar--wide { width: 90%; }
.sch-phone-frame__caption-bar--mid  { width: 68%; }
.sch-phone-frame__caption-bar--short { width: 50%; }

/* progress / scrubber at very bottom */
.sch-phone-frame__timeline {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sch-phone-frame__progress {
  width: 25%;
  height: 100%;
  background: var(--sch-accent);
  border-radius: 1px;
}

/* card body */
.sch-template-card__body { padding: 16px 20px; }
.sch-template-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--sch-fg-on-dark-primary);
  margin-bottom: 4px;
}
.sch-template-card__meta {
  font-size: 12px;
  color: var(--sch-fg-on-dark-secondary);
}

/* ── BLOG ────────────────────────────────────────────────── */
.sch-blog-header {
  background: var(--sch-bg-light);
  padding: 140px 24px 48px;
}
.sch-blog-header .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 12px; }
.sch-blog-header .sch-subhead { color: var(--sch-fg-on-light-secondary); }

.sch-blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.sch-blog-filter {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--sch-border-light);
  background: var(--sch-bg-white);
  color: var(--sch-fg-on-light-secondary);
  cursor: pointer;
  transition: all var(--sch-transition);
}
.sch-blog-filter.is-active,
.sch-blog-filter:hover {
  background: var(--sch-accent-aa-on-light);
  border-color: var(--sch-accent-aa-on-light);
  color: white;
}

.sch-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sch-blog-card {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--sch-transition), transform var(--sch-transition);
}
.sch-blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.sch-blog-card__img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  background: var(--sch-bg-light);
}
.sch-blog-card__body { padding: 24px; }
.sch-blog-card__category {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sch-accent-aa-on-light);
  margin-bottom: 10px;
}
.sch-blog-card__title {
  font-family: var(--sch-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.sch-blog-card:hover .sch-blog-card__title { color: var(--sch-accent-aa-on-light); }
.sch-blog-card__summary {
  font-size: 14px;
  color: var(--sch-fg-on-light-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.sch-blog-card__meta {
  font-size: 12px;
  color: var(--sch-fg-on-light-secondary);
}

/* ── BLOG ARTICLE ────────────────────────────────────────── */
.sch-blog-article-hero {
  background: var(--sch-bg-light);
  padding: 140px 24px 48px;
}
.sch-blog-article-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}
.sch-blog-article-hero .sch-eyebrow { color: var(--sch-accent-aa-on-light); margin-bottom: 16px; display: block; }
.sch-blog-article-hero .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 16px; font-size: clamp(28px, 3.5vw, 44px); }
.sch-blog-article-hero .sch-subhead { color: var(--sch-fg-on-light-secondary); font-size: 18px; margin-bottom: 24px; }
.sch-blog-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
}

.sch-blog-article__cover {
  width: 100%;
  height: auto;
  display: block;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--sch-radius);
}

.sch-blog-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
body.sch-page--light-top .sch-blog-content h2,
body.sch-page--light-top .sch-blog-content h3 {
  font-family: var(--sch-font-display);
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  margin: 48px 0 16px;
}
body.sch-page--light-top .sch-blog-content h2 { font-size: clamp(22px, 2.5vw, 28px); }
body.sch-page--light-top .sch-blog-content h3 { font-size: clamp(18px, 2vw, 22px); }
body.sch-page--light-top .sch-blog-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 24px;
}
body.sch-page--light-top .sch-blog-content ul,
body.sch-page--light-top .sch-blog-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
body.sch-page--light-top .sch-blog-content li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 8px;
}
body.sch-page--light-top .sch-blog-content a {
  color: var(--sch-accent-aa-on-light);
  text-decoration: underline;
}

.sch-blog-related {
  background: var(--sch-bg-light);
  padding: 64px 24px;
}
.sch-blog-related__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sch-blog-related .sch-h3 { color: var(--sch-fg-on-light-primary); margin-bottom: 32px; }

/* ── CHANGELOG ───────────────────────────────────────────── */
.sch-changelog-header {
  background: var(--sch-bg-light);
  padding: 140px 24px 64px;
}
.sch-changelog-header .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 12px; }
.sch-changelog-header .sch-subhead { color: var(--sch-fg-on-light-secondary); }

.sch-changelog { max-width: 760px; margin: 0 auto; }
.sch-changelog-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--sch-border-light);
}
.sch-changelog-entry__date {
  font-family: var(--sch-font-mono);
  font-size: 12px;
  color: var(--sch-fg-on-light-secondary);
  padding-top: 4px;
  text-align: right;
}
.sch-changelog-entry__content .sch-changelog-entry__title {
  font-family: var(--sch-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 12px;
}
.sch-changelog-entry__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sch-changelog-entry__content li {
  font-size: 14px;
  color: var(--sch-fg-on-light-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.sch-changelog-entry__content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sch-accent-aa-on-light);
}
.sch-changelog-badge {
  display: inline-flex;
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.sch-changelog-badge--new { background: rgba(180,79,255,0.12); color: var(--sch-accent-aa-on-light); }
.sch-changelog-badge--fix { background: rgba(16,185,129,0.1); color: #059669; }
.sch-changelog-badge--improvement { background: rgba(245,158,11,0.1); color: #D97706; }

/* ── CONTACT ─────────────────────────────────────────────── */
.sch-contact-hero {
  background: var(--sch-bg-light);
  padding: 140px 24px 64px;
}
.sch-contact-hero .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 12px; }
.sch-contact-hero .sch-subhead { color: var(--sch-fg-on-light-secondary); }

.sch-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.sch-contact-info { }
.sch-contact-info .sch-h3 { color: var(--sch-fg-on-light-primary); margin-bottom: 24px; }
.sch-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--sch-fg-on-light-secondary);
}
.sch-contact-detail i {
  color: var(--sch-accent-aa-on-light);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
}
.sch-contact-detail a { color: var(--sch-accent-aa-on-light); }
.sch-contact-detail a:hover { text-decoration: underline; }

.sch-contact-form { }
.sch-form-group { margin-bottom: 20px; }
.sch-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 8px;
}
.sch-form-input,
.sch-form-textarea,
.sch-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sch-border-light);
  border-radius: var(--sch-radius-sm);
  background: var(--sch-bg-white);
  color: var(--sch-fg-on-light-primary);
  font-size: 15px;
  transition: border-color var(--sch-transition);
  outline: none;
}
.sch-form-input:focus,
.sch-form-textarea:focus,
.sch-form-select:focus { border-color: var(--sch-accent-aa-on-light); }
.sch-form-textarea { resize: vertical; min-height: 120px; }

/* ── AUTH PAGES ──────────────────────────────────────────── */
.sch-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.sch-auth-side--brand {
  background: var(--sch-bg-dark);
  padding: clamp(48px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sch-auth-side--brand .sch-auth__logo { margin-bottom: 64px; }
.sch-auth-side--brand .sch-auth__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}
.sch-auth-brand__headline {
  font-family: var(--sch-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--sch-fg-on-dark-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}
.sch-auth-brand__subhead {
  font-size: 15px;
  color: var(--sch-fg-on-dark-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
}
.sch-auth-brand__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(240,236,249,0.8);
}
.sch-auth-brand__feature i { color: var(--sch-accent-aa-on-dark); font-size: 14px; }

.sch-auth-side--form {
  background: var(--sch-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px);
}
.sch-auth-panel {
  width: 100%;
  max-width: 440px;
}
.sch-auth-panel__header { margin-bottom: 32px; }
.sch-auth-panel__title {
  font-family: var(--sch-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 8px;
}
.sch-auth-panel__sub {
  font-size: 15px;
  color: var(--sch-fg-on-light-secondary);
}
.sch-auth-panel__footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--sch-fg-on-light-secondary);
}
.sch-auth-panel__footer a { color: var(--sch-accent-aa-on-light); font-weight: 500; }
.sch-auth-form { display: flex; flex-direction: column; gap: 16px; }

/* ── FEATURE DEEP PAGES ──────────────────────────────────── */
.sch-feature-hero {
  padding: 140px 24px 80px;
}
.sch-feature-hero--light { background: var(--sch-bg-light); }
.sch-feature-hero--dark { background: var(--sch-bg-dark); }

.sch-feature-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sch-feature-hero--light .sch-feature-hero__content .sch-eyebrow { color: var(--sch-accent-aa-on-light); margin-bottom: 12px; display: block; }
.sch-feature-hero--light .sch-feature-hero__content .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 20px; }
.sch-feature-hero--light .sch-feature-hero__content .sch-subhead { color: var(--sch-fg-on-light-secondary); margin-bottom: 32px; }
.sch-feature-hero--dark .sch-feature-hero__content .sch-eyebrow { color: var(--sch-accent-aa-on-dark); margin-bottom: 12px; display: block; }
.sch-feature-hero--dark .sch-feature-hero__content .sch-h1 { color: var(--sch-fg-on-dark-primary); margin-bottom: 20px; }
.sch-feature-hero--dark .sch-feature-hero__content .sch-subhead { color: var(--sch-fg-on-dark-secondary); margin-bottom: 32px; }

/* Storyboard panel mock (storyboard feature page) */
.sch-storyboard-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sch-storyboard-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius-sm);
  overflow: hidden;
}
.sch-storyboard-panel__frame {
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, rgba(28,24,48,0.9) 0%, rgba(180,79,255,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sch-border-dark);
}
.sch-storyboard-panel__num {
  font-family: var(--sch-font-mono);
  font-size: 20px;
  color: rgba(180,79,255,0.3);
}
.sch-storyboard-panel__desc {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--sch-fg-on-dark-secondary);
  line-height: 1.5;
}

/* Hook demo cards */
.sch-hook-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sch-hook-card {
  background: var(--sch-bg-mid);
  border: 1px solid var(--sch-border-dark);
  border-radius: var(--sch-radius);
  padding: 20px 24px;
}
.sch-hook-card__variant {
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sch-amber);
  margin-bottom: 8px;
}
.sch-hook-card__text {
  font-size: 16px;
  font-weight: 500;
  color: var(--sch-fg-on-dark-primary);
  line-height: 1.5;
}
.sch-hook-card--a { border-left: 3px solid var(--sch-accent); }
.sch-hook-card--b { border-left: 3px solid var(--sch-amber); }
.sch-hook-card--c { border-left: 3px solid #34D399; }

/* ── USE CASES ───────────────────────────────────────────── */
.sch-uc-hero {
  padding: 140px 24px 80px;
}
.sch-uc-hero--light { background: var(--sch-bg-light); }
.sch-uc-hero--dark { background: var(--sch-bg-dark-alt); }
.sch-uc-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sch-uc-hero--light .sch-uc-hero__content .sch-eyebrow { color: var(--sch-accent-aa-on-light); margin-bottom: 12px; display: block; }
.sch-uc-hero--light .sch-uc-hero__content .sch-h1 { color: var(--sch-fg-on-light-primary); margin-bottom: 20px; }
.sch-uc-hero--light .sch-uc-hero__content .sch-subhead { color: var(--sch-fg-on-light-secondary); margin-bottom: 32px; }
.sch-uc-hero--dark .sch-uc-hero__content .sch-eyebrow { color: var(--sch-accent-aa-on-dark); margin-bottom: 12px; display: block; }
.sch-uc-hero--dark .sch-uc-hero__content .sch-h1 { color: var(--sch-fg-on-dark-primary); margin-bottom: 20px; }
.sch-uc-hero--dark .sch-uc-hero__content .sch-subhead { color: var(--sch-fg-on-dark-secondary); margin-bottom: 32px; }

/* Pain points */
.sch-pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sch-pain-card {
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius);
  padding: 28px;
}
.sch-pain-card__icon {
  font-size: 24px;
  color: var(--sch-accent-aa-on-light);
  margin-bottom: 12px;
}
.sch-pain-card .sch-h3 { color: var(--sch-fg-on-light-primary); font-size: 16px; margin-bottom: 8px; }
.sch-pain-card p { color: var(--sch-fg-on-light-secondary); font-size: 14px; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.sch-legal-page {
  background: var(--sch-bg-light);
  padding: 140px 24px 96px;
}
.sch-legal-page .sch-legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
body.sch-page--light-top .sch-legal-page h1 {
  font-family: var(--sch-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--sch-fg-on-light-primary);
  margin-bottom: 8px;
}
body.sch-page--light-top .sch-legal-page h2 {
  font-family: var(--sch-font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--sch-fg-on-light-primary);
  margin: 40px 0 12px;
}
body.sch-page--light-top .sch-legal-page h3 {
  font-family: var(--sch-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--sch-fg-on-light-primary);
  margin: 24px 0 10px;
}
body.sch-page--light-top .sch-legal-page p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--sch-fg-on-light-secondary);
  margin-bottom: 16px;
}
body.sch-page--light-top .sch-legal-page ul,
body.sch-page--light-top .sch-legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
body.sch-page--light-top .sch-legal-page li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--sch-fg-on-light-secondary);
  margin-bottom: 6px;
}
body.sch-page--light-top .sch-legal-page a { color: var(--sch-accent-aa-on-light); }
body.sch-page--light-top .sch-legal-page address {
  font-size: 15px;
  color: var(--sch-fg-on-light-secondary);
  line-height: 1.8;
  padding: 16px 20px;
  background: var(--sch-bg-white);
  border-left: 3px solid var(--sch-accent-aa-on-light);
  border-radius: 0 var(--sch-radius-sm) var(--sch-radius-sm) 0;
  margin-top: 8px;
}
.sch-legal-page .legal-meta {
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
  margin-bottom: 6px;
}
.sch-legal-page .legal-article {
  background: var(--sch-bg-white);
  border-radius: var(--sch-radius-lg);
  padding: 48px;
  margin-top: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.sch-legal-page .legal-header {
  padding-bottom: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sch-border-light);
}
.sch-legal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
}
.sch-legal-page .legal-table th,
.sch-legal-page .legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--sch-border-light);
  color: var(--sch-fg-on-light-secondary);
  text-align: left;
}
.sch-legal-page .legal-table th {
  background: var(--sch-bg-light);
  font-weight: 600;
  color: var(--sch-fg-on-light-primary);
}

/* ── SR-ONLY ─────────────────────────────────────────────── */
.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;
}

/* ── HERO VISUAL ─────────────────────────────────────────── */
.sch-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── TOGGLE BILLING LABELS ────────────────────────────────── */
.sch-toggle-label--monthly,
.sch-toggle-label--annual {
  color: var(--sch-fg-on-light-secondary);
  font-size: 14px;
  font-weight: 500;
}
.sch-toggle-label--monthly.sch-toggle-label--active,
.sch-toggle-label--annual.sch-toggle-label--active {
  color: var(--sch-fg-on-light-primary);
  font-weight: 600;
}

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner--notice {
  /* variant modifier — structure inherited from .cookie-banner */
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--sch-bg-mid);
  border-top: 1px solid var(--sch-border-dark);
  padding: 16px 24px;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 14px;
  color: rgba(240,236,249,0.8);
  line-height: 1.5;
}
.cookie-banner__text a { color: var(--sch-accent-aa-on-dark); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner__btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--sch-radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--sch-font-body);
  transition: all var(--sch-transition);
}
.cookie-banner__btn--primary {
  background: var(--sch-accent);
  color: white;
}
.cookie-banner__btn--primary:hover { background: #9B3FE0; }

/* body padding when banner visible */
body.cookie-visible { padding-bottom: 80px; }

/* ── MISC / SHARED ───────────────────────────────────────── */
.sch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sch-fg-on-light-secondary);
  margin-bottom: 16px;
}
.sch-breadcrumb a { color: var(--sch-accent-aa-on-light); }
.sch-breadcrumb__sep { color: var(--sch-border-light); }

.sch-tag {
  display: inline-block;
  font-family: var(--sch-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(180,79,255,0.1);
  color: var(--sch-accent-aa-on-light);
}

.sch-divider {
  height: 1px;
  background: var(--sch-border-light);
  margin: 0;
}

.sch-page-spacer { padding-top: 64px; }

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESET PASSWORD PAGE ──────────────────────────────────── */
.sch-reset-page {
  background: var(--sch-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sch-reset-page .sch-reset-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 64px;
}
.sch-reset-panel {
  width: 100%;
  max-width: 440px;
  background: var(--sch-bg-white);
  border: 1px solid var(--sch-border-light);
  border-radius: var(--sch-radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sch-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .sch-subhero__inner { grid-template-columns: 1fr; gap: 40px; }
  .sch-feature-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .sch-uc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .sch-team-grid { grid-template-columns: repeat(2, 1fr); }
  .sch-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .sch-feature-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sch-auth-layout { grid-template-columns: 1fr; }
  .sch-auth-side--brand { display: none; }
}
@media (max-width: 768px) {
  .sch-nav__links, .sch-nav__actions { display: none; }
  .sch-nav__hamburger { display: flex; }
  .sch-hero { padding: 120px 24px 64px; }
  .sch-hero__inner { grid-template-columns: 1fr; }
  .sch-steps { grid-template-columns: 1fr; }
  .sch-steps::before { display: none; }
  .sch-testimonials { grid-template-columns: 1fr; }
  .sch-use-case-split { grid-template-columns: 1fr; }
  .sch-blog-grid { grid-template-columns: 1fr; }
  .sch-templates-grid { grid-template-columns: 1fr; }
  .sch-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sch-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .sch-pricing-teaser { grid-template-columns: 1fr; }
  .sch-changelog-entry { grid-template-columns: 1fr; gap: 8px; }
  .sch-changelog-entry__date { text-align: left; }
  .sch-pain-points { grid-template-columns: 1fr; }
  .sch-storyboard-panels { grid-template-columns: repeat(2, 1fr); }
}
