:root {
  --bg: #edf3f8;
  --surface: #f8fcff;
  --ink: #13263f;
  --muted: #47617d;
  --brand: #0876c7;
  --brand-strong: #055791;
  --signal: #e9504f;
  --line: #c8d8e7;
  --shadow: 0 18px 38px rgba(9, 36, 66, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, #ffffff 0%, #edf3f8 30%),
    radial-gradient(circle at 100% 0%, #d7e9f8 0%, transparent 45%),
    linear-gradient(180deg, #f6fbff 0%, #e9f2f9 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(237, 243, 248, 0.86);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  position: relative;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo {
  height: 44px;
  width: auto;
}

.logo-eden {
  height: 50px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 180ms ease, opacity 160ms ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  padding: 6rem 0 3.5rem;
}

.eyebrow {
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin: 0;
}

h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
}

.lead {
  max-width: 70ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: linear-gradient(180deg, #f2f8ff 0%, #e8f1fa 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.panel.alert {
  border-left: 7px solid var(--signal);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.lesson-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--brand-strong);
  text-decoration: none;
}

.lesson-link:hover {
  text-decoration: underline;
}

.kicker {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.checklist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.progress-line {
  margin: 0;
  color: var(--muted);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.checkitem {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem;
}

.checkitem input {
  margin-top: 0.3rem;
}

.checkitem.done {
  border-color: #7cb7e2;
  background: #f2faff;
}

.contact-form {
  max-width: 560px;
  margin-top: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
}

.required {
  color: var(--signal);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 150ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(8, 118, 199, 0.15);
}

.form-field input[aria-invalid="true"],
.form-field input.invalid {
  border-color: var(--signal);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  color: var(--signal);
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.success {
  color: #1e7a45;
}

.form-status.error {
  color: var(--signal);
}

.source-note {
  padding-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--muted);
}

@media (max-width: 780px) {
  .logo {
    height: 38px;
  }

  .logo-eden {
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(280px, 86vw);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease;
    z-index: 31;
  }

  .site-nav a {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav.open {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(13, 30, 48, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 30;
  }

  .menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-two,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 4rem;
  }
}
