/* SOAR K12 marketing site — warm, humanist design system
   Plain CSS (no preprocessor). Layered on top of Bootstrap 5. */

:root {
  /* Brand */
  --ms-ink: #161a1d;
  --ms-ink-soft: #2b3036;
  --ms-gold: #f5b301;
  --ms-gold-soft: #fde68a;

  /* Surfaces */
  --ms-bg: #ffffff;
  --ms-cream: #faf6ef;
  --ms-cream-2: #f4ede0;
  --ms-line: #ebe6dc;

  /* Text */
  --ms-text: #1d2127;
  --ms-text-soft: #55606b;
  --ms-text-muted: #8a8f97;

  /* Shape */
  --ms-radius-sm: 10px;
  --ms-radius: 16px;
  --ms-radius-lg: 24px;

  /* Shadow */
  --ms-shadow-sm: 0 1px 2px rgba(22, 26, 29, 0.04), 0 2px 6px rgba(22, 26, 29, 0.05);
  --ms-shadow: 0 4px 14px rgba(22, 26, 29, 0.06), 0 20px 44px rgba(22, 26, 29, 0.08);
  --ms-shadow-lg: 0 10px 30px rgba(22, 26, 29, 0.10), 0 40px 80px rgba(22, 26, 29, 0.12);

  /* Spacing rhythm */
  --ms-section-y: clamp(4rem, 8vw, 7rem);
}

/* Typography */
html, body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ms-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--ms-bg);
  font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, h5, h6,
.ms-display {
  font-family: "Fraunces", "Inter", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ms-ink);
}
.ms-display {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}
.ms-display-sm {
  font-family: "Fraunces", "Inter", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ms-ink);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
}
.ms-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ms-text-soft);
  max-width: 58ch;
}

/* Shared */
.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-ink-soft);
}
.ms-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--ms-gold);
  border-radius: 2px;
}
.ms-eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.ms-eyebrow--light::before { background: var(--ms-gold); }

.ms-section { padding-top: var(--ms-section-y); padding-bottom: var(--ms-section-y); }
.ms-section--tight { padding-top: calc(var(--ms-section-y) * 0.55); padding-bottom: calc(var(--ms-section-y) * 0.55); }
.ms-bg-cream { background: var(--ms-cream); }
.ms-bg-cream-2 { background: var(--ms-cream-2); }
.ms-bg-ink { background: var(--ms-ink); color: #fff; }
.ms-bg-ink h1, .ms-bg-ink h2, .ms-bg-ink h3, .ms-bg-ink h4 { color: #fff; }

.ms-text-gold { color: var(--ms-gold); }
.ms-divider {
  height: 1px;
  background: var(--ms-line);
  border: 0;
  margin: 0;
}

/* Buttons */
.ms-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}
.ms-btn:hover { transform: translateY(-1px); }
.ms-btn svg { width: 1em; height: 1em; }
.ms-btn--primary {
  background: var(--ms-ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 26, 29, 0.18);
}
.ms-btn--primary:hover { background: #000; color: #fff; box-shadow: 0 12px 26px rgba(22, 26, 29, 0.22); }
.ms-btn--gold {
  background: var(--ms-gold);
  color: var(--ms-ink);
}
.ms-btn--gold:hover { background: #ffc421; color: var(--ms-ink); }
.ms-btn--ghost {
  background: transparent;
  color: var(--ms-ink);
  border-color: var(--ms-line);
}
.ms-btn--ghost:hover { background: var(--ms-cream); color: var(--ms-ink); }
.ms-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.ms-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ms-link {
  color: var(--ms-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ms-gold);
  padding-bottom: 2px;
}
.ms-link:hover { color: var(--ms-ink); opacity: 0.8; }

/* Nav */
.ms-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--ms-line);
}
.ms-nav .navbar-brand {
  font-family: "Fraunces", "Inter", serif;
  font-weight: 700;
  color: var(--ms-ink);
  letter-spacing: -0.01em;
}
.ms-nav .nav-link {
  color: var(--ms-text-soft) !important;
  font-weight: 500;
  font-size: 0.95rem;
}
.ms-nav .nav-link:hover,
.ms-nav .nav-link:focus { color: var(--ms-ink) !important; }
.ms-nav .ms-btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

/* Hero */
.ms-hero {
  position: relative;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(245, 179, 1, 0.10), transparent 60%),
    radial-gradient(800px 400px at 90% 20%, rgba(22, 26, 29, 0.04), transparent 60%),
    var(--ms-cream);
  overflow: hidden;
}
.ms-hero__media {
  position: relative;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: var(--ms-shadow-lg);
  aspect-ratio: 4 / 3;
}
.ms-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ms-hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--ms-shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ms-ink);
}
.ms-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

