:root {
  --bg: #f5efe3;
  --bg-strong: #eadfc8;
  --ink: #14212f;
  --ink-soft: rgba(20, 33, 47, 0.76);
  --line: rgba(20, 33, 47, 0.12);
  --accent: #006d77;
  --accent-strong: #d1495b;
  --accent-warm: #c77d36;
  --paper: rgba(255, 252, 245, 0.88);
  --paper-strong: rgba(255, 250, 242, 0.94);
  --shadow: 0 24px 60px rgba(20, 33, 47, 0.12);
  --shadow-strong: 0 28px 80px rgba(20, 33, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 109, 119, 0.18), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(209, 73, 91, 0.18), transparent 24%),
    radial-gradient(circle at 50% 36%, rgba(199, 125, 54, 0.12), transparent 30%),
    linear-gradient(180deg, #fbf7ee 0%, var(--bg) 46%, #efe5d3 100%);
  font-family: "Trebuchet MS", "Gill Sans", "Avenir Next", sans-serif;
}

a {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  background: rgba(20, 33, 47, 0.08);
  border-radius: 0.3rem;
  padding: 0.12rem 0.38rem;
}

.site-shell {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.45rem;
}

.topbar-mark {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.topbar-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 3rem 0 2rem;
}

.hero-copy,
.hero-panel,
.feature-card,
.split-callout,
.launch-strip {
  position: relative;
}

.hero-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 247, 232, 0.28)),
    var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow-strong);
  padding: 2.2rem;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -2.5rem -3.25rem auto;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 109, 119, 0.18), rgba(0, 109, 119, 0));
  pointer-events: none;
}

.hero-copy h1,
.split-callout h2,
.launch-strip h2,
.feature-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
  max-width: 9.5ch;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-link {
  background: var(--ink);
  color: #fff9f0;
  box-shadow: 0 18px 38px rgba(20, 33, 47, 0.2);
}

.secondary-link {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.hero-notes {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(20, 33, 47, 0.09);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.46);
}

.hero-stat-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-stat-label {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.feature-card,
.callout-box,
.launch-strip,
.workflow-card,
.insight-card {
  background: rgba(255, 252, 245, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}

.panel-card-glow {
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.9), rgba(20, 33, 47, 0.95)),
    rgba(255, 255, 255, 0.08);
  color: #fbf7ee;
}

.panel-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.35rem;
}

.panel-card p,
.feature-card p,
.split-callout p,
.callout-box li {
  color: var(--ink-soft);
  line-height: 1.6;
}

.panel-card-glow p,
.panel-card-glow .panel-label {
  color: rgba(255, 252, 245, 0.84);
}

.panel-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.teacher-student-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.85), rgba(241, 247, 250, 0.82)),
    rgba(255, 252, 245, 0.72);
  box-shadow: var(--shadow);
}

.mode-strip {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.08), rgba(255, 252, 245, 0.82)),
    rgba(255, 252, 245, 0.76);
  box-shadow: var(--shadow);
}

.mode-copy h2,
.mode-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.mode-copy p:last-child,
.mode-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.mode-card {
  min-height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 241, 232, 0.66)),
    rgba(255, 252, 245, 0.8);
  box-shadow: var(--shadow);
}

.mode-kicker {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teacher-student-copy h2,
.workflow-card h3,
.insight-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.teacher-student-copy p:last-child,
.workflow-card p,
.insight-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.teacher-student-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.workflow-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 241, 232, 0.66)),
    rgba(255, 252, 245, 0.8);
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff7ec;
  font-weight: 700;
}

.editorial-band {
  margin-top: 0.4rem;
  padding: 1.25rem 1.4rem;
  border-top: 1px solid rgba(20, 33, 47, 0.1);
  border-bottom: 1px solid rgba(20, 33, 47, 0.1);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.7;
}

.editorial-band p {
  max-width: 50rem;
  margin: 0;
}

.feature-card {
  min-height: 15rem;
}

.feature-card h2 {
  font-size: 1.5rem;
}

.split-callout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.2rem;
  background: rgba(255, 248, 235, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
}

.callout-box ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

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

.insight-card {
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.08), rgba(255, 255, 255, 0.42)),
    rgba(255, 252, 245, 0.8);
}

.download-strip {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(20, 33, 47, 0.05), rgba(209, 73, 91, 0.08)),
    rgba(255, 252, 245, 0.78);
  box-shadow: var(--shadow);
}

.download-strip-copy h2,
.download-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.download-strip-copy p:last-child,
.download-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

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

.download-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 241, 232, 0.7)),
    rgba(255, 252, 245, 0.8);
  box-shadow: var(--shadow);
}

.download-platform {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.download-link {
  width: 100%;
}

.download-card-soon {
  background:
    linear-gradient(180deg, rgba(20, 33, 47, 0.05), rgba(255, 255, 255, 0.6)),
    rgba(255, 252, 245, 0.78);
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 33, 47, 0.1);
  color: var(--ink);
  font-weight: 700;
}

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

.audience-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.72);
  box-shadow: var(--shadow);
}

.audience-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
  font-size: 1.7rem;
}

.audience-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.launch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  background:
    linear-gradient(135deg, rgba(20, 33, 47, 0.96), rgba(0, 109, 119, 0.92)),
    rgba(255, 252, 245, 0.8);
  color: #fff7ec;
}

.docs-shell {
  padding-bottom: 5rem;
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
  padding: 2.5rem 0 1.25rem;
}

.docs-main {
  display: grid;
  gap: 1.2rem;
}

.toc-card,
.doc-card,
.doc-section {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: rgba(255, 252, 245, 0.8);
  box-shadow: var(--shadow);
}

.toc-card {
  padding: 1.35rem 1.4rem;
  position: sticky;
  top: 1rem;
}

.toc-list,
.callout-box ul,
.doc-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.toc-list {
  display: grid;
  gap: 0.55rem;
}

.doc-section {
  padding: 1.6rem 1.5rem;
}

.doc-section h2,
.doc-card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.doc-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

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

.doc-card {
  padding: 1.2rem 1.25rem;
}

.doc-card p:last-child,
.doc-card ul:last-child {
  margin-bottom: 0;
}

.doc-callout {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(20, 33, 47, 0.08);
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero,
  .docs-hero,
  .feature-grid,
  .mode-strip,
  .mode-grid,
  .teacher-student-strip,
  .teacher-student-grid,
  .split-callout,
  .insight-grid,
  .download-grid,
  .audience-grid,
  .doc-grid,
  .doc-steps {
    grid-template-columns: 1fr;
  }

  .launch-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .toc-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100vw - 1rem, 100%);
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy,
  .panel-card,
  .feature-card,
  .toc-card,
  .doc-card,
  .doc-section,
  .teacher-student-strip,
  .workflow-card,
  .split-callout,
  .insight-card,
  .download-strip,
  .download-card,
  .launch-strip,
  .audience-card {
    border-radius: 1.25rem;
  }

  .hero-stat-strip {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
