/* ─────────────────────────────────────────────────────────────────────────────
   site.css — layered ON TOP of additional.css.
   additional.css holds the design tokens and the original landing-page
   components. Everything new for the multi-page site lives here so the two
   files never fight over the same selector.
   ───────────────────────────────────────────────────────────────────────── */

/* ── SHARED NAV ─────────────────────────────────────────────────────────── */

nav ul li a.is-current {
  color: var(--brand);
  background: var(--brand-light);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: -12px;
  min-width: 290px; padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: var(--radius-sm);
  transition: background .16s;
}
.nav-dropdown-item:hover { background: var(--surface-2); }
.nav-dropdown-item i { color: var(--brand); font-size: 17px; margin-top: 2px; }
.nav-dropdown-item strong { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.nav-dropdown-item span { font-size: 12px; color: var(--ink-4); line-height: 1.45; }

/* ── PAGE HEADER (inner pages) ──────────────────────────────────────────── */

.page-head {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 60% 60% at 78% 20%, rgba(0,180,216,.08) 0%, transparent 70%),
    var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.page-head-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  letter-spacing: -1.2px; margin: 14px 0 16px;
}
.page-head h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-head p { font-size: 1.08rem; color: var(--ink-3); max-width: 620px; line-height: 1.7; }

.breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-4);
}
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs i { font-size: 11px; }

.section-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }
.section-pad-tight { padding: 60px 0; }
.bg-alt { background: var(--surface-2); }
.bg-ink { background: var(--ink); color: #fff; }

/* ── ADD-ON CARDS ───────────────────────────────────────────────────────── */

.addon-toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 32px 0 24px;
}
.addon-filter {
  padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  cursor: pointer; transition: all .18s;
}
.addon-filter:hover { border-color: var(--border-2); color: var(--ink); }
.addon-filter[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

.addon-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.addon-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.addon-card:hover {
  border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow);
}
.addon-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.addon-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--brand-light); color: var(--brand-dark);
  flex-shrink: 0;
}
.addon-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-4);
}
.addon-card h3 { font-size: 1.05rem; margin: 0; }
.addon-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; flex: 1; margin: 0; }
.addon-price {
  display: flex; align-items: baseline; gap: 6px;
  padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--border);
}
.addon-price strong {
  font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--ink);
}
.addon-price span { font-size: 12px; color: var(--ink-4); }
.addon-dep {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: #92400E;
  background: #FFF7ED; border: 1px solid #FDE9C8;
  padding: 4px 10px; border-radius: 50px; width: fit-content;
}

/* ── PRICING PAGE ───────────────────────────────────────────────────────── */

.price-source {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-4); background: var(--surface-3);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 6px 14px; margin-top: 20px;
}
.price-source .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}
.is-loading .price-main,
.is-loading .plan-features li { opacity: .35; }

.skeleton {
  display: inline-block; border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-3) 25%, #E9EFF5 50%, var(--surface-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  color: transparent !important;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.pricing-note {
  margin-top: 40px; padding: 18px 22px;
  border: 1.5px dashed var(--border-2); border-radius: var(--radius);
  font-size: 13.5px; color: var(--ink-3); background: var(--surface);
  display: flex; gap: 12px; align-items: flex-start;
}
.pricing-note i { color: var(--brand); font-size: 18px; margin-top: 1px; }

/* ── ESTIMATOR ──────────────────────────────────────────────────────────── */

.estimator {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  align-items: start; margin-top: 48px;
}
.estimator-panel {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--ink-3); margin-bottom: 6px;
}
.field input, .field select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--surface); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}

.addon-toggle-list { display: grid; gap: 8px; }
.addon-toggle {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--surface-2);
  cursor: pointer; transition: all .18s;
}
.addon-toggle:hover { border-color: var(--border-2); }
.addon-toggle input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }
.addon-toggle-body { flex: 1; }
.addon-toggle-body strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.addon-toggle-body span { font-size: 11.5px; color: var(--ink-4); }
.addon-toggle-cost {
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--brand-dark);
  white-space: nowrap;
}
.addon-toggle.is-on { border-color: var(--brand); background: var(--brand-light); }
.addon-toggle.is-locked { opacity: .55; cursor: not-allowed; }

