/* TakeHome · /privacy/ and /terms/ (2026-11-13). Reading pages: one paper sheet, a short index beside it.
   Uses the tokens and shared pieces of base.css; nothing here is used by other pages. */

.l-top .link { font-size: 0.9375rem; padding: 12px 0; }

.l-main { padding-block: clamp(20px, 4vw, 56px) clamp(40px, 6vw, 88px); }
.l-intro { max-width: 60ch; }
.l-intro h1 { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.l-intro .lead { margin-top: 18px; max-width: 52ch; }
.l-date { margin-top: 14px; color: var(--muted); }

.l-grid { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 4vw, 56px); }

.l-index { font-size: 0.9375rem; }
.l-index p { font-weight: 700; margin-bottom: 8px; }
.l-index ol { display: grid; gap: 0; counter-reset: l; }
.l-index a { display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 0; text-decoration: none; color: var(--muted); font-weight: 600; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); transition: color var(--t-fast) ease; }
.l-index a::before { counter-increment: l; content: counter(l, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: 0.8125rem; color: var(--accent); font-weight: 700; flex: none; }
.l-index a:hover { color: var(--ink); }

.l-sheet { background: var(--paper); border-radius: var(--r-tile); padding: clamp(22px, 4vw, 56px); min-width: 0; }
.l-sheet section { max-width: 66ch; scroll-margin-top: 24px; }
.l-sheet section + section { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.l-sheet h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.l-sheet h3 { font-size: 1.0625rem; font-weight: 700; margin-top: 22px; }
.l-sheet p { margin-top: 12px; text-wrap: pretty; }
.l-sheet ul { margin-top: 12px; display: grid; gap: 8px; }
.l-sheet li { position: relative; padding-left: 20px; }
.l-sheet li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.l-sheet a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }
.l-sheet a:hover { color: var(--accent); }
.l-sheet strong { font-weight: 700; }

.l-note { margin-top: 18px; background: var(--accent-soft); border-radius: var(--r-ui); padding: 16px 18px; }
.l-note p { margin-top: 0; }
.l-note p + p { margin-top: 8px; }

.l-table { margin-top: 14px; display: grid; gap: 0; }
.l-table div { display: grid; gap: 2px 20px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.l-table dt { font-weight: 700; }
.l-table dd { color: var(--muted); }

.l-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 36px; font-size: 0.9375rem; color: var(--muted); }
.l-foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.l-foot-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 640px) {
  .l-table div { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .l-grid { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: start; }
  .l-index { position: sticky; top: 24px; }
}
@media print {
  .l-top .link, .l-index, .l-foot-links { display: none; }
  body { background: #ffffff; }
  .l-sheet { padding: 0; }
}
