@font-face {
  font-family: 'Ulertu Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Ulertu Space';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
}

.page-ulertu {
  --head: 'Ulertu Space', 'Segoe UI', Arial, sans-serif;
  --body: 'Ulertu Inter', 'Segoe UI', Arial, sans-serif;
  --accent: #c5b3ff;
  --accent-ink: #211634;
  --accent-soft: rgba(197, 179, 255, .12);
  --bg: #0a0d14;
  --surface: #121726;
  --hair: rgba(255, 255, 255, .09);
  --hair-2: rgba(255, 255, 255, .19);
  --text: #eef1f7;
  --text-2: #bdc3d3;
  --muted: #a1a9bb;
  --bar: rgba(10, 13, 20, .96);
  --live: #59dca8;
}
.page-ulertu main { padding-bottom: 40px; }
.page-ulertu main .wrap { max-width: 836px; }
.page-ulertu main > .wrap:first-child { padding-top: 40px; }
.page-ulertu .crumb { margin: 0 0 28px; font-size: 14px; }
.page-ulertu .crumb a { color: var(--muted); text-decoration: none; }
.page-ulertu .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-ulertu .crumb a:hover { color: var(--accent); }
.page-ulertu .story-app { margin-bottom: 36px; }
.ul-hero { border-bottom: 1px solid var(--hair-2); padding-bottom: 26px; }
.ul-byline { margin: 0 0 12px; font: 600 13px/1.5 var(--head); color: var(--accent); }
.ul-hero h1 { max-width: 15em; margin-bottom: 18px; font-size: 36px; line-height: 1.08; letter-spacing: -.035em; }
.ul-hero p:last-child { max-width: 40em; color: var(--text-2); font-size: 18px; line-height: 1.65; }

.ul-section { margin-top: 40px; }
.ul-section h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.2; }
.ul-section p, .ul-tests { color: var(--text-2); }
.ul-section p + p, .ul-section p + ul { margin-top: 18px; }
.ul-section strong { color: var(--text); font-weight: 600; }
.ul-section a, .ul-end a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.ul-section a:hover, .ul-end a:not(.btn):hover { color: var(--accent); }

.ul-formula {
  display: flex;
  align-items: center;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--hair-2);
  border-radius: 8px;
  background: var(--surface);
  font: 500 17px/1.5 Consolas, 'Courier New', monospace;
}
.ul-formula span { align-self: stretch; padding: 13px 18px; background: var(--accent-soft); border-right: 1px solid var(--hair-2); color: var(--accent); }
.ul-formula code { padding: 10px 16px; font: inherit; }
.ul-table { width: 100%; margin: 22px 0 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ul-table caption { padding-bottom: 8px; text-align: left; font: 600 15px/1.5 var(--head); color: var(--text-2); }
.ul-table th, .ul-table td { padding: 10px 18px; border-bottom: 1px solid var(--hair-2); text-align: right; }
.ul-table th:first-child { text-align: left; }
.ul-table thead th { background: var(--surface); color: var(--text-2); font: 600 14px/1.5 var(--body); }
.ul-table tbody th { font-weight: 500; }
.ul-table tbody tr:last-child { background: var(--accent-soft); }
.ul-table tbody tr:last-child td:last-child { font-weight: 700; color: var(--accent); }
.ul-tests { padding: 0; list-style: none; }
.ul-tests li { position: relative; padding-left: 20px; }
.ul-tests li + li { margin-top: 12px; }
.ul-tests li:before { position: absolute; content: ""; width: 7px; height: 7px; left: 0; top: .6em; border: 1px solid var(--accent); }

.ul-shots { display: grid; justify-content: center; grid-template-columns: 280px; grid-gap: 24px; margin: 26px 0; }
.ul-shots figure { margin: 0; }
.ul-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--hair-2); border-radius: 9px; }
.ul-shots figcaption { padding-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ul-limits { padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--surface); }
.ul-limits h2 { font-size: 22px; margin-bottom: 10px; }
.ul-end { margin-top: 36px; }
.ul-end a { display: inline-block; vertical-align: middle; margin-bottom: 8px; }
.ul-end .btn { margin-right: 16px; }

@media (max-width: 600px) {
  .ul-table { min-width: 0; font-size: 15px; }
  .ul-table th, .ul-table td { padding: 8px 10px; }
  .ul-table th:first-child { white-space: nowrap; }
  .ul-shots { grid-template-columns: 1fr; }
  .ul-shots figure { width: 100%; max-width: 280px; margin: 0 auto; }
}
@media (min-width: 640px) {
  .ul-shots { grid-template-columns: 280px 280px; grid-gap: 28px; }
}
@media (min-width: 900px) {
  .page-ulertu main > .wrap:first-child { padding-top: 64px; }
  .ul-hero { padding-bottom: 34px; }
  .ul-hero h1 { font-size: 50px; }
  .ul-hero p:last-child { font-size: 20px; }
  .ul-section { margin-top: 56px; }
  .ul-section h2 { font-size: 30px; }
  .ul-limits h2 { font-size: 24px; }
}
