/* mcp-1c — лендинг pay.softbc.ru. Apple-минимализм, без зависимостей. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.47;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 26px; height: 26px; border-radius: 7px; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--text); font-size: 14px; opacity: 0.85; }
.nav nav a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 640px) { .nav nav { display: none; } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 96px 0 72px; }
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero .sub {
  font-size: 24px;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  font-weight: 400;
}
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 19px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: transparent; }
.btn-ghost:hover { text-decoration: underline; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { font-size: 20px; color: var(--text-muted); max-width: 620px; margin: 0 auto; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .section-head h2 { font-size: 32px; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.section-alt .feature { background: #fff; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 113, 227, 0.1); margin-bottom: 18px;
}
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 16px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 12px 40px rgba(0, 113, 227, 0.12); }
.plan .tag { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 10px; min-height: 18px; }
.plan h3 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price span { font-size: 17px; font-weight: 400; color: var(--text-muted); }
.plan .note { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; font-size: 16px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.plan li:last-child { border-bottom: none; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.4 11.2 3.2 8l1.13-1.13L6.4 8.94l5.27-5.27L12.8 4.8z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.4 11.2 3.2 8l1.13-1.13L6.4 8.94l5.27-5.27L12.8 4.8z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan li.muted { color: var(--text-muted); }
.plan li.muted::before { background: var(--text-muted); opacity: 0.4; }
.plan .btn { width: 100%; }

/* ---------- Steps / how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; }
.step .n {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--text); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 16px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  font-size: 13px;
  color: var(--text-muted);
}
footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 32px; }
footer h4 { font-size: 13px; color: var(--text); margin-bottom: 12px; font-weight: 600; }
footer .col a { display: block; color: var(--text-muted); margin-bottom: 8px; }
footer .col a:hover { color: var(--text); }
footer .req { line-height: 1.7; max-width: 460px; }
footer .legal { border-top: 1px solid var(--border); padding-top: 20px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 56px 0 80px; }
.legal-page .doc { max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal-page .meta { color: var(--text-muted); margin-bottom: 36px; font-size: 15px; }
.legal-page h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.legal-page p, .legal-page li { color: #333; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { margin: 0 0 12px 24px; }
.legal-page .back { display: inline-block; margin-bottom: 32px; font-size: 15px; }
.ph { background: #fff4d6; border-radius: 4px; padding: 0 5px; color: #7a5c00; }
