/* Download-page composition only. Tokens and ts-* come from trafficsense.css. */
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.mast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--ts-space-8);
  align-items: center;
  padding: var(--ts-space-16) max(24px, calc((100vw - 40rem) / 2));
  color: var(--ts-on-brand);
  background: var(--ts-brand-strong);
  border-bottom: 6px solid var(--ts-accent);
}
.mast .brand-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--ts-accent);
}
.mast .brand-symbol img,
.mast .brand-symbol svg {
  width: 40px;
  height: 40px;
}
.mast .ts-eyebrow {
  color: var(--ts-accent);
}
.mast h1 {
  margin: var(--ts-space-3) 0 0;
  color: var(--ts-on-brand);
  font-size: var(--text-title-2);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
}

main {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: var(--ts-space-16) 0;
  display: grid;
  gap: var(--ts-space-8);
}

.release {
  display: grid;
  gap: var(--ts-space-6);
  padding: var(--ts-space-10);
}
.release .ts-flag {
  justify-self: start;
}
.release-version {
  color: var(--ts-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
}
.download {
  justify-self: start;
}

.steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--ts-space-6);
  padding: var(--ts-space-8) 0;
  border-bottom: 1px solid var(--ts-border);
  color: var(--ts-text-muted);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ts-on-accent);
  background: var(--ts-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

code {
  display: inline-block;
  padding: var(--ts-space-1) var(--ts-space-3);
  color: var(--ts-text);
  background: var(--ts-surface-sunken);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.notice {
  display: block;
  padding: var(--ts-space-8);
}

footer {
  padding: var(--ts-space-8) max(24px, calc((100vw - 40rem) / 2));
  color: var(--ts-text-on-dark);
  background: var(--ts-brand-strong);
  font-size: var(--text-xs);
}
