:root {
  --ink: #10202a;
  --muted: #5b6b75;
  --line: #d9e3e7;
  --surface: #ffffff;
  --soft: #eef6f5;
  --brand: #0f6b78;
  --brand-dark: #0b4652;
  --accent: #e0a929;
  --accent-soft: #fff3cf;
  --success: #24775b;
  --shadow: 0 22px 60px rgba(16, 32, 42, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fbfdfd;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 231, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.brand img,
.brand-mark {
  width: 42px;
  height: 42px;
}

.brand img {
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 10px 26px rgba(15, 107, 120, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #24414c;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.main-nav .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: #1d2a22;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(224, 169, 41, 0.22);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus {
  color: #1d2a22;
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 38, 45, 0.93), rgba(8, 38, 45, 0.66) 42%, rgba(8, 38, 45, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 38, 45, 0.62), rgba(8, 38, 45, 0.02) 55%);
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  padding: 120px clamp(20px, 6vw, 82px) 150px;
  color: #ffffff;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.9rem, 9vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1d2a22;
  box-shadow: 0 14px 34px rgba(224, 169, 41, 0.24);
}

.btn-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  color: var(--brand-dark);
  border-color: #b9cdd2;
  background: #ffffff;
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 82px);
  right: clamp(20px, 6vw, 82px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-dashboard {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 6vw, 82px);
  top: 122px;
  width: min(440px, 38vw);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-top span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-tabs span,
.activity-list p {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.dashboard-tabs span {
  padding: 9px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-metrics div {
  min-height: 92px;
  border-radius: var(--radius);
  padding: 14px;
  background: #ffffff;
}

.dashboard-metrics strong,
.dashboard-metrics span,
.activity-list strong,
.activity-list span {
  display: block;
}

.dashboard-metrics strong {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.dashboard-metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-list p {
  margin: 0;
  padding: 13px 14px;
  color: #ffffff;
}

.activity-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.hero-strip div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.hero-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 82px);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 34px;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--brand-dark);
}

.stats-section article {
  padding: 30px clamp(20px, 4vw, 42px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.stats-section strong,
.stats-section span {
  display: block;
}

.stats-section strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stats-section span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.intro-section {
  background: var(--surface);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.trust-grid article {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px;
  background: #f6fbfb;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.trust-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.intro-grid,
.feature-grid,
.download-grid,
.offers-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid article,
.feature-grid article,
.download-panel,
.offers-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.metric {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
  font-size: 2rem;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--soft);
}

.product-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid article {
  min-height: 170px;
}

.field-section {
  background: #ffffff;
}

.field-grid,
.scope-grid,
.roles-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.field-grid {
  grid-template-columns: repeat(3, 1fr);
}

.field-grid article {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(15, 107, 120, 0.07), rgba(224, 169, 41, 0.08)),
    #ffffff;
  box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.field-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.screenshots-section {
  background: #ffffff;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screen-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(16, 32, 42, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
}

.screen-card img {
  width: 100%;
  height: 230px;
  min-height: 230px;
  object-fit: cover;
  object-position: top left;
}

.screen-card div,
.screen-placeholder {
  padding: 22px;
}

.large-screen {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
}

.large-screen img {
  height: 100%;
  min-height: 420px;
}

.scope-section {
  background: var(--brand-dark);
  color: #ffffff;
}

.scope-section p,
.scope-grid li {
  color: rgba(255, 255, 255, 0.78);
}

.scope-grid {
  grid-template-columns: repeat(4, 1fr);
}

.scope-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.scope-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.screen-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(15, 107, 120, 0.08), rgba(224, 169, 41, 0.12)),
    #ffffff;
}

.screen-placeholder span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--brand);
  font-weight: 900;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  background: #ffffff;
}

.demo-visual {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.demo-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #2f4650;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
}

.demo-accounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.demo-accounts div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #f7fbfb;
}

.demo-accounts strong,
.demo-accounts span {
  display: block;
}

.demo-accounts strong {
  color: var(--brand-dark);
}

.demo-accounts span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-section {
  background: #f7fbfb;
}

.roles-section {
  background: #f7fbfb;
}

.roles-grid {
  grid-template-columns: repeat(4, 1fr);
}

.roles-grid article {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.roles-grid strong,
.roles-grid span {
  display: block;
}

.roles-grid strong {
  color: var(--brand-dark);
}

.roles-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.steps-section {
  background: #ffffff;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid article {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  font-weight: 900;
  font-size: 1.2rem;
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-panel {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
}

.download-panel .btn {
  margin-top: auto;
}

.primary-panel {
  border-color: rgba(15, 107, 120, 0.35);
  background: #edf8f7;
}

.file-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  background: var(--brand-dark);
  color: #ffffff;
}

.proof-section p {
  color: rgba(255, 255, 255, 0.82);
}

.proof-section img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  align-self: end;
  justify-self: center;
}

.proof-copy {
  max-width: 920px;
}

