@font-face {
  font-family: 'kj-inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'kj-space';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
.page-konjekti {
  --head: 'kj-space', 'Segoe UI', sans-serif;
  --body: 'kj-inter', 'Segoe UI', sans-serif;
  --accent: #9abaff;
  --accent-ink: #111e38;
  --accent-soft: rgba(154, 186, 255, .12);
}
.page-konjekti main .wrap { max-width: 820px; }
.page-konjekti main > .wrap:first-child { padding-top: 40px; }
.page-konjekti .crumb { margin: 0 0 26px; font-size: 14px; }
.page-konjekti .crumb a { color: var(--muted); text-decoration: none; }
.page-konjekti .crumb a:before { content: '\2190'; margin-right: 8px; }
.page-konjekti .crumb a:hover { color: var(--accent); }
.page-konjekti .story-app { margin-bottom: 36px; }
.kj-intro { border-bottom: 1px solid var(--hair-2); padding-bottom: 28px; }
.kj-intro h1 { max-width: 18em; margin: 0; font-size: 36px; line-height: 1.08; letter-spacing: -.035em; }
.kj-intro p { max-width: 40em; margin: 18px 0 0; color: var(--text-2); font-size: 18px; line-height: 1.6; }
.kj-section { margin-top: 40px; }
.kj-section h2 { max-width: 24em; margin: 0 0 18px; font-size: 26px; line-height: 1.18; }
.kj-section p { margin: 0 0 18px; color: var(--text-2); }
.kj-section p:last-child { margin-bottom: 0; }
.kj-section a, .kj-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;
}
.kj-section a:hover, .kj-end a:not(.btn):hover { color: var(--accent); }
.kj-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: kj-step; }
.kj-steps li { position: relative; padding: 12px 0 12px 35px; border-top: 1px solid var(--hair); color: var(--text-2); counter-increment: kj-step; }
.kj-steps li:last-child { padding-bottom: 0; }
.kj-steps li:before { position: absolute; top: 15px; left: 0; content: counter(kj-step); width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 600 14px/22px var(--head); text-align: center; }
.kj-section strong { color: var(--text); font-weight: 600; }
.kj-sheet { margin: 24px 0; background: var(--surface); border: 1px solid var(--hair-2); border-radius: 12px; }
.kj-table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.45; font-variant-numeric: tabular-nums; }
.kj-table caption { padding: 16px 18px 12px; color: var(--text); font: 600 18px/1.3 var(--head); text-align: left; }
.kj-table th, .kj-table td { padding: 10px 18px; }
.kj-table thead th { font-size: 14px; font-weight: 500; color: var(--text-2); vertical-align: bottom; }
.kj-table tbody th, .kj-table td { border-top: 1px solid var(--hair); }
.kj-table tbody tr:last-child { color: var(--accent); }
.kj-reading { margin-top: 24px; border-left: 3px solid var(--accent); padding: 2px 0 2px 18px; }
.kj-reading h3 { margin: 0 0 8px; font-size: 20px; color: var(--accent); }
.kj-figures { margin: 28px auto 0; display: grid; grid-template-columns: 1fr; grid-gap: 28px; justify-items: center; }
.kj-figure { width: 100%; max-width: 266px; min-width: 0; margin: 0; }
.kj-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--hair-2); border-radius: 15px; }
.kj-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.kj-limits { border: 1px solid var(--hair-2); border-radius: 12px; background: var(--surface); padding: 22px; }
.kj-limits h2 { font-size: 23px; margin-bottom: 12px; }
.kj-end { margin: 36px 0 40px; }
.kj-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.kj-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }
@media (max-width: 600px) {
  .kj-sheet, .kj-table, .kj-table th, .kj-table td { min-width: 0; }
  .kj-table { font-size: 14px; }
  .kj-table caption { padding: 14px 10px 8px; }
  .kj-table th, .kj-table td { padding: 9px 7px; }
  .kj-table thead th { font-size: 13px; }
  .kj-table th:first-child { white-space: nowrap; }
}
@media (min-width: 640px) {
  .kj-figures { grid-template-columns: 1fr 1fr; max-width: 590px; grid-gap: 32px; }
}
@media (min-width: 900px) {
  .page-konjekti main > .wrap:first-child { padding-top: 64px; }
  .kj-intro { padding-bottom: 36px; }
  .kj-intro h1 { font-size: 48px; }
  .kj-intro p { font-size: 20px; }
  .kj-section { margin-top: 56px; }
  .kj-section h2 { font-size: 30px; }
  .kj-limits { padding: 26px 30px; }
  .kj-limits h2 { font-size: 25px; }
}
