:root {
  --forest: #0b1410;
  --forest-deep: #07100c;
  --forest-mid: #122018;
  --canopy: #163325;
  --gold: #c5a059;
  --gold-deep: #b08a3e;
  --gold-soft: #d4b36e;
  --cream: #f3eee4;
  --cream-deep: #e8e0d0;
  --paper: #fffcf6;
  --ink: #141815;
  --ink-soft: #4a554e;
  --line: #ddd4c4;
  --font-serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.55 var(--font-sans);
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
}

.skip:focus {
  top: 1rem;
}

.site-header,
.hero-inner,
.problem-inner,
.memory-inner,
.cohort-inner,
.site-footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  color: #f3efe4;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.brand-text {
  display: grid;
  gap: 0.12rem;
}

.brand-name,
.brand-by,
.nav-method,
.card-kicker,
.section-kicker,
.form-foot,
.card-num {
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.68rem;
  font-weight: 600;
}

.brand-by {
  font-size: 0.58rem;
  opacity: 0.7;
}

.nav-method {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.88;
}

.nav-method:hover,
.reserve:hover,
.brand:hover {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7.5rem 0 4.5rem;
  color: #f3efe4;
  background:
    linear-gradient(90deg, rgba(7, 16, 12, 0.78) 0%, rgba(7, 16, 12, 0.28) 52%, rgba(7, 16, 12, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 16, 12, 0.12) 0%, rgba(7, 16, 12, 0.42) 100%),
    url("assets/hero-course.svg") center / cover no-repeat,
    var(--forest);
}

.hero-mist {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 62% 72%, rgba(180, 200, 170, 0.14), transparent 42%),
    radial-gradient(ellipse at 30% 90%, rgba(12, 28, 18, 0.45), transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 22.5rem);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: #c4bba8;
  font-size: 0.95rem;
}

.hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.15rem);
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: #d8d0c0;
  font-size: 1.08rem;
  line-height: 1.6;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: #e6e0d2;
  font-size: 0.95rem;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.check-icon circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
}

.check-icon path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.waitlist-card {
  background: var(--paper);
  color: var(--ink);
  padding: 1.85rem 1.7rem 1.55rem;
  border-radius: 0.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.card-kicker {
  margin: 0 0 0.7rem;
  color: #8a8170;
  font-size: 0.68rem;
  font-weight: 600;
}

.waitlist-card h2 {
  font-size: 1.85rem;
  line-height: 1.15;
}

.card-body {
  margin: 0.75rem 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.waitlist-form {
  display: grid;
  gap: 0.9rem;
}

.waitlist-form label {
  display: grid;
  gap: 0.35rem;
  color: #6b6458;
  font-size: 0.92rem;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.85rem;
  border-radius: 0.2rem;
}

.waitlist-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  background: var(--gold);
  color: var(--forest-deep);
  font: 600 1rem/1.2 var(--font-sans);
  padding: 0.95rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-soft);
}

.btn-arrow {
  font-size: 1.05rem;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  color: #8a8170;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.foot-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid #b7b0a2;
  border-radius: 50%;
}

.form-error {
  color: #8a3b28;
  font-size: 0.9rem;
}

.form-success {
  padding: 0.4rem 0 0.2rem;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.problem,
.memory,
#cohort,
#waitlist {
  scroll-margin-top: 1.5rem;
}

.problem,
.memory {
  background: var(--cream);
}

.problem {
  padding: 6.5rem 0 4.5rem;
}

.problem-inner {
  max-width: 46rem;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2 + 8rem));
}

.section-kicker {
  margin: 0 0 1.15rem;
  color: #7d7566;
  font-size: 0.7rem;
  font-weight: 600;
}

.section-kicker.light {
  color: #c4bba8;
}

.problem h2 {
  display: grid;
  gap: 0.25rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.problem-lead {
  color: #174a32;
}

.problem-end {
  color: var(--ink);
}

.problem-body {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.memory {
  padding: 2rem 0 6.5rem;
}

.memory-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: start;
}

.memory h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  max-width: 11ch;
}

.memory-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.memory-cards article {
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  padding: 1.55rem 1.25rem 1.7rem;
}

.card-num {
  margin: 0 0 1.1rem;
  color: #8a8170;
  font-size: 0.72rem;
  font-weight: 600;
}

.memory-cards h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.memory-cards p:last-child {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cohort-cta {
  background: var(--forest);
  color: #f3efe4;
  padding: 5rem 0;
  overflow: hidden;
}

.cohort-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: end;
}

.cohort-cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 16ch;
}

.cohort-aside {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.cohort-aside p {
  color: #c4bba8;
  margin-bottom: 1.4rem;
}

.reserve {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-weight: 600;
}

.gl-watermark {
  position: absolute;
  right: -0.4rem;
  bottom: -2.6rem;
  font-family: var(--font-serif);
  font-size: clamp(8rem, 18vw, 13rem);
  line-height: 0.7;
  color: rgba(243, 239, 228, 0.05);
  letter-spacing: -0.04em;
  user-select: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  color: var(--ink);
}

.brand.dark {
  color: var(--ink);
}

.footer-tag,
.footer-copy {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-copy {
  white-space: nowrap;
}

@media (max-width: 920px) {
  .hero-inner,
  .memory-inner,
  .cohort-inner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .hero-inner,
  .memory-inner,
  .cohort-inner {
    display: grid;
  }

  .site-footer {
    justify-items: start;
    padding: 2rem 0;
  }

  .problem-inner {
    margin-left: auto;
    margin-right: auto;
  }

  .memory-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .gl-watermark {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-inner,
  .problem-inner,
  .memory-inner,
  .cohort-inner,
  .site-footer {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero {
    padding: 6.5rem 0 2.5rem;
  }

  .problem,
  .memory {
    padding-left: 0;
  }

  .problem {
    padding-top: 4rem;
  }

  .memory {
    padding-bottom: 4rem;
  }

  .checks {
    flex-direction: column;
    gap: 0.7rem;
  }
}
