@font-face {
  font-family: Inter;
  src: url(assets/inter.woff) format("woff");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f9f7ef;
  --ink: #1a233c;
  --blue: #183abb;
  --border: #cecec4;
  --muted: #575e6e;
  --mono: ui-monospace, "Courier New", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 Inter,
    Arial,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.wrap {
  width: min(1220px, 90vw);
  margin: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.skip {
  position: absolute;
  left: -200vw;
  z-index: 5;
  background: white;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid #ee9b34;
  outline-offset: 4px;
}
header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 23px;
  letter-spacing: -0.065em;
}
.brand i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
}
.brand i:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: 10px;
  top: 4px;
  background: var(--paper);
  border-radius: 50%;
}
nav {
  display: flex;
  gap: 26px;
}
nav a {
  font-size: 13px;
  font-weight: 550;
}
nav a:hover,
.download:hover {
  color: var(--blue);
}
#ticker,
.kicker,
figcaption,
.files small,
footer > span,
.range output,
#light-state {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
}
#ticker {
  border: 1px solid #8992b4;
  background: transparent;
  border-radius: 24px;
  padding: 7px 13px;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #1738b7;
  color: #fffdf1;
}
.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #102784a6 0%, transparent 61%);
}
.hero-content {
  min-height: clamp(450px, 38vw, 650px);
  display: flex;
  align-items: center;
  padding-block: 50px;
}
.statement {
  width: 47%;
}
.kicker {
  color: var(--blue);
}
.hero .kicker {
  color: #e0e5ff;
}
.hero h1 {
  font:
    500 clamp(64px, 7.2vw, 117px)/0.91 Georgia,
    serif;
  letter-spacing: -0.075em;
  margin: 22px 0 17px;
}
.hero h1 em {
  font-weight: 400;
}
.hero p {
  max-width: 38ch;
  color: #f0efff;
  font-size: clamp(14px, 1.2vw, 19px);
  margin-bottom: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 11px 18px;
  border-radius: 99px;
  font-weight: 650;
  font-size: 13px;
}
.white {
  background: #fcfbf1;
  color: var(--blue);
}
.sub,
.download,
.reset {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sub {
  margin-left: 16px;
}
.section {
  padding-block: clamp(40px, 5.6vw, 88px);
  border-bottom: 1px solid var(--border);
}
.titlebar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 23px;
}
.section h2 {
  font:
    500 clamp(41px, 4.6vw, 74px)/1 Georgia,
    serif;
  letter-spacing: -0.067em;
  margin-top: 9px;
}
.titlebar p,
.short p {
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.table {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 0.83fr);
  border: 1px solid var(--border);
  background: #eeede5;
}
.table canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  background: #2344ba;
}
.table aside {
  padding: clamp(18px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.table h3 {
  font-size: 23px;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
}
.range {
  margin: 0 0 20px;
}
.range label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.range input {
  accent-color: var(--blue);
  margin: 10px 0 0;
  width: 100%;
}
.range output {
  color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blue {
  background: var(--blue);
  color: white;
}
.reset {
  border: 0;
  background: none;
}
#light-state {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.short {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.short h2 {
  font-size: clamp(54px, 6.3vw, 100px);
}
.short p {
  margin: 16px 0 20px;
}
.short figure {
  max-width: 465px;
  justify-self: end;
  width: 100%;
  border: 1px solid var(--border);
  background: #f4f1e8;
}
video {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  background: var(--blue);
}
figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  font-size: 10px;
}
figcaption span,
.files small {
  color: var(--muted);
}
.files {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 17px;
  margin: 0 0 18px;
}
.files a {
  border: 1px solid var(--border);
  background: #fffdf5;
}
.files a:hover {
  border-color: var(--blue);
}
.files img {
  width: 100%;
  height: clamp(125px, 16vw, 220px);
  object-fit: contain;
  background: #193db5;
}
.files a > div {
  display: grid;
  padding: 11px 13px;
}
.files small {
  font-size: 9px;
}
.files b {
  font-size: 17px;
  letter-spacing: -0.035em;
}
footer {
  padding-block: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
footer > span {
  color: var(--blue);
}
footer > a:last-child {
  font-size: 12px;
}
#notice {
  position: fixed;
  z-index: 5;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}
@media (max-width: 800px) {
  .nav {
    min-height: 60px;
  }
  nav {
    gap: 15px;
  }
  .table {
    grid-template-columns: 1.55fr 1fr;
  }
  .hero-content {
    min-height: 400px;
  }
  .short {
    gap: 24px;
  }
  .table canvas {
    min-height: 240px;
  }
}
@media (max-width: 600px) {
  .nav {
    gap: 6px;
    flex-wrap: wrap;
    padding-block: 9px;
  }
  .brand {
    font-size: 21px;
  }
  .nav nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .hero {
    padding-bottom: 45vw;
  }
  .hero > img {
    inset: auto 0 0;
    height: 47vw;
    object-position: 75% center;
  }
  .hero:after {
    display: none;
  }
  .hero-content {
    min-height: 0;
    padding: 23px 0 5px;
  }
  .statement {
    width: 100%;
  }
  .hero h1 {
    font-size: 63px;
    margin: 14px 0;
  }
  .hero p {
    margin-bottom: 16px;
  }
  .titlebar {
    display: block;
  }
  .titlebar p {
    margin-top: 10px;
  }
  .table,
  .short {
    grid-template-columns: 1fr;
  }
  .table canvas {
    min-height: 0;
    height: auto;
  }
  .range {
    margin-bottom: 12px;
  }
  .short figure {
    justify-self: start;
  }
  .files {
    grid-template-columns: 1fr;
  }
  .files a:last-child img {
    height: auto;
    aspect-ratio: 3/1;
  }
  footer .brand {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
