.text-main { max-width: 1160px; margin: 0 auto; padding: 64px 6% 96px; }
.text-hero { max-width: 820px; margin-bottom: 46px; }
.text-hero .eyebrow { margin-bottom: 16px; }
.text-hero h1 { margin: 0; font: 500 clamp(38px, 5vw, 62px)/1.04 var(--serif); letter-spacing: -.045em; }
.text-hero .text-lead { max-width: 680px; margin: 18px 0 0; color: #687267; font-size: 15px; line-height: 1.85; }
.text-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 30px; border-top: 1px solid #deded1; }
.text-toc { position: sticky; top: 104px; display: grid; gap: 10px; }
.text-toc span { color: #85897d; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.text-toc a { color: #526354; font-size: 12px; font-weight: 700; line-height: 1.5; }
.text-toc a:hover { color: #d77950; }
.text-content { max-width: 760px; }
.text-content section { margin: 0 0 34px; scroll-margin-top: 100px; }
.text-content h2 { margin: 0 0 9px; font: 500 25px/1.2 var(--serif); letter-spacing: -.02em; }
.text-content p, .text-content li { color: #526354; font-size: 14px; line-height: 1.85; }
.text-content p { margin: 0 0 11px; }
.text-content ul { margin: 8px 0 12px; padding-left: 20px; }
.text-content li { margin-bottom: 6px; }
.text-content a { color: #526d5d; text-decoration: underline; text-underline-offset: 2px; }
.text-content a:hover { color: #d77950; }
.text-highlight { margin: 0 0 28px; padding: 18px 20px; border-left: 3px solid #d77950; background: #e9ece3; }
.text-highlight strong { display: block; margin-bottom: 5px; color: #24392f; font: 500 18px/1.4 var(--serif); }
.text-highlight p { margin: 0; font-size: 13px; }
.text-updated { margin-top: 36px; padding-top: 16px; border-top: 1px solid #deded1; color: #85897d; font-size: 11px; line-height: 1.7; }
.contact-card { display: grid; gap: 8px; margin: 22px 0 30px; padding: 24px; background: #fbfaf5; border: 1px solid #deded1; border-radius: 14px; }
.contact-card span { color: #85897d; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a { color: #24392f; font: 500 22px var(--serif); text-decoration: none; }
.contact-card a:hover { color: #d77950; }
.contact-card p { margin: 0; color: #687267; font-size: 13px; line-height: 1.7; }

@media (max-width: 850px) {
  .text-main { padding: 44px 5% 70px; }
  .text-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .text-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .text-toc span { grid-column: 1 / -1; }
  .text-content { max-width: none; }
}
@media (max-width: 560px) {
  .text-main { padding: 34px 18px 58px; }
  .text-hero { margin-bottom: 30px; }
  .text-hero h1 { font-size: 38px; }
  .text-hero .text-lead { font-size: 13px; }
  .text-toc { grid-template-columns: 1fr; }
  .text-content h2 { font-size: 22px; }
  .text-content p, .text-content li { font-size: 13px; }
}

.text-page { min-height: 100vh; display: flex; flex-direction: column; }
.text-page .text-main { width: 100%; flex: 1 0 auto; }
