/* K12 Connect — Public landing pages
   Shared styles for /, /directory, /for-vendors, /think-tank.
   Based on the original auth.css design language. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --k12-dark: #1c1a17;
  --k12-cream: #f5f1eb;
  --k12-cream-warm: #eee8de;
  --k12-teal: #4fb8c6;
  --k12-teal-deep: #0f2b2a;
  --k12-teal-mid: #2a7a84;
  --k12-teal-light: rgba(79,184,198,0.12);
  --k12-gold: #c99e50;
  --k12-gold-glow: #d4af6a;
  --k12-card: rgba(255,255,255,0.92);
  --k12-hairline: #ddd8ce;
  --k12-text: #3f3d3c;
  --k12-muted: #6f6b62;
  --k12-heading: 'Oswald', 'Impact', 'Arial Black', sans-serif;
  --k12-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --k12-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--k12-body);
  color: var(--k12-dark);
  background: var(--k12-cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--k12-heading);
  font-weight: 600;
  letter-spacing: 0.005em;
}
h3, h4, h5, h6 { font-family: var(--k12-heading); letter-spacing: 0.01em; }

/* ── NAV ── */
.ln {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(28,26,23,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79,184,198,0.15);
}
.ln-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 3.5rem;
}
.ln-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--k12-heading); font-weight: 600;
  font-size: 1.2rem; letter-spacing: normal; color: #fff;
  text-decoration: none;
}
.ln-brand em { color: var(--k12-teal); font-style: normal; }
.ln-logo-img { height: 32px; width: auto; display: block; flex-shrink: 0; }
.ln-links { display: flex; align-items: center; gap: 1.75rem; }
.ln-links a {
  font-family: var(--k12-heading); font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.15s;
}
.ln-links a:hover { color: #fff; }
.ln-links a.active { color: #fff; }
.ln-cta {
  display: inline-block; padding: 0.4rem 1rem;
  font-family: var(--k12-heading); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--k12-teal); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.ln-cta:hover { background: var(--k12-teal-mid); transform: translateY(-1px); }

.ln-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.25rem; color: #fff;
}
.ln-toggle svg { display: block; }

@media (max-width: 768px) {
  .ln-links { display: none; }
  .ln-toggle { display: block; }
  .ln-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 3.5rem; left: 0; right: 0;
    background: rgba(28,26,23,0.98);
    padding: 1rem 1.5rem; gap: 1rem;
    border-bottom: 1px solid rgba(79,184,198,0.15);
  }
  .ln-links.open a { font-size: 0.8rem; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--k12-dark);
  color: #fff;
  padding: 8rem 1.5rem 4rem;
}
/* Friday night lights glow */
.hero::after {
  content: '';
  position: absolute; inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 75%, rgba(201,158,80,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 25%, rgba(79,184,198,0.12) 0%, transparent 65%);
  animation: k12-drift 20s ease-in-out infinite;
}
@keyframes k12-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(1.5%, -1%) scale(1.03); }
  66% { transform: translate(-1%, 1%) scale(1.01); }
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 72rem; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
}
.hero-text { max-width: 32rem; }
.hero-eyebrow {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-gold);
  margin-bottom: 1rem;
  animation: k12-fadeUp 0.6s ease-out both;
  animation-delay: 0s;
}
.hero h1 {
  font-family: var(--k12-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: k12-fadeUp 0.6s ease-out both;
  animation-delay: 0.1s;
}
.hero h1 em {
  font-style: normal;
  color: var(--k12-teal);
  display: block;
}
.hero-sub {
  font-family: var(--k12-body);
  font-size: 1.3rem; line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
  margin-bottom: 2rem;
  animation: k12-fadeUp 0.6s ease-out both;
  animation-delay: 0.2s;
}
.hero-actions {
  display: flex; gap: 0.75rem; align-items: stretch;
  flex-wrap: wrap;
  animation: k12-fadeUp 0.6s ease-out both;
  animation-delay: 0.3s;
}
.hero-proof {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: normal;
  color: rgba(255,255,255,0.45);
  margin-top: 1.5rem;
  animation: k12-fadeUp 0.6s ease-out both;
  animation-delay: 0.4s;
}
@keyframes k12-fadeUp {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* play diagram SVG */
.play-wrap {
  display: flex; justify-content: center; align-items: center;
}
.play {
  width: 100%; max-width: 420px;
  height: auto;
}
@keyframes k12drawline {
  100% { stroke-dashoffset: 0; }
}
@keyframes k12popin {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
.play .route {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: k12drawline 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.play .route.r1 { animation-delay: 0.35s; }
.play .route.r2 { animation-delay: 0.7s; }
.play .route.r3 { animation-delay: 1.05s; }
.play .player, .play .xmark, .play .arrow {
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: k12popin 0.5s ease forwards;
}
.play .player.p1 { animation-delay: 0s; }
.play .player.p2 { animation-delay: 0.12s; }
.play .player.p3 { animation-delay: 0.24s; }
.play .arrow.a1 { animation-delay: 1.25s; }
.play .arrow.a2 { animation-delay: 1.6s; }
.play .arrow.a3 { animation-delay: 1.95s; }
.play .xmark.x1 { animation-delay: 1.4s; }
.play .xmark.x2 { animation-delay: 1.75s; }
.play .xmark.x3 { animation-delay: 2.1s; }

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 8rem 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: none; }
  .hero-actions { justify-content: center; }
  .play-wrap { display: none; }
}

/* ── THINK TANK BANNER ── */
.tt-banner {
  background: var(--k12-cream-warm);
  border-bottom: 1px solid var(--k12-hairline);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--k12-text);
}
.tt-banner-inner {
  max-width: 52rem; margin: 0 auto;
}
.tt-banner strong { color: var(--k12-dark); }
.tt-banner a {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--k12-teal-mid);
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  letter-spacing: normal;
  text-decoration: none;
}
.tt-banner a:hover { color: var(--k12-teal); }
.tt-banner-cta {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--k12-teal);
  color: #fff !important;
  border-radius: 4px;
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  letter-spacing: normal;
  text-decoration: none;
  transition: background 0.15s;
  font-weight: 600;
}
.tt-banner-cta:hover { background: var(--k12-teal-mid); }

/* ── X/O DIVIDER STRIP ── */
.xo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
}
.xo-strip svg { width: 28px; height: 28px; }

