:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --panel: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.14);
  --accent: #0071e3;
}

body {
  background: #f5f5f7;
  color: var(--text);
}

.page { padding: 0 28px; background: #f5f5f7; }
.wrap { width: min(1120px, 100%); }

.topbar { min-height: 56px; padding: 12px 0; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: #101b2c; box-shadow: none; }
.brand { gap: 10px; }
.brand strong { color: #1d1d1f; font-size: 14px; font-weight: 650; }
.brand span { display: none; }
.account-link {
  min-height: 34px;
  padding: 6px 12px;
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.account-link:hover,
.account-link:focus-visible { border-color: #0077ed; background: #0077ed; outline: none; }

.prices-main { padding: 72px 0 78px; }
.prices-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.prices-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #515154;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.prices-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0071e3;
  box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.13);
  content: "";
}
.prices-intro h1 { margin: 0; color: #1d1d1f; font-size: clamp(44px, 5.5vw, 68px); font-weight: 650; line-height: 1.04; letter-spacing: -0.055em; }
.prices-lead { max-width: 580px; margin: 18px auto 0; color: #6e6e73; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; }

.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.price-card {
  display: flex;
  min-height: 244px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(29, 29, 31, 0.07);
  color: #1d1d1f;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.price-card:hover,
.price-card:focus-visible { transform: translateY(-3px); border-color: rgba(0, 113, 227, 0.42); box-shadow: 0 18px 42px rgba(29, 29, 31, 0.12); outline: none; }
.price-card.featured { border-color: #8bbff1; background: linear-gradient(145deg, #f4faff, #fff 72%); }
.price-card-label { color: #6e6e73; font-size: 15px; }
.price-card strong { display: block; margin-top: 18px; color: #1d1d1f; font-size: clamp(40px, 5vw, 54px); line-height: 1; letter-spacing: -0.04em; }
.price-card p { margin: 14px 0 0; color: #6e6e73; font-size: 16px; line-height: 1.45; }
.price-card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; color: #0066cc; font-size: 16px; font-weight: 700; }

.payment-note { margin: 18px 0 0; padding: 17px 20px; border: 1px solid #c9ddf4; border-radius: 16px; background: #f5faff; color: #515154; line-height: 1.55; text-align: center; }
.payment-note strong { color: #1d1d1f; }

.payment-methods { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); gap: 24px 34px; margin-top: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(29, 29, 31, 0.05); }
.payment-kicker { color: #0066cc; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.payment-methods-copy h2 { margin: 8px 0 0; color: #1d1d1f; font-size: clamp(26px, 4vw, 36px); line-height: 1.1; letter-spacing: -0.04em; }
.payment-methods-copy p { margin: 12px 0 0; color: #6e6e73; line-height: 1.5; }
.method-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.method { display: flex; min-height: 200px; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 18px; border: 1px solid rgba(29, 29, 31, 0.12); border-radius: 16px; background: #f5f5f7; text-align: center; }
.method strong, .method small, .payment-operator strong, .payment-operator small { display: block; }
.method strong { color: #1d1d1f; line-height: 1.25; }
.method small { margin-top: 5px; color: #6e6e73; line-height: 1.35; }
.method-art { display: grid; width: 100%; height: 92px; place-items: center; border-radius: 12px; background: #fff; }
.method-art img { display: block; object-fit: contain; }
.card-art { width: 70px; height: 70px; filter: invert(42%) sepia(75%) saturate(1378%) hue-rotate(183deg) brightness(92%) contrast(102%); }
.sbp-art { width: 145px; height: 92px; }
.payment-operator { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.operator-mark { display: inline-flex; min-height: 36px; align-items: center; padding: 8px 11px; border-radius: 9px; background: #7b3ff2; color: #fff; font-weight: 900; letter-spacing: -.02em; }
.payment-operator small { margin-top: 4px; color: #6e6e73; }

footer { border-top-color: rgba(29, 29, 31, 0.16); color: #6e6e73; }
footer a { color: #0066cc; }

@media (max-width: 840px) {
  .pricing-plans, .payment-methods { grid-template-columns: 1fr; }
  .pricing-plans { margin-top: 34px; }
  .price-card { min-height: 200px; }
  .payment-operator { grid-column: auto; }
}
@media (max-width: 560px) {
  .page { padding: 0 18px; }
  .prices-main { padding: 48px 0 54px; }
  .method-list { grid-template-columns: 1fr; }
  .payment-methods { padding: 20px; }
}
