/* one-aero.ru — цвета и шрифты как в приложении (web/static/app.css); собирается scripts/build_site.py */
@font-face { font-family: 'Geologica'; font-weight: 300 600; font-display: swap; src: url(fonts/Geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-weight: 300 600; font-display: swap; src: url(fonts/Geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Alumni Sans'; font-weight: 600 700; font-display: swap; src: url(fonts/AlumniSans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Alumni Sans'; font-weight: 600 700; font-display: swap; src: url(fonts/AlumniSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F; }
:root { --bg: #1C1640; --surface: #2A2258; --raised: #362C6E; --line: rgba(255,255,255,.08); --accent: #6B4BA8;
  --icon: #CDBFFF; --text: #fff; --soft: #C9C2EA; --muted: #B3ABDB; --faint: #8A82B5;
  --plus: linear-gradient(135deg, #6B4BA8 0%, #C987A8 100%); --r: 22px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 'Geologica', -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--icon); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 40px; }
h1 { font-weight: 300; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin: 0 0 14px; }
h2 { font-weight: 400; font-size: 26px; margin: 0 0 16px; }
h3 { font-weight: 500; font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 12px; color: var(--soft); }
section { margin: 0 0 44px; }
.lead { font-size: 18px; color: var(--soft); max-width: 640px; }
.small, .note { font-size: 13px; color: var(--faint); }
.center { text-align: center; margin-top: 18px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px 16px;
  background: rgba(28, 22, 64, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 24px 'Alumni Sans', sans-serif; letter-spacing: .02em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.top nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--soft); text-decoration: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.top nav a.on, .top nav a:hover { background: var(--surface); color: #fff; }
@media (max-width: 720px) {
  .top { flex-wrap: wrap; row-gap: 6px; }
  .top nav { order: 3; width: 100%; margin: 0 -4px; }
  .top .btn.sm { margin-left: auto; }
}

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; transition: transform .12s, background .2s; }
.btn:hover { background: #7A59BA; } .btn:active { transform: scale(.98); }
.btn.ghost { background: rgba(255,255,255,.1); }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }

/* первый экран */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; padding: 80px 0 48px;
  background: url(img/hero.jpg) center 60% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,22,64,.55) 0, rgba(28,22,64,.15) 40%, rgba(28,22,64,.55) 72%, #1C1640 100%); }
.hero .wrap { position: relative; width: 100%; }
.kicker { font: 700 22px 'Alumni Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--icon); margin-bottom: 8px; }
.hero h1 { text-shadow: 0 2px 18px rgba(28,22,64,.45); }
.hero .lead { color: #EDE9FF; text-shadow: 0 1px 12px rgba(28,22,64,.5); }

/* шаги и карточки */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps.col { grid-template-columns: 1fr; max-width: 680px; }
.step, .card { background: var(--surface); border-radius: var(--r); padding: 20px; }
.step b { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--plus); font-weight: 600; margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 14px; }
.card { display: flex; flex-direction: column; margin-bottom: 12px; }
.grid .card { margin: 0; }
.card p { flex: 1; }
.card .more { margin-top: 6px; font-weight: 500; text-decoration: none; }
.card ol, .card ul { margin: 6px 0 14px; padding-left: 20px; color: var(--soft); }
.card li { margin: 4px 0; }
.tag { align-self: flex-start; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--raised); color: var(--icon); margin-bottom: 10px; }
.band { background: var(--plus); border-radius: 28px; padding: 32px 24px; text-align: center; }
.band p { color: #F3EEFF; } .band .btn { background: #fff; color: var(--bg); }

/* вопросы и документы */
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; color: #fff; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { font-size: 15px; }
.doc { max-width: 760px; background: var(--surface); border-radius: var(--r); padding: 22px; }
.doc p, .doc li { font-size: 15px; }
.doc b { color: #fff; font-weight: 500; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.foot-links a { color: var(--soft); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
