/* Typography shared with the portfolio (mypage-gold-chi.vercel.app) */
@font-face {
  font-family: Manuka;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/63b49269ab964b26528dfc4b_manuka-medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manuka;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/63b49269cb7a6e41b218cc76_manuka-black.woff2) format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Faktum;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5be7e22fe80c1623330d78fa_Faktum-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Faktum;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5be7e22fb95161b57fcea4ae_Faktum-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Faktum;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5be7e22fe80c161f820d78fb_Faktum-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Faktum;
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5be7e22fc9fc1f319002e8e7_Faktum-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Basis grotesque mono pro";
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5e5741d7fa858fa1feb9f80a_basis-grotesque-mono-regular-pro.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Basis grotesque mono pro";
  src: url(https://cdn.prod.website-files.com/5bcd190539ce888450a18425/5e5741d7c5f6ac64878a2ca9_basis-grotesque-mono-bold-pro.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* sage palette — mirrors the portfolio theme */
  --ink: #181610;
  --ink-soft: #35443a;
  --paper: #a9dcb3;
  --surface: #c6e9ce;
  --mist: #8fd39d;
  --line: rgba(24, 22, 16, 0.28);
  --teal: #3e8e5e;
  --teal-dark: #2f7a4d;
  --amber: #2f7a4d;
  --rust: #4e8a3a;
  --red: #181610;
  --green: #2f7a4d;
  --shadow: none;
  --radius: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Faktum, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 8px 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  border-bottom: 1px solid rgba(24, 22, 16, 0.14);
  background: rgba(169, 220, 179, 0.92);
  padding: 0 28px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Songti SC", "STSong", serif;
}

.brand-text {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(24, 22, 16, 0.3);
  background: rgba(255, 255, 255, 0.5);
  outline: none;
}

.nav-links .nav-home {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.nav-links .nav-home:hover,
.nav-links .nav-home:focus-visible {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: #fff;
}

.section-band {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-band[id] {
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  min-height: calc(100svh - 68px);
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-family: "Basis grotesque mono pro", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Manuka, "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 900;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 4.7rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.1rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-lead,
.section-heading p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.hero-stats div {
  padding: 18px 16px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--teal-dark);
  font-family: Manuka, "PingFang SC", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(20, 20, 17, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 0.82fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin-bottom: 0;
}

.step-grid,
.quality-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card,
.quality-rule,
.review-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 22px;
}

.step-index,
.quality-rule span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ink);
  padding: 2px 10px;
  color: var(--paper);
  font-family: "Basis grotesque mono pro", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step-card p,
.quality-rule p,
.review-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.quality-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quality-rule {
  min-height: 214px;
  position: relative;
}

.quality-rule::after {
  content: "跳过";
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(24, 22, 16, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.taxonomy-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.taxonomy-row {
  display: grid;
  grid-template-columns: 0.75fr 0.85fr 2.2fr;
  border-top: 1px solid var(--line);
}

.taxonomy-row:first-child {
  border-top: 0;
}

.taxonomy-row > div {
  padding: 16px 18px;
  min-width: 0;
}

.taxonomy-row > div + div {
  border-left: 1px solid var(--line);
}

.taxonomy-head {
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.taxonomy-row:not(.taxonomy-head) > div:first-child {
  color: var(--teal-dark);
  font-weight: 800;
}

.dimension-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.dimension-tabs {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  align-self: start;
}

.dimension-tabs button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.dimension-tabs button:hover,
.dimension-tabs button:focus-visible,
.dimension-tabs button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.dimension-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px;
}

.dimension-panel[hidden] {
  display: none;
}

.panel-copy {
  max-width: 720px;
}

.panel-copy h3 {
  font-family: Manuka, "PingFang SC", sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
}

.panel-copy p {
  color: var(--ink-soft);
}

.dimension-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.dimension-tag-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
}

.dimension-tag-card img {
  aspect-ratio: 32 / 21;
  width: 100%;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.dimension-tag-body {
  padding: 16px;
}

.dimension-tag-body h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.dimension-tag-body dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.dimension-tag-body dl div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.dimension-tag-body dt {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.dimension-tag-body dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.dimension-tag-body p {
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.judge-note {
  margin: 0;
  border-left: 4px solid var(--teal-dark);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 14px 16px;
  color: var(--ink-soft);
}

.caption-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 22px;
  align-items: start;
}

.caption-board {
  overflow: hidden;
  border: 1px solid rgba(169, 220, 179, 0.4);
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, #22392b 0%, #0f1a12 58%, #2b4a35 100%);
  padding: 26px;
  color: var(--paper);
  box-shadow: var(--shadow);
}

.caption-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(247, 246, 240, 0.78);
  font-weight: 850;
  text-transform: uppercase;
}

.caption-board-head span:first-child {
  font-family: Manuka, "PingFang SC", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.caption-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.62fr);
  gap: 22px;
  align-items: center;
}

.caption-video-frame {
  margin: 0;
}

.caption-video-frame video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(247, 246, 240, 0.22);
  border-radius: 8px;
  background: #000;
  object-fit: cover;
}

.caption-video-frame figcaption {
  margin-top: 10px;
  color: rgba(247, 246, 240, 0.68);
  font-size: 0.84rem;
}

.caption-label-board {
  display: grid;
  gap: 12px;
}

.caption-label-board div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.caption-label-board span {
  color: rgba(247, 246, 240, 0.84);
  font-weight: 850;
}

.caption-label-board strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(169, 220, 179, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, #eef6ec, #a9dcb3);
  padding: 7px 14px;
  color: #1d3a28;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
}

.caption-copy-box {
  margin-top: 26px;
}

.caption-copy-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 900;
}

