/* Этап 142: лендинг «Эфир». Цвета — тёмная тема приложения (lib/theme/app_tokens.dart). */
@font-face { font-family: Manrope; src: url(fonts/Manrope-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #0E0F11;
  --surface: #17181C;
  --surface2: #202127;
  --ink: #ECEDEF;
  --ink2: #9A9EA6;
  --gold: #C9A467;
  --on-gold: #0E0F11;
  --divider: #26272D;
  --radius: 24px;
  --font: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 85% -10%, #2A2119 0%, transparent 60%), var(--bg);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; }
.hero__grid > * { min-width: 0; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink2); }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 15, 17, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}
.top__row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.top__slogan { color: var(--ink2); font-weight: 500; flex: 1; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--on-gold);
  border-radius: 999px; padding: 12px 22px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 30px -10px rgba(201, 164, 103, .55);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(201, 164, 103, .7); }
.btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.btn small { display: block; font-weight: 500; font-size: 13px; opacity: .75; margin-top: 2px; }
.btn--big { padding: 16px 28px; font-size: 18px; }
.btn--small { padding: 9px 18px; font-size: 15px; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--divider); box-shadow: none; }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* Герой */
.hero { padding: 72px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 16px; }
.lead { color: var(--ink2); font-size: 19px; max-width: 560px; margin: 20px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hint { color: var(--ink2); font-size: 14px; max-width: 520px; margin-top: 18px; }
.hero__phones { position: relative; height: 610px; }
.phone {
  position: absolute; width: 236px; border-radius: 34px;
  border: 6px solid #24252B; background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.phone--back { right: 210px; top: 40px; transform: rotate(-6deg); opacity: .85; }
.phone--front { right: 20px; top: 0; transform: rotate(4deg); }

/* Фишки */
.features { padding: 56px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 26px;
}
.card p { color: var(--ink2); margin: 0; font-size: 16px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2B2416, var(--surface2));
}
.card__icon svg { width: 26px; height: 26px; fill: var(--gold); }

/* Скриншоты */
.gallery { padding: 40px 0 56px; }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-color: var(--surface2) transparent;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 26px; border: 5px solid #24252B; background: var(--surface); }
.shots figcaption { color: var(--ink2); text-align: center; font-weight: 600; font-size: 15px; margin-top: 10px; }

/* Призыв */
.cta { padding: 24px 0 72px; }
.cta__box {
  text-align: center; padding-top: 48px; padding-bottom: 48px;
  background: linear-gradient(160deg, #2A2119, var(--surface) 70%);
  border: 1px solid var(--divider); border-radius: 32px;
}
.cta__box h2 { margin-bottom: 8px; }
.cta__box p { color: var(--ink2); margin: 0 0 26px; }

/* Подвал */
.foot { border-top: 1px solid var(--divider); padding: 40px 0 28px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot p { margin: 0 0 6px; }
.req p { color: var(--ink2); }
.docs { display: flex; flex-direction: column; gap: 8px; }
.age {
  border: 1.5px solid var(--gold); color: var(--gold); border-radius: 8px;
  font-weight: 800; font-size: 13px; padding: 1px 6px;
}
.foot .brand { margin-bottom: 10px; }
.foot__bottom { margin-top: 28px; font-size: 14px; }

/* Документ (doc.html) */
.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc__body h1 { font-size: 32px; margin-bottom: 18px; }
.doc__body h2 { font-size: 22px; margin: 28px 0 10px; }
.doc__body h3 { font-size: 18px; }
.doc__body p, .doc__body li { color: #C9CCD2; }
.doc__back { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* Мобильный */
@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__phones { height: 500px; max-width: 420px; width: 100%; margin: 0 auto; }
  .phone { width: 200px; }
  .phone--back { right: auto; left: 8%; top: 30px; }
  .phone--front { right: 8%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top__slogan { display: none; }
  .top__row { justify-content: space-between; }
  .lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__phones { height: 420px; }
  .phone { width: 165px; border-radius: 26px; border-width: 4px; }
  .cards { grid-template-columns: 1fr; }
  .shots { grid-auto-columns: 62%; }
  .foot__grid { grid-template-columns: 1fr; }
}
.doc__table { overflow-x: auto; margin: 14px 0; }
.doc__table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc__table th, .doc__table td { border: 1px solid var(--divider); padding: 8px 10px; text-align: left; vertical-align: top; color: #C9CCD2; }
.doc__table th { background: var(--surface); color: var(--ink); }
