:root {
  --bg: #f1ece1;
  --paper: #fffdf8;
  --paper-soft: #f8f0df;
  --ink: #11110f;
  --muted: #615b51;
  --blue: #285c96;
  --blue-soft: #d9e7f6;
  --green: #10331b;
  --green-soft: #dfe9de;
  --gold: #d3b890;
  --coral: #b85b4d;
  --line: #e1d4bf;
  --shadow: 0 26px 70px rgba(31, 29, 25, 0.14);
  --soft-shadow: 0 14px 36px rgba(31, 29, 25, 0.08);
  --panel-shadow: 0 30px 90px rgba(31, 29, 25, 0.1);
  --wrap: min(1080px, calc(100% - 32px));
  --narrow: min(820px, calc(100% - 32px));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(211, 184, 144, 0.32), transparent 28rem),
    radial-gradient(circle at 90% 16%, rgba(40, 92, 150, 0.13), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.62;
}

a {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.narrow {
  width: var(--narrow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(224, 216, 202, 0.86);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.book-link,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--ink));
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(16, 51, 27, 0.18);
}

.book-link,
.button {
  min-height: 44px;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #17251c);
  color: white;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(16, 51, 27, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.book-link:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(16, 51, 27, 0.24);
}

a:focus-visible,
.book-link:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(40, 92, 150, 0.38);
  outline-offset: 3px;
}

.section {
  position: relative;
  padding: 46px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    var(--paper);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 24px auto auto -90px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(40, 92, 150, 0.16);
  border-radius: 999px;
}

.section::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -95px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 184, 144, 0.24), transparent 70%);
  pointer-events: none;
}

.section > .wrap {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(16, 51, 27, 0.09);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(255, 250, 239, 0.86)),
    var(--paper);
  box-shadow: var(--panel-shadow);
}

.soft > .wrap {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 240, 223, 0.88)),
    var(--paper-soft);
}

.soft {
  background:
    linear-gradient(135deg, rgba(217, 231, 246, 0.42), transparent 38%),
    var(--paper-soft);
}

.hero-section {
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.hero-section > .wrap {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(217, 231, 246, 0.28) 48%, rgba(211, 184, 144, 0.18)),
    var(--paper);
}

.hero-layout,
.intro-layout,
.progress-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(40, 92, 150, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(217, 231, 246, 0.64);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 3rem;
  max-width: 820px;
}

h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--blue));
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 2.2rem;
  font-weight: 700;
}

h2 span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border-radius: 8px;
  background: rgba(217, 231, 246, 0.72);
  color: var(--green);
  font-size: 1.18rem;
  vertical-align: 0.08em;
}

.heading-icon {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p,
li {
  color: var(--muted);
  font-size: 1.06rem;
}

.lead {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 650;
}

.section-subtitle {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.text-link {
  border-bottom: 2px solid rgba(40, 92, 150, 0.22);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  border-color: var(--blue);
}

.media-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(16, 51, 27, 0.1);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 240, 223, 0.72)),
    white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-frame::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -32px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(211, 184, 144, 0.28);
  pointer-events: none;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #f4f0e8;
}

.media-frame figcaption {
  width: fit-content;
  margin: 10px 0 0;
  border: 1px solid rgba(40, 92, 150, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(217, 231, 246, 0.56);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.media-frame.message {
  background:
    linear-gradient(145deg, rgba(37, 37, 37, 0.96), rgba(55, 49, 43, 0.94)),
    #252525;
}

.media-frame.message figcaption {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.11);
  color: white;
}

.media-frame.light,
.media-frame.document,
.media-frame.tracker,
.media-frame.lesson,
.media-frame.compact {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(217, 231, 246, 0.26)),
    white;
}

.media-frame.compact {
  margin: 28px 0;
}

.credibility-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.credibility-grid div {
  border: 1px solid rgba(16, 51, 27, 0.11);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(31, 29, 25, 0.055);
}

.credibility-grid strong,
.credibility-grid span {
  display: block;
}

.credibility-grid strong {
  color: var(--green);
  font-size: 1rem;
}

.credibility-grid span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  list-style: none;
  position: relative;
  padding: 22px 22px 22px 76px;
  border: 1px solid rgba(40, 92, 150, 0.14);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

.steps li::marker {
  content: "";
}

.steps li::after {
  content: counter(steps);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #183c63);
  color: white;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(40, 92, 150, 0.22);
}

.steps li + li::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -16px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.steps h3 {
  color: var(--green);
  font-size: 1.12rem;
}

.steps p {
  margin-bottom: 0;
}

.placeholder-grid,
.lesson-grid {
  display: grid;
  gap: 22px;
}

#feedback > .wrap,
#progress > .wrap {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 231, 246, 0.22)),
    var(--paper);
}

.included-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  border: 1px solid rgba(16, 51, 27, 0.12);
  border-radius: 8px;
  padding: 16px 16px 16px 48px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(31, 29, 25, 0.055);
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 9px;
  height: 14px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.book-here {
  color: var(--ink);
  font-weight: 800;
  border-left: 4px solid var(--gold);
  padding: 12px 0 12px 16px;
  background: linear-gradient(90deg, rgba(211, 184, 144, 0.18), transparent);
}

.lesson-callout {
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(217, 231, 246, 0.54);
  color: var(--ink);
  font-weight: 700;
}

.cal-shell {
  height: 760px;
  margin-top: 28px;
  border: 1px solid rgba(16, 51, 27, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.final-section > .wrap {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(223, 233, 222, 0.4)),
    var(--paper);
}

#first-lesson,
#ready-to-get-started {
  scroll-margin-top: 92px;
}

.small-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .section {
    padding: 54px 0;
  }

  .hero-section {
    min-height: auto;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .lead {
    font-size: 1.14rem;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .cal-shell {
    height: 700px;
  }
}

@media (min-width: 780px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  }

  .intro-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .intro-layout .feedback-card {
    grid-column: 1 / -1;
  }

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

  .placeholder-grid .wide {
    grid-column: 1 / -1;
  }

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

  .lesson-grid,
  .progress-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-layout h2 {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1080px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .lead {
    font-size: 1.42rem;
  }
}