/* ── COMPACT SECTION (existing community) ── */
.compact-sec {
  padding: 2rem 1.5rem !important;
}
.compact-heading {
  font-family: var(--k12-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--k12-muted);
  margin-bottom: 0.5rem;
}
.compact-body {
  font-size: 1rem;
  color: var(--k12-muted);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.5;
}
.compact-body a {
  color: var(--k12-teal-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compact-body a:hover { color: var(--k12-teal); }

/* ── SECTION WITH ICON ── */
.sec-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.sec-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.sec-with-icon h2 { margin-bottom: 0; }

/* ── STEPS CLEAN (replaces clipboard) ── */
.steps-clean {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 2rem;
}
.step-clean {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 1.25rem;
}
.step-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.step-icon svg { width: 100%; height: 100%; }
.step-clean strong {
  display: block;
  font-family: var(--k12-heading);
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: #fff;
}
.step-clean p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}
.step-connector svg { width: 32px; height: 20px; }
@media (max-width: 768px) {
  .steps-clean { flex-direction: column; gap: 1.5rem; }
  .step-connector { display: none; }
}

/* ── STEP CARDS (for-vendors how it works) ── */
.steps-row {
  display: grid;
  /* 6 columns of 2 each: steps 1-3 fill the first row three-up, and 4-5 are
     centered on the second (fb:70). */
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.step-card {
  grid-column: span 2;
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-card:nth-child(4) { grid-column: 2 / span 2; }
.step-card:nth-child(5) { grid-column: 4 / span 2; }
/* Six steps: two full rows of three (Vendor Hackathon). */
.steps-row--six .step-card:nth-child(n) { grid-column: span 2; }
@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .step-card,
  .step-card:nth-child(4),
  .step-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) {
  .steps-row { grid-template-columns: 1fr; }
}
.step-card-num {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
}
.step-card-num svg { width: 100%; height: 100%; }
.step-card strong {
  display: block;
  font-family: var(--k12-ui);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--k12-muted);
  line-height: 1.5;
}

/* ── THINK TANK CALLOUT ── */
.tt-callout-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.tt-icon { width: 56px; height: 56px; flex-shrink: 0; }
.tt-callout-header h2 { margin-bottom: 0; }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; min-height: 3.25rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--k12-heading);
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: 0.03em; line-height: 1;
  border-radius: 8px; cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, filter 0.12s;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--k12-teal), var(--k12-teal-mid));
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { border-color: var(--k12-teal); color: var(--k12-teal); transform: translateY(-1px); }

/* ── SECTIONS ── */
.sec {
  padding: 5rem 1.5rem;
  max-width: 72rem; margin: 0 auto;
}
.sec-alt { background: #fff; }
.sec-dark { background: var(--k12-dark); color: #fff; }
/* Friday night lights on dark sections */
.sec-dark { position: relative; overflow: hidden; }
.sec-dark::after {
  content: '';
  position: absolute; inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(201,158,80,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(79,184,198,0.06) 0%, transparent 55%);
}
.sec-dark > * { position: relative; z-index: 1; }
.sec-alt .sec, .sec-dark .sec { max-width: 72rem; margin: 0 auto; }
.sec h2 {
  font-family: var(--k12-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: normal; line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.sec-sub {
  font-size: 1.15rem; color: var(--k12-muted);
  max-width: 36rem; line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ── HOW IT WORKS — clipboard aesthetic ── */
.clipboard {
  background: #fff;
  border: 2px solid var(--k12-hairline);
  border-radius: 0 0 12px 12px;
  padding: 2rem 2rem 2.5rem;
  position: relative;
  margin-top: 1.5rem;
}
.clipboard::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 28px;
  background: var(--k12-teal-mid);
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}
.clipboard::after {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 12px;
  background: var(--k12-cream);
  border-radius: 0 0 6px 6px;
  border: 2px solid var(--k12-hairline);
  border-top: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0;
}
.step {
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-top: 2px solid var(--k12-teal);
  position: relative;
}
/* jersey-number step count */
.step::before {
  content: attr(data-step);
  position: absolute;
  left: 0.75rem; top: 1.3rem;
  font-family: var(--k12-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--k12-teal);
  opacity: 0.25;
  line-height: 1;
}
.step strong {
  display: block;
  font-family: var(--k12-heading);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.step p { font-size: 1.05rem; color: var(--k12-muted); }

/* ── TWO-SIDED HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.how-side h3 {
  font-family: var(--k12-ui);
  font-size: 1rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 1rem;
  color: var(--k12-teal-mid);
}
@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ── VALUE SECTIONS ── */
.value-list {
  margin-bottom: 2rem;
}
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--k12-hairline);
}
.value-row:last-child { border-bottom: none; }
.sec-dark .value-row { border-color: rgba(255,255,255,0.08); }
.value-row strong {
  font-family: var(--k12-heading);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: 0.02em;
}
.value-row p { font-size: 1.05rem; color: var(--k12-muted); line-height: 1.5; margin-top: 0.15rem; }
.sec-dark .value-row p { color: rgba(255,255,255,0.6); }
@media (max-width: 600px) {
  .value-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ── VENDOR NETWORK CTA ── */
.vendor-network-cta {
  text-align: center;
  padding: 4rem 1.5rem;
}
.vendor-cta-big {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; min-height: 3.75rem;
  padding: 0.75rem 2.5rem;
  font-family: var(--k12-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--k12-teal), var(--k12-teal-mid));
  color: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(79,184,198,0.2);
}
.vendor-cta-big:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,184,198,0.3);
}
.vendor-cta-big-outline {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; min-height: 3.75rem;
  padding: 0.75rem 2.5rem;
  font-family: var(--k12-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: transparent;
  color: var(--k12-dark);
  border: 2px solid var(--k12-hairline);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.vendor-cta-big-outline:hover {
  border-color: var(--k12-teal);
  color: var(--k12-teal-mid);
  transform: translateY(-2px);
}

/* Step audience labels */
.step-audience {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 0.2rem;
}

/* ── SECTION CTAs ── */
.sec-cta {  display: inline-block; margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--k12-ui);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: normal;
  border-radius: 8px; cursor: pointer;
  text-decoration: none; border: none;
  transition: transform 0.1s, filter 0.12s;
}
.sec-cta-fill {
  background: var(--k12-teal); color: #fff;
}
.sec-cta-fill:hover { filter: brightness(1.1); transform: translateY(-1px); }
.sec-cta-outline {
  background: transparent; color: var(--k12-dark);
  border: 1.5px solid var(--k12-hairline);
}
.sec-dark .sec-cta-outline { color: #fff; border-color: rgba(255,255,255,0.25); }
.sec-cta-outline:hover { border-color: var(--k12-teal); color: var(--k12-teal-mid); transform: translateY(-1px); }

/* ── PRICING ── */
.pricing-eyebrow {
  font-family: var(--k12-heading);
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--k12-gold);
  margin-bottom: 0.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 72rem;
}
@media (min-width: 40rem) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pcard {
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column;
  position: relative;
}
.pcard-pop {
  border-color: var(--k12-teal);
  border-width: 2px;
}
.pcard-badge {
  position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%);
  background: var(--k12-teal); color: #fff;
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: normal;
  padding: 0.2rem 0.75rem; border-radius: 2px;
  white-space: nowrap;
}
.pcard-tier {
  font-family: var(--k12-ui);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 0.15rem;
}
.pcard-type {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: normal;
  color: var(--k12-muted);
  margin-bottom: 0.75rem;
}
.pcard-price {
  font-family: var(--k12-heading);
  font-size: 2rem; font-weight: 700;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.pcard-period {
  font-family: var(--k12-body);
  font-size: 0.95rem;
  color: var(--k12-muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.pcard ul {
  list-style: none; flex: 1;
  margin-bottom: 1.25rem;
}
.pcard li {
  font-size: 0.9rem; line-height: 1.5;
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
  color: var(--k12-text);
}
.pcard li::before {
  content: '';
  position: absolute; left: 0; top: 0.55rem;
  width: 6px; height: 1.5px;
  background: var(--k12-teal);
}
.pcard-cta {
  display: block; width: 100%;
  padding: 0.7rem 0.5rem;
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: normal;
  text-align: center;
  border-radius: 4px; cursor: pointer;
  text-decoration: none; border: none;
  transition: transform 0.1s, filter 0.12s;
}
.pcard-cta-fill {
  background: var(--k12-teal); color: #fff;
}
.pcard-cta-fill:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pcard-cta-outline {
  background: transparent; color: var(--k12-dark);
  border: 1.5px solid var(--k12-hairline);
}
.pcard-cta-outline:hover { border-color: var(--k12-teal); color: var(--k12-teal-mid); transform: translateY(-1px); }

/* new pricing cards (for-vendors page) */
.pricing-card {
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
}
.pricing-card-featured {
  border-color: var(--k12-teal);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(79,184,198,0.12);
}
.pricing-card-services {
  background: var(--k12-cream-warm);
  border-top: 4px solid var(--k12-gold);
}
.pricing-header {
  margin-bottom: 1.25rem;
}
.pricing-header h3 {
  font-family: var(--k12-ui);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 0.25rem;
}
.pricing-price {
  font-family: var(--k12-heading);
  font-size: 2rem; font-weight: 700;
  line-height: 1.1;
}
.pricing-price span {
  font-size: 0.85rem; font-weight: 400;
  color: var(--k12-muted);
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.25rem;
}
.pricing-features li {
  font-size: 0.9rem; line-height: 1.5;
  padding: 0.25rem 0 0.25rem 1.1rem;
  position: relative;
  color: var(--k12-text);
}
.pricing-features li::before {
  content: '';
  /* Centred on the first line: top padding + half the line box, minus half
     the bar. A whole-pixel height so every marker rasterizes the same
     (1.5px rendered thin or thick depending on position - fb:88). */
  position: absolute; left: 0; top: calc(0.25rem + 0.9rem * 1.5 / 2 - 1px);
  width: 6px; height: 2px;
  background: var(--k12-teal);
}

/* full comparison table */
.compare-wrap {
  margin-top: 1.5rem;
}
.compare-wrap summary {
  font-family: var(--k12-ui);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: normal;
  color: var(--k12-teal-mid);
  cursor: pointer;
}
.compare-wrap summary:hover { color: var(--k12-teal); }
.compare-table-scroll {
  overflow-x: auto; margin-top: 1rem;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--k12-hairline);
  text-align: center;
  white-space: nowrap;
}
.compare-table th {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: normal;
  background: var(--k12-cream);
  position: sticky; top: 0;
}
.compare-table td:first-child {
  text-align: left; font-weight: 500;
  white-space: normal; min-width: 12rem;
}

/* add-ons */
.addons {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--k12-hairline);
}
.addons h3 {
  font-family: var(--k12-ui);
  font-size: 1rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 1rem;
}
.addon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}
.addon-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 4px;
  font-size: 1rem;
}
.addon-item strong { font-family: var(--k12-ui); font-size: 0.85rem; font-weight: 600; letter-spacing: normal; }
.addon-price { color: var(--k12-muted); font-style: italic; font-size: 0.95rem; margin-left: auto; }

