/* SCALE landing — ported from landing/smart (scoped to body.scale-landing) */

body.scale-landing {
  --sl-blue: #3695E5;
  --sl-blue-dark: #2a7bc7;
  --sl-coral: #2a7bc7;
  --sl-coral-hover: #1e5fa8;
  --sl-ink: #0f172a;
  --sl-muted: #64748b;
  --sl-border: #e2e8f0;
  --sl-card: #ffffff;
  --sl-bg-soft: #f8fafc;
  --sl-max: 72rem;
  --sl-header-h: 64px; /* matches .header-inner */
}

body.scale-landing .header.scrolled {
  box-shadow: var(--shadow);
}

body.scale-landing main { padding-top: 0; }

/* SCALE.ai header */
.sl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--sl-header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.sl-header-inner {
  max-width: var(--sl-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sl-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--sl-ink);
  flex-shrink: 0;
}

.sl-logo-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
}

.sl-logo-grid span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--sl-blue);
}

.sl-logo-grid span:nth-child(2),
.sl-logo-grid span:nth-child(3) { opacity: 0.8; }
.sl-logo-grid span:nth-child(4) { opacity: 0.55; }

.sl-header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .sl-header-nav { display: flex; }
}

.sl-header-nav > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sl-muted);
  transition: color 0.2s;
}

.sl-header-nav > a:hover { color: var(--sl-ink); }

.sl-resources { position: relative; }

.sl-resources-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sl-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.sl-resources-btn:hover,
.sl-resources.open .sl-resources-btn { color: var(--sl-ink); }

.sl-chev { font-size: 0.65rem; opacity: 0.7; }

.sl-resources-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 11rem;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.sl-resources.open .sl-resources-menu { display: block; }

.sl-resources-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--sl-muted);
  border-radius: 6px;
}

.sl-resources-menu a:hover {
  background: var(--sl-bg-soft);
  color: var(--sl-ink);
}

.sl-btn-coral--nav {
  display: none;
  padding: 10px 22px;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .sl-btn-coral--nav { display: inline-flex; }
}

.sl-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .sl-menu-toggle { display: none; }
}

.sl-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--sl-ink);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.sl-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sl-menu-toggle.open span:nth-child(2) { opacity: 0; }
.sl-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sl-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1001;
}

.sl-mobile-overlay.open { display: block; }

.sl-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  z-index: 1002;
  background: #fff;
  padding: calc(var(--sl-header-h) + 24px) 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
}

.sl-mobile-nav.open { transform: translateX(0); }

.sl-mobile-nav a {
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sl-ink);
  border-bottom: 1px solid var(--sl-border);
}

.sl-mobile-nav .sl-btn-coral {
  margin-top: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .sl-mobile-nav,
  .sl-mobile-overlay { display: none !important; }
}

.sl-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .sl-section { padding: 80px 0; }
}

.sl-wrap {
  width: 100%;
  max-width: var(--sl-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .sl-wrap { padding: 0 24px; }
}

.sl-center { text-align: center; }

.sl-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sl-label.blue { color: var(--sl-blue); }
.sl-label.orange { color: #3695E5; }
.sl-label.red { color: #3695E5; }
.sl-label.indigo { color: #3695E5; }
.sl-label.muted { color: var(--sl-muted); }

.sl-h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--sl-ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.sl-lead {
  font-size: 1.05rem;
  color: var(--sl-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.sl-center .sl-lead { margin-left: auto; margin-right: auto; }

.sl-btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--sl-coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(54,149,229,0.25);
  transition: background 0.2s, transform 0.2s;
}

.sl-btn-coral:hover {
  background: var(--sl-coral-hover);
  transform: translateY(-1px);
}

.sl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--sl-border);
  background: #fff;
  color: var(--sl-ink);
}

.sl-btn-outline:hover { border-color: #84c5f5; }

/* Hero — clear fixed SCALE.ai header */
.sl-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--sl-header-h) + 32px) 0 56px;
  background: linear-gradient(180deg, rgba(232,242,252,0.8) 0%, rgba(240,247,253,0.35) 50%, transparent 100%);
}

@media (min-width: 768px) {
  .sl-hero { padding: calc(var(--sl-header-h) + 48px) 0 72px; }
}

.sl-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.35), transparent 70%);
  pointer-events: none;
}

