/* Forge UI pricing (owner's request 05.10): strict, because it is about money. Three plans on
   cards of the Studio's own frosted glass over its dark table (#0e1511 and the 16 px dot grid),
   rows aligned across the cards; colour only as faint light behind the glass and the club's
   holographic sheen. The landing's typefaces (SIL OFL). */

@font-face {
  font-family: 'Unbounded';
  src: url(/src/fonts/unbounded-cyrillic-v1.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url(/src/fonts/unbounded-latin-v1.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  src: url(/src/fonts/inter-tight-cyrillic-v1.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: 'Inter Tight';
  src: url(/src/fonts/inter-tight-latin-v1.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+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url(/src/fonts/jetbrains-mono-cyrillic-v1.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url(/src/fonts/jetbrains-mono-latin-v1.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+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e1511;
  --panel: #111914;
  --line: rgba(209, 235, 219, 0.09);
  --ink: #e4eee7;
  --muted: #81968a;
  --mint: #b8e7c8;
  --emerald-700: #0b6f37;
  --emerald-600: #0e9a4b;
  --emerald-500: #19c062;
  --emerald-400: #3ee082;
  --gold-1: #fff3dc;
  --gold-2: #ffc46b;
  --gold-3: #c98a2e;
  --paper: #f3efe5;
  --paper-ink: #111311;
  --font-display: 'Unbounded', 'Inter Tight', system-ui, sans-serif;
  --font-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* The glass bezel of every panel and card (owner's request 06.10, after Apple's iOS and macOS
     glass): a thin bright lip that catches the light at the top-left and again at the bottom-
     right corner (the ::after ring, --rim), and inside it a soft glow under the top and bottom
     edges, as if the pane had thickness (--bezel, first in each box-shadow). */
  --rim: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.22) 11%,
    rgba(255, 255, 255, 0.07) 28%,
    rgba(255, 255, 255, 0.025) 52%,
    rgba(255, 255, 255, 0.1) 78%,
    rgba(255, 255, 255, 0.4) 100%
  );
  --bezel:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.24),
    inset 0 -1px 0.5px rgba(255, 255, 255, 0.07),
    inset 0 18px 26px -24px rgba(255, 255, 255, 0.26),
    inset 0 -16px 26px -26px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  /* The Studio's stage: its dot grid and a quiet light from above. */
  background:
    radial-gradient(1100px 560px at 50% -14%, rgba(184, 231, 200, 0.1), transparent 70%),
    radial-gradient(rgba(136, 168, 146, 0.09) 0.7px, transparent 0.7px) 0 0 / 16px 16px,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg,
canvas {
  display: block;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
.mono {
  font-family: var(--font-mono);
}
.sr-only {
  position: absolute;
  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: 10px 14px;
  border-radius: 10px;
  background: var(--mint);
  color: #0d1712;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- Boot screen (owner's request 05.10): the landing's pixel wordmark assembling into
   the real one, on the plans' dark table, with «Загружаю тарифы». The same module drives it
   (landing-boot.js); static from the first paint, it lifts itself after 5 s without a script. */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1001;
  animation: boot-safety 0.5s 5s forwards;
}
.boot.is-live {
  animation: none;
}
@keyframes boot-safety {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.boot-sheet {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: var(--bg);
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}
.boot-sheet--top {
  top: 0;
}
.boot-sheet--bottom {
  bottom: 0;
}
.boot.is-open .boot-sheet--top {
  transform: translateY(-101%);
}
.boot.is-open .boot-sheet--bottom {
  transform: translateY(101%);
}
.boot.is-open {
  pointer-events: none;
}
.boot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}
.boot-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62vw, 660px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}
.boot.is-snapped .boot-logo {
  opacity: 1;
}
.boot.is-snapped .boot-canvas,
.boot.is-open .boot-canvas {
  opacity: 0;
}
.boot.is-open .boot-logo {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}
.boot-label {
  position: absolute;
  left: 30px;
  bottom: 96px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.3s;
}
.boot-count {
  position: absolute;
  left: 28px;
  bottom: 30px;
  margin: 0;
  font-size: 52px;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: opacity 0.3s;
}
.boot-line {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s;
}
.boot-line b {
  display: block;
  height: 100%;
  background: var(--mint);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.boot.is-open .boot-label,
.boot.is-open .boot-count,
.boot.is-open .boot-line {
  opacity: 0;
}

/* ---------- Header: dark glass pills, like the landing's */
.pr-top {
  position: fixed;
  z-index: 60;
  inset: 12px 14px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.pr-top > * {
  pointer-events: auto;
}
.pr-brand,
.pr-pill,
.pr-lang {
  background: rgba(22, 33, 27, 0.66);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(209, 235, 219, 0.1),
    0 10px 28px -18px rgba(0, 0, 0, 0.7);
}
.pr-brand,
.pr-pill {
  white-space: nowrap;
}
.pr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 12px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
/* The whole lacquer wordmark, as on the landing. */
.pr-brand .pr-brand-mark {
  width: auto;
  height: 30px;
}
.pr-brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}
.pr-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s var(--ease-out);
}
.pr-pill:hover {
  transform: translateY(-1px);
}
.pr-pill--sound {
  width: 62px;
  padding: 0;
}
.pr-pill--sound svg {
  width: 30px;
  height: 14px;
  overflow: visible;
}
.pr-pill--sound path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pr-pill--sound[aria-pressed='true'],
.pr-pill--mint {
  background: #f2f5f3;
  color: #0b100d;
}
.pr-pill--mint {
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 10px 26px -16px rgba(255, 255, 255, 0.35);
}
.pr-lang {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
}
.pr-lang button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 11px/1 var(--font-mono);
  cursor: pointer;
}
.pr-lang button[aria-pressed='true'] {
  background: rgba(209, 235, 219, 0.13);
  color: var(--ink);
}

/* ---------- Hero */
.pr-hero {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 148px 32px 8px;
  text-align: center;
}
.pr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pr-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.pr-title {
  max-width: 13em;
  margin: 0;
  font: 600 clamp(40px, 5.6vw, 78px) / 1.02 var(--font-sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
/* The hero rises once the boot screen has opened (html.is-open), or anyway after 5.6 s. */
@media (scripting: enabled) {
  html:not(.is-open) .pr-hero > * {
    opacity: 0;
    animation: pc-fallback 0s 5.6s forwards;
  }
}
/* After a boot screen the rise waits for its curtain to part (0.85 s), so it is seen. */
html.boot-opened {
  --open-delay: 0.38s;
}
html.is-open .pr-title {
  animation: pr-rise 0.9s var(--ease-out) var(--open-delay, 0s) both;
}
@keyframes pr-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.pr-lead {
  max-width: 44ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
html.is-open .pr-lead {
  animation: pr-rise 0.9s var(--ease-out) calc(var(--open-delay, 0s) + 0.08s) both;
}
/* The period switch: a segmented control of glass. */
.pr-billing {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
html.is-open .pr-billing {
  animation: pr-rise 0.9s var(--ease-out) calc(var(--open-delay, 0s) + 0.16s) both;
}
html.is-open .pr-hero .pr-eyebrow {
  animation: pr-rise 0.9s var(--ease-out) var(--open-delay, 0s) both;
}
.pr-billing button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 14.5px/1 var(--font-sans);
  cursor: pointer;
  transition: color 0.3s;
}
.pr-billing button[aria-checked='true'] {
  color: #f4f8f5;
}
.pr-billing b {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(184, 231, 200, 0.12);
  color: var(--mint);
  font: 500 11px/1 var(--font-mono);
}
.pr-billing-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 6px 16px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease-out);
}
.pr-billing[data-state='year'] .pr-billing-thumb {
  transform: translateX(100%);
}

/* ---------- The wave (owner's request 05.10): the hero's dots, calmer, behind the first screen and
   the plans. A layer as tall as the window sticks to it inside a track as tall as the plans: the
   cards scroll over it, and it leaves with them, its lower edge fading. It fades in once the boot
   screen has opened. */
.pr-stage {
  position: relative;
  z-index: 0;
}
.pr-wave-track {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.pr-wave {
  position: sticky;
  top: 0;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s ease-out;
  -webkit-mask: linear-gradient(180deg, #000 80%, transparent);
  mask: linear-gradient(180deg, #000 80%, transparent);
}
html.is-open .pr-wave {
  opacity: 1;
}
.pr-wave canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- The plans */
.pr-table {
  position: relative;
  max-width: 1340px;
  margin: 56px auto 0;
  padding: 0 32px;
}
/* Soft light behind the glass, so it has something to blur: green-grey, never a colour show. */
.pr-table::before {
  content: '';
  position: absolute;
  inset: 4% 6% 12%;
  z-index: -1;
  background:
    radial-gradient(38% 46% at 26% 42%, rgba(62, 224, 130, 0.13), transparent 70%),
    radial-gradient(34% 44% at 74% 58%, rgba(184, 231, 200, 0.1), transparent 70%),
    radial-gradient(30% 36% at 52% 20%, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
/* Rows shared by the three cards (a subgrid): label, name, line, price, button, list. Whatever
   wraps in one card, the button stands level in all three. */
.pr-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  column-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  padding: 30px 30px 34px;
  border-radius: 28px;
  isolation: isolate;
  /* The Studio's «Матовое стекло», set for a dark table. */
  background: linear-gradient(180deg, rgba(228, 244, 238, 0.09), rgba(228, 244, 238, 0.045));
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(244, 251, 248, 0.06),
    0 2px 8px -2px rgba(0, 0, 0, 0.35),
    0 40px 90px -46px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.4s;
}
/* Light on the glass right under the cursor while the card leans toward it (pricing.js sets
   --mx/--my); the club's holographic sheen rides on the same layer. Only for a real hover. */
.pc::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.075), transparent 62%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}
/* The edge of real glass, on every panel and card: light where it faces the light. */
.pc::after,
.pr-early::after,
.pr-panel::after,
.pr-questions details::after,
.pr-billing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--rim);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pc:hover {
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(244, 251, 248, 0.12),
    inset 0 0 26px -8px rgba(255, 255, 255, 0.07),
    0 2px 8px -2px rgba(0, 0, 0, 0.35),
    0 44px 100px -46px rgba(0, 0, 0, 0.9);
}
/* The recommended plan: a brighter rim, nothing louder. */
.pc--studio {
  background: linear-gradient(180deg, rgba(228, 244, 238, 0.12), rgba(228, 244, 238, 0.06));
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(184, 231, 200, 0.22),
    inset 0 0 26px -6px rgba(255, 255, 255, 0.07),
    0 2px 8px -2px rgba(0, 0, 0, 0.35),
    0 44px 100px -46px rgba(0, 0, 0, 0.9);
}
/* The club (owner's request 05.10): plain glass at rest; under the cursor a faint holographic
   sheen runs over it against the light and its rim turns iridescent (--holo eases 0 → 1). */
@property --holo {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
.pc--club {
  transition:
    box-shadow 0.4s,
    --holo 0.7s var(--ease-out);
}
.pc--club::before {
  background:
    radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.045), transparent 62%),
    linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 26%,
        rgba(255, 176, 232, 0.15) 37%,
        rgba(255, 236, 196, 0.1) 44%,
        rgba(150, 255, 210, 0.15) 51%,
        rgba(168, 192, 255, 0.15) 60%,
        rgba(255, 255, 255, 0) 72%
      )
      var(--mx, 40%) var(--my, 30%) / 260% 260%;
}
.pc--club::after {
  background:
    conic-gradient(
      from 210deg,
      rgb(255 255 255 / calc(var(--holo) * 0.4)),
      rgb(255 214 244 / calc(var(--holo) * 0.3)),
      rgb(196 255 236 / calc(var(--holo) * 0.3)),
      rgb(200 212 255 / calc(var(--holo) * 0.3)),
      rgb(255 255 255 / calc(var(--holo) * 0.4))
    ),
    /* At rest the same bezel as every card (--rim), fading out as the iridescence comes in. */
    linear-gradient(
      135deg,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.6)) 0%,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.22)) 11%,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.07)) 28%,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.025)) 52%,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.1)) 78%,
      rgb(255 255 255 / calc((1 - var(--holo)) * 0.4)) 100%
    );
}
@media (hover: hover) and (pointer: fine) {
  .pc:hover::before {
    opacity: 1;
  }
  .pc--club:hover {
    --holo: 1;
  }
}
/* From the keyboard the club shows its sheen while its button has focus. */
.pc--club:has(:focus-visible) {
  --holo: 1;
}
.pc--club:has(:focus-visible)::before {
  opacity: 1;
}
/* Each card rises into place as it comes into view (after the boot screen); cards arriving
   together rise one after another (pricing.js sets .is-in and --in-delay). A page whose script
   never ran shows them anyway after 5.6 s; a running script (.pr-live) cancels that net, so
   nothing appears early and then rises a second time. */
