@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("/assets/fonts/golos-text-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("/assets/fonts/golos-text-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212;
}

:root {
  --ink: #14130f;
  --ink-2: #1d1b16;
  --paper: #f5f4f0;
  --surface: #fff;
  --line: #e0ded5;
  --line-ink: rgb(255 255 255 / 0.12);
  --text: #16150f;
  --muted: #6d6a5e;
  --muted-ink: #a6a196;
  --bronze: #9a6a0e;
  --bronze-hi: #c08a1e;
  --live: #2f8a52;
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* `clip`, not `hidden`: sticky elements keep working. */
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
}

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

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.58;
  max-width: 62ch;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line-ink);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bronze-hi);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.mark span {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted-ink);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.nav-links a:hover {
  color: #fff;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.btn-small {
  height: 36px;
  padding: 0 16px;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}

.btn-small:hover {
  background: var(--bronze-hi);
}

.btn-primary {
  background: linear-gradient(180deg, var(--bronze-hi), var(--bronze));
  color: #fff;
  box-shadow: 0 10px 28px rgb(154 106 14 / 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgb(154 106 14 / 0.4);
}

.btn-quiet {
  color: var(--muted-ink);
  border: 1px solid var(--line-ink);
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
}

.btn-line:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.btn-big {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-ink) 1px, transparent 1px), linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
  z-index: -2;
}

.hero-light {
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 820px;
  left: var(--mx, 50%);
  top: -280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgb(192 138 30 / 0.26), transparent 62%);
  transition: left 900ms var(--ease);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

.hero .window {
  width: min(1340px, 100vw - 32px);
  margin-inline: auto;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted-ink);
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 22px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgb(47 138 82 / 0.6);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(47 138 82 / 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgb(47 138 82 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(47 138 82 / 0);
  }
}

.hl {
  position: relative;
  color: var(--bronze-hi);
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.07em;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  animation: underline 900ms 500ms var(--ease) both;
}

@keyframes underline {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lead {
  color: #cdc8ba;
  font-size: clamp(17px, 1.7vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}

.hero-note {
  color: var(--muted-ink);
  font-size: 14px;
}

/* ---------- product window ---------- */

.window {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.5), 0 2px 8px rgb(0 0 0 / 0.08);
}

.hero .window {
  border-color: rgb(255 255 255 / 0.14);
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.06);
  will-change: transform;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: #ecebe6;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9d7d0;
}

.window-bar i:nth-child(1) {
  background: #e06c5f;
}
.window-bar i:nth-child(2) {
  background: #e3b341;
}
.window-bar i:nth-child(3) {
  background: #58ac5a;
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  color: #8b887c;
  font-weight: 500;
}

.tilt {
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform 400ms var(--ease);
}

/* ---------- specs ---------- */

.specs {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 92px) 0;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-ink);
  border-block: 1px solid var(--line-ink);
}

.spec {
  background: var(--ink);
  padding: 26px 22px 28px;
}

.spec b {
  display: block;
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.spec p {
  color: var(--muted-ink);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- features with sticky shot ---------- */

.feature {
  padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 5vw, 70px);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.chapter {
  padding: clamp(40px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.chapter:last-child {
  padding-bottom: 0;
}

.chapter:first-child {
  border-top: 0;
  padding-top: 0;
}

.chapter h2 {
  margin-bottom: 16px;
}

.ticks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15.5px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--bronze);
  opacity: 0.85;
}

.feature-media {
  position: sticky;
  top: 14vh;
  /* The screen reaches the right edge of the page and stops there: the UI stays
     readable, and the page never gains a sideways scrollbar. */
  margin-right: calc((min(100vw - 40px, var(--shell)) - 100vw) / 2);
}

.feature-media .window {
  border-radius: 14px 0 0 14px;
  border-right: 0;
}

.inline-shot {
  display: none;
  margin-top: 26px;
}

.shot-stack {
  position: relative;
  aspect-ratio: 2360 / 1500;
}

.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.shot.on {
  opacity: 1;
  transform: none;
}

/* ---------- team band ---------- */

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.pairs {
  margin: 28px 0 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pairs > div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  background: var(--surface);
  padding: 13px 16px;
}

.pairs dt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bronze);
  padding-top: 2px;
}

.pairs dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.team-media {
  position: relative;
  margin-right: calc((min(100vw - 40px, var(--shell)) - 100vw) / 2);
  padding-bottom: 54px;
}

.team-media .window {
  border-radius: 14px 0 0 14px;
  border-right: 0;
}

/* The journal is rebuilt in markup: four lines stay crisp at any size. */
.journal {
  position: absolute;
  left: -46px;
  bottom: -18px;
  width: min(360px, 76%);
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px 12px;
  box-shadow: 0 26px 60px -24px rgb(0 0 0 / 0.55);
}

.journal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted-ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-ink);
}

.journal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--live);
}

.journal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journal li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  font-size: 13.5px;
  color: var(--muted-ink);
}