.sl-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (max-width: 767px) {
  .sl-hero-visual { order: -1; }
}

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

.sl-breadcrumb {
  margin-bottom: 20px;
}

.sl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--sl-border);
  background: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.72rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--sl-ink);
  margin-bottom: 24px;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}

@media (min-width: 768px) {
  .sl-hero-badge {
    padding: 12px 22px;
  }
}

.sl-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--sl-ink);
  margin-bottom: 16px;
}

.sl-hero-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sl-blue);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .sl-hero-brand { font-size: 1.375rem; }
}

.sl-hero-sub {
  font-size: 1.05rem;
  color: var(--sl-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.sl-hero-trust {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sl-muted);
  margin-bottom: 24px;
}

.sl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.sl-pills {
  max-width: 100%;
}

.sl-mascot-ring {
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f2fc, #e8f2fc, #fff);
  box-shadow: 0 20px 50px rgba(54,149,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-mascot-img {
  width: 72%;
  height: auto;
  max-width: 288px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .sl-mascot-ring { width: 384px; }
}

.sl-mascot-img--cta {
  display: block;
  margin: 24px auto 0;
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

@media (min-width: 768px) {
  .sl-mascot-img--cta { width: 208px; }
}

.sl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sl-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sl-muted);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--sl-border);
  background: var(--sl-card);
}

@media (min-width: 768px) {
  .sl-pill { font-size: 0.875rem; padding: 10px 18px; }
}

/* Steps */
.sl-bg-soft { background: linear-gradient(180deg, #f8fafc, transparent); }

.sl-steps {
  display: grid;
  gap: 20px;
}

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

.sl-step-card {
  border-radius: 16px;
  border: 2px solid;
  overflow: hidden;
}

.sl-step-card.blue { border-color: #5aadf0; }
.sl-step-card.green { border-color: #5aadf0; }
.sl-step-card.orange { border-color: #5aadf0; }

.sl-step-head {
  padding: 24px 24px 20px;
}

.sl-step-head.blue { background: #e8f2fc; }
.sl-step-head.green { background: #e8f2fc; }
.sl-step-head.orange { background: #f0f7fd; }

.sl-step-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 100px;
  color: #fff;
  margin-bottom: 12px;
}

.sl-step-tag.blue { background: var(--sl-blue); }
.sl-step-tag.green { background: #3695E5; }
.sl-step-tag.orange { background: #3695E5; }

.sl-step-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.sl-step-sub { font-size: 0.75rem; font-weight: 600; color: var(--sl-muted); }
.sl-step-micro { font-size: 0.7rem; font-weight: 500; color: #2a7bc7; margin-top: 8px; }
.sl-step-body { padding: 20px 24px; background: #fff; }
.sl-step-body p { font-size: 0.9rem; color: var(--sl-muted); }

.sl-integration {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  background: #fff;
  text-align: left;
  width: 100%;
}

.sl-integration-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.sl-integration-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8f2fc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-blue);
}

.sl-integration-copy {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}

.sl-integration-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sl-ink);
  margin: 0;
}

.sl-integration-desc {
  font-size: 0.75rem;
  color: var(--sl-muted);
  margin: 4px 0 0;
}

.sl-step-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sl-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-muted);
  line-height: 0;
}

.sl-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

/* Features */
.sl-features-bg { background: rgba(248, 250, 252, 0.8); }

.sl-features-grid {
  display: grid;
  gap: 16px;
}

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

@media (min-width: 1024px) {
  .sl-features-grid { grid-template-columns: repeat(4, 1fr); }
}

.sl-feature-card {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: box-shadow 0.3s;
}

.sl-feature-card:hover {
  box-shadow: 0 12px 32px rgba(54,149,229,0.08);
}

.sl-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.sl-feature-card p { font-size: 0.9rem; color: var(--sl-muted); }

.sl-features-tail {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .sl-features-tail {
    grid-template-columns: repeat(3, 1fr);
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* At a glance table */
.sl-table {
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  background: #fff;
  overflow: hidden;
}

.sl-table-head {
  display: none;
  padding: 12px 24px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--sl-border);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sl-muted);
}

@media (min-width: 768px) {
  .sl-table-head {
    display: grid;
    grid-template-columns: 2fr 3fr;
  }
}

.sl-table-row {
  display: grid;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--sl-border);
  transition: background 0.2s;
}

.sl-table-row:last-child { border-bottom: none; }

.sl-table-row:hover { background: #f8fafc; }

@media (min-width: 768px) {
  .sl-table-row {
    grid-template-columns: 2fr 3fr;
    align-items: center;
    gap: 0;
  }
}

.sl-table-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sl-ink);
}

.sl-table-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e8f2fc;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sl-table-detail {
  font-size: 0.875rem;
  color: var(--sl-muted);
  padding-left: 44px;
}

@media (min-width: 768px) {
  .sl-table-detail { padding-left: 0; }
}

.sl-award-line {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sl-muted);
  margin-top: 24px;
}

.sl-roles {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid #b8ddf8;
  background: rgba(232,242,252,0.6);
  font-size: 0.875rem;
  color: var(--sl-muted);
}

@media (min-width: 640px) {
  .sl-roles { flex-direction: row; }
  .sl-roles > div { flex: 1; }
  .sl-roles-divider {
    width: 1px;
    background: #b8ddf8;
    align-self: stretch;
  }
}

.sl-roles strong { color: var(--sl-ink); }

/* How it works tabs */
.sl-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.sl-tab-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--sl-border);
  background: #fff;
  color: var(--sl-ink);
  cursor: pointer;
  transition: all 0.2s;
}

.sl-tab-btn.active,
.sl-tab-btn:hover {
  background: var(--sl-blue);
  border-color: var(--sl-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(54,149,229,0.25);
}

.sl-tab-panel {
  display: none;
  border-radius: 24px;
  border: 1px solid var(--sl-border);
  background: #fff;
  padding: 32px;
  text-align: left;
}

.sl-tab-panel.active { display: block; }

.sl-center .sl-tab-panel,
.sl-center .sl-tab-grid,
.sl-center .sl-tab-grid > div {
  text-align: left;
}

@media (min-width: 768px) {
  .sl-tab-panel { padding: 48px; }
}

.sl-tab-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .sl-tab-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.sl-tab-grid h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.sl-check-list {
  list-style: none;
  text-align: left;
}

.sl-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--sl-ink);
  text-align: left;
}

