:root {
  --forest: #0c2019;
  --deep: #092019;
  --mint: #c6ebc6;
  --sage: #d4e9d7;
  --paper: #f8f7f1;
  --ink: #11251d;
  --green: #164c35;
  --muted: #d0dfd4;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.5 system-ui, sans-serif;
  color: var(--paper);
  background: var(--forest);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); }
h1, h2, h3 { line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.55rem; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
em { color: var(--mint); font-style: normal; }

.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  color: var(--ink);
  background: var(--mint);
}
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid #557264;
}
.wordmark { font-size: 1.85rem; font-weight: 700; text-decoration: none; }
.header-links, .footer-top nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.8rem; }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header-links a:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border-radius: .55rem;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.button:hover { background: #d9f3d8; }
.button:focus-visible { outline-color: var(--mint); }
.button span { font-size: 1.15em; line-height: 1; }

.hero { overflow: hidden; }
.hero-content {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.2rem, 7vw, 6rem);
}
.hero-road {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 76%;
  height: 100%;
  bottom: 0;
  right: calc((100% - 100vw) / 2);
  fill: none;
  stroke: #103b2b;
  stroke-width: 45;
}
.hero-road path + path { stroke: #e8b94b; stroke-width: 3; stroke-dasharray: 18 15; stroke-linecap: round; }
.eyebrow { font-size: .84rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin-block: 1.25rem; font-size: clamp(2.65rem, 4.6vw, 4.45rem); letter-spacing: -.038em; }
.hero-copy h1 em { display: block; margin-top: .1em; }
.hero-description { max-width: 29rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); }
.hero-button { margin-top: 1.65rem; padding: .8rem 1.45rem; font-size: 1.09rem; }
.explore { display: table; margin-top: .9rem; padding-block: .6rem; font-weight: 650; }
.hero-note { margin-top: .45rem; color: var(--muted); font-size: .9rem; font-style: italic; }

