:root {
  color-scheme: light;
  --ink: #243129;
  --muted: #5c6b61;
  --paper: #fbf8f0;
  --wash: #f2eadc;
  --leaf: #587964;
  --water: #4f7783;
  --line: #d8d1c3;
  --dark: #17241d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(36, 49, 41, 0.08);
  background: rgba(251, 248, 240, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #dde8dd;
  color: #fff;
  font-size: 15px;
}

.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 48px;
  max-width: 1120px;
  min-height: min(780px, calc(100vh - 58px));
  margin: 0 auto;
  padding: 56px 22px 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--water);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.03;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.availability {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.preview-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.mascot-hero {
  position: absolute;
  left: -28px;
  top: 52px;
  z-index: 2;
  width: 132px;
  filter: drop-shadow(0 12px 24px rgba(36, 49, 41, 0.16));
}

.app-preview {
  width: min(100%, 390px);
  max-height: 76vh;
  filter: drop-shadow(0 24px 54px rgba(36, 49, 41, 0.18));
}

.band {
  border-top: 1px solid rgba(36, 49, 41, 0.08);
  background: #fffdf8;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 22px;
}

.section h2 {
  max-width: 720px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.14;
}

.section-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.tile {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.tile strong {
  display: block;
  color: var(--water);
  font-size: 15px;
}

.tile h3 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

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

.feature-grid .tile {
  min-height: 150px;
  background: #fffdf8;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 42px;
  align-items: center;
}

.video-copy {
  max-width: 640px;
}

.video-preview {
  display: flex;
  justify-content: center;
}

.video-preview video {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(36, 49, 41, 0.12);
  border-radius: 8px;
  background: #17241d;
  box-shadow: 0 24px 54px rgba(36, 49, 41, 0.18);
}

.credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: start;
}

.credit-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.site-footer {
  border-top: 1px solid rgba(36, 49, 41, 0.08);
  padding: 28px 22px;
  color: var(--muted);
  text-align: center;
}

.privacy-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 22px 90px;
}

.privacy-page h1 {
  font-size: clamp(36px, 7vw, 62px);
}

.privacy-page h2 {
  margin-top: 44px;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .preview-wrap {
    justify-content: flex-start;
    padding-left: 34px;
  }

  .mascot-hero {
    left: 0;
    top: 34px;
    width: 108px;
  }

  .app-preview {
    width: min(78vw, 330px);
  }

  .session-grid,
  .feature-grid,
  .video-section,
  .credits {
    grid-template-columns: 1fr;
  }

  .video-preview {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .preview-wrap {
    padding-left: 22px;
  }

  .mascot-hero {
    width: 88px;
  }

  .video-preview video {
    width: min(100%, 280px);
  }
}