/* ── THOUGHT LEADERSHIP ── */
.cohort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 0;
}
.cohort-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cohort-item:last-child { border-bottom: none; }
.cohort-name {
  font-family: var(--k12-ui);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: normal;
  color: var(--k12-gold);
  margin-bottom: 0.2rem;
}
.cohort-desc {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

/* ── STATS — scoreboard aesthetic ── */
.stats-bar {
  display: flex; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
  padding: 3rem 1.5rem;
  background: var(--k12-cream-warm);
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--k12-heading);
  font-size: 2.8rem; font-weight: 700;
  color: var(--k12-teal-mid);
  line-height: 1;
  letter-spacing: normal;
}
.stat-label {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: normal;
  color: var(--k12-muted);
  margin-top: 0.3rem;
}

/* ── PENNANT CALLOUTS ── */
.pennant {
  position: relative;
  background: var(--k12-cream);
  border: 1px solid var(--k12-hairline);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.pennant::after { content: none; }
.sec-dark .pennant {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

/* ── BOTTOM CTA ── */
.bottom-cta {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--k12-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bottom-cta::after {
  content: '';
  position: absolute; inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 75%, rgba(201,158,80,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 25%, rgba(79,184,198,0.1) 0%, transparent 65%);
}
.bottom-cta-inner { position: relative; z-index: 1; }
.bottom-cta h2 {
  font-family: var(--k12-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: normal;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.bottom-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}
.bottom-cta .hero-actions { justify-content: center; }

/* ── MEET AT THE 50 ── */
.meet50 { text-align: center; }
.meet50-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}
.meet50-topic {
  background: var(--k12-cream);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 1.5rem;
}
.meet50-topic strong {
  font-family: var(--k12-ui);
  font-size: 0.85rem;
  letter-spacing: normal;
  color: var(--k12-teal);
  font-weight: 600;
}
.meet50-topic p {
  font-size: 0.9rem;
  color: var(--k12-muted);
  margin-top: 0.5rem;
}
.meet50-note {
  font-size: 0.85rem;
  color: var(--k12-muted);
  margin-top: 2rem;
  font-style: italic;
}

/* ── INSIGHTS ── */
.insights { text-align: center; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}
.insight-card {
  background: var(--k12-cream);
  border-radius: 8px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.insight-date {
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  letter-spacing: normal;
  color: var(--k12-teal);
}
.insight-card h3 {
  font-family: var(--k12-ui);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--k12-dark);
  line-height: 1.3;
}
.insight-card p {
  font-size: 0.88rem;
  color: var(--k12-muted);
  line-height: 1.55;
}

/* ── TEAM ── */
.team { text-align: center; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}
.team-grid--two-tier {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.team-grid-row {
  display: grid;
  gap: 2rem;
  width: 100%;
}
.team-grid-row--top {
  grid-template-columns: repeat(3, 1fr);
  max-width: 64rem;
}
.team-grid-row--bottom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 42.6rem;
}
@media (max-width: 768px) {
  .team-grid-row--top,
  .team-grid-row--bottom {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }
}
.team-card {
  padding: 0 1.5rem 1.5rem;
  background: var(--k12-cream-warm);
  border: 1px solid var(--k12-hairline);
  border-radius: 14px;
  overflow: hidden;
}
/* Color band behind the photo; the avatar overlaps its lower edge. */
.team-card::before {
  content: "";
  display: block;
  height: 64px;
  margin: 0 -1.5rem;
  background: var(--team-band, var(--k12-teal-mid));
}
.team-grid-row > .team-card:nth-child(3n+2) { --team-band: var(--k12-gold); }
.team-grid-row > .team-card:nth-child(3n+3) { --team-band: var(--k12-teal); }
/* Five people, five brand colors (fb:127): the bottom row would otherwise
   repeat the top row's teal-mid and gold. Light tints of the brand teal and
   gold, so they sit with the first three rather than darken the row. */
.team-grid-row--bottom > .team-card:nth-child(1) { --team-band: color-mix(in srgb, var(--k12-teal) 60%, #fff); }
.team-grid-row--bottom > .team-card:nth-child(2) { --team-band: color-mix(in srgb, var(--k12-gold) 60%, #fff); }
.team-avatar {
  width: 88px; height: 88px;
  border: 4px solid var(--k12-cream-warm);
  border-radius: 50%;
  background: var(--k12-teal);
  color: var(--k12-cream);
  font-family: var(--k12-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: -44px auto 1rem;
  letter-spacing: normal;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 {
  font-family: var(--k12-ui);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--k12-dark);
}
.team-role {
  font-size: 0.8rem;
  letter-spacing: normal;
  color: var(--k12-teal);
  font-family: var(--k12-ui);
  display: block;
  margin: 0.3rem 0 0.75rem;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--k12-muted);
  line-height: 1.55;
}

/* ── TESTIMONIALS ── */
/* Testimonials sit in their own tinted band so the scrolling row reads as a
   visual break between the sections above and below it. */
.testimonials {
  text-align: center;
  background: var(--k12-cream-warm);
  max-width: none;
  border-top: 1px solid var(--k12-hairline);
  border-bottom: 1px solid var(--k12-hairline);
}
.testimonials > * { max-width: 72rem; margin-left: auto; margin-right: auto; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}
.testimonial {
  background: var(--k12-cream);
  border-radius: 8px;
  padding: 2rem;
  margin: 0;
  border: 1px solid var(--k12-hairline);
}
.testimonial p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--k12-dark);
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--k12-muted);
  font-family: var(--k12-ui);
  letter-spacing: normal;
}

/* ── DIRECTORY ── */
.dir-header {
  padding: 6rem 1.5rem 2rem;
  background: var(--k12-dark);
  color: #fff;
  text-align: center;
}
.dir-header h1 {
  font-family: var(--k12-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.dir-header p {
  font-family: var(--k12-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
}
.dir-controls {
  max-width: 72rem; margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}
.dir-search {
  flex: 1; min-width: 200px;
  padding: 0.65rem 1rem;
  font-family: var(--k12-body);
  font-size: 1rem;
  border: 1.5px solid var(--k12-hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--k12-dark);
}
.dir-search:focus {
  outline: none;
  border-color: var(--k12-teal);
  box-shadow: 0 0 0 3px rgba(79,184,198,0.15);
}
.dir-filter {
  padding: 0.65rem 1rem;
  font-family: var(--k12-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 1.5px solid var(--k12-hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--k12-dark);
  cursor: pointer;
}
.dir-grid {
  max-width: 72rem; margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.dir-card {
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dir-card:hover {
  border-color: var(--k12-teal);
  box-shadow: 0 2px 12px rgba(79,184,198,0.1);
}
.dir-card-logo {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--k12-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--k12-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--k12-teal-mid);
  margin-bottom: 1rem;
  overflow: hidden;
}
.dir-card-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dir-card h3 {
  font-family: var(--k12-ui);
  font-size: 1.05rem; font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.dir-card-cats {
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-teal-mid);
  margin-bottom: 0.5rem;
}
.dir-card p {
  font-size: 0.9rem;
  color: var(--k12-muted);
  line-height: 1.5;
  flex: 1;
}
.dir-card-rating {
  margin-top: 0.75rem;
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--k12-gold);
}
.dir-input {
  flex: 1; min-width: 200px;
  padding: 0.65rem 1rem;
  font-family: var(--k12-body);
  font-size: 1rem;
  border: 1.5px solid var(--k12-hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--k12-dark);
}
.dir-input:focus {
  outline: none;
  border-color: var(--k12-teal);
  box-shadow: 0 0 0 3px rgba(79,184,198,0.15);
}
.dir-select {
  padding: 0.65rem 1rem;
  font-family: var(--k12-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  border: 1.5px solid var(--k12-hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--k12-dark);
  cursor: pointer;
}
/* `.sec.` so this beats the later `.sec { padding: var(--sec-pad-y) ... }`
   shorthand, which silently reset it to the full section padding (fb:87).
   The search row sits 1.5rem under the section top. */
.sec.directory-sec { padding-top: 1.5rem; }
.directory-sec .dir-controls { padding-top: 0; }
.dir-logo {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.dir-logo-placeholder {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--k12-forest);
  color: #fff;
  font-family: var(--k12-ui);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.dir-name {
  font-family: var(--k12-ui);
  font-size: 1.05rem; font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.dir-cats { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.dir-tag {
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--k12-teal-mid);
  background: var(--k12-teal-light);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.dir-desc {
  font-size: 0.9rem;
  color: var(--k12-muted);
  line-height: 1.5;
  flex: 1;
}
.dir-rating {
  margin-top: 0.75rem;
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--k12-gold);
}
.dir-count {
  max-width: 72rem; margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-muted);
}
.dir-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--k12-muted);
  font-size: 1.1rem;
}
.dir-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--k12-muted);
}

/* ── COMMUNITY SECTION ── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.community-card {
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.community-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.community-card strong {
  display: block;
  font-family: var(--k12-ui);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 0.5rem;
}
.community-card p {
  font-size: 0.95rem;
  color: var(--k12-muted);
  line-height: 1.5;
}

/* ── X AND O SECTION DIVIDERS ── */
.xo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  opacity: 0.15;
}
.xo-divider svg { width: 24px; height: 24px; }

/* ── TEAM PROFILE (our-team page) ── */
.team-profiles-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.team-profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.team-profile:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.team-profile-reverse {
  grid-template-columns: 1fr 200px;
}
.team-profile-reverse .team-profile-photo {
  order: 2;
}
.team-profile-photo {
  flex-shrink: 0;
}
.team-profile-photo .photo-placeholder {
  width: 200px;
  height: 200px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.team-profile-bio h2 {
  font-family: var(--k12-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 0.25rem;
}
.team-profile-role {
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-teal-mid);
  margin-bottom: 1.5rem;
}
.team-profile-bio p {
  font-size: 1.05rem;
  color: var(--k12-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .team-profile,
  .team-profile-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-profile-reverse .team-profile-photo {
    order: 0;
  }
  .team-profile-photo .photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--k12-dark);
  color: var(--k12-cream);
  padding: 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo { height: 36px; width: auto; display: block; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245,241,235,0.55);
  line-height: 1.55;
  margin-top: 0.75rem;
  max-width: 320px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col strong {
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  letter-spacing: normal;
  margin-bottom: 0.25rem;
  color: var(--k12-gold);
  font-weight: 600;
}
.footer-col a, .footer-col span {
  font-size: 0.85rem;
  color: rgba(245,241,235,0.7);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--k12-cream);
}
.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245,241,235,0.35);
  padding: 1.5rem;
  border-top: 1px solid rgba(245,241,235,0.1);
}
.footer-legal { display: block; margin-top: 0.5rem; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--k12-teal); }
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── PAGE HERO (smaller, for sub-pages) ── */
.page-hero {
  padding: 8rem 1.5rem 3.5rem;
  background: var(--k12-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 75%, rgba(201,158,80,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 25%, rgba(79,184,198,0.1) 0%, transparent 65%);
  animation: k12-drift 20s ease-in-out infinite;
}

/* ── X/O STRIP ANIMATION ── */
@keyframes xo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.15); opacity: 0.35; }
}
.xo-strip svg { animation: xo-pulse 3s ease-in-out infinite; }
.xo-strip svg:nth-child(2) { animation-delay: 0.5s; }
.xo-strip svg:nth-child(3) { animation-delay: 1s; }
.xo-strip svg:nth-child(4) { animation-delay: 1.5s; }
.xo-strip svg:nth-child(5) { animation-delay: 2s; }
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 72rem; margin: 0 auto;
}
.page-hero-eyebrow {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-gold);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--k12-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--k12-teal);
}
.page-hero p {
  font-family: var(--k12-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 36rem;
  line-height: 1.6;
}

/* ── PHOTO PLACEHOLDERS ── */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--k12-cream-warm);
  border: 2px dashed var(--k12-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--k12-ui);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--k12-muted);
  overflow: hidden;
}
.photo-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.photo-placeholder--square { aspect-ratio: 1; }
.photo-placeholder--wide { aspect-ratio: 21 / 9; }
.sec-dark .photo-placeholder {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
}
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero::after, .bottom-cta::after, .sec-dark::after, .page-hero::after { animation: none; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions { animation: none; }
  .play .route { stroke-dashoffset: 0; animation: none; }
  .play .player, .play .xmark, .play .arrow { opacity: 1; animation: none; }
  .xo-strip svg { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   INTERIOR PAGE SYSTEM (Sept 25 handoff: stronger visual breaks)
   One type scale + spacing rhythm shared by every interior page,
   a proper photo hero banner, alternating section bands, and
   clearly-marked media slots that K12 fills with real photos.
   ══════════════════════════════════════════════════════════════ */
:root {
  --k12-forest: var(--k12-teal-deep); /* was referenced but never defined */
  --fs-h1: clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 3.2vw, 2.4rem);
  --fs-h3: 1.15rem;
  --fs-lead: 1.15rem;
  --sec-pad-y: 4.75rem;
  --sec-pad-y-compact: 3.25rem;
}
.sec { padding: var(--sec-pad-y) 1.5rem; }
.sec h2, .bottom-cta h2 { font-size: var(--fs-h2); }
.sec-sub { font-size: var(--fs-lead); }
.sec--compact { padding-top: var(--sec-pad-y-compact); padding-bottom: var(--sec-pad-y-compact); }
.sec--center { text-align: center; }
.sec--center .sec-sub { margin-left: auto; margin-right: auto; }
.sec--center .media-slot-grid { text-align: left; }
.sec-alt { border-top: 1px solid var(--k12-hairline); border-bottom: 1px solid var(--k12-hairline); }
.sec-band { background: var(--k12-teal-deep); color: #fff; position: relative; overflow: hidden; }
.sec-band .sec-sub { color: rgba(255,255,255,0.7); }
.sec-band .sec { max-width: 72rem; margin: 0 auto; }
.sec-kicker {
  font-family: var(--k12-heading);
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--k12-gold);
  margin-bottom: 0.5rem;
}
.sec-dark .sec-sub { color: rgba(255,255,255,0.65); }

/* Hero banner — photo-backed, taller, with an accent rule */
.page-hero {
  padding: 8.5rem 1.5rem 4.5rem;
  border-bottom: 4px solid var(--k12-teal);
  border-image: linear-gradient(90deg, var(--k12-teal) 0%, var(--k12-teal) 55%, var(--k12-gold) 55%, var(--k12-gold) 100%) 1;
}
.page-hero h1 { font-size: var(--fs-h1); line-height: 1.08; max-width: 52rem; text-wrap: balance; }
.page-hero p { font-size: var(--fs-lead); }
.page-hero--photo {
  background-color: var(--k12-dark);
  /* Centered headings need an even, text-safe scrim across the whole
     width (a left-to-right fade left the middle of the photo too bright
     once the text moved to the center). Darker at the bottom where the
     sub copy and buttons sit. */
  background-image:
    radial-gradient(ellipse 75% 70% at 50% 60%, rgba(28,26,23,0.35) 0%, transparent 75%),
    linear-gradient(180deg, rgba(28,26,23,0.70) 0%, rgba(28,26,23,0.80) 55%, rgba(15,43,42,0.92) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center);
  min-height: 26rem;
  display: flex; align-items: flex-end;
}
.page-hero--photo .page-hero-inner { width: 100%; text-align: center; }
.page-hero--photo h1,
.page-hero--photo p { margin-left: auto; margin-right: auto; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.page-hero--photo p { color: rgba(255,255,255,0.85); }
.page-hero--photo .page-hero-actions { justify-content: center; }
.page-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
@media (max-width: 768px) {
  :root { --sec-pad-y: 3.5rem; --sec-pad-y-compact: 2.5rem; }
  .page-hero { padding: 6.5rem 1rem 3rem; }
  .page-hero--photo { min-height: 0; background-position: var(--hero-pos-mobile, center); }
  .sec { padding-left: 1rem; padding-right: 1rem; }
}

/* Media slots — intentional empty states awaiting client photos,
   screenshots or testimonials. Swap the inner <div> for an <img>
   (or blockquote) once K12 supplies content. */
.media-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.media-slot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1.5px dashed var(--k12-hairline);
  background: var(--k12-cream-warm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1.25rem; text-align: center;
  color: var(--k12-muted);
  overflow: hidden;
}
.media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-slot--quote { aspect-ratio: auto; min-height: 11rem; }
/* Filled screenshot: image on top at the slot ratio, caption underneath. */
.media-slot--shot { aspect-ratio: auto; border-style: solid; padding: 0 0 0.85rem; gap: 0.75rem; justify-content: flex-start; background: var(--k12-cream); }
.media-slot--shot img { position: static; aspect-ratio: 16 / 10; height: auto; object-position: top left; border-bottom: 1px solid var(--k12-hairline); }
.media-slot--wide { aspect-ratio: 21 / 9; }
/* Filled photo: the image covers the slot, no dashed placeholder frame. */
.media-slot--photo { border: 0; padding: 0; }
.media-slot--feature { width: 100%; max-width: 56rem; justify-self: center; }
/* Screenshot grids (/for-vendors): single column on phones; three in a row from
   56rem up, breaking out of the 72rem text column so each shot is legible. */
.media-slot-grid--shots { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 56rem) {
  .media-slot-grid--shots {
    grid-template-columns: repeat(3, 1fr);
    width: min(96rem, calc(100vw - 4rem));
    margin-left: 50%; transform: translateX(-50%);
  }
}
/* Filled slots: a video embed, or a partner quote in place of the placeholder. */
.media-slot--video { border: 0; padding: 0; background: var(--k12-dark); }
.media-slot--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-slot--quote:has(blockquote) { border-style: solid; justify-content: center; text-align: left; align-items: flex-start; }
.media-slot--quote blockquote { margin: 0; font-style: italic; font-size: 1.02rem; line-height: 1.55; color: var(--k12-dark); }
.media-slot-icon { width: 34px; height: 34px; color: var(--k12-teal-mid); opacity: 0.7; }
.media-slot-label {
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: normal;
}
.media-slot-caption { font-size: 0.85rem; line-height: 1.45; max-width: 18rem; }
.sec-alt .media-slot { background: var(--k12-cream); }
.sec-dark .media-slot, .sec-band .media-slot {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.6);
}
.sec-dark .media-slot-icon, .sec-band .media-slot-icon { color: var(--k12-teal); }

/* Directory cards — clickable + keyboard focusable */
.dir-card { cursor: pointer; text-align: left; color: inherit; text-decoration: none; }
.dir-card:focus-visible { outline: 3px solid var(--k12-teal); outline-offset: 2px; border-color: var(--k12-teal); }
.dir-card-more {
  margin-top: 0.9rem;
  font-family: var(--k12-ui);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: normal;
  color: var(--k12-teal-mid);
}
.dir-card:hover .dir-card-more, .dir-card:focus-visible .dir-card-more { color: var(--k12-teal); }
.dir-logo { background: #fff; border: 1px solid var(--k12-hairline); object-fit: contain; }

/* Sign-up gate modal (anonymous directory visitors) */
.gate-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28,26,23,0.62);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.gate-overlay[hidden] { display: none; }
.gate-modal {
  position: relative;
  width: 100%; max-width: 26rem;
  background: #fff; color: var(--k12-dark);
  border-radius: 12px;
  border-top: 4px solid var(--k12-teal);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.gate-close {
  position: absolute; top: 0.6rem; right: 0.75rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--k12-muted);
  padding: 0.25rem 0.5rem;
}
.gate-close:hover { color: var(--k12-dark); }
.gate-vendor { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.gate-vendor .dir-logo, .gate-vendor .dir-logo-placeholder { margin-bottom: 0; flex-shrink: 0; }
.gate-vendor strong { font-family: var(--k12-ui); font-size: 1rem; font-weight: 600; }
.gate-modal h2 {
  font-size: 1.45rem; letter-spacing: 0.03em;
  line-height: 1.15; margin-bottom: 0.5rem;
}
.gate-modal p { color: var(--k12-muted); font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.4rem; }
.gate-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.gate-actions .sec-cta { margin-top: 0; text-align: center; }
.gate-foot { margin-top: 1rem; font-size: 0.8rem; color: var(--k12-muted); text-align: center; }
.gate-foot a { color: var(--k12-teal-mid); }

/* Vendor pricing — consulting group + handoff details */
.pricing-group-label { grid-column: 1 / -1; margin: 1.75rem 0 0.25rem; max-width: 46rem; }
.pricing-group-label h3 {
  font-size: 1.5rem; letter-spacing: 0.03em;
  line-height: 1.2; margin-bottom: 0.4rem;
}
.pricing-group-label p:not(.pricing-eyebrow) { color: var(--k12-muted); font-size: 0.98rem; line-height: 1.55; }
.pricing-tagline { margin-top: 0.35rem; font-size: 0.88rem; color: var(--k12-muted); line-height: 1.4; }
.pricing-offer {
  background: #fff; border: 1px solid var(--k12-gold); border-radius: 6px;
  padding: 0.6rem 0.75rem; margin-bottom: 1rem;
  font-size: 0.82rem; line-height: 1.4;
}
.pricing-offer strong { display: block; color: var(--k12-dark); font-weight: 600; }
/* The Hackathon's 20%-off offer (fb:124): the Growth tier's card
   (.pricing-card-services - cream, gold top bar) so it reads as an offer,
   sized to the section's text column. */
.hackathon-offer { max-width: 36rem; margin: 0 0 1.75rem; }
.hackathon-offer .pricing-header { margin-bottom: 0.75rem; }
.hackathon-offer p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--k12-text); }
.pricing-offer span { color: var(--k12-muted); }
.pricing-card:has(.pricing-paths) .pricing-features { flex: none; }
.pricing-paths { margin: 0 0 1.25rem; flex: 1; }
.pricing-paths-label {
  font-family: var(--k12-ui); font-size: 0.8rem; letter-spacing: normal; color: var(--k12-teal-mid); margin-bottom: 0.4rem;
  font-weight: 600;
}
.pricing-path {
  background: #fff; border: 1px solid var(--k12-hairline); border-radius: 6px;
  padding: 0.5rem 0.65rem; font-size: 0.85rem; line-height: 1.4;
  display: flex; gap: 0.5rem; align-items: baseline;
}
.pricing-path strong { font-family: var(--k12-ui); color: var(--k12-gold);
  font-weight: 600;
}
.pricing-path-or {
  text-align: center; font-size: 0.8rem;
  letter-spacing: normal; color: var(--k12-muted); margin: 0.25rem 0;
}
.bottom-cta .bottom-cta-note { margin: 1.5rem auto 0; max-width: 34rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.bottom-cta-note a { color: var(--k12-teal); }

/* ── SCROLLING TESTIMONIALS ──
   A continuous marquee over the testimonial set, duplicated once so the
   loop is seamless. Pauses on hover/focus and falls back to a normal
   horizontal scroller when the viewer prefers reduced motion. Add new
   quotes to BOTH copies of the set. */
.testimonial-scroller {
  overflow: hidden;
  margin-top: 2.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: testimonial-scroll 44s linear infinite;
}
.testimonial-scroller:hover .testimonial-track,
.testimonial-scroller:focus-within .testimonial-track { animation-play-state: paused; }
.testimonial-track .testimonial { flex: 0 0 auto; width: min(360px, 80vw); }
.testimonial-track .testimonial[aria-hidden="true"] { pointer-events: none; }
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  /* gap is 2rem, so half of it compensates for the gap between the two sets */
  to { transform: translateX(calc(-50% - 1rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; overflow-x: auto; }
  .testimonial-scroller { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) {
  .testimonial-track { animation-duration: 28s; }
}

/* ── Sentence-case sizing ──
   Labels used to be tiny tracked-out capitals. In sentence case they need a
   little more size and weight to hold the same presence, matching the app. */
.ln-links a { font-size: 0.875rem; font-weight: 500; }
.ln-cta, .tt-banner-cta, .sec-cta, .pcard-cta { font-size: 0.875rem; font-weight: 600; }
.btn-primary, .btn-secondary { font-size: 0.95rem; font-weight: 600; }
.hero-eyebrow, .page-hero-eyebrow, .pricing-eyebrow, .sec-kicker { font-size: 0.9rem; font-weight: 600; }
.compact-heading { font-size: 1rem; font-weight: 600; }
.value-row strong, .step-clean strong, .step strong, .community-card strong { font-size: 1rem; }
.footer-col strong { font-size: 0.875rem; }

/* Directory card actions: "View full profile" stretches over the card so
   the whole card still clicks through; "More info" sits above it. */
.dir-card { position: relative; }
.dir-card-actions {
  margin-top: 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.dir-card-actions .dir-card-more { margin-top: 0; text-decoration: none; }
.dir-card-more::after { content: ''; position: absolute; inset: 0; border-radius: 8px; }
.dir-card-more:focus-visible { outline: none; }
.dir-card-more:focus-visible::after { outline: 3px solid var(--k12-teal); outline-offset: 2px; }
.dir-card:hover .dir-card-more { color: var(--k12-teal); }
.dir-card-info {
  position: relative; z-index: 1;
  background: none; border: 1px solid var(--k12-hairline); border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-family: var(--k12-ui); font-size: 0.8rem; font-weight: 500;
  color: var(--k12-muted); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.dir-card-info:hover { border-color: var(--k12-teal); color: var(--k12-teal-mid); }
.dir-card-info:focus-visible { outline: 3px solid var(--k12-teal); outline-offset: 2px; }

/* Quick overview dialog ("More info") */
.ov-modal { max-width: 30rem; }
.ov-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; padding-right: 1.5rem; }
.ov-head .dir-logo, .ov-head .dir-logo-placeholder { margin-bottom: 0; flex-shrink: 0; }
.ov-modal h2 {
  font-family: var(--k12-ui); font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none; line-height: 1.3; margin-bottom: 0;
}
.ov-modal .ov-desc { color: var(--k12-text); font-size: 0.95rem; line-height: 1.6; margin: 0.4rem 0 1rem; }
.ov-site {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--k12-ui); font-size: 0.9rem; font-weight: 500;
  color: var(--k12-teal-mid); text-decoration: underline; text-underline-offset: 3px;
  margin-bottom: 1.2rem;
}
.ov-site[hidden] { display: none; }
.ov-site:hover { color: var(--k12-teal-deep); }
.ov-site:focus-visible { outline: 3px solid var(--k12-teal); outline-offset: 2px; border-radius: 2px; }
.ov-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.ov-badges { margin-bottom: 1.4rem; }
.ov-badges[hidden] { display: none; }
.ov-sub {
  font-family: var(--k12-ui); font-size: 0.85rem; font-weight: 600;
  letter-spacing: normal; text-transform: none; color: var(--k12-muted);
  margin-bottom: 0.5rem;
}
.ov-badge-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ov-badge { position: relative; }
.ov-badge-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--k12-teal-light); color: var(--k12-teal-mid);
  border: 1px solid transparent; border-radius: 50%;
  cursor: help;
}
.ov-badge-btn img { width: 28px; height: 28px; object-fit: contain; }
.ov-badge-btn:hover { border-color: var(--k12-teal); }
.ov-badge-btn:focus-visible { outline: 3px solid var(--k12-teal); outline-offset: 2px; }
.ov-tip {
  position: absolute; z-index: 2;
  bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 15rem;
  background: var(--k12-dark); color: #fff;
  font-family: var(--k12-ui); font-size: 0.8rem; line-height: 1.45;
  padding: 0.5rem 0.65rem; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  visibility: hidden; opacity: 0;
  transition: opacity 0.12s;
}
.ov-tip strong { display: block; font-weight: 600; }
.ov-badge:first-child .ov-tip { left: 0; transform: none; }
.ov-badge:hover .ov-tip,
.ov-badge-btn:focus-visible + .ov-tip,
.ov-badge.is-open .ov-tip { visibility: visible; opacity: 1; }
.ov-badge.is-dismissed .ov-tip { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ov-tip { transition: none; } }

/* ── Product mocks (homepage "Everything you need" section) ──
   HTML/CSS illustrations of the AD app, framed as a browser window. All
   sizes inside .mock-screen are in em, and the screen's font-size tracks
   the window width (container query units), so each mock scales down as
   one picture. Below ~420px wide the dashboard drops its side column and
   the type steps up so it stays readable on phones. Demo data only. */
.mock-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
  gap: 1.5rem;
}
.mock-figure { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.mock-caption { color: var(--k12-muted); max-width: none; text-align: center; }
.mock-window {
  container-type: inline-size;
  border-radius: 10px;
  border: 1px solid var(--k12-hairline);
  background: var(--k12-cream-warm);
  box-shadow: 0 1px 2px rgba(28,26,23,0.06), 0 12px 32px -12px rgba(28,26,23,0.22);
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
}
.mock-chrome {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  background: var(--k12-cream-warm);
  border-bottom: 1px solid var(--k12-hairline);
}
.mock-dots { display: inline-flex; gap: 0.3rem; flex-shrink: 0; }
.mock-dots i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--k12-hairline); }
.mock-url {
  flex: 1; min-width: 0;
  font-family: var(--k12-ui); font-size: 0.68rem; color: var(--k12-muted);
  background: var(--k12-cream); border-radius: 999px;
  padding: 0.15rem 0.7rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-screen {
  font-family: var(--k12-ui);
  font-size: 11px;
  font-size: 2.05cqi;
  line-height: 1.35;
  color: var(--k12-text);
  background: var(--k12-cream);
  flex: 1;
  overflow: hidden;
}
/* :where() keeps these resets at zero specificity so mock- rules win */
:where(.mock-screen) p { margin: 0; }
:where(.mock-screen) ul { list-style: none; margin: 0; padding: 0; }

/* App top bar */
.mock-appbar {
  display: flex; align-items: center; gap: 1.6em;
  padding: 0.8em 1.4em;
  background: var(--k12-dark);
  color: rgba(245,241,235,0.72);
}
.mock-brand { font-family: var(--k12-heading); font-weight: 600; font-size: 1.15em; color: var(--k12-cream); white-space: nowrap; }
.mock-brand em { font-style: normal; color: var(--k12-teal); }
.mock-tabs { display: flex; gap: 1.3em; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.mock-tabs span { padding-bottom: 0.2em; border-bottom: 2px solid transparent; }
.mock-tabs .is-on { color: var(--k12-cream); border-bottom-color: var(--k12-teal); }
.mock-avatar {
  width: 2em; height: 2em; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--k12-teal-mid); color: var(--k12-cream); font-weight: 600;
}

/* Page body */
.mock-body { padding: 1.3em 1.4em; display: flex; flex-direction: column; gap: 1em; }
.mock-ph { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.mock-h1 { font-family: var(--k12-heading); font-weight: 600; font-size: 1.75em; line-height: 1.1; color: var(--k12-dark); }
.mock-h2 { font-family: var(--k12-heading); font-weight: 500; font-size: 1.2em; color: var(--k12-dark); }
.mock-sub { font-size: 0.9em; color: var(--k12-muted); margin-top: 0.15em; }
.mock-btn {
  flex-shrink: 0; white-space: nowrap;
  padding: 0.5em 1em; border-radius: 6px;
  background: var(--k12-teal-mid); color: var(--k12-cream);
  font-weight: 600; font-size: 0.9em;
}
.mock-btn--ghost { background: transparent; color: var(--k12-teal-mid); border: 1px solid var(--k12-hairline); padding: 0.35em 0.8em; }

/* Panels */
.mock-dash { display: grid; grid-template-columns: 1.75fr 1fr; gap: 1em; align-items: start; }
.mock-col { display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.mock-panel {
  background: #fffdf9;
  border: 1px solid var(--k12-hairline);
  border-radius: 8px;
  padding: 0.9em 1em;
  min-width: 0;
}
.mock-panel.is-dark { background: var(--k12-teal-deep); border-color: var(--k12-teal-deep); color: rgba(245,241,235,0.75); }
.mock-panel.is-dark .mock-h2 { color: var(--k12-cream); }
.mock-panel.is-dark .mock-sub { color: rgba(245,241,235,0.62); }
.mock-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8em; margin-bottom: 0.7em; }
.mock-big { font-family: var(--k12-heading); font-weight: 600; font-size: 2.2em; line-height: 1.1; color: var(--k12-gold-glow); margin-top: 0.3em; }
.mock-big span { font-family: var(--k12-ui); font-weight: 500; font-size: 0.42em; color: rgba(245,241,235,0.7); }
.mock-bar { display: block; height: 0.5em; border-radius: 999px; background: rgba(245,241,235,0.14); margin: 0.6em 0 0.5em; overflow: hidden; }
.mock-bar i { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--k12-teal); }

/* Daily challenge tiles */
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.mock-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 0.7em;
  padding: 0.7em; border-radius: 6px;
  border: 1px solid var(--k12-hairline); background: var(--k12-cream);
}
.mock-tile-t { font-weight: 600; color: var(--k12-dark); }
.mock-tile.is-done { opacity: 0.6; }

