:root {
  --bg: #0b0b0b;
  --fg: #ededed;
  --muted: #9a9a9a;
  --quiet: #808080;
  --marker: #5e5e5e;
  --koi: #f0553a;
  --sans:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--koi);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--koi);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
p,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration-color: #3a3a3a;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--koi);
}

.wrap {
  width: min(1000px, 100% - 40px);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  min-height: min(760px, 92vh);
  padding-top: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand img {
  display: block;
}

.brand span {
  color: var(--quiet);
  font-weight: 400;
}

h1 {
  max-width: 560px;
  margin-top: 30px;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font: 550 14px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}

.primary {
  background: var(--fg);
  color: var(--bg);
}

.primary:hover {
  background: #fff;
}

.ghost {
  border: 1px solid #2a2a2a;
}

.ghost:hover {
  border-color: #3d3d3d;
  background: #141414;
}

.note {
  max-width: 480px;
  margin-top: 14px;
  color: var(--quiet);
  font-size: 13px;
}

/* The intro reveals the cells. Until koi.js takes over, they stay hidden, and they show after
   3 s in case it never runs. koi-still.css shows them at once without JavaScript. */
.koi {
  justify-self: start;
  margin: 0;
  font: 500 15px/1 var(--mono);
  letter-spacing: 0;
  white-space: pre;
  user-select: none;
}

.koi i {
  font-style: normal;
  visibility: hidden;
  animation: koi-fallback 0s 3s forwards;
}

.koi.live i {
  visibility: visible;
  animation: none;
}

.koi .z {
  color: #6b6b6b;
}

@keyframes koi-fallback {
  to {
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koi i {
    visibility: visible;
    animation: none;
  }
}

/* koi:start, written by koi-markup.ts */
.k0 {
  color: #ff4828;
}
.k1 {
  color: #ff4830;
}
.k2 {
  color: #ff5030;
}
.k3 {
  color: #ff5838;
}
.k4 {
  color: #ff6048;
}
.k5 {
  color: #ff6848;
}
.k6 {
  color: #ff6850;
}
.k7 {
  color: #ff7050;
}
.k8 {
  color: #ff7858;
}
.k9 {
  color: #ff8060;
}
.ka {
  color: #ff8868;
}
.kb {
  color: #ff9070;
}
.kc {
  color: #ff9880;
}
.kd {
  color: #ffa080;
}
.ke {
  color: #ffa888;
}
.kf {
  color: #ffb090;
}
.kg {
  color: #ffb898;
}
.kh {
  color: #ffc0a0;
}
.ki {
  color: #ffd0b0;
}
.kj {
  color: #ffe0c0;
}
.kk {
  color: #ffe8c8;
}
.kl {
  color: #fff8d8;
}
.km {
  color: #ffffe0;
}
.koi {
  color: #fffff8;
}
/* koi:end */

main > section {
  max-width: 600px;
  margin-top: 88px;
}

h2 {
  margin-bottom: 18px;
  font-size: 15px;
}

.features {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.features li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.features li::before {
  content: "-";
  position: absolute;
  left: 2px;
  color: var(--marker);
}

.features b,
.faq dt {
  color: var(--fg);
  font-weight: 600;
}

.shots {
  display: grid;
  gap: 48px;
  margin-top: 88px;
}

.shots:empty {
  display: none;
}

.shots figure {
  margin: 0;
}

.shots picture,
.shots img {
  display: block;
}

.shots figcaption {
  margin-top: 12px;
  color: var(--quiet);
  font-size: 13px;
}

.shots img {
  width: 100%;
  height: auto;
  border: 1px solid #232323;
  border-radius: 12px;
}

.faq {
  display: grid;
  gap: 22px;
}

.faq dd {
  margin-top: 4px;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 112px;
  margin-bottom: 48px;
  color: var(--quiet);
  font-size: 13px;
}

.footer nav {
  display: flex;
  gap: 18px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--fg);
}

.missing {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100vh;
}

.missing p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-top: 56px;
  }

  .koi {
    order: -1;
    font-size: 10px;
  }

  h1 {
    font-size: 38px;
  }
}