.social-proof-section {
  background: #f7fbfb;
}

.proof-metrics,
.school-proof-grid,
.testimonial-grid,
.about-points,
.faq-grid {
  display: grid;
  gap: 16px;
}

.proof-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.proof-metrics article,
.school-proof-grid article,
.testimonial-grid blockquote,
.about-points article,
.faq-grid details {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.school-proof-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.school-proof-grid article {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 107, 120, 0.08), rgba(224, 169, 41, 0.1)),
    #ffffff;
}

.school-proof-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(15, 107, 120, 0.1);
}

.school-proof-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.school-proof-grid h3 {
  position: relative;
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 1.18rem;
  line-height: 1.25;
}

.school-proof-grid p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.proof-metrics strong,
.proof-metrics span {
  display: block;
}

.proof-metrics strong {
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.proof-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.testimonial-grid {
  grid-template-columns: repeat(2, 1fr);
}

.testimonial-grid p {
  margin-top: 0;
  color: #304751;
  font-size: 1.05rem;
}

.testimonial-grid cite {
  color: var(--brand);
  font-style: normal;
  font-weight: 800;
}

.offers-section {
  background: #ffffff;
}

.create-school-section {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(15, 107, 120, 0.12), transparent 44%),
    linear-gradient(300deg, rgba(224, 169, 41, 0.14), transparent 46%),
    #f8fbfb;
}

.create-school-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--brand-dark);
}

.create-school-copy p {
  width: min(640px, 100%);
  color: var(--muted);
  font-size: 1.1rem;
}

.create-school-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.create-school-form h2 {
  margin: 0;
}

.offers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offers-grid article {
  min-height: 220px;
}

.offers-grid strong {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand);
  font-size: 1.45rem;
}

.offer-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.offer-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #2f4650;
  font-weight: 650;
}

.featured-offer {
  border-color: rgba(224, 169, 41, 0.65);
  background: var(--accent-soft);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  background: #ffffff;
}

.about-points {
  grid-template-columns: 1fr;
}

.faq-section {
  background: #f7fbfb;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-grid summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 900;
}

.faq-grid p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--soft);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #bdd2d7;
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--brand-dark);
  background: #ffffff;
  font-weight: 800;
}

.contact-direct a:hover,
.contact-direct a:focus {
  border-color: var(--brand);
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-form label,
.download-form label,
.code-form label {
  display: grid;
  gap: 7px;
  color: #25404b;
  font-weight: 800;
}

.download-form,
.code-form {
  display: grid;
  gap: 14px;
}

.form-panel {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 32, 42, 0.1);
}

.form-panel[hidden] {
  display: none;
}

.compact-panel {
  width: 100%;
}

.form-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-panel-header h3 {
  margin: 0;
}

.panel-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: #f7fbfb;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.panel-close:hover,
.panel-close:focus {
  background: var(--soft);
}

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

.code-form .btn,
.download-form .btn {
  width: fit-content;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8d6da;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 750;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #a33a2b;
}

.download-inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 82px);
  color: #dce8eb;
  background: #082630;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.site-footer a:hover {
  color: var(--accent);
}

.legal-page {
  background: #f6f9fb;
}

.legal-hero {
  padding-top: 150px;
  padding-bottom: 54px;
  background: linear-gradient(135deg, #0b3440, #165d6a);
  color: #ffffff;
}

.legal-hero h1 {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: 3.4rem;
  line-height: 1;
}

.legal-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.legal-hero span {
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 920px;
  padding-top: 54px;
  padding-bottom: 74px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: #113743;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0;
  color: #445664;
  line-height: 1.78;
}

.legal-content a {
  color: var(--brand);
  font-weight: 800;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.error-shell {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 52px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.error-shell h1 {
  margin: 34px 0 10px;
  font-size: clamp(2.3rem, 8vw, 4rem);
  line-height: 1;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .main-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
    padding: 12px 14px;
  }

  .main-nav-static {
    position: static;
    display: flex;
    flex-direction: row;
    border-bottom: 0;
    padding: 0;
    background: transparent;
  }

  .main-nav-static a {
    padding: 0;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-bottom: 250px;
  }

  .hero-strip,
  .stats-section,
  .demo-accounts,
  .intro-grid,
  .trust-section,
  .trust-grid,
  .field-grid,
  .scope-grid,
  .roles-grid,
  .steps-grid,
  .screens-grid,
  .proof-metrics,
  .school-proof-grid,
  .testimonial-grid,
  .about-section,
  .faq-grid,
  .download-grid,
  .offers-grid,
  .feature-grid,
  .product-section,
  .demo-section,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .create-school-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-strip {
    left: 20px;
    right: 20px;
  }

  .hero-dashboard {
    display: none;
  }

  .product-copy {
    position: static;
  }

  .large-screen {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand img,
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .main-nav {
    top: 66px;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-content {
    padding: 98px 20px 300px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .code-form .btn,
  .download-form .btn {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
