.pricing {}
.pricing__head {
  max-width: 960px;
  margin-bottom: clamp(40px, 5vw, 72px);
  display: flex; flex-direction: column; gap: 16px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* ── Base card ─────────────────────────────────────────── */
.plan {
  isolation: isolate;
  position: relative;
  padding: 36px 32px 32px;
  border: 1px solid #2a2a35;
  border-radius: var(--r-xl);
  background-image: url('../img/bg-4o1twCE787.webp');
  background-size: cover;
  background-position: center;
  display: flex; flex-direction: column; gap: 28px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,8,10,.78);
  z-index: -1;
}
.plan:hover {
  transform: translateY(-3px);
}

/* ── Card header ───────────────────────────────────────── */
.plan__head { display: flex; flex-direction: column; gap: 8px; }

.plan__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--c-text);
}

.plan__sub {
  font-size: 13px;
  color: var(--c-text-3);
  font-weight: 400;
}

/* ── Row list ──────────────────────────────────────────── */
.plan__rows {
  display: flex; flex-direction: column;
  flex: 1;
}
.plan__rows li {
  padding: 13px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
}
.plan__rows li:first-child { border-top: 1px solid var(--c-line); }

.plan__rows li span {
  color: var(--c-text-2);
  display: flex; align-items: center; gap: 7px;
  flex: 1;
}

.plan__rows li b {
  color: var(--c-text);
  font-weight: 700;
  font-feature-settings: "tnum";
  white-space: nowrap;
  display: flex; align-items: baseline; gap: 4px;
}

.plan__rows li b em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  font-weight: 400;
}

/* ── Highlighted row (ТОП) ─────────────────────────────── */
.plan__row--top {
  margin: 0 -32px;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
.plan__row--top > span { color: var(--c-text); font-weight: 600; }
.plan__row--top > b { color: var(--c-accent); }

/* ── ТОП badge ─────────────────────────────────────────── */
.plan__badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--f-mono);
  line-height: 1.6;
  color: var(--c-accent);
  background: oklch(0.505 0.20 285.7 / .12);
  border: 1px solid oklch(0.505 0.20 285.7 / .28);
}

/* ── Star mark ─────────────────────────────────────────── */
.plan__star {
  display: inline-flex; align-items: center;
  color: #f5c542;
  line-height: 1;
  background: none; border: none; padding: 0;
}

/* ── Coupon card ───────────────────────────────────────── */
.plan__coupon-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--c-text);
}

.plan__coupon-sub {
  font-size: 14px;
  color: var(--c-text-3);
  margin-top: 2px;
}

.plan__coupon-form {
  display: flex; flex-direction: column; gap: 20px;
  flex: 1; justify-content: center;
}

.plan__coupon-field {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgb(103 2 255);
  background: rgba(0,0,0,.3);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.plan__coupon-field:focus-within {
  border-color: oklch(0.505 0.293 285.7 / .6);
  box-shadow: 0 0 0 3px oklch(0.505 0.20 285.7 / .12);
}
.plan__coupon-field svg { color: var(--c-text-3); flex-shrink: 0; }
.plan__coupon-field input {
  flex: 1;
  font-size: 15.5px;
  letter-spacing: .14em;
  font-family: var(--f-mono);
  color: var(--c-text);
  text-transform: uppercase;
}
.plan__coupon-field input:focus {
  outline: none;
}
.plan__coupon-field input::placeholder {
  color: var(--c-text-4);
  letter-spacing: .08em;
}

.plan__coupon-hint {
  font-size: 14px;
  color: var(--c-text-3);
  text-align: center;
  line-height: 1.5;
}
.plan__coupon-hint a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.505 0.293 285.7 / .3);
  transition: border-color .2s, color .2s;
}
.plan__coupon-hint a:hover {
  color: #fff;
  border-color: oklch(0.505 0.293 285.7 / .7);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .plan__row--top { margin: 0 -32px; padding-left: 32px !important; padding-right: 32px !important; }
}
