:root {
  color-scheme: light;
  --cream: #faf7ee;
  --paper: #f0ebdf;
  --ink: #18342b;
  --muted: #45584d;
  --rule: #c4c8ba;
  --forest: #19392f;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
body { line-height: 1.6; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 0.23em; }
a:focus-visible { outline: 3px solid #317759; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3, dt { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
p, dd { color: var(--muted); }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.site-header, .footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
}
.site-header { padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 0.65rem; }
nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.4rem, 5vw, 4.6rem);
}
.hero-copy { max-width: 39rem; }
.lead { font-size: clamp(1.1rem, 2.1vw, 1.38rem); }
h1 + .lead, h2 + .lead { margin-top: 1.1rem; }
.lead + p { margin-top: 0.85rem; }
.download { margin-top: 1.65rem; }
.store-badge { display: inline-block; vertical-align: top; border-radius: 0.5rem; }
.store-badge img { width: auto; height: 3rem; }
.download p, .closing p { margin-top: 0.55rem; font-size: 0.9rem; }
.hero-details { margin-top: 0.9rem; font-size: 0.9rem; }

.hero-screen {
  display: grid;
  justify-items: center;
  padding: clamp(1.45rem, 3vw, 2.5rem);
  background: radial-gradient(ellipse at 50% 15%, #ede5d6, #d4dbc9);
  border-radius: 1.75rem;
}
.phone {
  width: min(100%, 13rem);
  height: auto;
  border: 3px solid #1c3127;
  border-radius: 1.2rem;
  box-shadow: 0 0.9rem 2rem #18342b26;
}
.hero-screen .phone { width: min(100%, 15rem); border-radius: 1.45rem; }

.lesson { border-top: 1px solid var(--rule); padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.section-intro { margin-top: 0.8rem; font-size: 1.06rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  padding: 0;
  margin-top: 1.85rem;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: start;
  gap: 1.35rem;
  padding: 1.35rem;
  border-radius: 1rem;
  background: var(--paper);
}
.step-copy { justify-self: stretch; }
.step-copy p { margin-top: 0.45rem; }

.practice { color: var(--cream); background: var(--forest); }
.practice-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5.25rem);
}
.practice p { color: #e5e8d8; max-width: 36rem; }
.practice-screen {
  width: min(100%, 17rem);
  height: auto;
  justify-self: center;
  border: 1px solid #698175;
  border-radius: 1.2rem;
}

.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6.5vw, 5rem);
}
.questions dl { border-top: 1px solid var(--rule); }
.questions dl > div { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.questions dd { margin-top: 0.4rem; }
.closing {
  padding: 2.5rem 1.25rem;
  margin-bottom: 3rem;
  border-radius: 1rem;
  background: var(--paper);
  text-align: center;
}
.closing h2 { margin-bottom: 1rem; }
.footer {
  border-top: 1px solid var(--rule);
  padding-block: 0.9rem;
  font-size: 0.93rem;
}

.help {
  width: min(100% - 2.5rem, 42rem);
  min-width: 0;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.help h1 { font-size: clamp(2.25rem, 6vw, 4rem); margin-bottom: 1.35rem; }
.help h2 {
  margin-top: 1.65rem;
  font: 700 1.16rem/1.34 system-ui, sans-serif;
  letter-spacing: normal;
}
.help p { margin-top: 0.45rem; overflow-wrap: anywhere; }

@media (max-width: 47.5rem) {
  .hero, .practice-inner, .steps, .questions { grid-template-columns: minmax(0, 1fr); }
  .hero-screen .phone { width: min(100%, 12rem); }
  .hero-screen { justify-items: center; }
  .steps li { grid-template-rows: auto; }
}

@media (min-width: 30rem) and (max-width: 47.5rem) {
  .steps li { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); align-items: center; }
}

@media (max-width: 25rem) {
  .wrap, .help { width: calc(100% - 2rem); }
  .site-header { gap: 0 0.85rem; }
  .site-header nav { gap: 0 0.85rem; }
}