.sl-check-list .check {
  flex-shrink: 0;
  margin-top: 2px;
  color: #3695E5;
  font-weight: 700;
}

.sl-check-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.sl-mock-box {
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  background: #fafafa;
  padding: 24px;
  margin-bottom: 16px;
}

.sl-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sl-stat {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--sl-border);
  background: #fff;
}

.sl-stat-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-muted);
  white-space: pre-line;
}

.sl-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 4px;
  color: var(--sl-ink);
}

.sl-stat-value.highlight { color: var(--sl-blue); }

/* Tutor modes */
.sl-tutor-bg {
  background: linear-gradient(180deg, rgba(232,242,252,0.5), transparent);
}

.sl-tutor-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .sl-tutor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sl-tutor-grid { grid-template-columns: repeat(4, 1fr); }
}

.sl-tutor-card {
  border-radius: 16px;
  border: 1px solid;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.sl-tutor-card:hover { box-shadow: var(--shadow-lg); }
.sl-tutor-card.blue { background: #e8f2fc; border-color: #b8ddf8; }
.sl-tutor-card.amber { background: #f0f7fd; border-color: #b8ddf8; }
.sl-tutor-card.green { background: #f0f7fd; border-color: #b8ddf8; }
.sl-tutor-card.purple { background: #f0f7fd; border-color: #e8f2fc; }

.sl-tutor-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sl-tutor-card h3 { font-size: 1rem; margin-bottom: 8px; }
.sl-tutor-card p { font-size: 0.85rem; color: var(--sl-muted); }
.sl-tutor-addon { font-size: 0.75rem; font-weight: 600; margin-top: 12px; color: var(--sl-ink); opacity: 0.85; }

/* Personalized */
.sl-personal-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .sl-personal-grid { grid-template-columns: 1fr 1fr; }
}

.sl-bullet-list { list-style: none; margin: 24px 0; }
.sl-bullet-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--sl-muted);
}

.sl-bullet-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sl-ink);
  margin-top: 10px;
  flex-shrink: 0;
}

