/*
  EduCompli static-site styling.
  Brand standard colors enforced (Blue #01457F, Green #1C752F, Red #F03D2B,
  Dark Gray #444443, Orange #FD8D02). Headlines use Aptos (brand sheet read
  "Apotos" — confirmed typo); subheadings and body copy use Montserrat per
  EduCompli brand standards.
*/

/* Brand sheet specified "Apotos"; confirmed with reviewer this was a typo
   for Aptos (Microsoft's open-source sans). Self-hosted Aptos is loaded from
   /assets/fonts/. If the font file isn't present, the stack falls back to
   Montserrat (brand subheading font) so no off-brand system font appears. */
@font-face {
  font-family: "Aptos";
  src: url("assets/fonts/Aptos.woff2") format("woff2"),
       url("assets/fonts/Aptos.woff") format("woff"),
       url("assets/fonts/Aptos.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos";
  src: url("assets/fonts/Aptos-Bold.woff2") format("woff2"),
       url("assets/fonts/Aptos-Bold.woff") format("woff"),
       url("assets/fonts/Aptos-Bold.ttf") format("truetype");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --brand-blue: #01457F;
  --brand-green: #1C752F;
  --brand-red: #F03D2B;
  --brand-gray: #444443;
  --brand-orange: #FD8D02;

  /* Working tokens (mapped to brand) */
  --green-900: #0F5524;
  --green-800: #145F25;
  --green-700: #1C752F;
  --green-600: #258A3A;
  --mint-200: #dfeee1;
  --mint-300: #c7dfca;
  --mint-500: #a8cbb2;
  --blue-node: #01457F;
  --orange-node: #FD8D02;
  --red-node: #F03D2B;
  --cream: #f7f8f2;
  --paper: #ffffff;
  --charcoal: #444443;
  --ink: #444443;
  --muted: #6d7572;
  --border: #d7e8d5;
  --shadow: 0 28px 80px rgba(15, 85, 36, 0.16);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 15%, rgba(168, 203, 178, 0.24), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.75rem;
  z-index: 999;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-900);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(15, 85, 36, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(215, 232, 213, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.75rem 0.9rem 0.75rem 1rem;
  box-shadow: 0 18px 50px rgba(15, 85, 36, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
}

/* New: full-lockup logo image replaces inline SVG + text wordmark.
   Aspect ratio preserved via width/height attrs on the <img> tag. */
.brand-logo {
  display: block;
  height: clamp(2.4rem, 4.5vw, 3rem);
  width: auto;
  flex: none;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: none;
}

.brand-mark.small {
  width: 2.75rem;
  height: 2.75rem;
}

.footer-mark {
  width: 2.75rem;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--green-700);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: 1.32rem;
  letter-spacing: -0.035em;
}

.brand-copy span {
  color: var(--charcoal);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.1rem);
  color: var(--brand-gray);
  font-weight: 700;
  font-size: 0.95rem;
}

.primary-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  flex: none;
}

/* New v2: phone CTA in header. */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  color: var(--brand-gray);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-phone svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--brand-green);
}

.header-phone strong {
  color: var(--brand-green);
  font-weight: 700;
}

.header-phone:hover {
  color: var(--brand-green);
  border-color: var(--border);
}

/* New v2: "Teachers Join For Free" header button. */
.nav-join {
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  background: var(--paper);
  color: var(--brand-green);
  box-shadow: 0 8px 22px rgba(28, 117, 47, 0.14);
  border: 1px solid var(--brand-green);
}

.nav-join:hover {
  background: var(--brand-green);
  color: var(--paper);
}






.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid rgba(253, 141, 2, 0.55);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--paper);
  box-shadow: 0 14px 32px rgba(28, 117, 47, 0.22);
}

.button-light {
  background: var(--paper);
  color: var(--green-800);
  box-shadow: 0 16px 36px rgba(5, 26, 15, 0.18);
}