/* Pills (tones mirror the app's t-good / t-info / t-muted) */
.mock-pill {
  display: inline-block; align-self: flex-start; white-space: nowrap;
  padding: 0.12em 0.6em; border-radius: 999px;
  font-size: 0.78em; font-weight: 600; vertical-align: middle;
}
.mock-pill.t-good { background: rgba(47,125,79,0.12); color: #2f6f47; }
.mock-pill.t-info { background: var(--k12-teal-light); color: var(--k12-teal-mid); }
.mock-pill.t-muted { background: rgba(111,107,98,0.12); color: var(--k12-muted); }

/* Rows */
.mock-rows li {
  display: flex; align-items: center; gap: 0.8em;
  padding: 0.6em 0;
  border-top: 1px solid var(--k12-hairline);
}
.mock-rows li:first-child { border-top: 0; padding-top: 0.2em; }
.mock-rows--tight li { padding: 0.5em 0; }
.mock-panel > .mock-h2 + .mock-rows { margin-top: 0.5em; }
.mock-logo {
  width: 2.4em; height: 2.4em; flex-shrink: 0; border-radius: 6px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.85em;
  background: var(--k12-teal-light); color: var(--k12-teal-mid);
}
.mock-logo--gold { background: rgba(201,158,80,0.16); color: #8c6d23; }
.mock-logo--deep { background: rgba(15,43,42,0.1); color: var(--k12-teal-deep); }
.mock-logo--muted { background: rgba(111,107,98,0.12); color: var(--k12-muted); }
.mock-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15em; }
.mock-row-t { font-weight: 600; color: var(--k12-dark); }
.mock-row-t .mock-pill { margin-left: 0.2em; }
.mock-row-s { font-size: 0.85em; color: var(--k12-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-rate { display: inline-flex; gap: 0.25em; flex-shrink: 0; }
.mock-rate i {
  font-style: normal; font-size: 0.8em; font-weight: 600;
  padding: 0.25em 0.55em; border-radius: 999px;
  border: 1px solid var(--k12-hairline); color: var(--k12-muted);
}
.mock-rate i.is-on { background: var(--k12-teal-mid); border-color: var(--k12-teal-mid); color: var(--k12-cream); }

/* My Stack */
.mock-stack { padding-top: 0.8em; }
.mock-seg {
  display: inline-flex; gap: 0.2em; padding: 0.2em;
  border-radius: 7px; background: var(--k12-cream-warm);
  margin-bottom: 0.4em; white-space: nowrap; max-width: 100%; overflow: hidden;
}
.mock-seg span { padding: 0.3em 0.75em; border-radius: 5px; font-weight: 600; font-size: 0.88em; color: var(--k12-muted); }
.mock-seg span.is-on { background: #fffdf9; color: var(--k12-dark); box-shadow: 0 1px 2px rgba(28,26,23,0.08); }
.mock-seg b { font-weight: 500; opacity: 0.7; margin-left: 0.2em; }
.mock-cat { font-size: 0.85em; font-weight: 600; color: var(--k12-teal-mid); margin: 0.75em 0 0.15em; }
.mock-peer { display: flex; flex-direction: column; align-items: flex-end; gap: 0.1em; flex-shrink: 0; }
.mock-stars { color: var(--k12-gold); letter-spacing: 0.08em; font-size: 1.05em; line-height: 1; }
.mock-stars s { text-decoration: none; color: var(--k12-hairline); }
.mock-quote {
  margin-top: 0.8em; padding: 0.7em 0.9em;
  border-radius: 6px; background: var(--k12-cream);
  font-style: italic; color: var(--k12-dark);
}
.mock-quote span { display: block; font-style: normal; font-size: 0.85em; color: var(--k12-muted); margin-top: 0.2em; }

/* Narrow windows (phones): one column, bigger type, fewer extras */
@container (max-width: 420px) {
  .mock-screen { font-size: 2.85cqi; }
  .mock-tab-extra, .mock-dash-side, .mock-btn--ghost, .mock-quote { display: none; }
  .mock-dash { grid-template-columns: 1fr; }
  .mock-appbar { gap: 1.1em; }
  .mock-tabs { gap: 0.9em; }
}

/* ── PUBLIC VENDOR PAGE (/vendors/<slug>) ── */
.page-hero.vp-hero { padding-bottom: 2.5rem; }
.vp-back {
  display: inline-block; margin-bottom: 1.25rem;
  font-family: var(--k12-ui); font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.75); text-decoration: none;
}
.vp-back:hover { color: var(--k12-teal); }
.vp-back:focus-visible { outline: 3px solid var(--k12-teal); outline-offset: 2px; border-radius: 2px; }
.vp-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.vp-head .dir-logo, .vp-head .dir-logo-placeholder { width: 72px; height: 72px; margin-bottom: 0; flex-shrink: 0; border-radius: 12px; font-size: 1.4rem; }
.page-hero.vp-hero h1 { margin-bottom: 0; line-height: 1.1; overflow-wrap: anywhere; }
.vp-cats .dir-tag { background: rgba(79,184,198,0.18); color: #bfe7ec; }
.sec.vp-body { padding-top: 3rem; }
.vp-grid {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start;
}
.vp-sub {
  font-family: var(--k12-ui); font-size: 1rem; font-weight: 600;
  letter-spacing: normal; text-transform: none; color: var(--k12-dark);
  margin-bottom: 0.6rem;
}
.sec .vp-sub { font-size: 1rem; }
.vp-desc { color: var(--k12-text); font-size: 1.02rem; line-height: 1.7; margin-bottom: 1rem; max-width: 44rem; }
.vp-main .ov-site { margin-bottom: 2rem; }
.vp-cta-card {
  background: #fff; border: 1px solid var(--k12-hairline); border-radius: 12px;
  padding: 1.5rem;
}
.vp-cta-card h2 {
  font-family: var(--k12-ui); font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none; margin-bottom: 0.5rem;
}
.sec .vp-cta-card h2 { font-size: 1.1rem; }
.vp-cta-card p { color: var(--k12-muted); font-size: 0.92rem; line-height: 1.55; }
.vp-cta-card .sec-cta { display: block; text-align: center; margin: 1.1rem 0 0.75rem; }
.vp-cta-note { font-size: 0.85rem; }
.vp-cta-note[hidden] { display: none; }
.vp-cta-note a { color: var(--k12-teal-mid); }
@media (max-width: 860px) {
  .vp-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── MARKETING VISUAL FLARE (fb:101/102/106/107) ── */
/* Testimonial band: dark with the same Friday-night-lights glow as .sec-dark,
   an animated X/O strip, cream cards on top. */
.testimonials.testimonials--dark {
  position: relative;
  overflow: hidden;
  background: var(--k12-dark);
  border-color: transparent;
}
.testimonials--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 55% at 10% 0%, rgba(201,158,80,0.20), transparent 70%),
    radial-gradient(ellipse 40% 55% at 90% 100%, rgba(79,184,198,0.20), transparent 70%);
}
.testimonials--dark > * { position: relative; z-index: 1; }
.testimonials--dark h2 { color: #fff; }
.testimonials--dark .sec-kicker { color: var(--k12-gold); }
.testimonials--dark .testimonial { border-color: transparent; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.testimonials--dark .xo-strip { padding: 0 0 1.5rem; }
.testimonials--dark .xo-strip svg * { opacity: 0.7; }

/* Value rows as cards, each with a check chip. */
.value-list--cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 1.25rem;
}
.value-list--cards .value-row {
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-content: start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--k12-hairline);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(28,26,23,0.06);
}
.value-list--cards .value-row:last-child { border: 1px solid var(--k12-hairline); }
.value-list--cards .value-row::before {
  content: ""; width: 44px; height: 44px; border-radius: 10px;
  background: var(--k12-cream-warm) center / 26px 26px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M10 21l7 7 13-15' stroke='%23c99e50' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
@media (max-width: 900px) { .value-list--cards { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); } }
@media (max-width: 640px) { .value-list--cards { grid-template-columns: 1fr; } }

/* Vendor-page screenshots in the For vendors dark band (replace the stock photo tiles). */
.photo-row .photo-shot { display: block; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.photo-row .photo-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ── LEGAL PAGES (/privacy, /terms) ── */
.legal { padding: 7rem 1rem 4.5rem; }
.legal-inner { max-width: 46rem; margin: 0 auto; color: var(--k12-text); line-height: 1.75; font-size: 1rem; overflow-wrap: anywhere; }
.legal-inner h1 { font-family: var(--k12-heading); font-weight: 600; color: var(--k12-dark); font-size: var(--fs-h2); line-height: 1.2; margin-bottom: 0.5rem; }
.legal-updated { color: var(--k12-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-inner h2 { font-family: var(--k12-heading); font-weight: 500; color: var(--k12-dark); font-size: 1.45rem; line-height: 1.3; margin: 2.5rem 0 0.75rem; scroll-margin-top: 5rem; }
.legal-inner h3 { font-family: var(--k12-body); font-weight: 600; color: var(--k12-dark); font-size: 1.02rem; margin: 1.5rem 0 0.4rem; }
.legal-inner p { margin-bottom: 1rem; }
.legal-inner a { color: var(--k12-teal-mid); }
