/* Secondary pages: models, manifesto, privacy, terms, 404 */
.page { padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 11vw, 150px); }
.page-head { padding-bottom: clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--ink); margin-bottom: clamp(36px, 5vw, 64px); }
.page-head .label { margin-bottom: 18px; }
.page-h { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 6.8vw, 100px); line-height: 0.98; letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.page-head .lede { margin-top: 22px; }
.js .page-head { animation: fadeIn 0.8s var(--ease) both; }

/* Models */
.md-sum { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; margin-top: 26px; color: var(--ink-2); max-width: 30em; }
.md-sum b { font-weight: 700; color: var(--ink); }
.md-tools { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.md-tools input { flex: 0 1 360px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); padding: 8px 0; font-family: var(--serif); font-size: 22px; outline: 0; }
.md-tools input::placeholder { color: var(--ink-3); }
.md-filters { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14.5px; }
.md-filters button { color: var(--ink-3); padding: 3px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.md-filters button:hover { color: var(--ink); }
.md-filters button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.mt td.n small { display: block; font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: var(--ink-3); margin-top: 4px; max-width: 46em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt .go { white-space: nowrap; font-size: 14px; }
.mt .go a { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.mt .go a:hover { text-decoration-color: var(--ink); }
.md-msg td { padding: 40px 0; color: var(--ink-3); }
.md-msg button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Long reading: manifesto */
.essay { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.essay-body { grid-column: 4 / span 7; font-family: var(--serif); }
.essay-body p { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--ink); margin: 0 0 22px; }
.essay-body .lead { font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.18; letter-spacing: -0.03em; margin-bottom: 40px; }
.essay-body h2 { font-weight: 700; letter-spacing: -0.025em; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 52px 0 18px; }
.essay-side { grid-column: 1 / span 2; font-size: 13.5px; color: var(--ink-3); position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.essay-side p + p { margin-top: 10px; }
.sign { margin-top: 44px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.sign svg { width: 34px; height: auto; }
.sign span { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
.essay .hero-cta { margin-top: 48px; }

/* Legal */
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.doc-body { grid-column: 4 / span 7; }
.doc-side { grid-column: 1 / span 2; font-size: 13.5px; color: var(--ink-3); }
.doc-body > p:first-child { font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.doc-body h2 { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -0.025em; margin: 48px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.doc-body p, .doc-body li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul { padding-left: 20px; margin: 10px 0 0; }
.doc-body li { margin-bottom: 8px; }
.doc-body b { font-weight: 700; color: var(--ink); }
.doc-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.doc-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc-body th, .doc-body td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc-body th { font-weight: 400; font-size: 13px; color: var(--ink-3); border-bottom-color: var(--ink); }
.doc-body td:first-child { color: var(--ink); }

/* 404 */
.nf { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.nf .label { margin-bottom: 18px; }
.nf .sd-line { font-family: var(--mono); font-size: 16px; color: var(--ink-2); margin-top: 22px; }

@media (max-width: 1000px) {
  .essay-body, .doc-body { grid-column: 1 / -1; }
  .essay-side, .doc-side { grid-column: 1 / -1; position: static; margin-bottom: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
  .essay-side p + p { margin-top: 0; }
}
@media (max-width: 760px) {
  .doc-body table, .doc-body thead, .doc-body tbody, .doc-body tr, .doc-body td { display: block; }
  .doc-body thead { display: none; }
  .doc-body tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .doc-body td { border: 0; padding: 2px 0; }
}

/* Dark title band with the night-clouds video */
.page { padding-top: 0; }
.page-band { position: relative; overflow: hidden; margin-top: calc(-1 * var(--hdr)); padding: calc(var(--hdr) + clamp(64px, 9vw, 130px)) 0 clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 72px); }
.page-band .bg-shade { background: linear-gradient(180deg, rgba(7, 20, 35, 0.62) 0%, rgba(7, 20, 35, 0.3) 45%, rgba(7, 20, 35, 0.88) 100%); }
.page-band .page-head { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.page-band .label { color: rgba(255, 255, 255, 0.7); }
.page-band .lede, .page-band .md-sum, .page-band .sd-line { color: rgba(255, 255, 255, 0.82); }
.page-band .md-sum b { color: #fff; }
.page-band .tl { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.page-band .tl:hover { text-decoration-color: #fff; }
.page-band .nf { min-height: calc(70vh - var(--hdr)); }
.page-band + .wrap:empty { display: none; }
.page:has(.nf) { padding-bottom: 0; }
.page-band:has(.nf) { margin-bottom: 0; }
