:root {
  --white: #ffffff;
  --black: #111111;
  --pink: #ff2d8d;
  --pink-hover: #e91e78;
  --lime: #d9f44a;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --border: #e8e8e8;
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
}

.logo {
  color: var(--black);
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.logo-dot {
  color: var(--pink);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 70px 0 100px;
}

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

.eyebrow,
.section-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 14vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 850;
  color: #111111;
}

.hero-text {
  max-width: 650px;
  margin: 32px 0 34px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.55;
}

.button {
  border: 0;
  border-radius: 999px;
  min-height: 54px;
  padding: 0 26px;
  font-weight: 750;
  transition: transform .15s ease, background .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--pink);
  color: var(--white);
}

.button-primary:hover {
  background: var(--pink-hover);
}

.button-secondary {
  background: var(--black);
  color: var(--white);
}

.button-full {
  width: 100%;
}

.steps-section,
.plans-section,
.order-section {
  padding: 90px 0;
}

.steps-section {
  background: var(--light-gray);
}

.plans-section {
  background: var(--light-gray);
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  align-items: start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  font-weight: 850;
  margin-bottom: 0;
}

.step h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--gray);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.plans-grid {
  display: grid;
  gap: 22px;
}

.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
}

.plan-card.popular {
  border: 2px solid var(--black);
  padding: 25px;
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--lime);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 850;
}

.plan-name {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

 .plan-price {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.plan-card:first-child .plan-price {
  color: #111111;
}

.plan-card:not(:first-child) .plan-price {
  color: #111111;
}

.plan-meta {
  margin: 12px 0 24px;
  color: var(--gray);
  font-size: 14px;
}

.plan-card .button {
  width: 100%;
}

.info-card {
  margin-top: 18px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  padding: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font-weight: 900;
}

.info-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.info-item p {
  margin: 0;
  color: #c9c9c9;
  line-height: 1.45;
  font-size: 14px;
}

.info-divider {
  height: 1px;
  background: #333333;
  margin: 24px 0;
}

.order-section {
  background: var(--light-gray);
}

.order-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 30px;
  padding: 28px;
}

.order-card h2 {
  margin: 14px 0 10px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.order-description {
  color: var(--gray);
  line-height: 1.5;
  margin: 0 0 28px;
}

.selected-plan {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--light-gray);
}

.selected-plan-label {
  display: block;
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 4px;
}

.selected-plan strong:last-child {
  font-size: 22px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 750;
}

.field input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 16px;
  outline: none;
  background: var(--white);
}

.field input:focus {
  border-color: var(--black);
}

.form-error {
  min-height: 20px;
  margin-bottom: 8px;
  color: var(--pink-hover);
  font-size: 13px;
}

.order-success {
  text-align: center;
}

.success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 26px;
  font-weight: 900;
}

.order-success h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.order-success p {
  color: var(--gray);
  line-height: 1.5;
}

.success-note {
  font-size: 13px;
  margin-bottom: 22px;
}

.loading {
  padding: 30px;
  color: var(--gray);
  text-align: center;
}

.site-footer {
  padding: 28px 0 40px;
  font-size: 18px;
  font-weight: 800;
}

@media (min-width: 700px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .order-card {
    padding: 42px;
  }
}

@media (min-width: 1000px) {
  .hero {
    min-height: 700px;
  }

  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-card {
    display: flex;
    flex-direction: column;
  }

  .plan-card .button {
    margin-top: auto;
  }
}

/* Screen 2 text links — same appearance as surrounding text */
.steps .step p a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.steps .step p a:hover {
  color: inherit;
  text-decoration: underline;
}

/* Screen 2: только оформление текста */
.steps > .step h2,
.steps > .step p {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.steps > .step h2 {
  grid-column: 2;
}

.steps > .step p {
  grid-column: 2;
}

.steps > .step .app-text-link,
.steps > .step .app-text-link:visited,
.steps > .step .app-text-link:hover,
.steps > .step .app-text-link:focus {
  color: var(--black);
  text-decoration: none;
  font-weight: 400;
}

/* Только кликабельные слова во втором экране */
.steps-section a {
  color: var(--gray) !important;
  font: inherit !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.steps-section a:hover,
.steps-section a:focus,
.steps-section a:active,
.steps-section a:visited {
  color: var(--gray) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}


/* Футер: только расположение и внешний вид ссылки поддержки */
.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .support-link {
  color: var(--gray);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.site-footer .support-link:hover,
.site-footer .support-link:visited,
.site-footer .support-link:focus,
.site-footer .support-link:active {
  color: var(--gray);
  text-decoration: none;
}

.plan-price .old-price {
  font-size: 28px;
  font-weight: 400;
  color: var(--gray);
  white-space: nowrap;
}

.ruble-sign {
  font-size: 50%;
}
.plan-price .old-price + .old-ruble {
  font-size: 50%;
  color: #666666;
  font-weight: 400;
  text-decoration: none;
}


/* Юридические ссылки и обязательные согласия */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

.footer-links a:hover,
.footer-links a:visited,
.footer-links a:focus,
.footer-links a:active {
  color: var(--gray);
}

@media (max-width: 699px) {
  .footer-links {
    gap: 10px 14px;
  }
}

.seller-details {
  margin-left: 16px;
  margin-top: 14px;
  color: #666666 !important;
  font-size: 11px !important;
  line-height: 1.5;
  font-weight: 400 !important;
}

.seller-details div,
.seller-details a {
  color: #666666 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}