/* Trust strip */
.ms-trust {
  border-top: 1px solid var(--ms-line);
  border-bottom: 1px solid var(--ms-line);
  padding: 1.75rem 0;
  background: var(--ms-bg);
}
.ms-trust__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
  font-weight: 600;
}
.ms-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  color: var(--ms-ink-soft);
  font-weight: 500;
}
.ms-trust__items span { opacity: 0.85; }

/* Feature cards */
.ms-feature {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ms-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--ms-shadow);
  border-color: transparent;
}
.ms-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ms-cream);
  color: var(--ms-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ms-feature__icon svg { width: 22px; height: 22px; }
.ms-feature h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  margin: 0;
}
.ms-feature p {
  color: var(--ms-text-soft);
  margin: 0;
  line-height: 1.55;
}
.ms-feature ul {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ms-feature ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ms-text-soft);
  font-size: 0.95rem;
}
.ms-feature ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--ms-gold);
}

/* Who-we-are band */
.ms-who {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .ms-who { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}
.ms-who__checks {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.ms-who__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ms-ink);
  font-weight: 500;
}
.ms-who__check svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ms-gold);
  margin-top: 2px;
}
.ms-who__art {
  position: relative;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: var(--ms-shadow);
}
.ms-who__art img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }

/* FAQ */
.ms-faq .accordion-item {
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.ms-faq .accordion-button {
  background: #fff;
  color: var(--ms-ink);
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  box-shadow: none;
  font-size: 1rem;
}
.ms-faq .accordion-button:not(.collapsed) {
  background: var(--ms-cream);
  color: var(--ms-ink);
  box-shadow: none;
}
.ms-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.3); }
.ms-faq .accordion-body {
  color: var(--ms-text-soft);
  background: #fff;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.6;
}

