@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap");
:root {
  --paper: #f7f6f0;
  --ink: #242a26;
  --green: #254c3b;
  --green-soft: #e9ede4;
  --lime: #e7ec9a;
  --muted: #626960;
  --line: #d9dcd1;
  --white: #fff;
  --orange: #c85d39;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
  --header: 84px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
button {
  color: inherit;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.12;
}
h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -2.5px;
}
p + p {
  margin-top: 16px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 20px;
  background: var(--lime);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  letter-spacing: -0.6px;
  font-family: var(--display);
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  font-size: 32px;
  line-height: 1;
  color: var(--green);
}
.wordmark-dot {
  font-family: var(--sans);
  font-size: 10px;
  align-self: flex-start;
  padding-top: 6px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 550;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--green);
  text-decoration: underline;
}
.tool-switch {
  display: flex;
  background: #e9e9e0;
  border: 1px solid #dcdfd4;
  padding: 4px;
  border-radius: 8px;
  gap: 3px;
}
.tool-switch button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 7px 11px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
.tool-switch button span {
  margin-right: 4px;
}
.tool-switch button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 1px 4px #24352c15;
}
.tool-switch button[data-tool="claude"] span {
  color: #a5492b;
}
.hero {
  padding: 64px 7% 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: 7%;
  overflow: hidden;
  min-height: min(780px, calc(100svh - var(--header)));
  position: relative;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}
