@font-face {
  font-family: 'Geologica';
  src: url('/assets/fonts/geologica-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726, U+FEFF;
}
@font-face {
  font-family: 'Geologica';
  src: url('/assets/fonts/geologica-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+FEFF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --paper: #f4f1e8;
  --paper-2: #ebe6d6;
  --white: #fffdf7;
  --ink: #111014;
  --ink-2: #34322b;
  --muted: #6a665a;
  --lime: #d4ff3a;
  --blue: #3b34ff;
  --coral: #ff6a3d;
  --sans: 'Geologica', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --b: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --r: 14px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgb(17 16 20 / 0.075) 1px, transparent 1.2px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 850;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--lime);
  border: var(--b);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 860px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.2rem;
  border: var(--b);
  border-radius: 12px;
  font: 750 1rem/1.15 var(--sans);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  cursor: pointer;
}
.btn svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-lime {
  background: var(--lime);
}
.btn-ghost:hover {
  background: var(--lime);
}
.btn-big {
  padding: 1rem 1.5rem;
  font-size: 1.08rem;
}
.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-wide {
  width: 100%;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(244 241 232 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: var(--b);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.logo svg {
  border-radius: 10px;
}
.logo-word {
  font-weight: 850;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
.logo-dot {
  color: var(--blue);
}
.nav {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.nav a {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  background: var(--paper-2);
}
.nav a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
}
.bar-end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav + .bar-end {
  margin-left: 0;
}
.langs {
  display: flex;
  border: var(--b);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.lang {
  padding: 0.38rem 0.55rem;
  font: 700 0.8rem/1 var(--mono);
  text-decoration: none;
}
.lang + .lang {
  border-left: var(--b);
}
.lang.is-on {
  background: var(--ink);
  color: var(--lime);
}
a.lang:hover {
  background: var(--lime);
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  display: grid;
  place-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: var(--b);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu[open] summary span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu[open] summary span:nth-child(2) {
  opacity: 0;
}
.menu[open] summary span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(320px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--white);
  border: var(--b);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.menu-panel a:not(.btn) {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.menu-panel a:not(.btn):hover,
.menu-panel a[aria-current='page'] {
  background: var(--lime);
}
.menu-panel .btn {
  margin-top: 8px;
}
.site-header .wrap {
  max-width: 1360px;
}
@media (max-width: 1279px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .nav + .bar-end {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .bar-end > .btn {
    display: none;
  }
  .logo-word {
    font-size: 1.3rem;
  }
  .logo svg {
    width: 32px;
    height: 32px;
  }
  .topbar {
    gap: 10px;
  }
}

/* Hero */
.hero {
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
}
.hero-in {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 22px;
  border: var(--b);
  border-radius: 999px;
  background: var(--white);
  font: 700 0.8rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
}
.hero h1 {
  font-size: clamp(2.7rem, 1.2rem + 5.6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
html[lang='ru'] .hero h1,
html[lang='uk'] .hero h1 {
  font-size: clamp(2.4rem, 1rem + 5vw, 5.2rem);
}
mark {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0 0.14em 0.04em;
  color: var(--ink);
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 0.14em;
  box-shadow: 0.07em 0.07em 0 var(--ink);
  transform: rotate(-2.5deg);
}
.lede {
  max-width: 36em;
  margin: 26px 0 30px;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-2);
}

/* Ticket (hero visual) */
.ticket {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: var(--b);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  max-width: 480px;
  justify-self: center;
  width: 100%;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ticket-label {
  font: 700 0.78rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ticket-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
}
.ticket-price s {
  font-size: 1.3rem;
  color: var(--muted);
}
.ticket-price b {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1;
  padding: 0.05em 0.15em;
  background: var(--lime);
  border: var(--b);
  border-radius: 10px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 220px;
  margin: 22px 0 0;
}
.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  text-align: center;
}
.bar-val {
  font: 800 0.95rem/1.4 var(--mono);
}
.bar {
  display: block;
  height: calc(var(--h) * 1.45px);
  border: var(--b);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, #2b2a31 6px 12px);
  transform-origin: bottom;
}
.bar-col:last-child .bar {
  background: var(--lime);
}
.bar-qty {
  padding-top: 8px;
  border-top: var(--b);
  font: 600 0.72rem/1.2 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 2px dashed var(--ink);
  font-weight: 750;
}
.ticket-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--b);
  border-radius: 50%;
  background: var(--lime);
}
.ticket-arrow svg {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .js .bar {
    animation: grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i) * 0.08s + 0.15s);
  }
  @keyframes grow {
    from {
      transform: scaleY(0);
    }
  }
}
@media (max-width: 420px) {
  .bars {
    gap: 6px;
  }
  .bar-val {
    font-size: 0.82rem;
  }
  .bar-qty {
    font-size: 0.62rem;
  }
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-block: var(--b);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 14px 0;
  font: 700 0.95rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: var(--lime);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: run 45s linear infinite;
  }
  @keyframes run {
    to {
      transform: translateX(calc(-50% - 14px));
    }
  }
}

/* Sections */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.sec-title {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem);
  margin-bottom: 32px;
}

/* Facts */
.facts-sec {
  padding-bottom: 0;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 560px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: var(--b);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.fact svg {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
.fact-big {
  font-size: 1.85rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.fact-t {
  font-weight: 750;
}
.fact-d {
  color: var(--ink-2);
  font-size: 0.97rem;
}
.fact-0 {
  background: var(--lime);
}
.fact-1 {
  background: var(--blue);
  color: var(--white);
}
.fact-1 .fact-d {
  color: rgb(255 253 247 / 0.85);
}
.fact-3 {
  background: var(--coral);
}

/* Calculator */
.calc {
  display: grid;
  border: var(--b);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}
.calc-main {
  padding: clamp(24px, 4vw, 44px);
}
.calc-title {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
}
.calc-text {
  margin: 14px 0 28px;
  color: var(--ink-2);
  max-width: 34em;
}
.qty-label {
  display: block;
  font: 700 0.8rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.qty-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 22px;
  font-weight: 700;
  color: var(--muted);
}
.qty {
  width: 5.2ch;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 4px solid var(--ink);
  background: transparent;
  font: 800 clamp(2.6rem, 2rem + 2.5vw, 3.6rem) / 1 var(--mono);
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty::-webkit-inner-spin-button,
.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  border: var(--b);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime) 0 var(--p), var(--paper-2) var(--p) 100%);
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
.range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font: 600 0.8rem/1 var(--mono);
  color: var(--muted);
}
.calc-min {
  margin-top: 22px;
  font-weight: 700;
}
.calc-out {
  padding: clamp(24px, 4vw, 44px);
  background: var(--ink);
  color: var(--paper);
}
.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 24px;
}
.res dt {
  font: 600 0.78rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(244 241 232 / 0.65);
}
.res dd {
  margin: 4px 0 0;
  font: 800 1.7rem/1.1 var(--mono);
}
.res-price {
  grid-column: 1 / -1;
}
.res-price dd {
  font-size: clamp(3rem, 2.4rem + 2.4vw, 4.4rem);
  color: var(--lime);
}
.res-save dd {
  color: var(--lime);
}
.calc-out .btn {
  border-color: var(--lime);
  box-shadow: 4px 4px 0 var(--lime);
}
.calc-out .btn:hover {
  box-shadow: 6px 6px 0 var(--lime);
}
.tiers-title {
  margin: 28px 0 10px;
  font: 700 0.78rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(244 241 232 / 0.65);
}
.tiers {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tier {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tier + .tier {
  margin-top: 2px;
}
.calc-out .tier.is-active {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

/* Split content */
.split {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 64px;
  }
  .split-side {
    position: sticky;
    top: 104px;
  }
}
.prose-sec + .prose-sec {
  margin-top: 44px;
}
.prose h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  margin-bottom: 16px;
}
.prose p {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.7;
}
.prose p + p {
  margin-top: 14px;
}
.prose ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.prose li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.6;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 16px;
  height: 16px;
  border: var(--b);
  border-radius: 4px;
  background: var(--lime);
  transform: rotate(8deg);
}
.prose strong {
  color: var(--ink);
}
.prose ul + p {
  margin-top: 16px;
}

/* Anatomy illustration */
.anatomy {
  margin: 0;
}
.post {
  padding: 22px;
  background: var(--white);
  border: var(--b);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.post-head b {
  display: block;
  line-height: 1.2;
}
.post-head small {
  font: 500 0.8rem/1.2 var(--mono);
  color: var(--muted);
}
.avatar {
  width: 40px;
  height: 40px;
  border: var(--b);
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 25%, var(--lime) 0 50%, var(--coral) 0 75%, var(--paper-2) 0);
}
.post p {
  color: var(--ink-2);
  line-height: 1.7;
}
.post-link {
  padding: 0.05em 0.35em;
  border: var(--b);
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.anatomy figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-weight: 750;
}
.tag {
  padding: 0.3rem 0.65rem;
  border: var(--b);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: 700 0.75rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag::before {
  content: '↑ ';
}

/* Steps */
.steps-sec {
  background: var(--white);
  border-block: var(--b);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  padding-top: 20px;
  border-top: 3px solid var(--ink);
}
.step-n {
  display: block;
  font: 800 3.4rem/1 var(--mono);
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: 12px;
}
.steps li:nth-child(2) .step-n {
  color: var(--lime);
}
.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.steps p {
  color: var(--ink-2);
}
.steps-cta {
  margin-top: 36px;
}

/* FAQ */
.faq details {
  margin-bottom: 12px;
  background: var(--white);
  border: var(--b);
  border-radius: var(--r);
  transition: box-shadow 0.15s ease;
}
.faq details[open] {
  box-shadow: var(--shadow);
}
.faq summary {
  position: relative;
  list-style: none;
  padding: 18px 64px 18px 22px;
  font-weight: 750;
  font-size: 1.08rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: var(--b);
  border-radius: 50%;
  background: var(--lime);
  font: 700 1.2rem/1 var(--mono);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--ink-2);
}

/* Related pages */
.related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.related a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px 22px 56px;
  background: var(--white);
  border: var(--b);
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.related a:hover {
  background: var(--lime);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}
.rel-t {
  font-weight: 850;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.rel-d {
  color: var(--ink-2);
  font-size: 0.97rem;
}
.rel-go {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 26px;
  height: 26px;
}

/* CTA */
.cta {
  background: var(--blue);
  color: var(--white);
  border-block: var(--b);
  padding: clamp(48px, 6vw, 80px) 0;
}
.cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
}
.cta p {
  margin-top: 12px;
  max-width: 38em;
  font-size: 1.1rem;
  color: rgb(255 253 247 / 0.88);
}

/* Inner page head */
.page-head {
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
}
.page-head h1 {
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4.8rem);
  letter-spacing: -0.04em;
  max-width: 16em;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font: 600 0.82rem/1.3 var(--mono);
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
}
.crumbs a:hover {
  color: var(--ink);
}
.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1rem;
  border: var(--b);
  border-radius: 12px;
  background: var(--white);
  font: 700 0.98rem/1 var(--mono);
}
.price-chip b {
  padding: 0.15em 0.35em;
  border-radius: 6px;
  background: var(--lime);
  border: 2px solid var(--ink);
}

/* Price card aside */
.price-card {
  padding: 26px;
  background: var(--white);
  border: var(--b);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.pc-title {
  font-weight: 850;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.price-card .tier:nth-child(odd) {
  background: var(--paper);
}
.price-card .tier:last-child {
  background: var(--lime);
  font-weight: 800;
  border: var(--b);
}
.pc-note {
  margin: 18px 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.pc-calc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 750;
  text-underline-offset: 4px;
}
.pc-calc svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}
.foot {
  display: grid;
  gap: 36px;
}
@media (min-width: 820px) {
  .foot {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer .logo-dot {
  color: var(--lime);
}
.site-footer .logo svg rect:first-child {
  fill: #23222a;
}
.foot-brand p {
  margin-top: 16px;
  max-width: 26em;
  color: rgb(244 241 232 / 0.7);
}
.site-footer h2 {
  margin-bottom: 14px;
  font: 700 0.8rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: rgb(244 241 232 / 0.85);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--lime);
}
.foot-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  font-size: 1.15rem;
}
.foot-tg svg {
  width: 22px;
  height: 22px;
}
.foot-langs {
  margin-top: 14px;
  font-size: 0.95rem;
}
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgb(244 241 232 / 0.15);
  font: 500 0.82rem/1.3 var(--mono);
  color: rgb(244 241 232 / 0.55);
}

/* 404 */
.nf h1 {
  font: 800 clamp(5rem, 3rem + 10vw, 10rem) / 1 var(--mono);
  margin-bottom: 24px;
}
.nf p {
  margin-top: 10px;
  font-size: 1.1rem;
}
.nf a {
  font-weight: 750;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
