body.site {
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 15px;
}

.site a {
  color: inherit;
  text-decoration: none;
}

.site p a,
.site .arrow,
.site .link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-2);
}

.site p a:hover,
.site .arrow:hover,
.site .link:hover {
  text-decoration-color: var(--accent);
  color: var(--accent);
}

.site code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 1px 4px;
  border-radius: var(--r);
}

.site__bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
  padding: 0 clamp(16px, 5vw, 56px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site__mark {
  font-family: var(--brand), var(--ui);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.site__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.site__nav a:hover {
  color: var(--ink);
}

.site__nav--end {
  gap: 14px;
}

.site__spacer {
  flex: 1;
}

.site__inline {
  display: inline;
}

.site .link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
}

.site__cta {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 5px 11px;
  color: var(--ink);
}

.site__cta:hover {
  border-color: var(--ink);
}

.site__theme {
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

.site__theme:hover {
  color: var(--ink);
}

.site__main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 56px);
}

.site__main > section {
  padding-block: clamp(44px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.site__main > section:first-child {
  border-top: 0;
}

.site__flashes {
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 0 clamp(16px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flash {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-left-width: 2px;
  border-radius: var(--r);
  font-size: 13.5px;
  background: var(--surface);
}

.flash--error {
  border-left-color: var(--accent);
  color: var(--ink);
}

.flash--ok {
  border-left-color: var(--ok);
}

.rule-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 9px;
  margin-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line-strong);
}

.rule-head > span:first-child {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.rule-head__note {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.mast {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 76px) !important;
}

.mast__line {
  font-family: var(--brand), var(--ui);
  font-weight: 400;
  font-size: clamp(32px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  text-wrap: balance;
}

.mast__lede {
  margin: 0 0 26px;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.mast__go {
  margin: 0 0 10px;
}

.mast__go a {
  font-family: var(--brand), var(--ui);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

.mast__go a::after {
  content: ' \2192';
}

.mast__go a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.mast__fine {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 46ch;
}

.mast__art {
  margin: 0;
  min-width: 0;
}

.glyph-art {
  display: block;
  width: 100%;
  height: auto;
}

.glyph-art__metrics line {
  stroke: var(--line-2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.glyph-art__metrics line.is-base {
  stroke: var(--ink-3);
}

.glyph-art__metrics line.is-advance {
  stroke: var(--line);
  stroke-dasharray: 3 4;
}

.glyph-art__label {
  fill: var(--ink-4);
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.glyph-art__fill {
  fill: var(--ink);
}

.glyph-art__handles line {
  stroke: var(--ink-4);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.glyph-art__off circle {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.glyph-art__on rect,
.glyph-art__on circle {
  fill: var(--accent);
}

.mast__art figcaption {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 44ch;
}

.mast__art figcaption b {
  font-family: var(--brand), var(--ui);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
}

.water__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: clamp(8px, 1.4vw, 16px) 0;
  border-bottom: 1px solid var(--line);
}

.water__row:last-child {
  border-bottom: 0;
}

.water__size {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.water__line {
  font-family: var(--brand), var(--ui);
  margin: 0;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}

.charset__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--brand), var(--ui);
}

.charset__grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.7vw, 21px);
  color: var(--ink);
}

.charset__grid span:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.charset__note {
  margin: 24px 0 0;
  max-width: 64ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-3);
}

.sheet__list {
  margin: 0;
}

.sheet__row {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}

.sheet__row:first-child {
  border-top: 1px solid var(--line);
}

.sheet__row dt {
  margin: 0;
}

.sheet__row dt a {
  font-family: var(--brand), var(--ui);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sheet__row dt a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.sheet__path {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
}

.sheet__row dd {
  margin: 0;
}

.sheet__row dd p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 54ch;
}

.sheet__terms {
  font-size: 12.5px !important;
  line-height: 1.75 !important;
  color: var(--ink-3) !important;
  margin-bottom: 0 !important;
  max-width: 62ch !important;
}

.colophon__lede {
  margin: 0 0 26px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.colophon__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 0;
  border-top: 1px solid var(--line);
}

.colophon__grid > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.colophon__grid dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
}

.colophon__grid dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.colophon__foot {
  margin: 24px 0 0;
  max-width: 64ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-4);
}

.tail__line {
  margin: 0 0 14px;
}

.tail__line a {
  font-family: var(--brand), var(--ui);
  font-size: clamp(30px, 5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

.tail__line a::after {
  content: ' \2192';
}

.tail__line a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tail__note {
  margin: 0;
  max-width: 56ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-3);
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
}

.btn-lg:hover {
  border-color: var(--ink);
}

.btn-lg--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-lg--solid:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.arrow {
  font-size: 13.5px;
}

.arrow::after {
  content: ' \2192';
  text-decoration: none;
}

@media (max-width: 900px) {
  .mast {
    grid-template-columns: 1fr;
  }

  .mast__art {
    max-width: 460px;
  }

  .sheet__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .colophon__grid > div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

.auth {
  max-width: 380px;
  margin: 0 auto;
  padding-block: clamp(48px, 9vw, 104px) !important;
  border-top: 0 !important;
}

.auth__head {
  font-family: var(--brand), var(--ui);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.auth__lede {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.form__input {
  height: 40px;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 15px;
  color: var(--ink);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
}

.form__hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-4);
}

.form__submit {
  height: 42px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  font-size: 15px;
  cursor: pointer;
}

.form__submit:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.auth__alt {
  margin: 24px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
}

.account__head {
  font-family: var(--brand), var(--ui);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.018em;
  margin: 0 0 6px;
}

.account__meta {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.projects {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.projects th,
.projects td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  vertical-align: middle;
}

.projects thead th {
  border-top: 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 8px;
}

.projects td.num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.projects td.right {
  text-align: right;
  padding-right: 0;
}

.projects__name {
  color: var(--ink);
}

.projects__acts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px 16px;
}

.projects__acts form {
  display: inline;
  margin: 0;
}

.projects__acts .projects__btn {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
}

.projects__acts .projects__btn:hover {
  color: var(--ink);
}

.projects__acts .projects__btn--danger:hover {
  color: var(--accent);
}

.danger {
  color: var(--accent);
}

.account__section {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.account__section h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}

.account__section p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 56ch;
}

.form--inline {
  max-width: 380px;
}

.form__submit--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.form__submit--quiet:hover {
  background: var(--surface-2);
  border-color: var(--ink);
}

.form__submit--danger {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-line);
}

.form__submit--danger:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.empty-note {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.site__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 22px clamp(16px, 5vw, 56px) 34px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

.site__foot > span:first-child {
  font-family: var(--brand), var(--ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.site__foot__note {
  color: var(--ink-4);
}

.site__foot__copy {
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .cols,
  .split {
    grid-template-columns: 1fr;
  }

  table.spec th {
    width: 120px;
  }

  .site__nav a[href$='/text'],
  .site__nav a[href$='/font'] {
    display: none;
  }

  .projects th.hide-sm,
  .projects td.hide-sm {
    display: none;
  }
}