.button-outline-light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  background: var(--green-900);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  margin: 1rem clamp(1rem, 3vw, 2rem) 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    radial-gradient(circle at 21% 24%, rgba(168, 203, 178, 0.18), transparent 28%),
    radial-gradient(circle at 65% 38%, rgba(28, 117, 47, 0.18), transparent 36%),
    linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  left: -8rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.network-watermark {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.28) 0 2px, transparent 2.5px),
    linear-gradient(35deg, transparent 0 44%, rgba(255,255,255,.08) 45% 46%, transparent 47% 100%);
  background-size: 74px 74px, 190px 190px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-copy {
  padding-left: clamp(0rem, 2vw, 1rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: #dfeee1;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}



.eyebrow.dark { color: var(--green-700); }

h1, h2, h3 {
  font-family: "Aptos", "Montserrat", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.5vw, 5.9rem);
}

h2 {
  color: var(--green-900);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}

h3 {
  color: var(--brand-gray);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.hero-lede {
  max-width: 680px;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-proof {
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  background: none;
  border: none;
  padding: 0;
}

.hero-proof-check {
  width: 1.05rem;
  height: 1.05rem;
  color: #69ad4d;
  flex: none;
  display: inline-block;
}

.hero-proof strong { color: var(--paper); font-weight: 800; }

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-svg {
  position: relative;
  width: min(100%, 680px);
  margin-left: auto;
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.18));
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2.5rem;
}











/* New: PNG-icon variant of card-graphic. Replaces inline SVG illustrations
   that were placeholder stand-ins for the actual brand iconography. */




































.company {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  overflow: hidden;
}

.node-field {
  position: absolute;
  inset: 3rem 0 auto auto;
  width: 48%;
  height: 360px;
  pointer-events: none;
}

.node-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(32deg, transparent 0 30%, rgba(28,117,47,.16) 30.5% 31%, transparent 31.5% 100%),
    linear-gradient(152deg, transparent 0 36%, rgba(1,69,127,.14) 36.5% 37%, transparent 37.5% 100%);
}

.node-field span {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 203, 178, 0.62);
  border: 1px solid rgba(28, 117, 47, 0.18);
}

.node-field span:nth-child(1) { width: 5rem; height: 5rem; left: 5%; top: 50%; }
.node-field span:nth-child(2) { width: 3rem; height: 3rem; left: 32%; top: 10%; background: rgba(1,69,127,.40); }
.node-field span:nth-child(3) { width: 7rem; height: 7rem; right: 14%; top: 42%; }
.node-field span:nth-child(4) { width: 2.1rem; height: 2.1rem; left: 56%; bottom: 6%; background: rgba(253,141,2,.45); }
.node-field span:nth-child(5) { width: 3.6rem; height: 3.6rem; right: 2%; top: 7%; background: rgba(1,69,127,.30); }

.company-copy, .company-card { position: relative; z-index: 1; }

.company-card {
  border-radius: var(--radius-xl);
  background: var(--green-800);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow);
}

.company-card blockquote {
  margin: 0;
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

/* New: mission line + practitioners attribution under the company body. */
.company-mission {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green-700);
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
  max-width: 760px;
}