.study-window {
  overflow: hidden;
  border: 2px solid #6a766e;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.4rem #0005;
  background: #102019;
}
.browser-bar { display: flex; align-items: center; gap: .38rem; padding: .55rem .8rem; background: #282d2a; }
.browser-bar i { width: .53rem; height: .53rem; border-radius: 50%; background: #ff6b61; }
.browser-bar i:nth-child(2) { background: #f8c250; }
.browser-bar i:nth-child(3) { background: #58c978; }
.browser-bar span { flex: 1; margin-left: .55rem; height: .75rem; border-radius: 1rem; background: #373d39; }
.study-preview { padding: clamp(.85rem, 2.3vw, 1.45rem); }
.preview-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mint);
  font: 700 1.1rem var(--serif);
}
.preview-brand span { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid #7fa18a; border-radius: 50%; }
.preview-brand .icon { width: 1.05rem; height: 1.05rem; }
.preview-title { margin-top: .75rem; font: 700 1.6rem var(--serif); }
.preview-subtitle { font-size: .82rem; }
.progress-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-block: .9rem; }
.progress-cards div, .next-step { border: 1px solid #405f50; border-radius: .55rem; padding: .75rem; background: #192e24; }
.progress-cards strong, .next-step strong { display: block; font: 700 1.25rem var(--serif); }
.progress-cards span { display: block; margin-top: .25rem; font-size: .78rem; }
.progress-cards div::after { display: block; content: ""; height: .2rem; margin-top: .55rem; border-radius: 1rem; background: #355646; }
.next-step { background: #213d2f; }
.next-step > span { display: block; margin-bottom: .3rem; font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.next-step p { margin-top: .35rem; font-size: .8rem; }
.next-step div { margin-top: .6rem; padding: .42rem; border-radius: .35rem; background: #b5d6bd; color: var(--ink); text-align: center; font-size: .73rem; font-weight: 700; }
.preview-nav {
  display: flex;
  justify-content: space-around;
  gap: .5rem;
  margin: .95rem calc(-1 * clamp(.85rem, 2.3vw, 1.45rem)) calc(-1 * clamp(.85rem, 2.3vw, 1.45rem));
  padding: .55rem .5rem;
  background: #192e24;
}
.preview-nav span { display: grid; justify-items: center; gap: .18rem; font-size: .69rem; }
.preview-nav .icon { width: 1.25rem; height: 1.25rem; }
.study-figure figcaption { margin-top: 1.1rem; text-align: center; font: italic 1.15rem var(--serif); }

.paper { padding-block: clamp(2.5rem, 5.5vw, 4.6rem) 2.8rem; background: var(--paper); color: var(--ink); }
.features h2 { text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1.6rem, 4.5vw, 3.3rem); }
.feature-grid article { padding-inline: clamp(.7rem, 3vw, 2.4rem); }
.feature-grid article + article { border-left: 1px solid #ced5cc; }
.feature-grid .icon { width: 2.55rem; height: 2.55rem; margin-bottom: .9rem; color: var(--green); }
.feature-grid p, .book p, .mobile p, .free-banner p { margin-top: .65rem; }
.feature-grid p, .book p, .mobile p { font-size: 1.04rem; }

.book {
  display: grid;
  grid-template-columns: minmax(12rem, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4.5rem);
  margin-top: clamp(2rem, 5vw, 3.7rem);
  padding-block: clamp(1.6rem, 4vw, 3rem);
  border-top: 1px solid #ced5cc;
}
.book-art { display: grid; place-items: center; min-height: 12rem; border-right: 1px solid #ced5cc; }
.book-art svg { width: min(68%, 13rem); fill: none; stroke: var(--green); stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; }
.book .eyebrow { margin: 0 0 .55rem; color: var(--green); font-size: .84rem; }
.download-button { margin-top: .9rem; background: var(--green); color: var(--paper); }
.download-button:hover { background: #246047; }
.download-button:focus-visible { outline-color: var(--green); }
.book .file-details { font-size: .85rem; color: #43594d; }
.free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.35rem, 3.8vw, 2.75rem);
  border-radius: .85rem;
  background: var(--deep);
  color: var(--paper);
}
.free-banner h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }

.mobile { padding-block: clamp(2.2rem, 5.6vw, 4.5rem); background: var(--sage); color: var(--ink); }
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem 3rem; }
.mobile-grid p { max-width: 29rem; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; list-style: none; margin: 0; padding: 0; }
.platforms li { display: grid; justify-items: center; gap: .25rem; padding: 1.2rem .5rem; border: 1px solid #456652; border-radius: .8rem; text-align: center; }
.platforms svg { width: 2.35rem; height: 2.35rem; margin-bottom: .45rem; color: var(--green); }
.platforms strong { font-size: 1.15rem; }
.platforms span { font-size: .9rem; }
.site-footer { padding-block: 1.6rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid #557264; }
.footer-top p { color: var(--muted); margin-top: .15rem; }
.footer-top nav a { display: inline-flex; align-items: center; gap: .25em; min-height: 44px; font-size: .92rem; }
.site-footer small { display: block; margin-top: .9rem; color: var(--muted); }

.guide-width { max-width: 45rem; }
.guide-intro { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.guide-intro .hero-description { max-width: 36rem; }
.guide-section + .guide-section { margin-top: clamp(2rem, 5vw, 3rem); }
.guide-section h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); }
.guide-section h2 + p, .guide-section p + p { margin-top: .8rem; }
.guide-section ul, .guide-section ol { padding-inline-start: 1.35rem; }
.guide-section li + li { margin-top: .55rem; }
.guide-section details { margin-block: 1rem; padding: 1rem; border: 1px solid #ced5cc; border-radius: .55rem; }
.guide-section summary { cursor: pointer; color: var(--green); font-weight: 700; }
.guide-section details p { margin-top: .65rem; }
.guide-section .file-details { margin-top: .65rem; color: #43594d; font-size: .85rem; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { flex-wrap: wrap; gap: .4rem .65rem; }
  .header-links { order: 1; flex-basis: 100%; gap: 0 1rem; font-size: .92rem; }
  .wordmark { font-size: 1.55rem; }
  .site-header .button { padding-inline: .75rem; font-size: .9rem; }
  .hero-content, .mobile-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { font-size: clamp(2.55rem, 9vw, 4rem); }
  .hero-road { width: 115%; height: 66%; right: -15%; }
  .study-figure { max-width: 31rem; width: 100%; justify-self: center; }
  .features h2 { text-align: left; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .feature-grid article { padding-inline: 0; }
  .feature-grid article + article { padding-top: 1.1rem; border-left: 0; border-top: 1px solid #ced5cc; }
  .book { grid-template-columns: 1fr; }
  .book-art { min-height: auto; border-right: 0; justify-items: start; }
  .book-art svg { width: 6rem; }
  .free-banner { align-items: flex-start; flex-direction: column; }
  .footer-top nav { gap: 0 1rem; }
}
