:root {
  --ink: #12383b;
  --ink-deep: #092a2d;
  --ink-soft: #50686b;
  --paper: #f3efe6;
  --paper-deep: #ebe4d7;
  --surface: #fffdf8;
  --surface-soft: #f9f6ef;
  --teal: #0b6b66;
  --teal-dark: #07504d;
  --mint: #c7e3db;
  --mint-pale: #e9f5f1;
  --coral: #a4422f;
  --coral-pale: #f9e9e3;
  --gold: #8a5a10;
  --gold-pale: #f7edda;
  --focus: #c2410c;
  --line: rgba(18, 56, 59, 0.15);
  --line-strong: rgba(18, 56, 59, 0.28);
  --shadow-sm: 0 10px 28px rgba(15, 49, 52, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 49, 52, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 91% 7%, rgba(199, 227, 219, 0.74), transparent 28rem),
    radial-gradient(circle at 7% 29%, rgba(249, 233, 227, 0.72), transparent 24rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 40%, #f8f5ee 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
               "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
p,
pre {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink-deep);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-wrap {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(18, 56, 59, 0.10);
  background: rgba(251, 250, 246, 0.89);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 9px 20px rgba(11, 107, 102, 0.20);
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--teal-dark);
}

.repo-link {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.75);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.repo-link:hover {
  border-color: rgba(11, 107, 102, 0.50);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.78fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  min-height: 720px;
  padding-block: clamp(72px, 10vw, 122px);
}

.hero-copy-wrap {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--teal-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: var(--coral);
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(3.5rem, 6.8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.hero-zh {
  margin-bottom: 24px;
  color: var(--teal-dark);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.12rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 740px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.01rem, 1.65vw, 1.16rem);
}

.hero-copy span {
  display: block;
  margin-top: 8px;
}

.hero-copy code {
  color: var(--teal-dark);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(11, 107, 102, 0.20);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.78);
}

.button-secondary:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.arrow {
  font-size: 1.2em;
  line-height: 1;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 760;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 14px;
}

.hero-notes li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
  transform: translateY(-50%);
}

.document-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.90);
  box-shadow: var(--shadow-lg);
  transform: none;
}

.document-preview::after {
  position: absolute;
  right: -75px;
  bottom: -78px;
  width: 195px;
  height: 195px;
  border: 30px solid var(--mint);
  border-radius: 50%;
  content: "";
  opacity: 0.60;
  pointer-events: none;
}

.preview-toolbar {
  display: flex;
  height: 51px;
  align-items: center;
  gap: 7px;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.preview-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9b5a9;
}

.preview-toolbar span:nth-child(2) {
  background: #e5cc95;
}

.preview-toolbar span:nth-child(3) {
  background: #9fcbbf;
}

.preview-toolbar strong {
  margin-left: 8px;
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 750;
}

.preview-body {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 4vw, 38px);
}

.preview-label {
  margin-bottom: 17px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.preview-body pre {
  margin-bottom: 30px;
  overflow-x: auto;
  color: var(--ink);
  font-size: clamp(0.72rem, 1.3vw, 0.84rem);
  line-height: 1.72;
  white-space: pre-wrap;
}

.code-muted {
  color: #889a99;
}

.code-key,
.code-heading {
  color: var(--teal-dark);
  font-weight: 800;
}

.code-value {
  color: var(--coral);
}

.code-inline,
.code-chunk {
  color: var(--gold);
  font-weight: 700;
}

.render-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.render-route li {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(249, 246, 239, 0.88);
}

.render-route span,
.render-route strong,
.render-route small {
  display: block;
}

.render-route span {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 900;
}

.render-route strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.render-route small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding-block: clamp(78px, 9vw, 118px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  margin-bottom: 46px;
}

.section-kicker {
  margin-bottom: 18px;
}

.section-intro h2,
.concepts-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-intro > p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
}