.caption-copy-box > p:last-child {
  margin: 0;
  border: 1px solid rgba(247, 246, 240, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 20px;
  color: rgba(247, 246, 240, 0.92);
  line-height: 1.85;
}

.caption-copy-box mark {
  border-radius: 4px;
  background: transparent;
  padding: 0 2px;
  font-weight: 800;
}

.mark-subject,
.legend-subject {
  color: #68e8a0;
}

.mark-modifier,
.legend-modifier {
  color: #ffe276;
}

.mark-motion,
.legend-motion {
  color: #73bcff;
}

.mark-detail,
.legend-detail {
  color: #7de8ff;
}

.mark-style,
.legend-style {
  color: #f1a5ff;
}

.caption-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.caption-legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 6px;
  padding: 7px 14px;
  color: #111317;
  font-weight: 850;
}

.caption-legend .legend-subject {
  background: #44c98a;
}

.caption-legend .legend-modifier {
  background: #d7b784;
}

.caption-legend .legend-motion {
  background: #579de4;
}

.caption-legend .legend-detail {
  background: #5bc8d5;
}

.caption-legend .legend-style {
  background: #c99ad7;
}

.caption-template-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.caption-template-panel > p {
  color: var(--ink-soft);
}

.template-stack {
  display: grid;
  gap: 12px;
}

.template-stack article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  padding: 16px;
}

.template-stack span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--mist);
  padding: 2px 9px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.template-stack h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.template-stack p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid article {
  min-height: 176px;
  background: var(--ink);
  color: var(--paper);
}

.review-grid p {
  color: rgba(198, 233, 206, 0.9);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

/* Cinematic language reference section */
.language-block + .language-block {
  margin-top: 48px;
}

.language-block > .eyebrow {
  margin-bottom: 18px;
}

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

.anchor-card {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 22px;
}

.anchor-key {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--ink);
  padding: 2px 12px;
  color: var(--paper);
  font-family: "Basis grotesque mono pro", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anchor-card h3 {
  margin-bottom: 10px;
  font-family: Manuka, "PingFang SC", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--teal-dark);
}

.anchor-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.beginner-path,
.confusion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.beginner-path article,
.confusion-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.path-index {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--ink);
  padding: 2px 10px;
  color: var(--paper);
  font-family: "Basis grotesque mono pro", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.beginner-path p,
.confusion-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.encyclopedia-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 22px;
}

.encyclopedia-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  border: 1px solid rgba(24, 22, 16, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 3px 11px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.encyclopedia-grid h3 {
  margin-bottom: 8px;
}

.encyclopedia-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.composition-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.composition-board article {
  min-height: 204px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 22px;
}

.composition-board article:nth-child(4n + 1) {
  border-left: 0;
}

.composition-board article:nth-child(-n + 4) {
  border-top: 0;
}

.composition-board h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.composition-board p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.confusion-grid article {
  position: relative;
  padding-top: 54px;
}

.confusion-grid article::before {
  content: "辨析";
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  border-radius: 999px;
  background: var(--ink);
  padding: 2px 9px;
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 850;
}

.combo-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.combo-row {
  display: grid;
  grid-template-columns: 0.62fr 2.38fr;
  border-top: 1px solid var(--line);
}

.combo-row:first-child {
  border-top: 0;
}

.combo-row > div {
  padding: 16px 18px;
  min-width: 0;
}

.combo-row > div + div {
  border-left: 1px solid var(--line);
}

.combo-head {
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.combo-row:not(.combo-head) > div:first-child {
  color: var(--teal-dark);
  font-weight: 800;
}

.combo-recipe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.combo-recipe span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 4px 12px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

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

.language-flow li {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 22px;
}

.flow-index {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--ink);
  padding: 2px 10px;
  color: var(--paper);
  font-family: "Basis grotesque mono pro", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-flow h3 {
  margin-bottom: 8px;
}

.language-flow p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.checklist-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px 26px;
}

.checklist-card h3 {
  margin-bottom: 16px;
  font-family: Manuka, "PingFang SC", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--teal-dark);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .caption-showcase,
  .caption-demo-grid {
    grid-template-columns: 1fr;
  }

  .anchor-grid,
  .beginner-path,
  .confusion-grid,
  .encyclopedia-grid,
  .language-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .composition-board article:nth-child(4n + 1) {
    border-left: 1px solid var(--line);
  }

  .composition-board article:nth-child(-n + 4) {
    border-top: 1px solid var(--line);
  }

  .composition-board article:nth-child(2n + 1) {
    border-left: 0;
  }

  .composition-board article:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .section-band {
    width: min(100% - 28px, var(--max));
    padding: 58px 0;
  }

  .section-band[id] {
    scroll-margin-top: 136px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-grid,
  .quality-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-table {
    display: grid;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .taxonomy-row {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .taxonomy-head {
    display: none;
  }

  .taxonomy-row > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .dimension-layout {
    grid-template-columns: 1fr;
  }

  .dimension-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dimension-panel {
    min-height: 0;
    padding: 24px;
  }

  .dimension-card-grid {
    grid-template-columns: 1fr;
  }

  .dimension-tag-body dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .caption-board {
    border-radius: 14px;
    padding: 16px;
  }

  .caption-board-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .caption-label-board div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .caption-label-board strong {
    justify-content: flex-start;
  }

  .anchor-grid,
  .beginner-path,
  .encyclopedia-grid,
  .composition-board,
  .confusion-grid,
  .language-flow,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .composition-board article,
  .composition-board article:nth-child(2n + 1),
  .composition-board article:nth-child(-n + 2),
  .composition-board article:nth-child(4n + 1),
  .composition-board article:nth-child(-n + 4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .composition-board article:first-child {
    border-top: 0;
  }

  .combo-table {
    display: grid;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .combo-row {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .combo-head {
    display: none;
  }

  .combo-row > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

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