.company-attribution {
  margin-top: 0.85rem;
  color: var(--green-700);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.pricing {
  padding-top: 2rem;
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pricing-card::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: rgba(168, 203, 178, 0.25);
}

.pricing-card > * { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pricing-grid div {
  border-radius: 24px;
  background: #f5f8f2;
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.pricing-grid strong {
  display: block;
  color: var(--green-800);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.pricing-grid span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* New: Plans Built Around Your Institution's Compliance Needs sub-block */
.pricing-plans {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pricing-plans-title {
  color: var(--green-900);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 1rem;
}

.pricing-plans-subhead,
.pricing-plans-detail {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 0 0.85rem;
}

.final-cta {
  position: relative;
  margin: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(circle at 35% 40%, rgba(168,203,178,.18), transparent 28%),
    linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--paper);
  padding: clamp(2rem, 6vw, 5rem) max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  width: 260px;
  height: 130px;
  opacity: 0.18;
  background-image: radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-size: 18px 18px;
}

.cta-orb {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-800);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.cta-orb h2 {
  color: var(--green-800);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-content { position: relative; z-index: 1; }
.cta-content > p { color: rgba(255,255,255,.82); }

.demo-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 0.88rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  color: var(--ink);
  padding: 0.9rem 1rem;
}

textarea { resize: vertical; }

input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: var(--orange-node);
  box-shadow: 0 0 0 4px rgba(253,141,2,.18);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: #dfeee1;
  font-weight: 800;
}

.site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  background: var(--paper);
  color: var(--brand-gray);
  padding: 2.25rem max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
  border-top: 1px solid var(--border);
}

/* Brand-color accent stripe at the very top of the footer — picks up the
   five EduCompli brand colors so the footer reads on-brand at a glance. */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--brand-green) 0%,
    var(--brand-green) 20%,
    var(--brand-blue) 20%,
    var(--brand-blue) 40%,
    var(--brand-orange) 40%,
    var(--brand-orange) 60%,
    var(--brand-red) 60%,
    var(--brand-red) 80%,
    var(--brand-gray) 80%,
    var(--brand-gray) 100%
  );
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: block;
  height: clamp(2.4rem, 4.5vw, 3rem);
  width: auto;
  flex: none;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  padding-left: 1rem;
  border-left: 2px solid var(--brand-green);
  color: var(--brand-gray);
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--brand-gray);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-links a:hover { color: var(--brand-green); }
.footer-links a:hover::after { transform: scaleX(1); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1040px) {
  .primary-nav {
    position: fixed;
    inset: 6.8rem 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255,255,255,.98);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.9rem 1rem; border-radius: 16px; }
  .primary-nav a:hover { background: #f4f8f2; }
  .menu-toggle { display: block; }
  
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
  .dashboard-svg { margin: 0; }
  
  
  
  
  
  .node-field { width: 100%; opacity: 0.55; }
  .cta-orb { max-width: 380px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { padding: 0.75rem; }
  .header-inner { min-height: 68px; border-radius: 30px; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy span { font-size: 0.68rem; }
  .brand-mark { width: 2.45rem; height: 2.45rem; }
  .brand-logo { height: 2.25rem; }
  .nav-demo { display: none; }
  .hero { margin: 0.5rem; border-radius: 32px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-proof { display: grid; }
  .section { padding-inline: 1rem; }
  
  .form-grid, .pricing-grid { grid-template-columns: 1fr; }
  .final-cta { margin-inline: 0.5rem; border-radius: 32px 32px 0 0; }
  .cta-orb { border-radius: 36px; aspect-ratio: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}


/* Product screenshot integration: real EduCompli demo screens are framed with green fields, mint node lines, and restrained rounded cards. */
.product-hero {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.hero-product-frame {
  position: relative;
  width: min(100%, 700px);
  min-height: 560px;
}

.product-network {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.product-shot {
  position: relative;
  margin: 0;
  border: 1px solid rgba(215, 232, 213, 0.94);
  border-radius: 28px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 62px rgba(15, 85, 36, 0.15);
}

.product-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42), inset 0 0 46px rgba(15,85,36,.05);
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #f5f8f2;
}

.product-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.96);
  padding: 0.9rem 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-shot figcaption strong {
  color: var(--green-900);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.product-shot figcaption span {
  max-width: 36ch;
  text-align: right;
}

.hero-shot {
  position: absolute;
  border-width: 2px;
  background: #f7f8f2;
}

.hero-shot-main {
  right: 0;
  top: 1.4rem;
  width: 86%;
  transform: rotate(1.2deg);
}

.hero-shot-alerts {
  left: 0;
  bottom: 5rem;
  width: 48%;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero-shot-tasks {
  right: 2rem;
  bottom: 0;
  width: 54%;
  transform: rotate(2.6deg);
  z-index: 3;
}

.hero-shot figcaption {
  padding: 0.68rem 0.85rem;
  color: var(--green-900);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-showcase {
  position: relative;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 5rem max(1rem, calc((100vw - var(--max)) / 2 + 2rem)) auto auto;
  width: 260px;
  height: 160px;
  background-image: radial-gradient(circle, rgba(28,117,47,.22) 0 2px, transparent 2.5px);
  background-size: 18px 18px;
  pointer-events: none;
}

.product-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.76fr);
  gap: 1.45rem;
  align-items: stretch;
}

/* Single-screenshot variant per feedback: only the educator profile shows in product section. */
.product-layout-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
  margin: 0 auto;
}

.product-shot-feature {
  border-radius: 34px;
}

.product-stack {
  display: grid;
  gap: 1.45rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
  margin-top: 1.45rem;
}

.product-gallery .product-shot figcaption,
.product-stack .product-shot figcaption {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
}

.product-gallery .product-shot figcaption span,
.product-stack .product-shot figcaption span {
  max-width: none;
  text-align: left;
}

.product-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}



@media (max-width: 1040px) {
  .hero-product-frame { min-height: 620px; }
  .product-layout, .product-gallery { grid-template-columns: 1fr; }
  .product-stack { grid-template-columns: repeat(2, 1fr); }
  
}

@media (max-width: 720px) {
  .hero-product-frame { min-height: auto; display: grid; gap: 1rem; }
  .product-network { display: none; }
  .hero-shot { position: relative; inset: auto; width: 100%; transform: none; }
  .product-shot, .product-shot-feature { border-radius: 22px; }
  .product-shot figcaption { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
  .product-shot figcaption span { max-width: none; text-align: left; }
  .product-stack { grid-template-columns: 1fr; }
}

/* FAQ section (added per feedback). */
.faq {
  position: relative;
}















/* =========================================================
   v2 additions
   ========================================================= */

/* Audience-segmented product section: screenshot on one side,
   bullets on the other. Used by both Teachers and Admins sections. */
.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2rem;
}

.audience-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.audience-bullets li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--brand-gray);
  font-size: 1rem;
  line-height: 1.55;
}

