/* Both documents share one readable page; their wording and policy date remain intact. */
body.terms-page .kh-hero { padding-bottom: 44px; }
body.terms-page .kh-lead { max-width: 680px; margin-bottom: 0; }
.terms-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 72px; padding-block: 56px 80px; }
.terms-index { position: sticky; top: 108px; align-self: start; }
.terms-index > p { margin: 0 0 16px; color: #777; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.terms-index a { display: block; padding: 11px 0; color: #454545; font-size: 13px; line-height: 1.5; text-decoration: none; }
.terms-index a:hover { color: #c90024; }
.terms-index a:focus-visible, .terms-content a:focus-visible { outline: 2px solid #e80029; outline-offset: 4px; }
.terms-index a span { margin-right: 8px; color: #929292; font-size: 10px; }
.terms-index .terms-index-sub { padding: 6px 0 6px 25px; font-size: 12px; color: #666; }
.terms-index .terms-help { margin-top: 22px; padding-top: 22px; border-top: 1px solid #ddd; }
.terms-help strong { color: #222; font-size: 13px; }
.terms-help a { font-size: 12px; }
.terms-content { min-width: 0; max-width: 860px; }
.terms-block, .terms-content section[id] { scroll-margin-top: 108px; }
.terms-block + .terms-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid #d5d5d5; }
.terms-block-heading { margin-bottom: 28px; }
.terms-block-heading > span { display: block; margin-bottom: 10px; color: #c90024; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.terms-block h2 { margin: 0 0 16px; color: #111; font-size: clamp(25px, 3vw, 32px); font-weight: 800; letter-spacing: -.04em; line-height: 1.25; }
.terms-content p, .terms-content li { color: #505050; font-size: 14px; line-height: 1.85; }
.terms-content p { margin: 12px 0; }
.terms-content a { color: #a80023; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.terms-content strong { color: #222; font-weight: 700; }
.terms-content time { display: block; margin-top: 16px; color: #707070; font-size: 12px; }
.terms-rules { padding: 0; list-style: none; counter-reset: rule; }
.terms-rules > li { position: relative; margin: 0; padding: 24px 0 24px 50px; border-top: 1px solid #e7e7e7; counter-increment: rule; }
.terms-rules > li::before { content: counter(rule, decimal-leading-zero); position: absolute; top: 26px; left: 0; color: #b20028; font-size: 11px; font-weight: 800; }
.terms-rules > li > strong { display: block; color: #191919; font-size: 16px; letter-spacing: -.015em; }
.terms-rules p { margin-bottom: 0; }
.terms-content .policy-number { display: block; margin-bottom: 7px; color: #a80023; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.terms-content .policy-sections > section { padding-top: 28px; margin-top: 28px; border-top: 1px solid #e7e7e7; }
.terms-content h3 { margin: 0 0 14px; color: #191919; font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.4; }
.terms-content ul { padding-left: 20px; }
.terms-content ul > li { margin: 14px 0; padding-left: 5px; }
.terms-content .policy-reference { font-size: 12px; }
@media (max-width: 1000px) {
  .terms-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 800px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 32px 56px; }
  .terms-index { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid #ddd; }
  .terms-index > p { width: 100%; margin-bottom: 5px; }
  .terms-index > a:not(.terms-index-sub) { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 12px; }
  .terms-index .terms-index-sub, .terms-index .terms-help { display: none; }
  .terms-rules > li { padding-left: 36px; }
  .terms-block + .terms-block { margin-top: 40px; padding-top: 36px; }
  .terms-block, .terms-content section[id] { scroll-margin-top: 92px; }
}
