/* Privacy policy and terms of use (dtfix.app/privacy, /terms): the landing page's look, set for reading. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(inter-latin.woff2) format('woff2');
}
:root {
  --bg: #0d0e11;
  --surface: #16181d;
  --line: #24272e;
  --line-2: #31353e;
  --text: #ecedef;
  --text-2: #b9bdc4;
  --muted: #8d939c;
  --lime: #b7ff15;
  --lime-ink: #121317;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--lime) 70%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--lime);
}
.wrap {
  width: min(1400px, 100% - 64px);
  margin-inline: auto;
}
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand em {
  color: var(--lime);
  font-style: normal;
}
.brand .mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #1b1d22;
  color: var(--lime);
}
.top nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--text);
}
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  gap: 72px;
  padding: 72px 0 120px;
}
.toc {
  position: sticky;
  top: 32px;
  align-self: start;
  font-size: 14px;
}
.toc p {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 600;
}
.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc);
  min-width: 16px;
  color: var(--line-2);
  font-variant-numeric: tabular-nums;
}
.toc a:hover {
  color: var(--text);
}
h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}
.lead {
  margin: 0 0 48px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 17px;
}
.lead strong {
  color: var(--lime);
  font-weight: 600;
}
h2 {
  margin: 56px 0 14px;
  padding-top: 8px;
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  scroll-margin-top: 24px;
}
h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}
p,
ul {
  margin: 0 0 16px;
}
ul {
  padding-left: 22px;
}
li + li {
  margin-top: 6px;
}
strong {
  color: var(--text);
  font-weight: 600;
}
.table {
  margin: 8px 0 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
}
tr:last-child td {
  border-bottom: 0;
}
/* details the owner still has to fill in before publishing */
mark.todo {
  padding: 1px 6px;
  border-radius: 5px;
  background: #3a2a05;
  color: #ffc966;
}
.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 24px 0 32px;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover {
  color: var(--text);
}
@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 80px;
  }
  .toc {
    position: static;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top nav {
    gap: 16px;
  }
  .lead {
    padding: 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