.sl-dash-mock { display: flex; flex-direction: column; gap: 12px; }

.sl-dash-card {
  border-radius: 12px;
  border: 1px solid var(--sl-border);
  background: #fff;
  padding: 16px 20px;
}

.sl-dash-dark {
  background: #0f172a;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
}

.sl-dash-dark-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.sl-dash-dark h4 {
  color: #fff;
  font-size: 1rem;
  margin: 8px 0;
  line-height: 1.35;
}

.sl-dash-dark .accent { color: #5aadf0; }

.sl-dash-dark-sub {
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.sl-dash-dark-stats {
  font-size: 0.8rem;
  color: #fff;
  line-height: 1.4;
}

.sl-dash-dark-stats strong {
  color: #fff;
  font-weight: 700;
}

/* For schools */
.sl-for-schools {
  background: #eef0f8;
  scroll-margin-top: 80px;
}

.sl-benefit-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.sl-benefit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #b8ddf8;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
}

.sl-btn-indigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  background: #2a7bc7;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(54,149,229,0.25);
}

.sl-btn-indigo:hover { background: #1e5fa8; }

/* Trusted */
.sl-trusted-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.sl-trusted-stat {
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--sl-border);
  background: #fff;
  text-align: center;
  min-width: 140px;
}

.sl-trusted-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--sl-blue);
}

.sl-trusted-stat span { font-size: 0.8rem; color: var(--sl-muted); }

/* Videos */
.sl-videos-grid {
  display: grid;
  gap: 24px;
}

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

.sl-video-card {
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.sl-video-card lite-youtube {
  width: 100%;
  max-width: none;
  display: block;
}

.sl-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Testimonials */
.sl-testimonials-bg {
  background: linear-gradient(180deg, #f0f7fd66, #fff, #f8fafc);
}

.sl-survey-card {
  border-radius: 24px;
  border: 1px solid var(--sl-border);
  background: rgba(255, 255, 255, 0.95);
  padding: 32px 24px;
  box-shadow: 0 24px 80px -38px rgba(15, 23, 42, 0.2);
}

@media (min-width: 768px) {
  .sl-survey-card { padding: 40px; }
}

.sl-survey-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .sl-survey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .sl-survey-col:first-child {
    padding-right: 32px;
    border-right: 1px solid var(--sl-border);
  }
  .sl-survey-col:last-child { padding-left: 32px; }
}

.sl-survey-highlight {
  text-align: right;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(54,149,229,0.12), #f0f7fd);
  border: 1px solid #b8ddf8;
}

.sl-survey-highlight .pct {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2a7bc7;
  line-height: 1;
}

.sl-bar-row { margin-bottom: 12px; }
.sl-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 4px;
  color: var(--sl-muted);
}

.sl-bar-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
}

.sl-bar-fill { height: 100%; border-radius: 100px; }

.sl-quote-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--sl-border);
}

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

.sl-quote-card {
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sl-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sl-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: #3695E5;
  opacity: 0.9;
  font-family: Georgia, serif;
}

.sl-quote-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sl-muted);
  margin: 12px 0 8px;
}

.sl-quote-body {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sl-ink);
  flex: 1;
}

.sl-quote-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--sl-border);
}

.sl-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