/* Closing CTA band */
.ms-cta {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(245, 179, 1, 0.15), transparent 60%),
    radial-gradient(700px 300px at 100% 100%, rgba(245, 179, 1, 0.08), transparent 60%),
    var(--ms-ink);
  color: #fff;
  border-radius: var(--ms-radius-lg);
  padding: clamp(2.25rem, 4vw, 3.5rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .ms-cta { grid-template-columns: 1.25fr 1fr; gap: 2.5rem; }
}
.ms-cta h2 { color: #fff; margin: 0; }
.ms-cta p { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* Quote cards */
.ms-quote {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ms-quote:hover {
  transform: translateY(-2px);
  box-shadow: var(--ms-shadow);
  border-color: transparent;
}
.ms-quote__mark {
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--ms-gold);
  height: 1.25rem;
  margin-top: -0.5rem;
}
.ms-quote__stars { color: var(--ms-gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.ms-quote__body {
  color: var(--ms-ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.ms-quote__attribution {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ms-line);
}
.ms-quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ms-cream-2);
  color: var(--ms-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.ms-quote__name { font-weight: 600; color: var(--ms-ink); font-size: 0.95rem; }
.ms-quote__role { color: var(--ms-text-muted); font-size: 0.85rem; }
.ms-quote--featured {
  background: var(--ms-ink);
  color: #fff;
  border: 0;
}
.ms-quote--featured .ms-quote__body { color: rgba(255, 255, 255, 0.92); font-size: 1.25rem; line-height: 1.55; }
.ms-quote--featured .ms-quote__name { color: #fff; }
.ms-quote--featured .ms-quote__role { color: rgba(255, 255, 255, 0.65); }
.ms-quote--featured .ms-quote__attribution { border-top-color: rgba(255, 255, 255, 0.12); }
.ms-quote--featured .ms-quote__avatar { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Team cards */
.ms-team {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ms-team:hover { transform: translateY(-3px); box-shadow: var(--ms-shadow); }
.ms-team__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ms-cream-2);
}
.ms-team__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-team__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.ms-team__role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
  font-weight: 600;
}
.ms-team__name {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: var(--ms-ink);
  margin: 0;
}
.ms-team__bio { color: var(--ms-text-soft); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.ms-team__socials { margin-top: auto; padding-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ms-team__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ms-line);
  color: var(--ms-ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}
.ms-team__chip:hover { background: var(--ms-cream); color: var(--ms-ink); }

/* Screenshot frame (demonstration page) */
.ms-frame {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow);
  overflow: hidden;
}
.ms-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--ms-cream);
  border-bottom: 1px solid var(--ms-line);
}
.ms-frame__dots { display: inline-flex; gap: 0.4rem; }
.ms-frame__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d4cdbe;
}
.ms-frame__dots span:nth-child(1) { background: #f5b5b5; }
.ms-frame__dots span:nth-child(2) { background: #f5dda2; }
.ms-frame__dots span:nth-child(3) { background: #b3dfb9; }
.ms-frame__url {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: var(--ms-text-muted);
  background: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ms-line);
  margin: 0 auto;
}
.ms-frame__media { display: block; width: 100%; height: auto; background: var(--ms-cream); }
.ms-frame--phone {
  border-radius: 36px;
  max-width: 320px;
  margin: 0 auto;
  padding: 14px;
  background: var(--ms-ink);
  border: 0;
  box-shadow: var(--ms-shadow-lg);
}
.ms-frame--phone img { border-radius: 24px; display: block; width: 100%; }

/* Contact form */
.ms-form {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--ms-shadow-sm);
}
.ms-form label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ms-ink);
  margin-bottom: 0.4rem;
}
.ms-form input,
.ms-form textarea {
  width: 100%;
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ms-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ms-form input:focus,
.ms-form textarea:focus {
  outline: none;
  border-color: var(--ms-ink);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.25);
}
.ms-form textarea { min-height: 140px; resize: vertical; }
.ms-form__row { display: flex; flex-direction: column; gap: 1rem; }
.ms-form__fine { font-size: 0.8rem; color: var(--ms-text-muted); }

/* Contact side panel */
.ms-contact-panel {
  background: var(--ms-ink);
  color: #fff;
  border-radius: var(--ms-radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ms-contact-panel h2 { color: #fff; margin: 0; }
.ms-contact-panel__row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ms-contact-panel__row:first-of-type { border-top: 0; padding-top: 0.5rem; }
.ms-contact-panel__row svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--ms-gold);
  flex: none;
}
.ms-contact-panel__row a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.ms-contact-panel__row a:hover { color: var(--ms-gold); }
.ms-contact-panel__row p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }

/* Footer */
.ms-footer {
  background: var(--ms-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2.5rem;
}
.ms-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.ms-footer a:hover { color: #fff; }
.ms-footer h3 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.ms-footer__brand {
  font-family: "Fraunces", serif;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ms-footer__tagline { color: rgba(255, 255, 255, 0.55); max-width: 32ch; font-size: 0.95rem; }
.ms-footer__fine { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

/* Utilities / small things */
.ms-accent-bar {
  display: inline-block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--ms-gold);
  margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
  .ms-cta { text-align: left; }
  .ms-hero__badge { left: 0.75rem; bottom: 0.75rem; font-size: 0.8rem; }
}