.quote {
  position: sticky; top: 92px;
  background: linear-gradient(150deg, var(--ink-2), var(--ink));
  border-radius: var(--radius-xl); padding: 30px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.quote h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.quote-sub { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 24px; }
.quote-total {
  font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 800;
  line-height: 1; letter-spacing: -1px;
}
.quote-total sup { font-size: 1.1rem; vertical-align: super; margin-right: 2px; }
.quote-unit { font-size: 12px; color: rgba(255,255,255,.45); margin: 6px 0 22px; }
.quote-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.65);
}
.quote-line:last-of-type { border-bottom: none; }
.quote-line b { font-family: 'Sora', sans-serif; color: #fff; font-weight: 600; white-space: nowrap; }
.quote-empty { font-size: 12.5px; color: rgba(255,255,255,.35); padding: 8px 0; }
.quote-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; color: rgba(255,255,255,.35); line-height: 1.6;
}

/* ── COMPARISON TABLE ───────────────────────────────────────────────────── */

.compare-wrap {
  margin-top: 48px; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; background: var(--surface);
}
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 13px 20px; text-align: left; font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  position: sticky; top: 0; background: var(--surface-2);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink);
  border-bottom: 1.5px solid var(--border);
}
.compare-table tbody th {
  font-weight: 500; color: var(--ink-3); font-family: 'DM Sans', sans-serif;
}
.compare-table td { text-align: center; width: 130px; color: var(--ink-3); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--surface-2); }
.compare-group td {
  background: var(--surface-3); text-align: left;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-4);
}
.tick { color: var(--accent-green); font-size: 16px; }
.cross { color: var(--border-2); font-size: 15px; }

/* ── SOLUTIONS ──────────────────────────────────────────────────────────── */

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.solution-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-xl);
  padding: 30px; background: var(--surface); transition: all .22s;
  display: flex; flex-direction: column;
}
.solution-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-card .role-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.solution-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.solution-card > p { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; margin-bottom: 18px; }
.solution-stack {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
}
.solution-stack-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 50px;
  background: var(--brand-light); color: var(--brand-dark);
}
.chip-neutral { background: var(--surface-3); color: var(--ink-3); }

/* ── SCRATCH CARD / REVENUE CALLOUT ─────────────────────────────────────── */

