/* Лендинг мамаплан.рф. Стиль - от знака: фиолетовый, орхидея, коралл и «ночь»; заголовки - Unbounded (свой файл). */
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-cyr.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
:root {
  --violet: #7C5CFF;
  --orchid: #D24FD6;
  --coral: #FF7A6B;
  --night: #120C29;
  --grad: linear-gradient(90deg, #7C5CFF, #D24FD6 55%, #FF7A6B);
  --bg: #FBFAFF;
  --card: #FFFFFF;
  --text: #1A1333;
  --dim: #5E5875;
  --line: #ECE7F7;
  --accent: #6B4CF0;
  --accent-soft: #EFEAFF;
  --shadow: 0 14px 40px rgba(60, 30, 150, 0.12);
  --frame: #1A1333;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110C24;
    --card: #1A1433;
    --text: #EEEAF8;
    --dim: #ABA4C4;
    --line: #2A2245;
    --accent: #A48BFF;
    --accent-soft: #261E46;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    --frame: #3A3157;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section.wrap { padding-top: 64px; }
h1, h2, h3, .logo span { font-family: "Unbounded", -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.12; margin: 0 0 18px; font-weight: 600; }
h2 { font-size: clamp(22px, 3.2vw, 32px); line-height: 1.22; margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.sub, .lead { color: var(--dim); max-width: 680px; }
.lead { font-size: 19px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* шапка */
.top { position: sticky; top: 0; z-index: 5; background: rgba(18, 12, 41, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo span { font-size: 21px; font-weight: 600; }

/* кнопки */
.btn { display: inline-block; padding: 13px 24px; border-radius: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(210, 79, 214, 0.35); }
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(210, 79, 214, 0.45); }
.btn-ghost { background: var(--accent-soft); color: var(--accent); }
.btn-ghost:hover { border-color: var(--accent); }
.top .btn, .hero .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.top .btn:hover, .hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.top .btn { padding: 8px 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.note { font-size: 15px; }
.badge { display: inline-block; margin: 0 0 16px; padding: 5px 13px; border-radius: 99px; font-size: 14px; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }

/* первый экран - «ночь», как у знака */
.hero { background: radial-gradient(900px 520px at 78% 0%, #3B2290 0%, rgba(18, 12, 41, 0) 70%),
                    radial-gradient(700px 420px at 0% 100%, rgba(210, 79, 214, 0.22), rgba(18, 12, 41, 0) 70%), var(--night);
  color: #fff; }
.hero .lead, .hero .note { color: #CFC8EA; }
.hero .note a { color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.phone { width: 100%; max-width: 330px; margin: 0 auto; border-radius: 34px; border: 8px solid var(--frame);
  box-shadow: var(--shadow); background: #fff; }
.hero .phone { border-color: #2B2350; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.desk { margin-top: 24px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* карточки */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); opacity: .9; }
.card p { margin: 0; color: var(--dim); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.steps { padding-left: 0; max-width: 760px; list-style: none; counter-reset: s; }
.steps li { margin: 0 0 14px; padding-left: 52px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; font: 600 16px "Unbounded", sans-serif; background: var(--grad); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--dim); margin: 10px 0 0; }

.final { text-align: center; padding-bottom: 64px; }
.final .cta { justify-content: center; }

/* подвал - тоже «ночь» */
.foot { background: var(--night); color: #ABA4C4; margin-top: 32px; }
.foot a { color: #fff; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 24px; padding-bottom: 30px; font-size: 15px; }
.logo-foot span { font-size: 17px; }

.doc { max-width: 760px; padding-top: 36px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(24px, 4vw, 34px); }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .hero-in, .duo { grid-template-columns: 1fr; gap: 36px; }
  .duo-rev img { order: 2; }
  .grid { grid-template-columns: 1fr; }
  section.wrap { padding-top: 48px; }
  .phone { max-width: 290px; }
  .logo span { font-size: 19px; }
}
@media (min-width: 861px) and (max-width: 1020px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* заявка на доступ */
.request { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; background: var(--card);
  border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.request::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--grad); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form .opt { color: var(--dim); font-weight: 400; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.form textarea { resize: vertical; min-height: 84px; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-size: 17px; }
.form .fine { color: var(--dim); font-size: 13px; margin: 0; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { min-height: 50vh; }
@media (max-width: 860px) { .request { grid-template-columns: 1fr; gap: 20px; padding: 22px; } .form .btn { justify-self: stretch; text-align: center; } }

/* помощь */
.help { padding-top: 36px; padding-bottom: 40px; }
.help h1 { font-size: clamp(30px, 5vw, 44px); }
.help section { padding-top: 48px; scroll-margin-top: 72px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.toc a { padding: 8px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { outline: 2px solid var(--accent); }
.shots { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots li { font-size: 15px; color: var(--text); }
.shots img { width: 100%; max-width: 220px; margin: 0 auto 12px; }
.duo-help { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; margin-top: 16px; }
.duo-help ol { padding-left: 20px; margin: 0 0 12px; }
.duo-help li { margin-bottom: 8px; }
.phone-shot { width: 240px; border-radius: 26px; border: 7px solid var(--frame); box-shadow: var(--shadow); background: #fff; }
.phone-shot.tall { width: 260px; }
.pair { display: flex; gap: 14px; }
.pair .phone-shot { width: 200px; }
.wide { width: 420px; max-width: 100%; }
.help .note { color: var(--dim); font-size: 15px; background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; }
@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .duo-help { grid-template-columns: 1fr; gap: 18px; }
  .phone-shot, .phone-shot.tall { width: min(260px, 100%); margin: 0 auto; display: block; }
  .pair { justify-content: center; }
  .pair .phone-shot { width: calc(50% - 7px); }
  .wide { width: 100%; }
}
.top-nav { display: flex; align-items: center; gap: 18px; }
.top-nav > a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; opacity: .85; }
.top-nav > a:not(.btn):hover { opacity: 1; }
.final .sub { margin-left: auto; margin-right: auto; }
@media (max-width: 380px) { .top-nav { gap: 10px; } .top .btn { padding: 7px 12px; } .logo span { font-size: 17px; } .logo img { width: 28px; height: 30px; } }
