.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(2.5rem, 3.9vw, 3.5rem);
}
@media (max-width: 767px) {
  .split-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (min-width: 768px) {
  .split-head {
    flex-wrap: nowrap;
  }
  .split-head > :last-child:not(:first-child) {
    flex: 0 1 460px;
  }
}
.split-head__desc {
  max-width: 560px;
  font-family: "Instrument Sans", "Instrument Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.6;
  color: #5C5340;
}
.split-head__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 768px) {
  .split-head__main {
    flex: 0 1 720px;
    min-width: 0;
  }
}
.split-head__title {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 4.444vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.016em;
  color: #21211A;
}
.split-head__text {
  font-family: "Instrument Sans", "Instrument Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(18px, 1.389vw, 20px);
  line-height: 1.55;
  max-width: 460px;
  color: #5C5340;
}
.split-head--sm .split-head__main {
  gap: 20px;
}
.split-head--sm .split-head__title {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 3.611vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.split-head--xs {
  margin-bottom: 32px;
}
.split-head--xs .split-head__main {
  gap: 20px;
}
.split-head--xs .split-head__title {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(30px, 2.778vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.split-head--xs .split-head__text {
  font-family: "Instrument Sans", "Instrument Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  max-width: 320px;
}
@media (min-width: 768px) {
  .split-head--xs > :last-child:not(:first-child) {
    flex-basis: 320px;
  }
}

.text-hero {
  padding-top: calc(var(--header-space) + clamp(1.5rem, 3.333vw, 3rem));
  padding-bottom: clamp(3rem, 6.67vw, 6rem);
}

.split-head--page {
  margin-bottom: 0;
}
.split-head--page .split-head__title {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.split-head--page .split-head__text {
  max-width: 520px;
}
@media (min-width: 768px) {
  .split-head--page > :last-child:not(:first-child) {
    flex-basis: 520px;
  }
}

.text-body {
  padding-top: clamp(3rem, 6.67vw, 6rem);
  padding-bottom: clamp(4rem, 12.5vw, 11.25rem);
  border-top: 1px solid rgba(33, 33, 26, 0.15);
}
.text-body__inner {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .text-body__inner {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 48px;
  }
}
@media (min-width: 1100px) {
  .text-body__inner {
    grid-template-columns: minmax(0, 300px) minmax(0, 760px);
    justify-content: space-between;
  }
}

.text-toc {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .text-toc {
    position: sticky;
    top: calc(var(--header-space) + 2rem);
    align-self: start;
  }
}
.text-toc__label {
  font-family: "Config Mono Var", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #21211A;
}
.text-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-toc__nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.text-toc__nav a {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: #5C5340;
  text-decoration: none;
  transition: color 0.1s ease;
}
@media (hover: hover) and (min-width: 1100px) {
  .text-toc__nav a:hover {
    color: #21211A;
  }
}
.text-toc__nav a.is-active {
  font-weight: 500;
  color: #21211A;
}
.text-toc__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 32px;
  border-top: 1px solid rgba(33, 33, 26, 0.15);
}
.text-toc__meta .text-toc__label {
  color: #5C5340;
}
.text-toc__meta p:not(.text-toc__label) {
  font-family: "Instrument Sans", "Instrument Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #5C5340;
}
.text-toc__meta a {
  color: #21211A;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-toc__date {
  color: #21211A !important;
}
@media (max-width: 767px) {
  .text-toc {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(33, 33, 26, 0.15);
    display: none;
  }
}

.text-article {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: #5C5340;
}
.text-article > * + * {
  margin-top: 20px;
}
.text-article h2 {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(26px, 2.222vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #21211A;
  scroll-margin-top: calc(var(--header-space) + 2rem);
}
.text-article h2:not(:first-child) {
  margin-top: 64px;
}
.text-article h3 {
  font-family: "Trust 3A", "Trust 3A Fallback", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(21px, 1.667vw, 24px);
  line-height: 1.2;
  color: #21211A;
  margin-top: 40px;
}
.text-article ul,
.text-article ol {
  padding-left: 27px;
}
.text-article ul li + li,
.text-article ol li + li {
  margin-top: 0;
}
.text-article ul {
  list-style: disc;
}
.text-article ol {
  list-style: decimal;
}
.text-article a {
  color: #21211A;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-article strong {
  font-weight: 600;
  color: #21211A;
}

.callout {
  display: flex;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 12px;
  background-color: #FDF5E7;
  color: #21211A;
}
@media (max-width: 767px) {
  .callout {
    flex-direction: column;
    gap: 8px;
  }
}
.callout__label {
  font-family: "Config Mono Var", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-top: 4px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.callout__text > * + * {
  margin-top: 12px;
}
.callout__text p {
  color: #21211A;
}
