:root {
  --ink: #15112a;
  --text: #3f3a55;
  --muted: #6e6886;
  --line: #e9e4f3;
  --violet: #6b46f5;
  --violet-dark: #5432d6;
  --violet-soft: #efeafe;
  --paper: #f7f5fc;
  --gold: #f5b81c;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(21, 17, 42, .04), 0 12px 32px -12px rgba(21, 17, 42, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.025em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 14px;
  background: var(--violet); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 24px -10px rgba(107, 70, 245, .7);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover { background: var(--violet-dark); transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px #cfc6e8; }
.btn-light { background: #fff; color: var(--violet); box-shadow: none; }
.btn-light:hover { background: #f3efff; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(233, 228, 243, .7);
}
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text); transition: background .2s, color .2s; }
.nav a:hover { background: var(--violet-soft); color: var(--violet); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-list { position: absolute; right: 0; top: 54px; width: 220px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; }
.menu-list a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.menu-list a:hover { background: var(--violet-soft); }

/* Hero */
.hero { padding: 28px 0 0; }
.hero-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 48px;
  padding: 56px 56px 72px;
  border-radius: 32px;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(135deg, #f4effd 0%, #e9e0fa 100%);
  overflow: hidden;
}
.hero-text { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 700; color: var(--violet); letter-spacing: .02em;
  box-shadow: 0 1px 2px rgba(21, 17, 42, .06);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
h1 { margin: 22px 0 20px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
h1 em { font-style: normal; color: var(--violet); }
.lead { font-size: 18px; color: var(--muted); max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-media { position: relative; margin: 0; }
.hero-img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(70, 40, 160, .45);
}
.schedule {
  position: absolute; z-index: 2;
  left: -40px; bottom: -28px;
  width: 230px; padding: 16px;
  background: rgba(255, 255, 255, .96); border-radius: 18px;
  box-shadow: 0 20px 40px -16px rgba(21, 17, 42, .3);
}
.schedule-head { display: flex; flex-direction: column; margin-bottom: 12px; }
.schedule-head strong { color: var(--ink); font-size: 15px; }
.schedule-head span { font-size: 12px; color: var(--muted); }
.schedule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.schedule li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: 13px; }
.schedule li b { color: var(--ink); font-weight: 700; }
.schedule li span { color: var(--muted); font-weight: 600; }
.schedule li.done span { color: #1f9d55; }
.schedule li.done span::before { content: "✓ "; }
.schedule li.next { background: var(--violet-soft); }
.schedule li.next span { color: var(--violet); }
.bar { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #9b7bff); border-radius: 6px; }

.facts {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.facts li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.facts svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); }
.facts b, .doc-list b { display: block; color: var(--ink); font-size: 16px; }
.facts span, .doc-list span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Sections */
.section { padding: 104px 0; }
.section.tint { background: var(--paper); }
.section:not(.tint) + .section:not(.tint) { padding-top: 0; }
.head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.head.left { margin: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.kicker.on-dark { color: var(--gold); }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 800; }
.head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Goods */
.goods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.good { border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.good:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.good-img { background: #efe9f8; aspect-ratio: 4 / 3; overflow: hidden; }
.good-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.good:hover .good-img img { transform: scale(1.04); }
.good-body { padding: 24px 26px 28px; }
.good h3 { font-size: 22px; font-weight: 800; }
.good p { margin-top: 8px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, #c9bdf3 0 4px, transparent 4px 8px);
}
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 15px; }
.steps h3 { margin-top: 22px; font-size: 20px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Calculation */
.calc {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: 32px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(107, 70, 245, .45), transparent 70%),
    var(--ink);
  color: #c9c3dc;
}
.calc h2 { color: #fff; }
.calc-text p { margin-top: 16px; font-size: 17px; }
.formula { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.formula li { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.formula li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; }
.formula b { color: #fff; font-size: 17px; }
.formula p { font-size: 15px; color: #b3acc9; }

/* Documents */
.docs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.doc-list li { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.doc-list svg { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative; color: var(--ink); font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 64px; border-radius: 32px;
  background:
    radial-gradient(400px 260px at 90% 120%, rgba(245, 184, 28, .35), transparent 70%),
    linear-gradient(120deg, var(--violet) 0%, #8a5cff 100%);
  color: #ece6ff;
}
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; font-size: 17px; }
.cta .btn { flex: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot img { height: 34px; width: auto; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; font-weight: 600; color: var(--muted); }
.foot nav a:hover { color: var(--violet); }
.foot small { margin-left: auto; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav, .top .btn-sm { display: none; }
  .menu { display: block; margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; padding: 36px 28px 28px; gap: 32px; }
  .schedule { position: relative; left: auto; bottom: auto; width: auto; margin-top: 16px; }
  .facts, .goods { grid-template-columns: 1fr; }
  .calc, .docs, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .calc { padding: 40px 28px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .foot small { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .steps { grid-template-columns: 1fr; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .faq summary { font-size: 16px; padding: 18px 52px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
