@font-face {
  font-family: 'Kirun Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Kirun Space';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
.page-kirun {
  --head: 'Kirun Space', 'Segoe UI', sans-serif;
  --body: 'Kirun Inter', 'Segoe UI', sans-serif;
  --accent: #d4b8ff;
  --accent-ink: #21152f;
  --accent-soft: rgba(212, 184, 255, .12);
}
@media (prefers-color-scheme: light) {
  .page-kirun {
    --bg: #0a0d14;
    --bar: rgba(10, 13, 20, .94);
    --surface: #121726;
    --hair: rgba(255, 255, 255, .08);
    --hair-2: rgba(255, 255, 255, .15);
    --text: #eef1f7;
    --text-2: #afb8cb;
    --muted: #9aa4b9;
    --live: #34d399;
  }
}
.page-kirun main { padding-bottom: 40px; }
.page-kirun main .wrap { max-width: 840px; }
.page-kirun main > .wrap:first-child { padding-top: 40px; }
.page-kirun .crumb { margin-bottom: 26px; font-size: 14px; }
.page-kirun .crumb a { color: var(--muted); text-decoration: none; }
.page-kirun .crumb a:before { content: '\2190'; margin-right: 8px; }
.page-kirun .crumb a:hover { color: var(--text); }
.page-kirun .story-app { margin-bottom: 36px; }
.kr-intro { padding-bottom: 28px; border-bottom: 1px solid var(--hair-2); }
.kr-intro h1 { max-width: 660px; margin-bottom: 18px; font-size: 36px; line-height: 1.08; }
.kr-intro p { max-width: 680px; color: var(--text); font-size: 18px; line-height: 1.6; }
.kr-section { padding-top: 40px; }
.kr-section h2 { margin-bottom: 18px; font-size: 26px; line-height: 1.16; }
.kr-section p, .kr-steps li { color: var(--text-2); }
.kr-section p + p { margin-top: 18px; }
.kr-section a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.kr-section a:not(.btn):hover { color: var(--accent); }
.kr-steps { list-style: none; margin-top: 22px; padding: 0; counter-reset: kr-step; }
.kr-steps li { position: relative; padding: 0 0 18px 46px; counter-increment: kr-step; }
.kr-steps li:last-child { padding-bottom: 0; }
.kr-steps li:before {
  content: counter(kr-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 15px/30px var(--head);
  text-align: center;
  border-radius: 14px 14px 5px 5px;
}
.kr-steps strong { color: var(--text); }
.kr-tally {
  width: 100%;
  margin: 22px 0 18px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 16px;
}
.kr-tally caption {
  padding: 10px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 16px/1.5 var(--head);
  text-align: left;
  border-radius: 10px 10px 0 0;
}
.kr-tally th, .kr-tally td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--hair); }
.kr-tally thead th { color: var(--text-2); font-size: 14px; font-weight: 500; }
.kr-tally tbody th { font-weight: 500; }
.kr-tally tr > :last-child { text-align: center; }
.kr-tally tbody td:last-child { color: var(--accent); font: 700 19px/1.3 var(--head); }
.kr-tally tbody tr:nth-child(3) > * { border-top: 2px solid var(--hair-2); }
.kr-pair { display: grid; justify-content: center; grid-gap: 26px; margin-top: 26px; }
.kr-pair figure { margin: 0; width: 270px; max-width: 100%; }
.kr-pair img { width: 100%; height: auto; border-radius: 15px; border: 1px solid var(--hair-2); }
.kr-pair figcaption { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.kr-pair figcaption strong { color: var(--text); }
.kr-limits { border-top: 2px solid var(--accent); background: var(--surface); padding: 22px; border-radius: 0 0 12px 12px; }
.kr-end { margin-top: 34px; }
.kr-end .btn { margin: 0 18px 10px 0; vertical-align: middle; }
.kr-end a:not(.btn) { display: inline-block; margin-bottom: 10px; vertical-align: middle; }
@media (max-width: 600px) {
  .kr-tally { min-width: 0; font-size: 15px; }
  .kr-tally th, .kr-tally td { min-width: 0; padding: 9px 8px; }
  .kr-tally tr > :first-child { white-space: nowrap; }
}
@media (min-width: 640px) {
  .kr-pair { grid-template-columns: 270px 270px; grid-gap: 32px; }
}
@media (min-width: 900px) {
  .page-kirun main > .wrap:first-child { padding-top: 64px; }
  .kr-section { padding-top: 56px; }
  .kr-intro h1 { font-size: 50px; }
  .kr-intro p { font-size: 20px; }
  .kr-section h2 { font-size: 32px; }
  .kr-limits { padding: 28px 32px; }
}