@media (scripting: enabled) {
  .pc:not(.is-in) {
    opacity: 0;
    animation: pc-fallback 0s 5.6s forwards;
  }
  html.pr-live .pc:not(.is-in) {
    animation: none;
  }
}
@keyframes pc-fallback {
  to {
    opacity: 1;
  }
}
.pc.is-in {
  animation: pc-in 0.9s var(--ease-out) var(--in-delay, 0s) both;
}
@keyframes pc-in {
  from {
    opacity: 0;
    translate: 0 22px;
  }
}

.pc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pc-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(184, 231, 200, 0.12);
  color: var(--mint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
/* Raised like the name and number on a bank card (owner's request 05.10): silver letters lit
   from above, a bright upper edge and a shadow beneath. The fill repeats per line. */
.pc-name {
  margin: 18px 0 0;
  font: 600 27px/1.12 var(--font-sans);
  letter-spacing: -0.03em;
}
.pc-name,
.pc-amount,
.dg-strip span {
  background: linear-gradient(180deg, #ffffff 0%, #f1f4f2 34%, #bcc6c0 72%, #e2e8e4 100%) 0 0 /
    100% 1.12em repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dg-strip span {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.pc-amount:has(.dg) {
  background: none;
  color: inherit;
}
.pc-currency {
  background: linear-gradient(180deg, #d4dcd7 0%, #9aa59f 80%) 0 0 / 100% 1em repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pc-name,
.pc-figure {
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.38)) drop-shadow(0 1.5px 0.4px rgba(0, 0, 0, 0.8))
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.32));
}
/* The small print is pressed in too, only just. */
.pc-label,
.pc-tagline,
.pc-per,
.pc-list li {
  text-shadow:
    0 -0.5px 0 rgba(255, 255, 255, 0.1),
    0 1px 0 rgba(0, 0, 0, 0.55);
}
.pc-tagline {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.pc-price {
  margin: 26px 0 0;
}
.pc-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.pc-amount {
  display: inline-flex;
  font: 600 58px/1.1 var(--font-sans);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.pc-currency {
  font: 500 24px/1 var(--font-sans);
}
html[lang='en'] .pc-currency {
  order: -1;
}
.pc-save {
  align-self: center;
  margin-left: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(184, 231, 200, 0.12);
  color: var(--mint);
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease-out);
}
.pc--studio.is-yearly .pc-save {
  opacity: 1;
  transform: none;
}
.pc-per {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.pc-fine {
  display: block;
  font-size: 12.5px;
  color: rgba(129, 150, 138, 0.8);
}
/* The rolling digits of Studio 5's price: tall enough that no glyph is clipped. */
.dg {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
}
.dg-strip {
  display: block;
  transition: transform 0.75s var(--ease-out);
}
.dg-strip span {
  display: block;
  height: 1.1em;
  line-height: 1.1;
}
.pc-cta {
  position: relative;
  align-self: start;
  width: 100%;
  height: 52px;
  margin-top: 28px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f8f5;
  font: 600 15.5px/1 var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease-out);
}
.pc-cta:hover {
  background: rgba(255, 255, 255, 0.13);
}
.pc-cta:active {
  transform: scale(0.985);
}
.pc-cta--primary {
  background: #f2f5f3;
  color: #0b100d;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 12px 30px -16px rgba(255, 255, 255, 0.45);
}
.pc-cta--primary:hover {
  background: #ffffff;
}
/* «Скоро» is not for sale yet: the white button settles into glass as the sparks fly. */
.pc-cta--primary.is-bursting,
.pc-cta--primary.is-soon {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f8f5;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition:
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.pc-cta-label {
  position: relative;
  display: inline-block;
  transition: opacity 0.25s;
}
/* «Скоро»: the button rests, a slow light runs across it. */
.pc-cta.is-soon {
  cursor: default;
}
.pc-cta.is-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%)
    0 0 / 260% 100%;
  animation: pc-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pc-shimmer {
  from {
    background-position: 130% 0;
  }
  to {
    background-position: -30% 0;
  }
}
.pc-list {
  display: grid;
  align-content: start;
  gap: 13px;
  margin: 30px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pc-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(228, 238, 231, 0.86);
}
/* A thin tick before every line. */
.pc-list li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: 3px;
  background: currentColor;
  opacity: 0.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.pc--studio .pc-list li::before {
  background: var(--mint);
  opacity: 1;
}

/* ---------- Early access (owner's request 05.10): one slim glass bar under the plans, its words
   on the left and the address on the right, in a field pressed into the glass; on a phone they
   stack. Sent, the field keeps the address with a tick and the button sparks into «Ты в списке». */
.pr-early {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px 56px;
  margin: 28px 0 0;
  padding: 34px 38px 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(228, 244, 238, 0.075), rgba(228, 244, 238, 0.035));
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(244, 251, 248, 0.05),
    0 40px 90px -50px rgba(0, 0, 0, 0.85);
}
/* It rises when the visitor scrolls to it (pricing.js adds .is-in), not with the cards above. */
@media (scripting: enabled) {
  .pr-early:not(.is-in) {
    opacity: 0;
    animation: pc-fallback 0s 5.6s forwards;
  }
  html.pr-live .pr-early:not(.is-in) {
    animation: none;
  }
}
.pr-early.is-in {
  animation: pc-in 0.9s var(--ease-out) var(--in-delay, 0s) both;
}
.pr-early-eyebrow {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pr-early-title {
  margin: 12px 0 0;
  font: 600 clamp(24px, 2.3vw, 31px) / 1.12 var(--font-sans);
  letter-spacing: -0.035em;
  color: #f4f8f5;
  text-wrap: balance;
}
.pr-early-lead {
  max-width: 46ch;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.pr-early-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: rgba(3, 7, 5, 0.34);
  box-shadow:
    inset 0 1.5px 3px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(244, 251, 248, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}
.pr-early-field:focus-within {
  box-shadow:
    inset 0 1.5px 3px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(184, 231, 200, 0.55),
    0 0 0 4px rgba(184, 231, 200, 0.09);
}
.pr-early-field:has([aria-invalid='true']) {
  box-shadow:
    inset 0 1.5px 3px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(236, 160, 140, 0.6),
    0 0 0 4px rgba(236, 160, 140, 0.08);
}
.pr-early-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1 var(--font-sans);
  letter-spacing: -0.005em;
  outline: none;
}
.pr-early-field input::placeholder {
  color: rgba(129, 150, 138, 0.72);
}
/* The field's ring shows the focus; the input itself needs no second outline. */
.pr-early-field input:focus-visible {
  outline: none;
}
.pr-early-send {
  position: relative;
  flex: none;
  height: 48px;
  padding: 0 24px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #f2f5f3;
  color: #0b100d;
  font: 600 15px/1 var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 10px 26px -14px rgba(255, 255, 255, 0.4);
  transition:
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s,
    transform 0.25s var(--ease-out);
}
.pr-early-send:hover {
  background: #ffffff;
}
.pr-early-send:active {
  transform: scale(0.985);
}
.pr-early.is-busy .pr-early-send {
  cursor: progress;
}
.pr-early.is-busy .pr-early-send .pc-cta-label {
  opacity: 0.5;
}
.pr-early.is-busy .pr-early-send::after,
.pr-early.is-done .pr-early-send::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%) 0 0 /
    260% 100%;
  animation: pc-shimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}
/* Sent: the white button settles into glass, as the plans' buttons do. */
.pr-early.is-done .pr-early-send {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f8f5;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pr-early.is-done .pr-early-send::after {
  background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  animation-duration: 2.8s;
}
.pr-early-check {
  display: none;
  flex: none;
  width: 16px;
  height: 16px;
  margin-right: 2px;
  overflow: visible;
}
.pr-early-check path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
}
.pr-early.is-done .pr-early-check {
  display: block;
}
.pr-early.is-done .pr-early-check path {
  animation: pr-check 0.7s 0.15s var(--ease-out) both;
}
@keyframes pr-check {
  from {
    stroke-dashoffset: 16;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.pr-early.is-done .pr-early-field input {
  color: var(--mint);
}
.pr-early-fine {
  margin: 12px 0 0 24px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(129, 150, 138, 0.88);
}
.pr-early-status {
  margin: 8px 0 0 24px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #ecb6a6;
}
/* Empty, it takes no room but stays in the page, so a screen reader hears what arrives in it. */
.pr-early-status:empty {
  margin-top: 0;
}
.pr-early.is-done .pr-early-status {
  color: var(--mint);
}
/* The field people never see: a robot fills it in and is answered politely, with nothing kept. */
.pr-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pr-note[hidden] {
  display: none;
}
.pr-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.pr-note a {
  color: #f4f8f5;
  font-weight: 600;
  text-decoration: none;
}
.pr-note a:hover {
  text-decoration: underline;
}

/* ---------- Comparison: one glass panel */
.pr-compare,
.pr-faq {
  max-width: 1080px;
  margin: 0 auto;
  padding: 130px 32px 0;
}
.pr-h2 {
  margin: 14px 0 0;
  font: 600 clamp(32px, 3.8vw, 52px) / 1.05 var(--font-sans);
  letter-spacing: -0.04em;
}
.pr-panel {
  position: relative;
  margin-top: 36px;
  overflow-x: auto;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(228, 244, 238, 0.07), rgba(228, 244, 238, 0.035));
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(244, 251, 248, 0.05),
    0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.pr-grid {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.pr-grid th,
.pr-grid td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-grid thead th {
  padding-top: 24px;
  font: 600 16px/1.2 var(--font-sans);
  letter-spacing: -0.02em;
  color: #f4f8f5;
}
.pr-grid tbody th {
  font-weight: 400;
  color: var(--muted);
}
.pr-grid tr:last-child > * {
  border-bottom: 0;
}
.pr-grid .is-studio {
  background: rgba(255, 255, 255, 0.03);
}
.pr-group th {
  padding-top: 26px;
  padding-bottom: 10px;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4f8f5;
}
.pr-yes,
.pr-no {
  display: inline-block;
  vertical-align: -2px;
}
.pr-yes {
  width: 15px;
  height: 15px;
  background: #f4f8f5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
/* Not included: a small quiet dot (no dashes on this page). */
.pr-no {
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-radius: 50%;
  background: rgba(129, 150, 138, 0.5);
  vertical-align: 2px;
}

/* ---------- Questions */
.pr-questions {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}
.pr-questions details {
  position: relative;
  border-radius: 18px;
  background: rgba(228, 244, 238, 0.045);
  box-shadow:
    var(--bezel),
    inset 0 0 0 1px rgba(244, 251, 248, 0.04);
  transition: background 0.45s ease;
}
/* Open (and not on its way closed, see pricing.js): a touch lighter. */
.pr-questions details[open]:not(.is-closing) {
  background: rgba(228, 244, 238, 0.07);
}
.pr-questions summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  font: 500 17px/1.35 var(--font-sans);
  letter-spacing: -0.01em;
  color: #f4f8f5;
  list-style: none;
  cursor: pointer;
}
.pr-questions summary::-webkit-details-marker {
  display: none;
}
.pr-questions summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--muted);
  transition: transform 0.4s var(--ease-out);
}
.pr-questions details[open]:not(.is-closing) summary::after {
  transform: rotate(45deg);
}
/* The answer opens and closes smoothly (pricing.js animates this wrapper's height). */
.pr-answer {
  overflow: hidden;
}
.pr-questions p {
  max-width: 68ch;
  margin: 0;
  padding: 0 24px 24px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #aebfb4;
}

/* ---------- Footer */
.pr-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  max-width: 1340px;
  margin: 140px auto 0;
  padding: 28px 32px 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.pr-foot-brand {
  display: inline-flex;
  align-items: center;
}
/* The whole wordmark, as in the header (owner's request 06.10), not a cropped «F». */
.pr-foot-mark {
  width: auto;
  height: 30px;
}
.pr-foot-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.pr-foot-links a {
  text-decoration: none;
}
.pr-foot-links a:hover {
  color: var(--ink);
}

/* ---------- Narrower screens: one card after another, each with its own rows */
@media (max-width: 960px) {
  .pr-deck {
    grid-template-columns: minmax(0, 480px);
    grid-template-rows: none;
    justify-content: center;
    row-gap: 22px;
  }
  .pc {
    grid-row: auto;
    grid-template-rows: none;
  }
  .pr-early {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
    gap: 22px;
    margin-top: 22px;
  }
}
@media (max-width: 560px) {
  .pr-brand-tag {
    display: none;
  }
  .pr-hero {
    padding: 118px 20px 4px;
  }
  .pr-lead {
    font-size: 16.5px;
  }
  .pr-table,
  .pr-compare,
  .pr-faq {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pr-pill {
    padding: 0 13px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .pr-lang button {
    padding: 0 9px;
  }
  .pr-pill--sound {
    width: 52px;
    padding: 0;
  }
  .pc {
    padding: 26px 22px 28px;
  }
  .pc-amount {
    font-size: 52px;
  }
  .pr-early {
    padding: 26px 22px 24px;
  }
  .pr-early-field {
    flex-wrap: wrap;
    gap: 5px 8px;
    height: auto;
    padding: 5px;
    border-radius: 26px;
  }
  .pr-early-field input {
    height: 50px;
    padding-left: 15px;
  }
  .pr-early-check {
    margin-left: 15px;
  }
  .pr-early.is-done .pr-early-field input {
    padding-left: 0;
  }
  .pr-early-send {
    flex: 1 0 100%;
    height: 50px;
    border-radius: 22px;
  }
  .pr-early-fine,
  .pr-early-status {
    margin-left: 4px;
  }
  .pr-foot-links {
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  /* The comparison fits the phone: all three plans side by side, no sideways scroll. */
  .pr-grid {
    min-width: 0;
    font-size: 12.5px;
  }
  .pr-grid th,
  .pr-grid td {
    padding: 11px 7px;
    vertical-align: top;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  .pr-grid th:first-child {
    padding-left: 12px;
  }
  .pr-grid th:last-child,
  .pr-grid td:last-child {
    padding-right: 12px;
  }
  .pr-grid thead th {
    padding-top: 18px;
    font-size: 13px;
  }
  .pr-grid tbody th {
    width: 29%;
  }
  .pr-group th {
    padding-top: 20px;
  }
}
@media (max-width: 420px) {
  /* The logo alone: it gives the room to the sign-in. */
  .pr-brand {
    padding: 0 12px;
  }
  .pr-brand .pr-brand-mark {
    height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.is-open .pr-title,
  html.is-open .pr-lead,
  html.is-open .pr-billing,
  html.is-open .pr-hero .pr-eyebrow,
  .pc.is-in,
  .pr-early.is-in,
  .pc-cta.is-soon::after,
  .pr-early.is-done .pr-early-check {
    animation: none;
  }
  .pr-wave {
    transition: none;
  }
}
/* The site's own calm mode (the landing's pause switch, remembered) is honoured here too. */
html[data-motion='reduce'].is-open .pr-title,
html[data-motion='reduce'].is-open .pr-lead,
html[data-motion='reduce'].is-open .pr-billing,
html[data-motion='reduce'].is-open .pr-hero .pr-eyebrow,
html[data-motion='reduce'] .pc.is-in,
html[data-motion='reduce'] .pr-early.is-in,
html[data-motion='reduce'] .pc-cta.is-soon::after,
html[data-motion='reduce'] .pr-early.is-done .pr-early-check {
  animation: none;
}
html[data-motion='reduce'] .pr-wave {
  transition: none;
}
