/* Shared by link.us's text pages (What's new, Privacy, Security). The font
   is served from link.us itself: no third-party requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter.woff2) format("woff2"); }
:root { --bg: #050507; --line: #23252F; --text: #F3F4F8; --muted: #A3A7BA; --soft: #D6D8E3; --accent: #9AA5FF; }
* { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px 4rem; }
/* Same frame as the homepage; text stays in a readable column on the left. */
.wrap > :not(header):not(footer):not(.tgrid) { max-width: 48rem; }
/* ---------- Header (nav.py, nav.js): the same as the homepage's ---------- */
.nav { --line-strong: rgba(255, 255, 255, 0.2); --hi: #9AA5FF; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  position: sticky; top: 0; z-index: 20; background: rgba(5, 5, 7, 0.8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.3s ease; }
.nav.away { transform: translateY(-100%); }
.nav a { text-decoration: none; overflow-wrap: normal; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 68px; padding-bottom: 0; }
.nav ~ .wrap { padding-top: 2.6rem; }
@keyframes nodePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.wordmark { display: flex; align-items: baseline; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.wordmark-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9AA5FF; margin: 0 3px; box-shadow: 0 0 10px rgba(154, 165, 255, 0.8); animation: nodePulse 3s ease-in-out infinite; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { min-height: 44px; display: flex; align-items: center; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #FFFFFF; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-btn { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); border: 1px solid var(--line-strong); transition: border-color 0.2s, background 0.2s; }
.nav-btn:hover { border-color: var(--hi); }
.nav-btn.primary { font-weight: 600; color: #050507; background: #FFFFFF; border-color: #FFFFFF; padding: 0 18px; }
.nav-btn.primary:hover { background: var(--hi); border-color: var(--hi); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; background: none; border: 0; border-radius: 10px; color: var(--text); cursor: pointer; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
@media (max-width: 960px) { .nav-links, .nav-actions { display: none; } .nav-toggle { display: inline-flex; } }
.drawer-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(320px, 86vw); display: flex; flex-direction: column; padding: 12px 16px 24px; overflow-y: auto; overscroll-behavior: contain;
  background: #0D0E13; border-left: 1px solid rgba(255, 255, 255, 0.2); box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%); visibility: hidden; transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.32s; }
.drawer.open { transform: none; visibility: visible; transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
.drawer.open + .drawer-scrim { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.drawer:focus { outline: none; }
.drawer .nav-toggle { display: inline-flex; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 8px; }
.drawer-head span { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.drawer a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--text); text-decoration: none; }
.drawer a:hover, .drawer a:focus-visible, .drawer a[aria-current] { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; }
.drawer hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.09); margin: 10px 4px; }
.drawer .drawer-sub { font-size: 15.5px; color: var(--muted); min-height: 44px; }
body.drawer-lock { overflow: hidden; }
@media (min-width: 961px) { .drawer, .drawer-scrim { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav, .drawer, .drawer-scrim, .wordmark-dot { transition: none; animation: none; } }
.btn { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.1rem; border-radius: 999px; background: #fff; color: #050507; font-weight: 600; text-decoration: none; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem; }
.lede { color: var(--muted); margin: 0 0 2.4rem; }
section { border-top: 1px solid var(--line); padding: 1.6rem 0 .4rem; }
h2 { font-size: 1.25rem; margin: 0 0 .8rem; }
h3 { font-size: 1.02rem; margin: 1.2rem 0 .4rem; }
p { color: var(--soft); margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0 0 .6rem; color: var(--soft); }
strong { color: var(--text); }
a { color: var(--accent); overflow-wrap: anywhere; }
code { font-size: .9em; background: #14151C; padding: .1em .35em; border-radius: 5px; }
/* A page's own closing note (links for agents, other changelogs), above the shared footer. */
.page-note { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin: 2rem 0 0; padding-top: 1.2rem; }
.page-note a + a { margin-left: 1rem; }
/* ---------- Footer (nav.py): the same as the homepage's ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 64px 0 44px; }
.footer > .wrap { padding-bottom: 0; }
.footer > .wrap > .footer-grid, .footer > .wrap > .footer-bottom, .nav > .wrap.nav-inner > * { max-width: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 56px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer a { text-decoration: none; overflow-wrap: normal; }
.footer-brand .wordmark { margin-bottom: 16px; }
.footer-brand .wordmark-dot { animation: none; box-shadow: none; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 300px; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-col h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: #9AA5FF; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: #6E7286; }