.journal li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.journal b {
  color: #fff;
  font-weight: 600;
}

.journal span {
  color: var(--bronze-hi);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journal time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6f6b60;
  white-space: nowrap;
}

/* ---------- crypto ---------- */

.crypto {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0;
}

.crypto-head {
  max-width: 720px;
  display: grid;
  gap: 18px;
}

.crypto-head h2 {
  font-size: clamp(30px, 4.4vw, 54px);
}

.crypto .lead {
  color: #cdc8ba;
}

.chain {
  list-style: none;
  margin: 46px 0 52px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.chain li {
  position: relative;
  padding: 44px 18px 20px;
  border: 1px solid var(--line-ink);
  border-radius: 12px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent);
}

.chain-n {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--bronze-hi);
}

.chain b {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  margin-bottom: 4px;
}

.chain p {
  color: var(--muted-ink);
  font-size: 14.5px;
  line-height: 1.5;
}

.fine {
  color: var(--muted-ink);
  font-size: 14.5px;
  max-width: 56ch;
}

.crypto .window {
  border-color: rgb(255 255 255 / 0.12);
}

/* A wide, shallow slice of the settings screen, lit from below. */
.strip {
  position: relative;
  border-color: rgb(255 255 255 / 0.14);
  box-shadow: 0 50px 110px -45px rgb(0 0 0 / 0.9), 0 0 90px -30px rgb(192 138 30 / 0.35);
}

.crypto .fine {
  margin-top: 26px;
}

/* ---------- api ---------- */

.api {
  padding: clamp(64px, 9vw, 120px) 0;
}

.api-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.code {
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgb(0 0 0 / 0.5);
  box-shadow: 0 24px 60px -28px rgb(0 0 0 / 0.55);
}

.code-bar {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-ink);
}

.code pre {
  margin: 0;
  padding: 20px 18px 24px;
  overflow-x: auto;
}

.code code {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #e6e2d8;
  white-space: pre;
}

.code .c {
  color: #7d7868;
}
.code .k {
  color: #d9a441;
}
.code .s {
  color: #8fbf7f;
}
.code .f {
  color: #cfc7b4;
}

/* ---------- pricing ---------- */

.pricing {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.plans {
  display: grid;
  /* minmax(0, …) — five cards share the row instead of pushing it wider. */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.plan-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--bronze-hi);
  border: 1px solid rgb(192 138 30 / 0.4);
  border-radius: 999px;
  padding: 4px 9px;
}

.plan h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price b {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-size: 15px;
}

.plan.featured .price span {
  color: var(--muted-ink);
}

.plan-note {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bronze);
}

.plan.featured .plan-note {
  color: var(--bronze-hi);
}

.plan ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}

.plan.featured ul {
  color: #cdc8ba;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

/* ---------- faq ---------- */

.faq {
  padding: clamp(64px, 9vw, 120px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  position: relative;
  transition: color 160ms var(--ease);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--bronze);
  transform: translateY(-50%);
}

summary::before {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 2px;
  height: 11px;
  background: var(--bronze);
  transform: translateY(-50%);
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
}

summary:hover {
  color: var(--bronze);
}

details p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- cta + footer ---------- */

.cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(70px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: 50%;
  bottom: -520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgb(192 138 30 / 0.24), transparent 62%);
}

.cta-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cta .lead {
  color: #cdc8ba;
}

.foot {
  background: var(--ink);
  color: var(--muted-ink);
  border-top: 1px solid var(--line-ink);
  padding: 30px 0;
  font-size: 14px;
}

.foot-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-note {
  max-width: 54ch;
}

.foot-copy {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ---------- reveal ---------- */

/* Hidden only when JS is there to bring it back. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal {
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .feature-grid,
  .team-grid,
  .api-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-media {
    display: none;
  }

  .inline-shot {
    display: block;
  }

  .specs-row,
  .chain {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .team-media {
    margin-right: 0;
    padding-bottom: 0;
  }

  .team-media .window {
    border-radius: 14px;
    border-right: 1px solid var(--line);
  }

  .journal {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .btn-small {
    margin-left: auto;
  }

  .specs-row,
  .chain {
    grid-template-columns: 1fr;
  }

  .pairs > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .foot-copy {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- pricing: period switch ---------- */

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.pricing-head .lead {
  max-width: 54ch;
}

.period {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  flex: none;
}

.period-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.period-btn span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--bronze);
}

.period-btn.on {
  background: var(--ink);
  color: #fff;
}

.period-btn.on span {
  color: var(--bronze-hi);
}

.plan .per {
  white-space: nowrap;
}

.pricing-fine {
  margin-top: 26px;
  color: var(--muted);
}

/* Five plans need more room than the reading column. */
.pricing .shell {
  width: min(100% - 40px, 1340px);
}

@media (max-width: 1160px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .period {
    width: 100%;
    justify-content: space-between;
  }
}