.audience-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 5px rgba(28, 117, 47, 0.14);
}

.audience-bullets li:nth-child(5n+2)::before { background: var(--brand-blue); box-shadow: 0 0 0 5px rgba(1, 69, 127, 0.14); }
.audience-bullets li:nth-child(5n+3)::before { background: var(--brand-orange); box-shadow: 0 0 0 5px rgba(253, 141, 2, 0.14); }
.audience-bullets li:nth-child(5n+4)::before { background: var(--brand-red); box-shadow: 0 0 0 5px rgba(240, 61, 43, 0.10); }
.audience-bullets li:nth-child(5n)::before { background: var(--brand-gray); box-shadow: 0 0 0 5px rgba(68, 68, 67, 0.10); }

/* Teachers section variant: brand-green accent bg gradient tint */
.teachers {
  position: relative;
}

.admins {
  position: relative;
}

/* Buyer-Ready Value block moved INSIDE the Admins section */
.admins-pricing {
  margin-top: 3rem;
}

.admins-pricing .pricing-h2 {
  color: var(--green-900);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

/* Company section contact block (v2 add) */
.company-contact {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--brand-gray);
}

.company-contact-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--brand-green);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.company-contact a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-contact a:hover { color: var(--brand-blue); }

/* CTA orb: text removed, brand mark image inserted (v2) */
.cta-orb-mark {
  width: clamp(140px, 60%, 240px);
  height: auto;
  display: block;
}

.cta-headline {
  margin: 0 0 0.85rem;
  color: var(--paper);
  font-size: clamp(2rem, 3.6vw, 3rem);
}

/* Form: required asterisk and full-width fields */
.req {
  color: var(--brand-orange);
  font-weight: 800;
  margin-left: 0.2rem;
}

.form-span-2 { grid-column: 1 / -1; }

.form-required-note {
  margin: 0.85rem 0 0;
  color: rgba(255,255,255,.7);
  font-size: 0.82rem;
  font-style: italic;
}

/* Footer overhaul (v2): wraps to 4 stacked blocks (brand, links, contact, legal) */
.site-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}

.footer-brand {
  width: 100%;
}

.footer-links {
  width: 100%;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--brand-gray);
  width: 100%;
}

.footer-contact strong {
  color: var(--brand-gray);
  font-weight: 700;
  margin-right: 0.35rem;
}

.footer-contact a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover { color: var(--brand-blue); }

.footer-legal {
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--brand-gray);
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (min-width: 880px) {
  .site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "brand   links"
      "contact contact"
      "legal   legal";
    align-items: start;
    gap: 1.5rem 2.5rem;
  }
  .footer-brand { grid-area: brand; }
  .footer-links { grid-area: links; justify-self: end; align-self: center; }
  .footer-contact { grid-area: contact; grid-template-columns: repeat(3, 1fr); gap: 0.5rem 1.5rem; }
  .footer-legal { grid-area: legal; text-align: center; }
}

/* Responsive overrides for v2 layout */
@media (max-width: 1040px) {
  .audience-layout { grid-template-columns: 1fr; }
  .header-phone span { display: none; }
  .nav-join { font-size: 0.85rem; padding: 0.45rem 0.85rem; }
}

@media (max-width: 720px) {
  .nav-join { display: none; }
  .header-phone { padding: 0.35rem 0.55rem; }
  .header-phone svg { width: 1.2rem; height: 1.2rem; }
  .footer-contact { grid-template-columns: 1fr !important; }
}

/* =========================================================
   v3 additions
   ========================================================= */

