:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #58645f;
  --paper: #f7f4ee;
  --band: #e8edf0;
  --line: rgba(23, 32, 29, 0.14);
  --green: #1d6b55;
  --green-dark: #124536;
  --gold: #b98935;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 28, 25, 0.78);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--white);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 720;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 820px);
  padding: 130px clamp(20px, 5vw, 72px) 58px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 19, 17, 0.9) 0%, rgba(10, 19, 17, 0.68) 36%, rgba(10, 19, 17, 0.14) 72%),
    linear-gradient(0deg, rgba(10, 19, 17, 0.78) 0%, rgba(10, 19, 17, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.school-hero {
  display: grid;
  align-items: end;
  min-height: min(78vh, 720px);
  padding: 132px clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(10, 19, 17, 0.92) 0%, rgba(10, 19, 17, 0.76) 42%, rgba(10, 19, 17, 0.38) 100%),
    url("assets/res-t-hero.png") center / cover;
  color: var(--white);
}

.guide-hero {
  display: grid;
  align-items: end;
  min-height: min(78vh, 720px);
  padding: 132px clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(10, 19, 17, 0.92) 0%, rgba(10, 19, 17, 0.74) 45%, rgba(10, 19, 17, 0.3) 100%),
    url("assets/res-t-hero.png") center / cover;
  color: var(--white);
}

.school-hero-copy {
  max-width: 820px;
}

.school-hero-copy p,
.guide-hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.guide-hero-copy {
  max-width: 880px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.section .button.secondary,
.contact-section .button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.status-strip div {
  padding: 22px clamp(18px, 4vw, 54px);
  background: var(--white);
}

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

.status-strip strong {
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--muted);
}

.status-strip span {
  font-weight: 760;
}

.section {
  padding: clamp(58px, 10vw, 116px) clamp(20px, 5vw, 72px);
}

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

.section-link-row {
  margin-top: 24px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.product-section {
  background: var(--paper);
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 29, 0.04);
}

.feature-card p,
.audience-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--band);
}

.beta-section {
  background: var(--white);
}

.video-section {
  background: #18221f;
  color: var(--white);
}

.video-section .section-heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
}

.video-placeholder {
  display: grid;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 107, 85, 0.38), rgba(184, 137, 53, 0.18)),
    rgba(255, 255, 255, 0.06);
  text-align: center;
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.play-mark {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.35rem;
}

.video-placeholder strong {
  font-size: 1.25rem;
}

.video-placeholder span:last-child,
.video-copy p,
.script-list,
.script-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.video-copy {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.video-copy h3,
.script-grid h3,
.script-grid p {
  margin: 0;
}

.script-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.script-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.script-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.script-grid h3 {
  margin-top: 12px;
}

.beta-section .section-heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.beta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.beta-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.beta-card h3,
.beta-card p {
  margin: 0;
}

.beta-card h3 {
  margin-top: 12px;
}

.beta-card p {
  color: var(--muted);
}

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.beta-section .button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.beta-note {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.launch-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.launch-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--white);
}

.number {
  color: var(--green);
  font-weight: 820;
}

.launch-list p {
  margin: 0;
  color: var(--muted);
}

.audience-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: var(--white);
}

.audience-copy {
  max-width: 820px;
}

.audience-copy p {
  margin-top: 20px;
  max-width: 680px;
  font-size: 1.08rem;
}

.audience-panel {
  border-radius: 8px;
  background: #12241e;
  color: var(--white);
  padding: 30px;
}

.audience-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-panel li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.pricing-section {
  background: var(--band);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 29, 0.04);
}

.pricing-card h3,
.pricing-card p,
.pricing-card ul {
  margin: 0;
}

.pricing-card p,
.pricing-card li {
  color: var(--muted);
}

.plan-label {
  color: var(--gold) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  color: var(--ink) !important;
  font-size: 1.7rem;
  font-weight: 820;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.muted-card {
  background: #f8faf9;
}

.feedback-section {
  background: var(--paper);
}

.feedback-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.feedback-panel > div {
  padding: 28px;
  background: var(--white);
}

.feedback-panel h3,
.feedback-panel p,
.feedback-panel ul {
  margin: 0;
}

.feedback-panel p,
.feedback-panel li {
  color: var(--muted);
}

.feedback-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.feedback-panel .button {
  margin-top: 22px;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: var(--white);
}

.founder-copy {
  max-width: 860px;
}

.founder-copy p,
.founder-panel p {
  color: var(--muted);
}

.founder-copy p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.06rem;
}

.founder-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12241e;
  color: var(--white);
  box-shadow: var(--shadow);
}

.founder-panel h3,
.founder-panel p {
  margin: 0;
}

.founder-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.founder-panel .button {
  margin-top: 24px;
}

.contact-section {
  background: #18221f;
  color: var(--white);
  text-align: center;
}

.guide-section {
  background: var(--white);
}

.guide-steps,
.guide-columns {
  display: grid;
  gap: 16px;
}

.guide-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.guide-steps article,
.guide-columns article,
.faq-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.guide-steps h3,
.guide-columns h3,
.faq-list h3,
.guide-steps p,
.guide-columns p,
.faq-list p {
  margin: 0;
}

.guide-steps h3,
.guide-columns h3,
.faq-list h3 {
  margin-top: 10px;
}

.guide-steps p,
.guide-columns p,
.faq-list p {
  color: var(--muted);
}

.faq-section {
  background: var(--band);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-list a {
  color: var(--green);
  font-weight: 760;
}

.contact-section h2,
.contact-section p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #0e1614;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.legal-page p {
  color: var(--muted);
  font-size: 1.03rem;
}

.legal-page a {
  color: var(--green);
  font-weight: 760;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 1.03rem;
}

.legal-list li {
  padding-left: 4px;
}

.legal-list a {
  color: var(--green);
  font-weight: 760;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 34px;
}

.legal-updated {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .school-hero {
    min-height: 78vh;
  }

  .guide-hero {
    min-height: 78vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 19, 17, 0.88) 0%, rgba(10, 19, 17, 0.56) 62%, rgba(10, 19, 17, 0.2) 100%),
      linear-gradient(0deg, rgba(10, 19, 17, 0.82) 0%, rgba(10, 19, 17, 0.08) 50%);
  }

  .status-strip,
  .feature-grid,
  .beta-grid,
  .video-layout,
  .script-grid,
  .pricing-grid,
  .guide-steps,
  .guide-columns,
  .faq-list,
  .split-section,
  .audience-section,
  .feedback-panel,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .beta-card {
    min-height: auto;
  }
}

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

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86vh;
    padding: 108px 18px 40px;
  }

  .school-hero {
    min-height: 78vh;
    padding: 104px 18px 42px;
  }

  .guide-hero {
    min-height: 78vh;
    padding: 104px 18px 42px;
  }

  h1 {
    font-size: clamp(2.64rem, 16vw, 4.6rem);
  }

  .guide-hero h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .guide-hero-copy p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .launch-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .audience-panel {
    padding: 22px;
  }

  .video-placeholder {
    min-height: 240px;
  }
}
