@font-face {
  font-family: DM Sans;
  src: url("./assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("./assets/fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f8f7f1;
  --white: #fffefa;
  --ink: #263e35;
  --muted: #626b60;
  --line: #dcded3;
  --olive: #647348;
  --sage: #e8ebde;
  --terracotta: #9c4f36;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 500;
}
h1,
h2 {
  font-family: var(--serif);
  font-variation-settings:
    "SOFT" 30,
    "WONK" 1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 5px;
}
h1:focus,
#main:focus {
  outline: none;
}
::selection {
  background: #d4dfb8;
  color: #20382e;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  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: 12px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
#header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 241, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2.25rem;
  font-weight: 650;
  letter-spacing: -2px;
  line-height: 1;
}
.brand svg {
  width: 41px;
  height: 41px;
}
.brand-dot {
  color: var(--terracotta);
}
#navigation {
  display: flex;
  gap: 37px;
  margin-left: auto;
}
#navigation a {
  font-size: 0.94rem;
  position: relative;
  padding: 10px 0;
}
#navigation a:after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 3px;
  left: 0;
  right: 100%;
  background: var(--ink);
  transition: right 0.2s;
}
#navigation a:hover:after,
#navigation a[aria-current]:after {
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-control {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.lang-control .icon {
  width: 19px;
}
.lang-control select {
  width: 64px;
  border: 0;
  color: var(--ink);
  background-color: transparent;
  padding: 8px 19px 8px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23263e35' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.lang-control select option {
  font-size: 1rem;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
}
.mobile-menu {
  display: none;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 55px;
  padding-block: 70px 77px;
  align-items: center;
}
.hero-copy > .eyebrow {
  max-width: 490px;
  color: var(--olive);
  margin-bottom: 27px;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  white-space: normal;
}
.hero h1 em {
  font-weight: 430;
  font-style: normal;
  color: var(--terracotta);
}
.hero-intro {
  max-width: 470px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 27px;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
}
.hero .button-row {
  margin-top: 31px;
  gap: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 23px;
  min-height: 53px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.94rem;
  font-weight: 550;
  line-height: 1.45;
  transition:
    background 0.18s,
    transform 0.18s;
  text-align: center;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.primary {
  background: var(--ink);
  color: #fffefa;
}
.primary:hover:not(:disabled) {
  background: #3e5746;
}
.secondary {
  border-color: var(--line);
  background: transparent;
}
.secondary:hover:not(:disabled) {
  background: var(--sage);
}
.light {
  background: #f3f0e2;
  color: var(--ink);
}
.light:hover {
  background: white;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0;
  font-weight: 550;
  font-size: 0.94rem;
  line-height: 1.6;
}
.quiet-link:hover {
  color: var(--terracotta);
}
.underlined {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.promises {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.promises li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.promises .icon {
  width: 15px;
  height: 15px;
  color: var(--olive);
}
.hero-visual {
  position: relative;
  padding-bottom: 36px;
  margin-left: 7px;
}
.hero-image {
  height: 510px;
  width: 100%;
  object-fit: cover;
  object-position: 43% center;
  border-radius: 130px 6px 6px 6px;
}
.photo-caption {
  position: absolute;
  left: -30px;
  bottom: 0;
  background: #e6e9da;
  border: 7px solid var(--paper);
  padding: 23px 26px 23px 27px;
  width: 85%;
  border-radius: 3px;
}
.photo-caption > .eyebrow {
  font-size: 0.69rem;
  color: var(--olive);
  margin-bottom: 7px;
}
.photo-caption > p:last-child {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  max-width: 280px;
}
.hero-stamp {
  position: absolute;
  top: 22px;
  right: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 108px;
  height: 108px;
  background: #d7dfbf;
  border: 6px solid var(--paper);
  border-radius: 50%;
  transform: rotate(10deg);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}
.hero-stamp .icon {
  width: 27px;
  height: 27px;
}
.hero-thread {
  position: absolute;
  width: 152px;
  right: -29px;
  bottom: -9px;
  color: var(--terracotta);
  pointer-events: none;
}
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef0e6;
}
.ribbon-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
}
.ribbon p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.4;
  max-width: 480px;
}
.ribbon span {
  max-width: 340px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin-left: auto;
}
.ribbon .icon {
  color: var(--olive);
  width: 30px;
  height: 30px;
}
.section {
  padding-block: 90px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}
.section-head > div {
  max-width: 760px;
}
.section-head > .quiet-link {
  flex-shrink: 0;
  margin-bottom: 5px;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
}
.section h2 {
  margin-top: 14px;
}
.section-intro {
  max-width: 710px;
  margin-top: 17px;
  color: var(--muted);
  line-height: 1.75;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}
.tool-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px #263e350a;
}
.tool-card-button {
  display: block;
  background: none;
  width: 100%;
  text-align: left;
  padding: 0;
  height: 100%;
  border-radius: 6px;
}
.tool-card-button:focus-visible {
  outline-offset: -4px;
}
.tool-visual {
  background: var(--tone);
  height: 176px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tool-art {
  width: 100%;
  height: 100%;
  max-width: 225px;
  max-height: 180px;
  color: var(--art-ink, var(--ink));
  transition: transform 0.3s;
}
.tool-card:hover .tool-art {
  transform: scale(1.04);
}
.tone-0 {
  --tone: #e4e9cf;
  --art-ink: #566c41;
}
.tone-1 {
  --tone: #efdcce;
  --art-ink: #965038;
}
.tone-2 {
  --tone: #e9dcae;
  --art-ink: #766027;
}
.tone-3 {
  --tone: #dfe5dd;
  --art-ink: #3d6458;
}
.tone-4 {
  --tone: #dfdfeb;
  --art-ink: #636580;
}
.card-plus {
  width: 26px;
  height: 26px;
  position: absolute;
  bottom: 10px;
  right: 11px;
  border-radius: 50%;
  background: #fffefa99;
  display: grid;
  place-items: center;
}
.card-plus .icon {
  width: 15px;
  height: 15px;
}
.tool-copy {
  padding: 20px 17px 23px;
}
.micro {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}
.tool-copy h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  min-height: 52px;
  letter-spacing: -0.025em;
  margin: 9px 0;
}
.tool-copy p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.section-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 19px;
}
.learning-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  overflow: hidden;
}
.learning-photo {
  position: relative;
  padding: 27px;
}
.learning-photo img {
  width: 100%;
  height: 100%;
  min-height: 418px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.75);
}
.photo-tag {
  position: absolute;
  bottom: 52px;
  left: 52px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 17px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  font-size: 0.82rem;
}
.learning-copy {
  padding: 56px 55px 54px 35px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.learning-copy > .eyebrow {
  color: #c7d1b3;
  font-size: 0.73rem;
}
.learning-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-top: 20px;
  line-height: 1.15;
  max-width: 480px;
}
.learning-copy > p {
  margin-top: 19px;
  color: #dce0d3;
  max-width: 480px;
}
.lesson-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.learning-copy .lesson-meta {
  margin-top: 24px;
  color: #dce0d3;
}
.lesson-meta .icon {
  width: 17px;
  height: 17px;
}
.learning-copy .button {
  margin-top: 22px;
}
.learning-copy > small {
  font-size: 0.72rem;
  color: #c7d1b3;
  margin-top: 17px;
}
.approach h2 {
  margin-bottom: 37px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px;
}
.approach-grid article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.approach-icon {
  margin-bottom: 20px;
  color: var(--olive);
}
.approach-icon .icon {
  width: 28px;
  height: 28px;
}
.approach-grid h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 13px;
}
.approach-grid p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.8;
}
#footer {
  background: #eeeee5;
  border-top: 1px solid var(--line);
  padding: 47px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 37px;
}
.footer-tag {
  font-family: var(--serif);
  font-size: 1.16rem;
  margin-top: 16px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 48px;
  font-size: 0.85rem;
  align-content: start;
}
.footer-links a:hover,
.text-button:hover {
  color: var(--terracotta);
}
.text-button {
  background: none;
  padding: 0;
  text-align: left;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-bottom {
  border-top: 1px solid #d2d6c8;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 45px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.8;
}
.footer-bottom p {
  max-width: 750px;
}
.footer-bottom > span {
  max-width: 235px;
}
.page-section {
  padding-block: 65px 90px;
  min-height: 65vh;
}
.page-intro {
  max-width: 820px;
  margin-bottom: 40px;
}
.page-intro > .eyebrow {
  color: var(--olive);
  margin-bottom: 18px;
}
.page-intro h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.65rem);
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.page-intro > p:last-child {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 760px;
  line-height: 1.8;
}
.library-toolbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 25px 0 8px;
  border-top: 1px solid var(--line);
}
.search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  border: 1px solid #b4bdad;
  border-radius: 5px;
  padding: 0 16px;
  background: var(--white);
}
.search-control input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  outline-offset: 4px;
}
.search-control input::placeholder {
  color: var(--muted);
}
.filter-group {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 30px;
  background: transparent;
  font-size: 0.85rem;
  min-height: 44px;
}
.filter.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.filter:hover:not(.active) {
  background: var(--sage);
}
.result-count {
  font-size: 0.82rem;
  color: var(--muted);
  margin-block: 19px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.resource-card {
  display: flex;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}
.resource-icon {
  width: 132px;
  flex-shrink: 0;
  background: var(--tone);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.resource-icon > .icon {
  width: 40px;
  height: 40px;
  color: var(--art-ink);
}
.resource-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.resource-copy h2 {
  font-size: 1.4rem;
  margin-block: 7px 12px;
}
.resource-copy p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 17px;
}
.resource-status {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbd4c1;
  color: #736143;
  background: #f7f2e6;
  border-radius: 3px;
  font-size: 0.7rem;
  padding: 4px 8px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.resource-copy .quiet-link {
  font-size: 0.82rem;
  margin-top: auto;
}
.library-note {
  display: flex;
  gap: 23px;
  background: var(--sage);
  padding: 32px;
  margin-top: 40px;
  border-radius: 6px;
}
.library-note > .icon {
  width: 30px;
  height: 30px;
  margin-top: 4px;
}
.library-note h2 {
  font-size: 1.65rem;
  margin-bottom: 13px;
}
.library-note p {
  max-width: 840px;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 15px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 45px 20px;
  background: var(--sage);
  border-radius: 6px;
}
.empty-state h2 {
  font-size: 1.6rem;
  margin-bottom: 25px;
}
.project-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 7px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.project-banner img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.project-banner > div {
  padding: 44px;
}
.project-banner .icon {
  width: 32px;
  height: 32px;
  color: #bcca9c;
  margin-bottom: 24px;
}
.project-banner h2 {
  font-size: 2.3rem;
  line-height: 1.2;
}
.project-banner p {
  margin-top: 25px;
  color: #dce0d3;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-block: 55px;
}
.project-grid h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.project-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}
.partner-note {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 900px;
}
.partner-note h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
}
.partner-note p {
  color: var(--muted);
}
.demo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 30px;
}
.module-list {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.module-card {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}
.module-letter {
  font-family: var(--serif);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  border: 1px solid var(--line);
  width: 65px;
  height: 70px;
  border-radius: 4px;
}
.module-card h2 {
  font-size: 1.8rem;
  margin-block: 10px 12px;
}
.module-card p {
  color: var(--muted);
  max-width: 660px;
  font-size: 0.94rem;
}
.module-card .lesson-meta {
  margin-top: 17px;
  color: var(--olive);
}
.module-card.available {
  background: #e9eddf;
  border-color: #b8c2a5;
}
.module-card.available .module-letter {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.module-card > .button {
  max-width: 250px;
}
.journey-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-top: 55px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--olive);
}
.journey-line {
  width: 25px;
  height: 1px;
  background: #bcc6ad;
}
.lesson-section {
  padding-block: 30px 65px;
}
.lesson-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 15px;
}
.lesson-top > .quiet-link {
  font-size: 0.82rem;
}
.storage-note {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.storage-note .icon {
  width: 15px;
  height: 15px;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.lesson-sidebar {
  position: sticky;
  top: 122px;
  padding: 15px 0;
}
.lesson-sidebar > .eyebrow {
  font-size: 0.69rem;
  color: var(--olive);
}
.lesson-sidebar h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 16px 0 26px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}
progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  margin: 12px 0 25px;
  background: #dce1d2;
}
progress::-webkit-progress-bar {
  background: #dce1d2;
}
progress::-webkit-progress-value {
  background: var(--olive);
}
progress::-moz-progress-bar {
  background: var(--olive);
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-list button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: transparent;
  padding: 10px 7px;
  font-size: 0.86rem;
  border-radius: 4px;
  line-height: 1.4;
  min-height: 48px;
}
.step-list button[aria-current] {
  background: #e6ebdb;
  font-weight: 600;
}
.step-marker {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #a6b297;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.step-marker .icon {
  width: 15px;
  height: 15px;
}
.step-list button[aria-current] .step-marker {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.reset-button {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 25px 0 0 7px;
  padding-block: 8px;
}
.lesson-paper {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 44px 31px;
  scroll-margin-top: 118px;
}
.lesson-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  color: var(--olive);
}
.lesson-kicker > span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}
.lesson-paper h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.13;
  max-width: 670px;
}
.lesson-intro {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}
.workshop-illustration {
  margin-top: 26px;
  width: 100%;
  border-radius: 5px;
}
.lesson-text {
  margin-top: 24px;
  font-size: 0.99rem;
  line-height: 1.85;
}
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 19px;
  background: #f0f1e7;
  border-left: 3px solid #8c9c71;
  margin-top: 23px;
  font-size: 0.85rem;
  color: #56644e;
  line-height: 1.8;
}
.callout .icon {
  margin-top: 3px;
  width: 20px;
  height: 20px;
}
.lesson-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
.lesson-bottom > div {
  text-align: right;
}
.select-hint {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 240px;
  margin-bottom: 10px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 27px;
}
.comparison > div {
  background: #f1ece2;
  border-radius: 5px;
  padding: 25px;
}
.comparison > div:last-child {
  background: #e7ecdc;
}
.comparison .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
}
.comparison .eyebrow {
  font-size: 0.7rem;
}
.comparison h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin-top: 14px;
  min-height: 125px;
}
.comparison span {
  display: block;
  border-top: 1px solid #c8cdbd;
  padding-top: 15px;
  margin-top: 17px;
  font-size: 0.85rem;
  font-weight: 550;
}
.scenario {
  padding: 24px 33px 30px;
  background: #eee9da;
  margin-top: 28px;
  border-radius: 5px;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--terracotta);
  display: block;
}
.scenario blockquote {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.scenario figcaption {
  font-size: 0.78rem;
  color: var(--muted);
}
.answer-group {
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 23px;
}
.answer {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  padding: 20px;
  border: 1px solid #cdd3c2;
  border-radius: 5px;
  cursor: pointer;
  min-height: 72px;
  font-size: 0.96rem;
  line-height: 1.65;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.answer:hover {
  background: #f3f5ec;
}
.answer.selected {
  background: #e8eddd;
  border-color: var(--olive);
}
.answer input {
  opacity: 0;
  position: absolute;
  left: 20px;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  margin: 0;
}
.answer:has(input:focus-visible) {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}
.radio-mark {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border: 1px solid #8b967e;
  border-radius: 50%;
  background: var(--white);
}
.answer input:checked + .radio-mark {
  border: 6px solid var(--ink);
}
.feedback {
  display: flex;
  gap: 15px;
  background: #edf0e4;
  padding: 23px;
  border-radius: 5px;
  line-height: 1.8;
  min-height: 120px;
}
.feedback-empty {
  display: none;
}
.feedback > .icon {
  margin-top: 3px;
  color: var(--olive);
}
.feedback h2 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 9px;
}
.feedback p {
  font-size: 0.94rem;
}
.feedback small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.76rem;
}
.summary-symbol {
  width: 65px;
  height: 65px;
  background: #e4ebd6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
}
.summary-symbol .icon {
  width: 32px;
  height: 32px;
}
.takeaways {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block: 29px;
}
.takeaways li {
  display: flex;
  gap: 13px;
  align-items: start;
}
.takeaways .icon {
  background: #e8eddd;
  padding: 3px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-top: 1px;
}
.summary-note {
  font-size: 0.85rem;
  background: #f1f2e9;
  padding: 20px;
  margin: 25px 0 28px;
  color: var(--muted);
  line-height: 1.8;
}
.summary .button-row {
  gap: 12px;
}
.summary .button {
  font-size: 0.85rem;
  padding: 13px 17px;
}
.summary .text-button {
  font-size: 0.82rem;
  margin-top: 20px;
}
.summary #download-status {
  font-size: 0.8rem;
  margin-top: 15px;
  color: var(--olive);
}
dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 120px #17251b44;
  overflow: auto;
}
dialog::backdrop {
  background: #17251b88;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--paper);
  border-radius: 50%;
  z-index: 1;
}
.dialog-content {
  padding: 45px 38px 36px;
}
.dialog-content h2 {
  font-size: 2rem;
  padding-right: 20px;
  margin-bottom: 24px;
}
.dialog-content p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.85;
}
.dialog-content small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 20px;
}
.dialog-content .button-row {
  margin-top: 27px;
  gap: 13px;
}
.dialog-art {
  background: var(--tone);
  height: 160px;
  border-radius: 5px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
}
.dialog-content .resource-status {
  margin-bottom: 20px;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 85px;
  }
  .hero h1 {
    font-size: 4.2rem;
  }
  .hero-image {
    height: 550px;
  }
}
@media (max-width: 1190px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 30px;
    padding-block: 55px;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero-image {
    height: 490px;
  }
  .hero .button-row {
    gap: 18px;
  }
  .hero .button {
    padding: 14px 17px;
    font-size: 0.86rem;
  }
  .hero .quiet-link {
    font-size: 0.84rem;
  }
  .tool-grid {
    gap: 12px;
  }
  .tool-copy {
    padding: 17px 12px;
  }
  .tool-copy h3 {
    font-size: 1.1rem;
    min-height: 50px;
  }
  .tool-visual {
    height: 150px;
  }
  .learning-copy {
    padding: 44px 35px 40px 20px;
  }
  .learning-photo img {
    min-height: 400px;
  }
  .lesson-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }
  .lesson-paper {
    padding: 32px;
  }
  .resource-icon {
    width: 100px;
  }
  .resource-copy {
    padding: 20px;
  }
  .module-card {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }
  .module-card > .button {
    grid-column: 2;
    justify-self: start;
  }
  .module-card h2 {
    font-size: 1.7rem;
  }
}
@media (max-width: 950px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .hero-copy > .eyebrow {
    font-size: 0.66rem;
  }
  .hero-intro {
    font-size: 0.98rem;
  }
  .hero-image {
    height: 470px;
    border-top-left-radius: 95px;
  }
  .hero .button-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .promises {
    gap: 12px;
    font-size: 0.72rem;
  }
  .photo-caption {
    padding: 20px;
    width: 95%;
    left: -16px;
  }
  .photo-caption > p:last-child {
    font-size: 1.17rem;
  }
  .hero-stamp {
    width: 91px;
    height: 91px;
    right: -16px;
  }
  .ribbon span {
    max-width: 270px;
  }
  .ribbon p {
    font-size: 1.05rem;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .tool-visual {
    height: 175px;
  }
  .tool-copy h3 {
    font-size: 1.4rem;
    min-height: 0;
  }
  .tool-copy {
    padding: 20px;
  }
  .tool-copy p {
    font-size: 0.86rem;
  }
  .learning-copy h2 {
    font-size: 2.1rem;
  }
  .learning-copy {
    padding: 35px 30px 35px 10px;
  }
  .learning-photo {
    padding: 20px;
  }
  .learning-photo img {
    min-height: 445px;
  }
  .photo-tag {
    left: 35px;
    bottom: 35px;
  }
  .approach-grid {
    gap: 30px;
  }
  .resource-grid {
    gap: 15px;
  }
  .resource-card {
    flex-direction: column;
  }
  .resource-icon {
    width: 100%;
    height: 120px;
  }
  .resource-copy {
    flex: 1;
  }
  .resource-copy h2 {
    font-size: 1.55rem;
  }
  .resource-copy p {
    min-height: 48px;
  }
  .resource-copy .resource-status {
    margin-top: auto;
  }
  .lesson-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 23px;
  }
  .lesson-sidebar h2 {
    font-size: 1.4rem;
  }
  .lesson-paper {
    padding: 28px;
  }
  .lesson-paper h1 {
    font-size: 2.1rem;
  }
  .comparison {
    gap: 12px;
  }
  .comparison > div {
    padding: 18px;
  }
  .comparison h2 {
    font-size: 1.3rem;
    min-height: 130px;
  }
  .scenario blockquote {
    font-size: 1.5rem;
  }
  .lesson-bottom .button {
    padding: 13px 17px;
    font-size: 0.87rem;
  }
  .project-banner > div {
    padding: 30px;
  }
  .project-banner h2 {
    font-size: 1.9rem;
  }
  .project-grid {
    gap: 25px;
  }
  .project-grid h2 {
    font-size: 1.4rem;
  }
  .footer-links {
    gap: 10px 30px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 88px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 77px;
    gap: 15px;
  }
  .brand {
    font-size: 2rem;
    gap: 7px;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .header-actions {
    gap: 5px;
  }
  .lang-control {
    border: 0;
    padding: 0;
    gap: 6px;
  }
  .lang-control select {
    font-size: 0.82rem;
    width: 58px;
  }
  .lang-control .icon {
    width: 17px;
  }
  #navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 77px;
    margin: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px;
    box-shadow: 0 12px 22px #263e350a;
  }
  #navigation.is-open {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  #navigation a {
    padding: 13px;
    font-size: 1rem;
  }
  #navigation a:after {
    display: none;
  }
  #navigation a[aria-current] {
    background: var(--sage);
    border-radius: 3px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 36px 40px;
    gap: 35px;
  }
  .hero-copy > .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    max-width: 360px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3.4rem);
    line-height: 1.15;
  }
  .hero-intro {
    font-size: 1rem;
    margin-top: 22px;
    max-width: 520px;
  }
  .hero .button-row {
    flex-direction: row;
    align-items: center;
    gap: 19px;
    margin-top: 25px;
  }
  .hero .button {
    font-size: 0.85rem;
    padding: 14px 17px;
  }
  .hero .quiet-link {
    font-size: 0.86rem;
  }
  .promises {
    margin-top: 22px;
    font-size: 0.73rem;
    gap: 20px;
  }
  .hero-visual {
    margin: 0 10px 0 5px;
    padding-bottom: 35px;
  }
  .hero-image {
    height: 360px;
    border-top-left-radius: 100px;
    object-position: 50% 52%;
  }
  .hero-stamp {
    right: -22px;
    top: 14px;
  }
  .photo-caption {
    left: -11px;
    bottom: 0;
    max-width: 315px;
    padding: 20px;
    width: 85%;
  }
  .photo-caption > p:last-child {
    font-size: 1.27rem;
  }
  .hero-thread {
    width: 122px;
    bottom: -2px;
    right: -24px;
  }
  .ribbon-inner {
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 24px;
  }
  .ribbon .icon {
    width: 27px;
    height: 27px;
  }
  .ribbon p {
    max-width: calc(100% - 45px);
    font-size: 1.1rem;
  }
  .ribbon span {
    margin-left: 41px;
    max-width: 440px;
    font-size: 0.8rem;
  }
  .section {
    padding-block: 58px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section .eyebrow {
    font-size: 0.7rem;
  }
  h2 {
    font-size: 2rem;
  }
  .section-intro {
    font-size: 0.96rem;
    line-height: 1.8;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tool-visual {
    height: 155px;
  }
  .tool-copy {
    padding: 18px 15px;
  }
  .tool-copy h3 {
    font-size: 1.23rem;
    line-height: 1.2;
    min-height: 49px;
  }
  .tool-copy p {
    font-size: 0.76rem;
  }
  .tool-copy .micro {
    font-size: 0.62rem;
  }
  .tool-card:last-child {
    grid-column: 1/-1;
    max-width: none;
  }
  .tool-card:last-child .tool-card-button {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .tool-card:last-child .tool-visual {
    height: 155px;
  }
  .tool-card:last-child .tool-copy h3 {
    min-height: 0;
  }
  .section-footnote {
    font-size: 0.72rem;
  }
  .learning-feature {
    grid-template-columns: 1fr;
  }
  .learning-photo {
    padding: 18px 18px 0;
  }
  .learning-photo img {
    height: 260px;
    min-height: 0;
    object-position: center 38%;
  }
  .photo-tag {
    bottom: 20px;
    left: 38px;
  }
  .learning-copy {
    padding: 33px 29px 35px;
  }
  .learning-copy h2 {
    font-size: 2.2rem;
    max-width: 450px;
  }
  .learning-copy > p {
    font-size: 1rem;
  }
  .learning-copy > .eyebrow {
    font-size: 0.68rem;
  }
  .learning-copy > small {
    line-height: 1.7;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .approach-grid article {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px 16px;
    padding-top: 23px;
  }
  .approach-grid h3 {
    margin: 0;
    font-size: 1.45rem;
  }
  .approach-grid p {
    grid-column: 2;
    font-size: 0.95rem;
  }
  .approach-icon {
    margin: 1px 0 0;
  }
  .approach-icon .icon {
    width: 26px;
    height: 26px;
  }
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links {
    gap: 12px 30px;
    font-size: 0.84rem;
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 17px;
    font-size: 0.69rem;
  }
  .footer-bottom > span {
    max-width: none;
  }
  .footer-tag {
    font-size: 1.05rem;
  }
  #footer {
    padding-top: 34px;
  }
  .page-section {
    padding-block: 40px 55px;
  }
  .page-intro {
    margin-bottom: 30px;
  }
  .page-intro h1 {
    font-size: 2.6rem;
  }
  .page-intro > p:last-child {
    font-size: 1rem;
    line-height: 1.85;
    margin-top: 20px;
  }
  .page-intro > .eyebrow {
    font-size: 0.69rem;
  }
  .library-toolbar {
    padding-top: 22px;
  }
  .filter {
    font-size: 0.78rem;
    padding: 8px 12px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .resource-card {
    flex-direction: row;
  }
  .resource-icon {
    width: 96px;
    height: auto;
  }
  .resource-copy {
    padding: 21px 17px;
  }
  .resource-copy h2 {
    font-size: 1.4rem;
  }
  .resource-copy p {
    min-height: 0;
    font-size: 0.85rem;
  }
  .resource-copy .micro {
    font-size: 0.62rem;
  }
  .resource-status {
    font-size: 0.66rem;
  }
  .library-note {
    padding: 24px;
    gap: 15px;
    margin-top: 28px;
  }
  .library-note > .icon {
    display: none;
  }
  .library-note h2 {
    font-size: 1.6rem;
  }
  .library-note p {
    font-size: 0.9rem;
  }
  .module-card {
    padding: 23px 20px;
    gap: 17px;
    grid-template-columns: 42px 1fr;
  }
  .module-letter {
    width: 42px;
    height: 48px;
    font-size: 1.8rem;
  }
  .module-card h2 {
    font-size: 1.55rem;
    line-height: 1.2;
  }
  .module-card p {
    font-size: 0.9rem;
  }
  .module-card .lesson-meta {
    font-size: 0.73rem;
  }
  .module-card > .button {
    grid-column: 1/-1;
    margin-left: 59px;
    max-width: calc(100% - 59px);
    font-size: 0.84rem;
  }
  .demo-note {
    align-items: start;
    line-height: 1.8;
    font-size: 0.8rem;
  }
  .demo-note .icon {
    margin-top: 2px;
  }
  .journey-strip {
    gap: 12px;
    font-size: 0.95rem;
  }
  .journey-line {
    width: 16px;
  }
  .project-banner {
    grid-template-columns: 1fr;
  }
  .project-banner img {
    min-height: 0;
    height: 260px;
  }
  .project-banner > div {
    padding: 30px;
  }
  .project-banner h2 {
    font-size: 2rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
    padding-block: 35px;
    gap: 30px;
  }
  .project-grid h2 {
    font-size: 1.6rem;
    margin-bottom: 13px;
  }
  .project-grid p {
    font-size: 0.94rem;
  }
  .partner-note h2 {
    font-size: 1.6rem;
  }
  .partner-note p {
    font-size: 0.94rem;
  }
  .lesson-section {
    padding-top: 22px;
  }
  .lesson-top {
    align-items: start;
    margin-bottom: 22px;
  }
  .lesson-top > .quiet-link {
    font-size: 0.76rem;
    flex-shrink: 0;
  }
  .storage-note {
    font-size: 0.65rem;
    max-width: 175px;
    align-items: start;
    line-height: 1.6;
  }
  .storage-note .icon {
    width: 13px;
    height: 13px;
    margin-top: 3px;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-sidebar {
    position: static;
    padding: 0;
  }
  .lesson-sidebar > .eyebrow {
    font-size: 0.65rem;
  }
  .lesson-sidebar h2 {
    font-size: 1.35rem;
    margin: 9px 0 14px;
  }
  .progress-label {
    font-size: 0.7rem;
  }
  .lesson-sidebar progress {
    margin-bottom: 0;
  }
  .step-list {
    display: none;
  }
  .reset-button {
    margin: 8px 0 0;
    font-size: 0.72rem;
    padding-block: 8px;
  }
  .lesson-paper {
    padding: 27px 22px 25px;
    scroll-margin-top: 95px;
  }
  .lesson-kicker {
    margin-bottom: 19px;
  }
  .lesson-kicker .eyebrow {
    font-size: 0.66rem;
  }
  .lesson-paper h1 {
    font-size: 2rem;
    line-height: 1.18;
  }
  .lesson-intro {
    font-size: 0.96rem;
    margin-top: 19px;
    line-height: 1.85;
  }
  .lesson-text {
    font-size: 0.94rem;
  }
  .callout {
    font-size: 0.8rem;
    padding: 17px 15px;
    gap: 11px;
  }
  .callout .icon {
    width: 18px;
    height: 18px;
  }
  .workshop-illustration {
    margin-top: 23px;
  }
  .lesson-bottom {
    gap: 12px;
  }
  .lesson-bottom .button {
    font-size: 0.8rem;
    padding: 13px 15px;
    min-height: 48px;
  }
  .select-hint {
    font-size: 0.7rem;
    max-width: 175px;
  }
  .comparison {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .comparison > div {
    padding: 22px;
  }
  .comparison .icon {
    margin-bottom: 15px;
  }
  .comparison h2 {
    min-height: 0;
    font-size: 1.7rem;
    max-width: 350px;
  }
  .comparison span {
    font-size: 0.82rem;
    margin-top: 18px;
  }
  .scenario {
    padding: 23px;
  }
  .scenario blockquote {
    font-size: 1.45rem;
  }
  .scenario figcaption {
    font-size: 0.72rem;
  }
  .answer {
    padding: 16px 13px;
    gap: 12px;
    font-size: 0.92rem;
  }
  .radio-mark {
    width: 20px;
    height: 20px;
  }
  .answer input {
    left: 13px;
  }
  .feedback {
    padding: 20px 15px;
    gap: 12px;
  }
  .feedback p {
    font-size: 0.88rem;
  }
  .feedback h2 {
    font-size: 0.83rem;
  }
  .feedback small {
    font-size: 0.72rem;
  }
  .takeaways {
    gap: 18px;
    font-size: 0.94rem;
  }
  .summary .button-row {
    align-items: stretch;
    flex-direction: column;
  }
  .summary .button {
    font-size: 0.84rem;
  }
  .summary-note {
    padding: 17px;
    font-size: 0.81rem;
  }
  .dialog-content {
    padding: 45px 25px 28px;
  }
  .dialog-content h2 {
    font-size: 1.8rem;
  }
  .dialog-content p {
    font-size: 0.94rem;
  }
  .dialog-content .button {
    font-size: 0.86rem;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
  .hero .button-row {
    gap: 17px;
  }
  .hero .button {
    font-size: 0.82rem;
  }
  .hero-image {
    height: 300px;
  }
  .promises {
    gap: 12px;
  }
  .tool-visual {
    height: 130px;
  }
  .tool-copy {
    padding: 17px 12px;
  }
  .tool-copy h3 {
    font-size: 1.13rem;
  }
  .tool-card:last-child .tool-visual {
    height: 140px;
  }
  .page-intro h1 {
    font-size: 2.25rem;
  }
  .lesson-paper {
    padding: 24px 17px;
  }
  .resource-icon {
    width: 77px;
    padding: 4px;
  }
  .resource-copy {
    padding: 18px 14px;
  }
  .resource-copy h2 {
    font-size: 1.3rem;
  }
  .module-card > .button {
    margin-left: 0;
    max-width: 100%;
  }
  .footer-links {
    gap: 12px 20px;
    font-size: 0.8rem;
  }
  .lesson-bottom .button {
    font-size: 0.75rem;
    padding: 12px;
  }
  .lesson-paper h1 {
    font-size: 1.85rem;
  }
  .lang-control .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.brand small {
  font-size: 0.625rem;
  font-weight: 450;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--muted);
}
.concept-notice {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.developer-credit {
  display: block;
  margin-top: 9px;
  color: var(--ink);
}
.footer-bottom > div {
  max-width: 245px;
}
.dialog-content h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 23px 0 12px;
}
.example-table {
  margin: 16px 0 25px;
}
.example-table table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.7;
}
.example-table th,
.example-table td {
  padding: 12px 9px;
  border: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
  text-align: left;
}
.example-table th {
  background: var(--sage);
  font-weight: 600;
}
.example-status {
  background: var(--sage);
  color: var(--ink);
  border-color: #bdc9ac;
}
.example-format {
  font-size: 0.75rem;
}
@media (max-width: 720px) {
  .brand {
    font-size: 1.45rem;
    gap: 6px;
    letter-spacing: 0.035em;
  }
  .brand small {
    font-size: 0.53rem;
    max-width: 135px;
  }
  .concept-notice {
    font-size: 0.66rem;
    max-width: 300px;
  }
  .example-table th,
  .example-table td {
    padding: 9px 6px;
  }
  .example-table table {
    font-size: 0.72rem;
  }
}

/* Preserve the established header balance with the longer neutral name. */
.brand { letter-spacing: .01em; }
@media (max-width: 420px) { .brand { font-size: 1.25rem; } .brand small { font-size: .58rem; } }