/* Accessible visually-hidden utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Product Highlights at-a-glance section */
.product-highlights {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 0 16px 38px rgba(15, 85, 36, 0.06);
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.highlight-teachers::before { background: var(--brand-orange); }
.highlight-admins::before { background: var(--brand-blue); }

.highlight-card h3 {
  margin-bottom: 1.1rem;
  color: var(--green-900);
}

.highlight-teachers h3 { color: var(--brand-orange); }
.highlight-admins h3 { color: var(--brand-blue); }

.highlight-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.highlight-card li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--brand-gray);
  font-size: 0.98rem;
  line-height: 1.55;
}

.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-green);
}

.highlight-teachers li::before { background: var(--brand-orange); }
.highlight-admins li::before { background: var(--brand-blue); }

@media (max-width: 880px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

/* CTA orb SVG (v3) — centered phrase rendered as a brand-colored graphic */
.cta-orb-graphic {
  width: 100%;
  height: 100%;
  display: block;
}

/* Legal pages (privacy.html, terms.html) */
.legal-page {
  background:
    radial-gradient(circle at 9% 15%, rgba(168, 203, 178, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
}

.legal-document {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.legal-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--green-900);
}

.legal-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-body {
  color: var(--brand-gray);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--green-900);
}

.legal-body h3 {
  margin-top: 1.85rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--green-800);
}

.legal-body p { margin: 0.85rem 0; }
.legal-body ul {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.6rem;
  display: grid;
  gap: 0.35rem;
}
.legal-body li { padding-left: 0.25rem; }

.legal-contact {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-style: normal;
  line-height: 1.7;
}

.legal-contact a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-contact a:hover { color: var(--brand-blue); }

/* =========================================================
   v3 fixes (header alignment, footer alignment, contact CTA restructure)
   ========================================================= */

/* Contact CTA section restructure */
.final-cta {
  display: block;                /* override v2 grid */
  grid-template-columns: none;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cta-banner {
  max-width: 880px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-banner-copy {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* Larger, more present orb that fills its column */
.cta-orb {
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  padding: 0;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.24);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cta-orb-graphic {
  width: 100%;
  height: 100%;
}

/* Form column heading + subhead */
.cta-form-heading {
  margin: 0 0 0.5rem;
  color: var(--paper);
  font-family: "Aptos", "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
}

.cta-form-subhead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

/* Old cta-content paragraph styling override — the body copy is gone now */
.cta-content > p { margin-bottom: 0; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-orb { max-width: 320px; }
}

/* Footer rebuild — clean 3-column desktop, single column mobile, per 2026 standards */
.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "brand    links    contact"
    "legal    legal    legal";
  gap: 2.5rem 2.5rem;
  align-items: start;
  padding: 3rem max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2rem)) 1.75rem;
  flex-direction: unset;     /* override v2 column flex */
}

.footer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.footer-tagline {
  padding-left: 0.85rem;
  border-left: 3px solid var(--brand-green);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-gray);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 320px;
}

.footer-links {
  grid-area: links;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-gray);
}

.footer-contact {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--brand-gray);
  line-height: 1.55;
}

.footer-legal {
  grid-area: legal;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--brand-gray);
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 880px) {
  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "contact"
      "legal";
    gap: 2rem;
  }
}

/* =========================================================
   v3 fix-pass 2: separate CTA banner band + aside under orb
   ========================================================= */

/* Standalone CTA banner band — dark green band ABOVE the contact section */
.cta-banner-section {
  margin: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(168,203,178,.18), transparent 30%),
    linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--paper);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner-section::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  width: 220px;
  height: 100px;
  opacity: 0.14;
  background-image: radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* When the banner sits on its own (no contact form below in the same section),
   the .final-cta below should drop its top border-radius. */
.cta-banner-section + .final-cta {
  border-radius: 0 0 0 0;
  margin-top: 0;
}

/* The aside that holds the orb + contact info — replaces the old single-orb column */
.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-self: stretch;
}

.cta-orb {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.cta-aside-contact {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.cta-aside-label {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-aside-address {
  display: grid;
  gap: 0.4rem;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cta-aside-address strong {
  color: var(--paper);
  font-weight: 700;
  margin-right: 0.25rem;
}

.cta-aside-address a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-aside-address a:hover { color: var(--mint-200); }

/* Make grid start-aligned so orb sits at the top of its column rather than
   floating in the vertical center next to a tall form */
.cta-grid {
  align-items: start;
}

@media (max-width: 900px) {
  .cta-aside-contact { width: 100%; max-width: 420px; margin: 0 auto; }
}