.tiny-dot {
  height: 6px;
  width: 6px;
  background: var(--green);
  border-radius: 100%;
  display: inline-block;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(70px, 8.2vw, 126px);
  line-height: 0.99;
  letter-spacing: -8px;
  font-weight: 600;
  margin-top: 30px;
  position: relative;
  max-width: 600px;
}
.hero-star {
  font-family: var(--sans);
  display: inline-block;
  color: var(--orange);
  font-size: 0.62em;
  vertical-align: top;
  margin: 0 0 0 4px;
  transform: rotate(12deg);
}
.hero-description {
  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -0.7px;
  margin-top: 26px;
}
.hero-subcopy {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.button {
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 5px;
  line-height: 1.5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--green);
  color: white;
}
.button-dark:hover {
  background: #1b3a2d;
}
.button-outline {
  border-color: #aab7a7;
  background: transparent;
}
.button-outline:hover {
  background: var(--green-soft);
}
.hero .button {
  margin-top: 28px;
}
.hero-caption {
  display: block;
  font-size: 10px;
  margin-top: 12px;
  color: var(--muted);
}
.hero-demo {
  background: var(--green-soft);
  padding: 34px 30px 26px;
  border-radius: 3px;
  align-self: center;
  position: relative;
  transform: rotate(1deg);
  margin-top: 12px;
}
.demo-overline {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 19px;
  color: #4c6655;
}
.demo-overline span:last-child {
  font-size: 25px;
  line-height: 1;
}
.demo-browser {
  transform: rotate(-2deg);
  background: #fff;
  border: 1px solid #d7ded2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 32px -16px #243c2a30;
}
.browser-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  background: #fafaf6;
  border-bottom: 1px solid #e4e7de;
  font-size: 9px;
  color: #687562;
}
.browser-dots {
  font-size: 7px;
  letter-spacing: 2px;
  color: #c0c9b9;
}
.demo-browser iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 400px;
  background: white;
}
.demo-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin-top: 22px;
  color: #50664e;
  flex-wrap: wrap;
}
.demo-caption a {
  margin-left: auto;
  font-size: 10px;
}
.hand-arrow {
  font-size: 24px;
  line-height: 1;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 50px;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1px;
}
.hero-bottom a {
  text-decoration: none;
  letter-spacing: 0;
  font-size: 11px;
}
.hero-bottom a span {
  margin-left: 20px;
}
.section-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 7%;
  padding-right: 7%;
}
.orientation {
  padding-top: 86px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--line);
}
.orientation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  margin-top: 24px;
}
.orientation h2 {
  font-size: 42px;
  line-height: 1.22;
}
.orientation-grid > div {
  max-width: 520px;
}
.large-copy {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.orientation-grid p:not(.large-copy) {
  font-size: 14px;
  color: var(--muted);
}
.build-loop {
  margin-top: 24px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 12px;
  color: var(--green);
}
.build-loop b {
  font-weight: 400;
  color: #8c9788;
}
.small-note {
  font-size: 12px !important;
  line-height: 1.65;
  color: var(--muted);
}
.orientation .small-note {
  margin-top: 24px;
}
.example-project {
  padding-top: 88px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.section-heading > p {
  font-size: 14px;
  max-width: 410px;
  color: var(--muted);
}
.section-heading > p .muted {
  font-size: 11px;
  display: inline-block;
  margin-top: 12px;
}
.example-project-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.lesson-sidebar {
  position: sticky;
  top: 110px;
}
.progress-heading {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.progress-heading #progress-count {
  color: var(--muted);
  font-weight: 400;
}
.progress-track {
  height: 3px;
  background: #e0e3d8;
  margin: 10px 0 24px;
}
.progress-track span {
  height: 100%;
  width: 0;
  display: block;
  background: var(--green);
  transition: width 0.3s;
}
.nav-part-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 25px 0 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.lesson-nav-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 11px;
  font-size: 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  line-height: 1.5;
  margin: 2px 0;
  transition: background 0.15s;
}
.lesson-nav-button:hover {
  background: #eeefe6;
}
.lesson-nav-button[aria-current="step"] {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.lesson-nav-button .step-no {
  width: 17px;
  flex-shrink: 0;
  font-size: 9px;
  color: #596751;
}
.lesson-nav-button.is-complete .step-no {
  color: var(--green);
}
.lesson-nav-button .step-minutes {
  margin-left: auto;
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: left;
}
.reset-progress {
  margin: 25px 0;
  font-size: 10px;
  color: var(--muted);
}
.lesson {
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e2d8;
  border-radius: 7px;
  padding: 40px;
  min-height: 550px;
  box-shadow: 0 7px 30px -25px #2a352a25;
}
.lesson .lesson-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.lesson-meta span:first-child {
  color: var(--green);
  font-weight: 600;
}
.lesson h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 38px);
  letter-spacing: -1.4px;
  font-weight: 600;
  max-width: 620px;
}
.lesson-intro {
  font-size: 16px;
  color: #566252;
  line-height: 1.7;
  margin: 18px 0 28px !important;
}
.lesson-content {
  font-size: 14px;
  color: #475144;
}
.lesson-content p {
  margin: 16px 0;
}
.lesson-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}
.lesson-content ul,
.lesson-content ol {
  padding-left: 20px;
  margin: 16px 0;
}
.lesson-content li {
  padding-left: 4px;
  margin: 9px 0;
}
.lesson-content strong {
  color: #273e2c;
  font-weight: 600;
}
.lesson-content a {
  color: var(--green);
}
.term {
  font: inherit;
  color: inherit;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px dashed #91a188;
  line-height: 1.3;
  text-align: left;
  cursor: help;
}
.term:hover {
  color: var(--green);
  border-color: var(--green);
}
.inline-explanation {
  background: #f2f4ec;
  border-left: 3px solid #aaba98;
  padding: 18px 20px;
  margin: 22px 0;
  line-height: 1.7;
}
.inline-explanation .eyebrow {
  font-size: 9px;
  margin-bottom: 5px;
}
.inline-explanation p {
  margin: 5px 0;
  font-size: 13px;
}
.prompt-block {
  margin: 24px 0;
  border-radius: 5px;
  background: #f6f6f0;
  border: 1px solid #e2e5d9;
  overflow: hidden;
}
.prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #e2e5d9;
  padding: 10px 16px;
  background: #eef0e6;
}
.prompt-header > span {
  font-size: 10px;
  color: #4c5b45;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.copy-button {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--green);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  min-height: 30px;
}
.copy-button:hover {
  background: #dfe6d2;
}
.copy-button svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.prompt-block pre {
  margin: 0;
  padding: 18px;
  font: 12px/1.9 var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #394a33;
}
.prompt-block.is-command {
  background: #243d2d;
  border-color: #243d2d;
}
.is-command .prompt-header {
  background: #2d4635;
  border-color: #49604b;
}
.is-command .prompt-header > span,
.is-command .copy-button {
  color: #d5e0c5;
}
.is-command .copy-button:hover {
  background: #456046;
}
.is-command pre {
  font:
    12px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #ecf0df;
}
.expected {
  margin: 20px 0;
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #53654a;
}
.expected > span:first-child {
  color: var(--green);
  font-size: 14px;
}
.file-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.file-map > div {
  padding: 17px 12px;
  border-right: 1px solid var(--line);
}
.file-map > div:last-child {
  border: 0;
}
.file-map strong {
  display: block;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
.file-map span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px;
}
.toolkit-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.toolkit-row strong {
  font-size: 13px;
}
.toolkit-row p {
  margin: 0;
  font-size: 13px;
}
.lesson-completion {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 23px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--green);
}
.lesson-completion input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 2px 0;
}
.lesson-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 25px;
}
.lesson-controls .button {
  padding: 10px 16px;
  font-size: 11px;
  gap: 15px;
}
.lesson-controls button:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.lesson-source {
  margin-top: 24px;
  font-size: 10px;
  color: var(--muted);
}
.lesson-source a {
  color: var(--muted);
}
.lesson-enter {
  animation: lesson-enter 0.25s ease-out;
}
.habits {
  padding-top: 76px;
  padding-bottom: 84px;
  border-top: 1px solid var(--line);
  background: #edefe5;
  max-width: none;
}
.habits .section-heading,
.habits #habits-list {
  max-width: 1190px;
  margin-left: auto;
  margin-right: auto;
}
.habit {
  border-top: 1px solid #cfd5c5;
  padding: 0;
}
.habit:last-child {
  border-bottom: 1px solid #cfd5c5;
}
.habit summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 21px 0;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
}
.habit summary::-webkit-details-marker {
  display: none;
}
.habit-number {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  width: 28px;
}
.habit summary:after {
  content: "+";
  margin-left: auto;
  font-size: 23px;
  font-weight: 400;
  color: var(--green);
}
.habit[open] summary:after {
  content: "−";
}
.habit-body {
  padding: 0 0 20px 54px;
  max-width: 750px;
  font-size: 14px;
  color: #4d5b47;
}
.habit-body .prompt-block {
  margin-bottom: 0;
  background: #f7f8f1;
}
.habit-body .prompt-header {
  background: #e1e6d8;
}
.commands {
  padding-top: 90px;
  padding-bottom: 88px;
}
.reference-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}
.filter-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-buttons button {
  font-size: 11px;
  border: 0;
  padding: 8px 12px;
  border-radius: 4px;
  background: transparent;
}
.filter-buttons button[aria-pressed="true"] {
  background: var(--green);
  color: white;
}
.filter-buttons button:hover:not([aria-pressed="true"]) {
  background: var(--green-soft);
}
.search-field {
  display: flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid #9ca893;
  min-width: 190px;
}
.search-field input {
  background: transparent;
  border: 0;
  outline: none;
  padding: 8px 0;
  font-size: 12px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border-radius: 0;
}
.search-field input::placeholder {
  color: #697264;
}
.search-field > span[aria-hidden] {
  font-size: 24px;
  color: #66765b;
}
.reference-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 17px;
  margin-bottom: 20px;
}
.command-row {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 25px;
  align-items: start;
}
.command-name {
  font-family: ui-monospace, monospace;
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.command-badge {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.command-description strong {
  font-size: 13px;
  font-weight: 600;
}
.command-description p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.command-fallback {
  margin-top: 9px !important;
  color: #475a3f !important;
}
.command-fallback span {
  color: #5c6a53;
  font-size: 10px;
  display: inline-block;
  margin-right: 7px;
}
.command-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.command-actions a {
  font-size: 10px;
  padding: 5px 6px;
  min-height: 30px;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.empty-result {
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}
.skills-explainer {
  margin-top: 40px;
  padding: 25px 28px;
  background: var(--green-soft);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 35px;
}
.skills-explainer h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.35;
}
.skills-explainer p {
  font-size: 12px;
  color: #4b5d43;
}
.skills-explainer code {
  font-size: 11px;
  color: var(--green);
}
.skills-explainer a {
  font-size: 11px;
  color: var(--green);
  display: inline-block;
  margin-top: 12px;
}
.glossary {
  border-top: 1px solid var(--line);
  padding-top: 85px;
  padding-bottom: 80px;
}
.glossary .search-field {
  min-width: 260px;
  margin-bottom: 6px;
}
.glossary-intro {
  font-size: 13px;
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 34px;
}
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 45px;
  margin-bottom: 30px;
}
.glossary-entry {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.glossary-entry button {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.glossary-entry p {
  font-size: 12px;
  margin-top: 9px;
  color: var(--muted);
}
.glossary .button {
  font-size: 11px;
}
.closing {
  background: var(--green);
  color: #f0f2e6;
  max-width: none;
  padding-top: 75px;
  padding-bottom: 75px;
  position: relative;
}
.closing .eyebrow {
  color: #c9d2bb;
}
.closing h2 {
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -3px;
  margin: 20px 0 28px;
  position: relative;
  max-width: 900px;
}
.closing h2 span {
  color: var(--lime);
  font-size: 70px;
  display: inline-block;
  margin-left: 20px;
  vertical-align: top;
}
.closing .button-dark {
  background: var(--lime);
  color: #233e2c;
}
.closing > p:last-child {
  position: absolute;
  bottom: 80px;
  right: 7%;
  font-size: 12px;
  color: #d2dbc5;
}
.site-footer {
  padding-top: 35px;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.site-footer .wordmark {
  font-size: 15px;
}
.site-footer .brand-mark {
  font-size: 28px;
}
.site-footer p {
  font-size: 10px;
  color: var(--muted);
}
.site-footer .text-button {
  font-size: 11px;
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 38px;
  max-width: 540px;
  width: calc(100% - 40px);
  max-height: 85svh;
  overflow: auto;
  box-shadow: 0 30px 80px #1f332640;
}
dialog::backdrop {
  background: #1a2d236b;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 25px;
  padding: 3px 8px;
}
.dialog-close:focus-visible {
  outline-offset: 0;
}
dialog .eyebrow {
  font-size: 10px;
}
dialog h2 {
  font-size: 34px;
  letter-spacing: -1.2px;
  margin: 19px 0;
}
dialog .term-definition {
  font-size: 18px;
}
.term-context {
  background: #e8ecdf;
  padding: 19px;
  margin: 24px 0;
}
.term-context p:last-child {
  font-size: 14px;
  margin-top: 9px;
}
dialog > a {
  font-size: 12px;
  display: block;
  margin: 20px 0;
}
dialog > .button {
  width: 100%;
  margin-top: 10px;
}
#sources-dialog > p:not(.eyebrow) {
  font-size: 13px;
}
#source-list {
  padding: 12px 0 24px;
  display: grid;
  gap: 10px;
}
#source-list a {
  font-size: 12px;
  color: var(--green);
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: #fff;
  padding: 11px 20px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hero-copy {
  animation: hero-in 0.65s ease-out both;
}
.hero-demo {
  animation: demo-in 0.8s 0.12s ease-out both;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1deg);
  }
}
@keyframes lesson-enter {
  from {
    opacity: 0.2;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  .hero {
    padding-left: calc((100vw - 1240px) / 2);
    padding-right: calc((100vw - 1240px) / 2);
    column-gap: 90px;
  }
  .hero h1 {
    font-size: 126px;
  }
  .site-header {
    padding-left: calc((100vw - 1300px) / 2);
    padding-right: calc((100vw - 1300px) / 2);
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 0 4%;
    gap: 14px;
  }
  .site-header nav {
    gap: 17px;
  }
  .hero {
    padding-left: 6%;
    padding-right: 6%;
    column-gap: 4%;
    padding-top: 48px;
  }
  .hero h1 {
    letter-spacing: -6px;
    font-size: clamp(70px, 8.5vw, 110px);
  }
  .hero-demo {
    padding: 25px 18px;
  }
  .demo-caption a {
    margin-left: 0;
  }
  .hero-description {
    font-size: 20px;
  }
  .hero-subcopy {
    font-size: 12px;
  }
  .desktop-break {
    display: none;
  }
  .section-wrap {
    padding-left: 6%;
    padding-right: 6%;
  }
  .example-project-layout {
    grid-template-columns: 200px 1fr;
    gap: 30px;
  }
  .lesson {
    padding: 30px;
  }
  .lesson-nav-button {
    font-size: 10px;
    gap: 6px;
  }
  .command-row {
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
  }
  .closing > p:last-child {
    right: 6%;
  }
  .skills-explainer {
    grid-template-columns: 1fr 1.6fr;
    gap: 25px;
  }
}
@media (max-width: 800px) {
  :root {
    --header: 78px;
  }
  .site-header {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header);
    padding: 14px 5%;
    gap: 12px;
  }
  .site-header nav {
    display: none;
  }
  .wordmark {
    font-size: 16px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .tool-switch button {
    padding: 6px 8px;
    font-size: 10px;
  }
  .hero {
    min-height: auto;
    padding: 40px 6% 0;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 76px;
    letter-spacing: -5.5px;
    margin-top: 25px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-subcopy {
    font-size: 11px;
  }
  .hero-demo {
    margin-top: 60px;
    align-self: start;
    padding: 20px 14px;
  }
  .demo-overline {
    font-size: 9px;
    gap: 10px;
  }
  .demo-browser iframe {
    height: 400px;
  }
  .demo-caption {
    font-size: 9px;
  }
  .hero-bottom {
    margin-top: 30px;
    font-size: 8px;
    padding: 20px 0;
  }
  .hero-bottom a {
    font-size: 10px;
  }
  .hero-caption {
    font-size: 9px;
  }
  .hero .button {
    padding: 12px 17px;
    gap: 15px;
    font-size: 12px;
  }
  .orientation {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .orientation-grid {
    gap: 7%;
  }
  .orientation h2 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }
  .large-copy {
    font-size: 18px;
  }
  .orientation-grid p:not(.large-copy) {
    font-size: 12px;
  }
  .build-loop {
    gap: 8px;
    font-size: 10px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > p {
    font-size: 12px;
    max-width: 260px;
  }
  .section-heading h2 {
    font-size: 34px;
    letter-spacing: -1.8px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .example-project {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .example-project-layout {
    display: block;
  }
  .lesson-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  .lesson-sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 14px;
    scrollbar-width: thin;
  }
  .nav-part-label {
    display: none;
  }
  .lesson-nav-button {
    width: auto;
    min-width: max-content;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid var(--line);
  }
  .lesson-nav-button .step-minutes {
    display: none;
  }
  .lesson-nav-button .step-no {
    width: auto;
  }
  .progress-heading {
    font-size: 10px;
  }
  .progress-track {
    margin-bottom: 7px;
  }
  .reset-progress {
    margin: 10px 0 0;
    font-size: 9px;
  }
  .lesson {
    padding: 30px;
  }
  .lesson h3 {
    font-size: 32px;
  }
  .habits,
  .commands,
  .glossary {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .reference-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .reference-toolbar .search-field {
    width: 100%;
  }
  .command-row {
    grid-template-columns: 128px 1fr auto;
    gap: 15px;
  }
  .command-name {
    font-size: 12px;
  }
  .command-description strong {
    font-size: 12px;
  }
  .command-description p {
    font-size: 11px;
  }
  .skills-explainer {
    padding: 24px;
    gap: 25px;
  }
  .skills-explainer h3 {
    font-size: 18px;
  }
  .glossary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
  .glossary .search-field {
    min-width: 200px;
  }
  .closing h2 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .closing h2 span {
    font-size: 45px;
  }
  .closing > p:last-child {
    position: static;
    margin-top: 25px;
    font-size: 11px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-footer .wordmark {
    font-size: 13px;
  }
  .site-footer .text-button {
    font-size: 10px;
  }
}
@media (max-width: 550px) {
  :root {
    --header: 76px;
  }
  .site-header {
    padding: 12px 5%;
    gap: 8px;
  }
  .wordmark {
    font-size: 13px;
    letter-spacing: -0.5px;
    gap: 6px;
  }
  .brand-mark {
    font-size: 24px;
  }
  .wordmark-dot {
    display: none;
  }
  .tool-switch {
    padding: 3px;
    gap: 0;
  }
  .tool-switch button {
    font-size: 9px;
    padding: 6px 7px;
  }
  .tool-switch button span {
    margin-right: 2px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(76px, 20vw, 105px);
    letter-spacing: -6px;
    margin-top: 22px;
  }
  .hero-star {
    position: absolute;
    right: 14px;
    top: 3px;
    font-size: 44px;
    margin: 0;
  }
  .hero-description {
    font-size: 22px;
    margin-top: 24px;
  }
  .hero-subcopy {
    font-size: 13px;
    max-width: 300px;
  }
  .hero .button {
    margin-top: 23px;
    font-size: 12px;
    padding: 12px 18px;
  }
  .hero-caption {
    font-size: 9px;
  }
  .hero-demo {
    margin-top: 4px;
    margin-left: 8px;
    margin-right: 8px;
    padding: 22px 22px 18px;
    max-width: 440px;
    justify-self: stretch;
  }
  .demo-overline {
    font-size: 10px;
  }
  .demo-browser iframe {
    height: 400px;
  }
  .demo-caption {
    font-size: 9px;
    gap: 5px;
  }
  .demo-caption a {
    display: block;
    flex-basis: 100%;
    margin: 4px 0 0 23px;
  }
  .hero-bottom {
    margin-top: 10px;
    font-size: 8px;
    padding: 20px 0;
    align-items: flex-start;
    gap: 15px;
  }
  .hero-bottom > span {
    max-width: 150px;
    line-height: 1.6;
  }
  .hero-bottom a {
    font-size: 9px;
  }
  .hero-bottom a span {
    margin-left: 5px;
  }
  .section-wrap {
    padding-left: 6%;
    padding-right: 6%;
  }
  .orientation {
    padding-top: 48px;
    padding-bottom: 50px;
  }
  .orientation-grid {
    display: block;
    margin-top: 22px;
  }
  .orientation h2 {
    font-size: 33px;
  }
  .orientation-grid > div {
    margin-top: 25px;
  }
  .large-copy {
    font-size: 20px;
  }
  .orientation-grid p:not(.large-copy) {
    font-size: 13px;
  }
  .build-loop {
    font-size: 11px;
    gap: 11px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 22px;
    max-width: none;
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .lesson {
    padding: 25px 20px;
    min-height: 0;
  }
  .lesson h3 {
    font-size: 28px;
    letter-spacing: -1.2px;
  }
  .lesson-intro {
    font-size: 14px;
    margin-bottom: 22px !important;
  }
  .lesson-content {
    font-size: 13px;
  }
  .lesson-content h4 {
    font-size: 15px;
  }
  .lesson .lesson-meta {
    font-size: 9px;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
    gap: 7px;
  }
  .prompt-block pre {
    font-size: 12px;
    padding: 15px;
    line-height: 1.8;
  }
  .prompt-header {
    padding: 8px 10px;
  }
  .prompt-header > span {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .copy-button {
    font-size: 10px;
    padding: 5px 7px;
  }
  .inline-explanation {
    padding: 15px;
  }
  .inline-explanation p {
    font-size: 12px;
  }
  .file-map {
    grid-template-columns: 1fr;
  }
  .file-map > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 13px 5px;
  }
  .toolkit-row {
    grid-template-columns: 67px 1fr;
    gap: 12px;
  }
  .toolkit-row p {
    font-size: 12px;
  }
  .lesson-controls .button {
    font-size: 10px;
    padding: 10px 12px;
    gap: 10px;
  }
  .lesson-completion {
    font-size: 11px;
  }
  .lesson-source {
    font-size: 9px;
  }
  .habit summary {
    font-size: 14px;
    gap: 13px;
    padding: 18px 0;
  }
  .habit-number {
    width: 20px;
    font-size: 9px;
  }
  .habit-body {
    padding-left: 33px;
    font-size: 12px;
  }
  .filter-buttons {
    gap: 3px;
  }
  .filter-buttons button {
    padding: 7px 8px;
    font-size: 9px;
  }
  .reference-note {
    font-size: 10px;
  }
  .command-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 19px 0;
  }
  .command-title {
    grid-column: 1;
  }
  .command-name {
    font-size: 14px;
  }
  .command-badge {
    font-size: 9px;
  }
  .command-description {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .command-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .command-description strong {
    font-size: 13px;
  }
  .command-description p {
    font-size: 12px;
  }
  .skills-explainer {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 23px;
  }
  .skills-explainer h3 {
    font-size: 20px;
  }
  .glossary .search-field {
    margin-top: 25px;
    width: 100%;
    min-width: 0;
  }
  .glossary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .glossary-entry button {
    font-size: 15px;
  }
  .glossary-entry p {
    font-size: 11px;
  }
  .glossary-intro {
    font-size: 12px;
  }
  .closing {
    padding-top: 52px;
    padding-bottom: 50px;
  }
  .closing h2 {
    font-size: 37px;
    letter-spacing: -2px;
  }
  .closing h2 span {
    font-size: 35px;
    margin-left: 8px;
  }
  .closing > p:last-child {
    font-size: 11px;
  }
  .site-footer {
    padding-top: 27px;
    padding-bottom: 27px;
    gap: 18px;
  }
  .site-footer p {
    font-size: 9px;
  }
  .site-footer .text-button {
    flex-basis: 100%;
  }
  dialog {
    padding: 30px 24px;
  }
  dialog h2 {
    font-size: 30px;
  }
  dialog .term-definition {
    font-size: 16px;
  }
  .term-context {
    padding: 16px;
  }
  .term-context p:last-child {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .button:hover {
    transform: none;
  }
}

.section-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 34px;
}
.section-next p {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 550px) {
  .section-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