.revenue-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split-meter {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow);
}
.split-bar {
  height: 46px; border-radius: 12px; overflow: hidden; display: flex;
  border: 1px solid var(--border);
}
.split-school {
  flex: 1; background: linear-gradient(135deg, var(--brand), var(--accent-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px; color: #fff;
}
.split-legend {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 16px;
  font-size: 13px; color: var(--ink-3);
}
.split-legend b { font-family: 'Sora', sans-serif; color: var(--ink); }
.split-legend .zero { color: var(--ink-4); }

/* ── PRODUCT MODULE ROWS ────────────────────────────────────────────────── */

.module-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.module-block + .module-block { margin-top: 88px; }
.module-block.is-flipped .module-block-visual { order: -1; }
.module-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 14px 0 14px; }
.module-block > div > p { font-size: 15px; color: var(--ink-3); line-height: 1.75; }
.module-points { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.module-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-3); }
.module-points li i { color: var(--brand); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.module-block-visual {
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 26px;
}
.plan-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 50px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink-3);
}
.plan-badge.on-basic { border-color: #BBF7D0; background: #F0FDF4; color: #15803D; }
.plan-badge.on-pro { border-color: #BAE6FD; background: var(--brand-light); color: var(--brand-dark); }
.plan-badge.on-ent { border-color: #DDD6FE; background: #F5F3FF; color: var(--accent-purple); }
.plan-badge.on-addon { border-color: #FED7AA; background: #FFF7ED; color: #C2410C; }

/* ── FOOTER TWEAKS ──────────────────────────────────────────────────────── */

.footer-col ul li a.is-current { color: #fff; }

/* ── ERROR / EMPTY STATE ────────────────────────────────────────────────── */

.load-error {
  display: none; align-items: flex-start; gap: 12px;
  padding: 16px 20px; border-radius: var(--radius);
  border: 1.5px solid #FECDD3; background: #FFF1F2; color: #9F1239;
  font-size: 13.5px; margin-top: 24px;
}
.load-error.is-visible { display: flex; }
.load-error i { font-size: 18px; margin-top: 1px; }
.load-error button {
  background: none; border: none; padding: 0; cursor: pointer;
  color: #9F1239; font-weight: 700; text-decoration: underline; font-size: 13.5px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .addon-grid { grid-template-columns: 1fr 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .estimator { grid-template-columns: 1fr; }
  .quote { position: static; }
  .revenue-split { grid-template-columns: 1fr; gap: 36px; }
  .module-block { grid-template-columns: 1fr; gap: 32px; }
  .module-block.is-flipped .module-block-visual { order: 0; }
}
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .addon-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav-dropdown-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 12px; min-width: 0;
  }
}

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

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LIVE DEMO (#try-demo)
   Previously an inline <style> block in index.html — moved here so every page
   can use it, and retuned from the old #0A6EFF blue to the --brand tokens.
   ───────────────────────────────────────────────────────────────────────── */

#try-demo {
  padding: 96px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.demo-browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
  margin-top: 48px;
}
.demo-browser-bar {
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.demo-browser-dots { display: flex; gap: 6px; }
.demo-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-browser-dots .r { background: #FF5F57; }
.demo-browser-dots .y { background: #FFBD2E; }
.demo-browser-dots .g { background: #28C840; }
.demo-browser-url {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

.demo-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.demo-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .2s;
}
.demo-card:last-child { border-right: none; }
.demo-card:hover { background: var(--surface-2); }
.demo-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 4px;
}
.demo-card h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0; }
.demo-card p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin: 0; flex: 1; }
.demo-card-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; width: fit-content;
}

.demo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  width: fit-content; margin-top: 4px;
  transition: all .2s;
}
.demo-btn-primary { background: var(--brand); color: #fff; }
.demo-btn-primary:hover { background: var(--brand-dark); color: #fff; }
.demo-btn-outline {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.demo-btn-outline:hover { background: var(--brand-light); color: var(--brand-dark); }
.demo-btn-green { background: #16A34A; color: #fff; }
.demo-btn-green:hover { background: #15803D; color: #fff; }

/* ─────────────────────────────────────────────────────────────────────────────
   FREE SCHOOL WEBSITE (#free-website) + the browser mockup inside it
   ───────────────────────────────────────────────────────────────────────── */

#free-website {
  padding: 96px 0;
  background: linear-gradient(135deg, #0D1117 0%, #10233A 50%, #0D1117 100%);
  position: relative; overflow: hidden;
}
#free-website::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(0,180,216,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(124,58,237,.15) 0%, transparent 65%);
}
.fw-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.fw-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-top: 56px;
}

.fw-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.15); color: #4ADE80;
  border: 1px solid rgba(34,197,94,.3);
  padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.fw-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.fw-title em { color: #67E8F9; font-style: normal; }
.fw-desc { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 32px; }

.fw-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.fw-feat {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 16px 18px;
}
.fw-feat-icon {
  width: 36px; height: 36px; min-width: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.fw-feat h5 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 3px; }
.fw-feat p { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; line-height: 1.5; }

.fw-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.2); color: #4ADE80;
  border: 1px solid rgba(34,197,94,.35);
  padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700;
}

.website-preview-mockup {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
}
.wpm-bar { background: var(--ink-2); padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.wpm-dots { display: flex; gap: 5px; }
.wpm-dots span { width: 9px; height: 9px; border-radius: 50%; }
.wpm-dots .r { background: #FF5F57; }
.wpm-dots .y { background: #FFBD2E; }
.wpm-dots .g { background: #28C840; }
.wpm-url {
  flex: 1; background: var(--ink); border-radius: 5px; padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-4);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.wpm-body { background: #fff; }
.wpm-hero {
  background: linear-gradient(135deg, #0F3B4C 0%, var(--brand) 100%);
  padding: 28px 24px; text-align: center; color: #fff;
}
.wpm-school-logo {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800;
  margin-bottom: 10px;
}
.wpm-school-name { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.wpm-school-tagline { font-size: 11px; opacity: .7; margin-bottom: 14px; }
.wpm-school-nav {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 10px; font-weight: 600; opacity: .8;
}
.wpm-sections { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.wpm-section-block {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.wpm-section-label {
  font-size: 10px; font-weight: 700; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.wpm-news-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.wpm-news-img {
  width: 36px; height: 36px; border-radius: 7px; min-width: 36px;
  background: linear-gradient(135deg, var(--brand), var(--accent-purple));
}
.wpm-news-title { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.wpm-news-date { font-size: 10px; color: var(--ink-4); }

.ai-generated-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,.15); color: #A78BFA;
  border: 1px solid rgba(124,58,237,.3);
  padding: 4px 10px; border-radius: 50px;
  font-size: 10px; font-weight: 700; margin-top: 14px;
}

/* ── Responsive for the two sections above ──────────────────────────────── */

@media (max-width: 900px) {
  .fw-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  #try-demo, #free-website { padding: 64px 0; }
  .demo-cards-grid { grid-template-columns: 1fr; }
  .demo-card { border-right: none; border-bottom: 1px solid var(--border); }
  .demo-card:last-child { border-bottom: none; }
  /* index.html sets border-left inline on cards 2 and 3 — kill it on mobile */
  .demo-card[style*="border-left"] { border-left: none !important; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE NAVIGATION
   A panel that drops out of the header. All state lives on two classes —
   nav.is-open and body.nav-open — set by site.js; nothing is inline-styled.
   ───────────────────────────────────────────────────────────────────────── */

.nav-mobile-cta { display: none; }

.mobile-nav-toggle {
  width: 40px; height: 40px;
  display: none; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background .18s;
  user-select: none;
}
.mobile-nav-toggle:hover { background: var(--surface-3); }
.mobile-nav-toggle i { font-size: 22px; line-height: 1; }

@media (max-width: 768px) {

  #header .inner { position: relative; }
  .mobile-nav-toggle { display: flex; }

  /* additional.css hides `nav` outright at this width; the id+class selector
     below outranks it without needing !important. */
  #header nav.is-open { display: block; }

  #header nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 10px 16px 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1200;
  }

  #header nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  #header nav ul li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px;
    font-size: 15px; font-weight: 500;
    border-radius: var(--radius-sm);
  }
  #header nav ul li a:active { background: var(--surface-3); }
  #header nav ul li a.is-current { background: var(--brand-light); color: var(--brand-dark); }

  /* Dropdown becomes a plain indented sub-list — no hover state to reach for */
  .nav-dropdown > a .bi-chevron-down { display: none; }
  .nav-dropdown-panel {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 6px 10px;
    border: none; box-shadow: none; background: none;
  }
  .nav-dropdown-item { padding: 11px 12px; gap: 10px; }
  .nav-dropdown-item strong { font-size: 13px; }
  .nav-dropdown-item span { font-size: 11.5px; }

  .nav-mobile-cta {
    display: grid; gap: 10px;
    margin-top: 14px; padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  /* The log-in button is hidden at this width by additional.css — bring it back
     inside the panel, where there's room for it. */
  .nav-mobile-cta .btn-outline-main,
  .nav-mobile-cta .btn-primary-main {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 13px 20px !important;
    font-size: 15px !important;
  }

  body.nav-open { overflow: hidden; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   CAPABILITY BAND
   Replaces the old reach-stats strip. These say what the platform does, not
   how many schools use it — and two of the four are filled from the catalog.
   ───────────────────────────────────────────────────────────────────────── */

.capability-band {
  padding: 84px 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 10%, rgba(0,180,216,.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 90%, rgba(124,58,237,.14) 0%, transparent 65%),
    var(--ink);
  color: #fff;
}
.capability-band .section-label { color: rgba(255,255,255,.5); }
.capability-band .section-label::before { background: rgba(255,255,255,.3); }
.capability-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 12px 0 12px;
}
.capability-band .lede {
  font-size: 15px; color: rgba(255,255,255,.55);
  max-width: 620px; line-height: 1.75;
}

.capability-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 48px;
}
.capability {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  transition: border-color .22s, transform .22s, background .22s;
}
.capability:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0,180,216,.4);
  transform: translateY(-3px);
}
.capability > i {
  font-size: 22px; color: #67E8F9;
  display: block; margin-bottom: 16px;
}
.capability-value {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #67E8F9, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.capability-label {
  font-size: 13px; font-weight: 700; color: #fff;
  margin: 8px 0 8px;
}
.capability p {
  font-size: 12.5px; color: rgba(255,255,255,.45);
  line-height: 1.6; margin: 0;
}

@media (max-width: 1024px) {
  .capability-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .capability-band { padding: 60px 0; }
  .capability-grid { grid-template-columns: 1fr; }
}