/* Terms and Privacy pages: the same look as the landing and plans pages */
:root { --line: rgba(142,162,180,.16); }
.wrap { width: min(860px, 100% - 32px); margin: 0 auto; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,19,26,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav .top { padding: 14px 0; }
.legal { padding: 44px 0 60px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.03em; }
.legal .updated { color: var(--mist); font-size: 14px; margin: 8px 0 24px; }
.legal section { border-top: 1px solid var(--line); padding: 26px 0 6px; scroll-margin-top: 80px; }
.legal h2 { font-size: 21px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--fog); font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--teal); }
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; padding: 16px 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(15,26,35,.7); font-size: 14px; }
.toc a { color: var(--fog); text-decoration: none; display: flex; align-items: center; gap: 10px; } .toc a:hover, .toc a.on { color: var(--teal); }
.toc b { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 600 11px var(--font-body); color: var(--mist);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .2s, color .2s; }
.toc a.on b { background: var(--grad); color: var(--on-accent); border-color: transparent; }
/* wide screens: a slim rail of numbers on the left; hovering opens it to show the section names */
@media (min-width: 1100px) {
  .toc { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 20; margin: 0; padding: 10px 8px;
    display: flex; flex-direction: column; gap: 4px; width: 44px; overflow: hidden; transition: width .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
  .toc:hover, .toc:focus-within { width: 290px; box-shadow: 0 20px 50px rgba(0,0,0,.5); background: rgba(15,26,35,.97); }
  .toc a { padding: 3px 0; white-space: nowrap; }
  .toc a span { opacity: 0; transition: opacity .15s; } .toc:hover a span, .toc:focus-within a span { opacity: 1; transition-delay: .08s; }
}
.callout { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(245,158,11,.45); background: rgba(245,158,11,.08); color: var(--white); margin-bottom: 12px; line-height: 1.6; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 14px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fog); }
.tbl th { color: var(--mist); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--mist); font-size: 13px; }
.foot a { color: var(--mist); }
@media (max-width: 600px) { .tbl td:nth-child(3), .tbl th:nth-child(3) { display: none; } .nav .actions .btn { padding: 9px 13px; font-size: 14px; } }
