:root {
  color-scheme: light;
  --forest: #063d2b;
  --deep: #052d22;
  --green: #08774e;
  --lime: #d9f4bb;
  --orange: #e96318;
  --paper: #f5f7f1;
  --ink: #15382b;
  --muted: #4d6458;
  --line: #d5dfd5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.55;
}
a {
  color: #086742;
  text-underline-offset: 4px;
}
button,
a.button {
  font: inherit;
  cursor: pointer;
}
button,
.button {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--forest);
  padding: 12px 20px;
  min-height: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.orange {
  background: #bd4709;
  border-color: #bd4709;
  color: white;
}
:focus-visible {
  outline: 4px solid #f0802e;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 23px;
  line-height: 1.3;
}
small {
  font-size: 15px;
}
img {
  max-width: 100%;
}
.topbar {
  background: var(--deep);
  color: white;
  min-height: 80px;
  padding: 16px max(24px, calc((100vw - 1360px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: white;
}
.brand .logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand .wordmark {
  width: 116px;
  object-fit: contain;
}
.toplinks {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 16px;
}
.toplinks a {
  color: white;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.container {
  max-width: 1280px;
  padding: 0 28px;
  margin: auto;
}
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 95% 0, #b7f59a44, transparent 50%),
    linear-gradient(115deg, #053d2c, #08754d 62%, #39aa6d);
  color: white;
  border-radius: 0 0 44px 44px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero .lead {
  font-size: 23px;
  max-width: 740px;
  color: #eefbe9;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.hero-visual {
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-peek {
  width: 100%;
  border: 6px solid #c5e4c9;
  border-radius: 18px;
  box-shadow: 0 25px 50px #01241955;
}
.phone-peek {
  width: 145px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 5px solid #052d22;
  border-radius: 20px;
  box-shadow: 0 15px 35px #01241966;
}
.practice {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #e5f5d9;
  color: #214732;
  border-radius: 99px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 15px;
}
.section {
  padding: 46px 0;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.choice,
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.choice h2 {
  margin: 12px 0;
}
.choice p {
  color: var(--muted);
}
.choice-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 1.3px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.soft {
  background: #eaf1e6;
  padding: 22px;
  border-radius: 18px;
}
.notice {
  border-left: 4px solid var(--green);
  background: #eef5e8;
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
}
.quiet {
  color: var(--muted);
}
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.number {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 16px;
}
.snapshots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.snapshot {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}
.snapshot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  background: #dbe9dc;
  display: block;
}
.snapshot a {
  padding: 16px;
  display: block;
  font-weight: bold;
}
.snapshot small {
  display: block;
  color: var(--muted);
  font-weight: normal;
}
.footer {
  padding: 32px 24px;
  background: var(--deep);
  color: white;
  font-size: 15px;
}
.footer a {
  color: #ddf4d3;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.guide-top {
  padding: 10px 24px;
  min-height: 68px;
}
.guide-top .wordmark {
  width: 98px;
}
.guide-top .logo {
  width: 32px;
  height: 32px;
}
.guide-mode {
  color: #e7f5df;
  font-size: 16px;
  font-weight: bold;
}
.guide-tools {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.guide-tools .actions {
  gap: 8px;
}
.guide-tools button,
.guide-tools a {
  font-size: 16px;
  padding: 10px 14px;
}
.progress-wrap {
  flex: 1;
  max-width: 450px;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 6px;
}
.progress-bar {
  height: 8px;
  background: #dbe7d9;
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #076540, #55ae66);
  transition: width 0.2s;
}
.lesson {
  max-width: 1380px;
  margin: auto;
  padding: 10px 28px 130px;
  display: grid;
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}
.lesson h1 {
  font-size: clamp(29px, 3vw, 43px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 14px 0 22px;
}
.lesson-copy {
  position: sticky;
  top: 24px;
}
.chapter-pill {
  font-size: 15px;
  font-weight: 800;
  color: #1b613b;
  background: #e2eedc;
  border-radius: 9px;
  padding: 7px 11px;
  display: inline-block;
}
.label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #47634f;
  margin-bottom: 7px;
}
.result {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin: 22px 0;
}
.result p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}
.remember {
  font-size: 17px;
  color: #415b4a;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.picture-area {
  min-width: 0;
}
.screenshot {
  position: relative;
  line-height: 0;
  border: 1px solid #c9d7cc;
  background: white;
  box-shadow: 0 14px 32px #16382216;
  overflow: hidden;
}
.screenshot.phone {
  max-width: 390px;
  margin: auto;
  border: 7px solid #173b2b;
  border-radius: 28px;
}
.screenshot.desktop {
  border: 6px solid #173b2b;
  border-radius: 16px;
  margin: 30px auto 0;
}
.screenshot img {
  width: 100%;
  display: block;
}
.target {
  position: absolute;
  pointer-events: none;
  border: 2px solid #df570d;
  border-radius: 8px;
  box-shadow: 0 0 0 2px white;
}
.marker {
  position: absolute;
  min-height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  color: white;
  background: #b53f08;
  border: 3px solid white;
  box-shadow: 0 2px 10px #122f2b66;
  font-size: 17px;
  transform: translate(-25%, -25%);
}
.picture-caption {
  font-size: 15px;
  color: #4b6457;
  text-align: center;
  margin: 14px auto;
  max-width: 580px;
  line-height: 1.5;
}
.picture-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0;
}
.picture-actions button {
  font-size: 16px;
  padding: 9px 13px;
}
.detail {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 18px 0;
}
.detail summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  min-height: 32px;
}
.detail img {
  margin-top: 14px;
  border-radius: 8px;
  width: 100%;
  display: block;
}
.lesson-note {
  font-size: 14px;
  color: #53695b;
  margin: 20px 0 0;
}
.stepbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffffed;
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  z-index: 5;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.stepbar .between {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}
.stepbar button {
  min-width: 130px;
}
.stepbar a {
  font-size: 16px;
}
.finish {
  grid-column: 1/-1;
  max-width: 1000px;
  margin: 20px auto;
}
.finish h1 {
  max-width: 800px;
}
.finish li {
  margin: 12px 0;
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 12px 16px 12px 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: var(--green);
  font-weight: 800;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  max-width: min(1000px, 94vw);
  max-height: 90dvh;
  width: 900px;
  padding: 0;
}
dialog::backdrop {
  background: #03271ee0;
}
.dialog-heading {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  gap: 20px;
  z-index: 2;
}
.dialog-heading h2 {
  font-size: 25px;
  margin: 0;
}
.dialog-content {
  padding: 24px;
}
.chapter-menu {
  display: grid;
  gap: 10px;
}
.chapter-menu button {
  display: block;
  text-align: left;
  min-height: 70px;
  width: 100%;
}
.chapter-menu small {
  display: block;
  font-weight: normal;
  color: var(--muted);
}
.zoom-dialog {
  width: 1400px;
  max-width: 98vw;
  max-height: 96dvh;
}
.zoom-dialog .dialog-content {
  overflow: auto;
}
.zoom-dialog img {
  display: block;
  width: 100%;
  max-width: none;
}
.zoom-dialog.zoom-phone img {
  max-width: 600px;
  margin: auto;
}
.glossary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.glossary div {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.glossary dt {
  font-weight: bold;
}
.glossary dd {
  margin: 8px 0 0;
  color: var(--muted);
}
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.snapshot-group summary {
  cursor: pointer;
  font-size: 25px;
  font-weight: 700;
  padding: 12px 0;
}
.snapshot-group[open] summary {
  margin-bottom: 12px;
}
.download-meta {
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 0;
}
.device-switch {
  font-size: 15px;
  color: white;
}
.offline-info {
  font-size: 17px;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.no-js {
  margin: 30px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
@media (min-width: 1100px) {
  body[data-mode="desktop"] .lesson {
    grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1.4fr);
  }
  body[data-mode="desktop"] .picture-area {
    position: sticky;
    top: 20px;
  }
  body[data-mode="desktop"] .lesson-copy {
    position: static;
  }
}
@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 280px;
    max-width: 540px;
  }
  .hero {
    padding: 38px 0;
  }
  .choices,
  .grid-three,
  .grid-two {
    grid-template-columns: 1fr;
  }
  .snapshots {
    grid-template-columns: 1fr 1fr;
  }
  .lesson {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-copy {
    position: static;
  }
  .picture-area {
    max-width: 720px;
    width: 100%;
    margin: auto;
  }
  .guide-tools {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
  }
  .progress-wrap {
    min-width: 200px;
    max-width: none;
  }
  .guide-tools > .actions {
    width: 100%;
    justify-content: space-between;
  }
  .guide-top .toplinks {
    gap: 10px;
  }
  .guide-top .device-switch {
    display: none;
  }
  .lesson {
    padding: 6px 20px 140px;
  }
  .stepbar {
    padding: 12px 18px;
  }
  .stepbar .between {
    display: none;
  }
  .stepbar button {
    min-width: 110px;
  }
  .glossary {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 16px 20px;
  }
  .toplinks {
    font-size: 14px;
    gap: 12px;
  }
  .toplinks .optional {
    display: none;
  }
  .container {
    padding: 0 20px;
  }
  .hero .lead {
    font-size: 21px;
  }
  .choice,
  .card {
    padding: 23px;
  }
  .section {
    padding: 32px 0;
  }
}
@media (max-width: 380px) {
  .brand {
    gap: 7px;
  }
  .brand .logo {
    width: 28px;
  }
  .brand .wordmark {
    width: 88px;
  }
  .toplinks {
    font-size: 13px;
  }
  .guide-mode {
    font-size: 14px;
  }
  .guide-tools button,
  .guide-tools a {
    font-size: 14px;
    padding: 10px;
  }
  .stepbar button {
    min-width: 95px;
    padding: 10px 14px;
  }
  .stepbar a {
    font-size: 14px;
  }
  .lesson h1 {
    font-size: 29px;
  }
  .snapshots {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 380px) {
  .stepbar {
    gap: 8px;
    padding: 10px 12px;
  }
  .stepbar button {
    min-width: 84px;
  }
  .stepbar a {
    font-size: 13px;
  }
}
/* Keep native screenshot proportions at every viewport. */
img {
  height: auto;
}
.stepbar button {
  white-space: nowrap;
}
@media (max-width: 850px) {
  .stepbar button {
    font-size: 16px;
    padding: 10px 12px;
  }
  .hero-visual .phone-peek {
    width: 125px;
  }
}
@media (max-width: 380px) {
  .hero-visual .phone-peek {
    width: 110px;
  }
}

.picture-jump {
  margin-bottom: 18px;
  font-size: 16px;
}
@media (min-width: 851px) {
  .picture-jump {
    display: none;
  }
}
