/* Terms and policies (ktretreats.com/terms), from the Paper artboard "Terms · ktretreats.com/terms".
   Loads after /summit/style.css, which brings the fonts, colours, labels and footer. */

.terms-page { background: var(--paper); }

.t-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 96px; padding-inline: 48px; border-bottom: 1px solid var(--line-sand); }
.t-brand { display: flex; align-items: center; gap: 12px; }
.t-brand img { display: block; height: 16px; width: auto; }
.t-brand span { font-family: var(--font-label); font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.3em; color: var(--umber); }
.t-back { font-family: var(--font-label); font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.2em; color: var(--ink); white-space: nowrap; }
.t-back:hover { color: var(--umber); }

.t-intro { display: flex; flex-direction: column; gap: 20px; padding: 110px 120px 64px; }
.t-intro h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); }
.t-lede { max-width: 760px; padding-top: 8px; font-size: 22px; line-height: 33px; color: var(--ink); }
.t-updated { padding-top: 4px; font-family: var(--font-mono); font-size: 14px; line-height: 18px; letter-spacing: 0.02em; color: rgba(25, 21, 17, 0.7); }

.t-body { display: flex; align-items: flex-start; gap: 120px; padding: 56px 120px 130px; border-top: 1px solid var(--line-sand); }

/* Contents: stays in view while you read */
.t-toc { position: sticky; top: 32px; flex-shrink: 0; width: 280px; display: flex; flex-direction: column; gap: 20px; }
.t-toc .label { letter-spacing: 0.22em; }
.t-toc ol { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.t-toc a { display: flex; gap: 14px; font-size: 17px; line-height: 22px; color: rgba(25, 21, 17, 0.7); transition: color 0.2s ease; }
.t-toc a span { flex-shrink: 0; width: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--umber); }
.t-toc a:hover, .t-toc a[aria-current] { color: var(--ink); }

.t-sections { flex: 1; min-width: 0; max-width: 760px; }
.t-sections section { display: flex; flex-direction: column; gap: 14px; padding-block: 40px; border-top: 1px solid var(--line-sand); scroll-margin-top: 24px; }
.t-sections section:first-child { padding-top: 0; border-top: 0; }
.t-sections section:last-child { padding-bottom: 0; }
.t-num { font-family: var(--font-mono); font-size: 13px; line-height: 16px; color: var(--umber); }
.t-sections h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 36px; letter-spacing: -0.01em; color: var(--ink); }
.t-sections p, .t-sections li { font-size: 19px; line-height: 30px; color: rgba(25, 21, 17, 0.7); }
.t-sections ul + p { padding-top: 6px; }
.t-sections ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.t-sections li { position: relative; padding-left: 22px; }
.t-sections li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--umber); }
.t-sections b { font-weight: 400; color: var(--ink); }
.t-sections a { color: var(--ink); text-decoration: underline 1px; text-underline-offset: 3px; }
.t-sections a:hover { color: var(--umber); }

.foot-bottom nav a[aria-current="page"] { color: var(--paper); }

@media (max-width: 1100px) {
  .t-top { padding-inline: var(--gutter); }
  .t-intro { padding: 88px var(--gutter) 56px; }
  .t-body { flex-direction: column; gap: 48px; padding: 48px var(--gutter) 104px; }
  .t-toc { position: static; width: 100%; }
  .t-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
}
@media (max-width: 720px) {
  .t-top { height: 76px; }
  .t-brand img { height: 13px; }
  .t-brand span { display: none; }
  .t-back { font-size: 11px; letter-spacing: 0.14em; }
  .t-intro { padding: 64px var(--gutter) 44px; gap: 16px; }
  .t-lede { font-size: 19px; line-height: 28px; }
  .t-toc ol { grid-template-columns: 1fr; }
  .t-sections h2 { font-size: 26px; line-height: 32px; }
  .t-sections p, .t-sections li { font-size: 17px; line-height: 27px; }
  .t-sections section { padding-block: 32px; }
}