/* School plans */
.sl-plans-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .sl-plans-grid { grid-template-columns: 1fr 1fr; }
}

.sl-tip-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #b8ddf8;
  background: #f0f7fd;
  font-size: 0.875rem;
  color: #1e5fa8;
}

.sl-limits-card {
  border-radius: 16px;
  border: 1px solid var(--sl-border);
  background: #fff;
  padding: 24px;
}

.sl-limit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--sl-border);
  font-size: 0.9rem;
}

.sl-limit-row:last-child { border-bottom: none; }

.sl-limit-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: #e8f2fc;
  color: var(--sl-blue);
}

/* FAQ */
.sl-faq-grid {
  display: grid;
  gap: 0 32px;
}

@media (min-width: 768px) {
  .sl-faq-grid { grid-template-columns: 1fr 1fr; }
}

.sl-faq-item { border-bottom: 1px solid var(--sl-border); }

.sl-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sl-ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.sl-faq-q .chev {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--sl-muted);
}

.sl-faq-item.open .sl-faq-q .chev { transform: rotate(180deg); }

.sl-faq-a {
  display: none;
  padding-bottom: 16px;
  font-size: 0.875rem;
  color: var(--sl-muted);
  line-height: 1.6;
}

.sl-faq-item.open .sl-faq-a { display: block; }

/* CTA banner */
.sl-cta-banner {
  padding: 48px 0 64px;
}

.sl-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(90deg, #1e293b, #0f172a, #1e293b);
  padding: 48px 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .sl-cta-inner { padding: 56px 48px; }
}

.sl-cta-inner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.sl-cta-inner h2 .green { color: #84c5f5; }

.sl-cta-inner p {
  color: #94a3b8;
  max-width: 32rem;
  margin: 0 auto 24px;
}

.sl-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.sl-cta-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sl-btn-cta-outline {
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
}

.sl-btn-cta-outline:hover { background: rgba(255, 255, 255, 0.2); }

/* Scale footer — match site-wide dark navy footer */
.sl-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 48px 0 24px;
}

@media (min-width: 768px) {
  .sl-footer { padding: 60px 0 24px; }
}

.sl-footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .sl-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sl-footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.5fr; }
}

.sl-footer-brand .logo-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

.sl-footer-brand .logo-grid span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--teal-400);
}

.sl-footer-brand .logo-grid span:nth-child(2),
.sl-footer-brand .logo-grid span:nth-child(3) { opacity: 0.85; }
.sl-footer-brand .logo-grid span:nth-child(4) { opacity: 0.65; }

.sl-footer-brand strong {
  font-size: 1.1rem;
  color: var(--white);
}

.sl-footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 300px;
}

.sl-footer h4 {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.sl-footer ul { list-style: none; }
.sl-footer ul li { margin-bottom: 10px; }

.sl-footer a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.sl-footer a:hover { color: var(--teal-300); }

.sl-footer-contact {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.sl-footer-contact a {
  color: var(--gray-400);
}

.sl-footer-bottom {
  border-top: 1px solid var(--navy-700);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

.sl-footer-bottom a {
  color: var(--gray-500);
}

.sl-footer-bottom a:hover {
  color: var(--teal-300);
}

.scroll-mt { scroll-margin-top: 80px; }

/* SCALE page: use the same dark footer as index / product pages */
body.scale-landing .footer {
  background: var(--navy-900);
  color: var(--gray-300);
}

body.scale-landing .footer .footer-brand .logo {
  color: var(--white);
}

body.scale-landing .footer .footer-brand .logo span {
  color: var(--teal-600);
}

body.scale-landing .footer .footer-brand p,
body.scale-landing .footer .footer-col a {
  color: var(--gray-400);
}

body.scale-landing .footer .footer-col h4 {
  color: var(--white);
}

body.scale-landing .footer .footer-col a:hover {
  color: var(--teal-300);
}

body.scale-landing .footer .footer-bottom {
  border-top-color: var(--navy-700);
}

body.scale-landing .footer .footer-bottom p {
  color: var(--gray-500);
}
