/* ===== the text-document template — policies, terms, anything long-form.
   The header, the closing CTA and the footer come from the landing's own
   style.css; this file dresses the prose between them. ===== */

/* ===== the title block ===== */
.doc-head {
  padding: 140px 40px 44px;
  border-bottom: 1px solid var(--line);
}
.doc-head .label { margin-bottom: 20px; }
.doc-head h1 { max-width: 900px; }
.doc-meta {
  margin-top: 20px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt40);
}
.doc-meta a { color: var(--txt70); transition: color .2s; }
.doc-meta a:hover { color: #fff; }

/* ===== the prose ===== */
.doc-body {
  /* a measure the eye can track: long enough to read, short enough to return */
  max-width: 720px;
  padding: 64px 40px 104px;
}
.doc-lead {
  font-family: var(--sans);
  font-size: 22px; line-height: 1.5; font-weight: 400;
  color: var(--txt70);
  margin-bottom: 12px;
}
.doc-body h2 {
  font-size: 26px;
  /* no rule above the heading: the space alone does the separating */
  margin-top: 64px;
}
.doc-body h3 {
  font-family: var(--sans); font-size: 19px; font-weight: 400;
  margin-top: 34px;
}
.doc-body p {
  font-size: 16px; line-height: 28px;
  color: var(--txt70);
  margin-top: 18px;
}
.doc-body strong { color: #fff; font-weight: 600; }
.doc-body a { color: var(--blue); transition: color .2s; }
.doc-body a:hover { color: #fff; }

/* lists wear the brand square, the way every list on the site does */
.doc-body ul, .doc-body ol { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.doc-body li {
  position: relative;
  padding-left: 26px;
  font-size: 16px; line-height: 28px;
  color: var(--txt70);
}
.doc-body ul li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px;
  background: linear-gradient(180deg, #4cc4ff, #0271b8);
}
.doc-body ol { counter-reset: doc; }
.doc-body ol li { counter-increment: doc; }
.doc-body ol li::before {
  content: counter(doc);
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 13px;
  color: var(--blue);
}

/* a pulled-aside note, in the panel's voice */
.doc-body blockquote {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
  font-family: var(--ui); font-size: 15px; line-height: 26px;
  color: var(--txt70);
}

/* ===== news index ===== */
.news-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.news-item:hover .news-title { color: var(--blue); }
.news-date {
  grid-row: 1 / span 2;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt40);
  padding-top: 4px;
}
.news-title {
  font-family: var(--sans); font-size: 20px; font-weight: 500;
  color: #fff;
  transition: color .2s;
}
.news-sum {
  font-size: 15px; line-height: 24px;
  color: var(--txt50);
}

/* ===== phones ===== */
@media (max-width: 700px) {
  .doc-head { padding: 110px 20px 34px; }
  .doc-body { padding: 44px 20px 72px; }
  .doc-lead { font-size: 19px; }
  .doc-body h2 { font-size: 23px; margin-top: 44px; }
  .news-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 8px;
  }
  .news-date { grid-row: auto; }
}
