:root {
  color-scheme: light;
  --sans: Inter, AppleSDGothicNeo, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
  color: #171717;
  background: #f5f5f4;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 2px; }
.terms-page { max-width: 1320px; margin: auto; padding: 2.5rem clamp(1.5rem, 4.5vw, 4rem); }

.terms-header h1 { margin: 3rem 0 1rem; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.06em; font-weight: 600; }
.terms-header p { margin: 0; color: #929292; font-size: .875rem; }
.terms-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); margin-top: 4.5rem; align-items: start; }
.terms-sidebar { position: sticky; top: 3rem; }
.terms-nav { position: relative; border-left: solid .1rem #ddd; }
.terms-nav ol { list-style: none; padding: 0; margin: 0; }
.terms-nav a { display: block; padding: .55rem 1.25rem; color: #929292; font-size: .9rem; line-height: 1.5; text-decoration: none; transition: color 180ms ease; }
.terms-nav a:hover, .terms-nav a[aria-current] { color: #171717; }
.active-marker { position: absolute; top: 0; left: -1px; width: 2px; height: 2.45rem; background: #171717; transform: translateY(var(--marker-y, 0px)); transition: transform 350ms cubic-bezier(.22, 1, .36, 1), height 350ms cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.terms-content { min-width: 0; }
.terms-content section { padding-bottom: 4rem; scroll-margin-top: 3rem; }
.terms-content h2 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 2.7vw, 2rem); line-height: 1.35; letter-spacing: -.04em; font-weight: 600; }
.terms-content p, .terms-content ul { margin: 0 0 1.3rem; color: #686868; font-size: 1.05rem; line-height: 1.9; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere; }
.terms-content ul { padding-left: 1.3rem; }
.terms-content li { padding-left: .2rem; margin-bottom: .5rem; }
.terms-content section > :last-child { margin-bottom: 0; }
.terms-content a:hover { color: #171717; }
.terms-footer { border-top: solid .1rem #ddd; padding-top: 2rem; display: flex; justify-content: space-between; gap: 1.5rem; color: #777; font-size: .8rem; line-height: 1.6; }
.terms-footer p { margin: 0; }
@media (max-width: 760px) {
  .terms-page { padding: 2rem 1.25rem; }
  .terms-header h1 { margin-top: 2.5rem; }
  .terms-layout { display: block; margin-top: 2.5rem; }
  .terms-sidebar { top: 0; z-index: 1; background: #f5f5f4; padding: .7rem 0; margin: 0 -1.25rem 2rem; }
  .terms-nav { border-left: 0; border-bottom: solid .1rem #ddd; overflow-x: auto; }
  .terms-nav ol { display: flex; width: max-content; padding: 0 .7rem; }
  .terms-nav a { padding: .55rem .65rem; border-bottom: 2px solid transparent; }
  .terms-nav a[aria-current] { border-bottom-color: currentColor; }
  .active-marker { display: none; }
  .terms-content section { scroll-margin-top: 6rem; padding-bottom: 3rem; }
  .terms-content p, .terms-content ul { font-size: 1rem; }
  .terms-footer { flex-direction: column; }
}