.section-intro > p span,
.concepts-header > p span {
  display: block;
  margin-top: 7px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-step {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.82);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.path-step:hover,
.path-step:focus-within {
  border-color: rgba(11, 107, 102, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.step-number {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.72rem;
  font-weight: 900;
}

.step-action {
  margin-bottom: 9px;
  color: var(--coral);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.path-step h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.43rem;
  font-weight: 600;
  line-height: 1.1;
}

.path-step h3 code {
  font-size: 0.83em;
}

.path-step > p:not(.step-action) {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.step-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 0.81rem;
  font-weight: 850;
  text-decoration: none;
}

.step-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.guide-section {
  background: rgba(255, 253, 248, 0.38);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-card {
  --guide-accent: var(--teal);
  --guide-pale: var(--mint-pale);
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: clamp(27px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.70) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-card-zh {
  --guide-accent: var(--coral);
  --guide-pale: var(--coral-pale);
}

.guide-card:hover,
.guide-card:focus-within {
  border-color: var(--guide-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.guide-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.guide-language {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--guide-accent);
  background: var(--guide-pale);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1rem;
  font-weight: 800;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.guide-meta span,
.topic-list li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.69rem;
  font-weight: 800;
  white-space: nowrap;
}

.guide-overline {
  margin-bottom: 10px;
  color: var(--guide-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 540px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.75rem, 3vw, 2.46rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.guide-card h3 code {
  font-size: 0.72em;
}

.guide-description {
  margin-bottom: 23px;
  color: var(--ink-soft);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.topic-list li {
  color: var(--guide-accent);
  background: var(--guide-pale);
  border-color: transparent;
}

.guide-link {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 11px 19px;
  border-radius: 999px;
  color: #fff;
  background: var(--guide-accent);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.guide-link:hover {
  filter: brightness(0.90);
  transform: translateY(-2px);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.track-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.76);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.track-card:hover,
.track-card:focus-within {
  border-color: rgba(11, 107, 102, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.track-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-card h3 {
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.track-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.track-route {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.track-route li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-left: 23px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 760;
}

.track-route li::before {
  position: absolute;
  top: 18px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
}

.track-route a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration-color: rgba(11, 107, 102, 0.35);
  text-underline-offset: 4px;
}

.track-route .track-zh {
  color: var(--teal-dark);
  font-size: 0.78rem;
  white-space: nowrap;
}

.concepts-wrap {
  padding-bottom: clamp(84px, 10vw, 126px);
}

.concepts-panel {
  padding: clamp(38px, 6vw, 68px);
  border-radius: var(--radius-lg);
  color: #eef8f5;
  background:
    radial-gradient(circle at 91% 13%, rgba(199, 227, 219, 0.14), transparent 21rem),
    var(--ink-deep);
  box-shadow: var(--shadow-lg);
}

.concepts-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: end;
}

.section-kicker-light {
  color: var(--mint);
}

.concepts-header h2 {
  max-width: 610px;
}

.concepts-header > p {
  max-width: 650px;
  margin: 0;
  color: #bfd3d0;
}

.concept-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 43px 0 36px;
  padding: 0;
  list-style: none;
}

.concept-flow li {
  position: relative;
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(238, 248, 245, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.concept-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -12px;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(238, 248, 245, 0.22);
  border-radius: 50%;
  color: var(--mint);
  background: var(--ink-deep);
  content: "→";
  font-size: 0.76rem;
  line-height: 21px;
  text-align: center;
  transform: translateY(-50%);
}

.concept-number,
.concept-flow strong,
.concept-flow small {
  display: block;
}

.concept-number {
  margin-bottom: 13px;
  color: var(--mint);
  font-size: 0.65rem;
  font-weight: 900;
}

.concept-flow strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.concept-flow strong code {
  font-size: 0.82em;
}

.concept-flow small {
  margin-top: 3px;
  color: #adc7c3;
  font-size: 0.72rem;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.concept-card {
  padding: 22px;
  border-top: 1px solid rgba(238, 248, 245, 0.16);
}

.concept-symbol {
  display: inline-grid;
  min-width: 44px;
  height: 37px;
  margin-bottom: 19px;
  padding-inline: 8px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink-deep);
  background: var(--mint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.concept-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
}

.concept-card p {
  margin-bottom: 0;
  color: #b8ceca;
  font-size: 0.83rem;
}

.concept-card code {
  color: #d8eee8;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding-block: 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-brand {
  margin-bottom: 10px;
  color: var(--ink);
}

.brand-mark-small {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 0.72rem;
}

.site-footer p {
  margin-bottom: 1px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 750;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy-wrap {
    max-width: 900px;
  }

  .document-preview {
    width: min(100%, 720px);
    transform: none;
  }

  .path-grid,
  .concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-step {
    min-height: 300px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 12px;
  }

  .main-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 14px;
    margin-left: 0;
    padding-top: 8px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  .repo-link {
    margin-left: auto;
  }

  .section-intro,
  .concepts-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: auto;
  }

  .concept-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concept-flow li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 124px;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 0.74rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .repo-link {
    min-height: 40px;
    padding-inline: 12px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    min-height: 38px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-notes {
    gap-inline: 13px;
  }

  .preview-body {
    padding: 23px 20px 26px;
  }

  .render-route {
    grid-template-columns: 1fr;
  }

  .render-route li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 11px;
    align-items: center;
  }

  .render-route span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .path-grid,
  .concept-grid,
  .concept-flow {
    grid-template-columns: 1fr;
  }

  .track-card {
    padding: 24px 21px;
  }

  .path-step {
    min-height: 275px;
  }

  .guide-topline {
    flex-direction: column;
  }

  .guide-meta {
    justify-content: flex-start;
  }

  .concepts-panel {
    padding: 34px 22px;
    border-radius: var(--radius-md);
  }

  .concept-flow li::after {
    display: none;
  }

  .concept-card {
    padding-inline: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .button-primary,
  .guide-link,
  .concept-symbol {
    border: 1px solid currentColor;
  }
}
