/* Решатели — лендинг (https://reshateli.pro). Токены и шрифты — design.css и fonts.css, логотип и иконки — app.css. */

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); }
.l-top, main, .l-foot { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.l-h2 { font: 800 clamp(28px, 4vw, 40px)/1.15 var(--font-head, Nunito, Inter, sans-serif); letter-spacing: -0.5px; margin: 6px 0 14px; }
.l-lead { font-size: 18px; line-height: 1.55; color: var(--slate); max-width: 720px; margin: 0 0 28px; }
.l-big { min-height: 52px; padding: 14px 24px; font-size: 16px; }

/* шапка: логотип слева, «Войти» справа */
.l-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: 76px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); max-width: none; }
.l-brand { display: block; height: 56px; }
.l-brand .logo3d { height: 56px; width: auto; }
.l-nav { display: flex; gap: 22px; margin-left: auto; }
.l-nav a { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
.l-nav a:hover { color: var(--ink); }
.l-enter { margin-left: 8px; }

/* сцена: тёмно-синий верх, голубой низ с холмами, на них — шестёрка Решателей */
.l-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: 24px; border-radius: 24px; padding: 48px 32px 0; text-align: center; color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, #1a2a52 0%, #0a1530 55%, #070f24 100%); }
.l-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1;
  background: linear-gradient(180deg, rgba(156, 207, 242, 0) 0%, #9ccff2 34%, #e4f3fd 100%); }
.l-hero-logo { display: block; width: min(420px, 82%); margin: 0 auto; }
.l-hero-logo .intro-logo { width: 100%; }
.l-hero-title { font: 900 clamp(31px, 5vw, 52px)/1.1 Nunito, Inter, sans-serif; margin: 18px auto 12px; max-width: 820px; letter-spacing: -0.5px; }
.l-hero-sub { max-width: 640px; margin: 0 auto 26px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.l-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.l-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.l-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.l-crew { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 2vw, 28px); margin: 40px -32px 0; padding: 70px 24px 28px;
  background: radial-gradient(120% 90% at 50% 120%, #f3f9fe 0 55%, #b7dcf6 56% 100%); }
.l-crew-hero { position: relative; width: clamp(64px, 12vw, 150px); padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); }
.l-crew-art { display: block; }
.l-crew-shadow { display: block; height: 10px; margin: -6px 18% 0; border-radius: 50%; background: rgba(26, 26, 26, 0.12); }
.l-say { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 220px; z-index: 2; padding: 10px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--hairline); box-shadow: rgba(15, 15, 15, 0.16) 0 16px 48px -8px; font-size: 14px; line-height: 1.4; text-align: left; }

/* разделы */
.l-sec { padding: 88px 0 24px; }
.l-sec > .t-micro-up, .l-feature-text > .t-micro-up, .l-band .t-micro-up { color: var(--steel); }
.l-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.l-step { padding: 24px; border-radius: 20px; background: var(--surface); }
.l-step b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font: 600 16px/1 ui-monospace, 'SF Mono', monospace; }
.l-step h3 { font: 800 22px/1.3 Nunito, Inter, sans-serif; margin: 14px 0 6px; }
.l-step p { margin: 0; color: var(--slate); line-height: 1.55; }

.l-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; }
.l-feature.l-rev .l-feature-text { order: 2; }
.l-feature-text p { font-size: 17px; line-height: 1.6; color: var(--charcoal); margin: 0 0 14px; }
.l-ic { display: block; width: 76px; height: 76px; margin-bottom: 10px; }
.l-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.l-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.l-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%2314802b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* экран телефона: настоящий снимок приложения */
.l-phones { position: relative; isolation: isolate; display: flex; justify-content: center; }
.l-phone { margin: 0; width: min(320px, 100%); padding: 8px; border-radius: 34px; background: #fff; border: 1px solid var(--hairline); box-shadow: rgba(15, 15, 15, 0.2) 0 24px 48px -8px; }
.l-phone img { display: block; width: 100%; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; border-radius: 26px; }
.l-phone figcaption { padding: 10px 6px 4px; font: 800 16px/1.3 Nunito, Inter, sans-serif; text-align: center; }
.l-phones .l-phone-back { position: absolute; width: min(250px, 70%); right: 0; bottom: -40px; transform: rotate(4deg); z-index: -1; }
.l-phones:has(.l-phone-back) .l-phone:first-child { transform: translateX(-18%) rotate(-3deg); }

.l-lyaps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.l-lyap { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--tint-rose); font-size: 14px; line-height: 1.4; }
.l-lyap-art { width: 64px; }

.l-band { margin: 64px -32px 0; padding: 32px 32px; border-radius: 24px; }
.l-band-sky { background: var(--tint-sky); }
.l-band-soft { background: var(--surface); }

.l-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.l-gallery .l-phone { width: 100%; }

.l-heroes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.l-hero-card { display: grid; justify-items: center; gap: 4px; padding: 14px 10px 16px; border: 1px solid var(--hairline); border-radius: 20px; background: var(--card); cursor: pointer; text-align: center; color: var(--ink); font: inherit;
  transition: transform .2s, box-shadow .2s; }
.l-hero-card:hover { transform: translateY(-4px); box-shadow: rgba(15, 15, 15, 0.08) 0 4px 12px; }
.l-hero-art { display: block; width: 100%; max-width: 120px; }
.l-hero-card b { font: 800 18px/1.3 Nunito, Inter, sans-serif; }
.l-hero-card small { font-size: 13px; color: var(--slate); line-height: 1.35; }
.l-hero-card em { font-size: 12px; font-style: normal; color: var(--steel); line-height: 1.35; }

.l-grades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.l-grade { padding: 28px; border-radius: 20px; }
.l-grade h3 { font: 900 28px/1.2 Nunito, Inter, sans-serif; margin: 0 0 8px; }
.l-grade p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--charcoal); }
.l-note { color: var(--steel); font-size: 14px; }

.l-final { display: grid; justify-items: center; text-align: center; gap: 4px; margin: 72px 0 0; padding: 40px 24px 48px; border-radius: 24px; background: var(--tint-yellow-bold); }
.l-final p { margin: 0 0 16px; color: var(--charcoal); font-size: 17px; }
.l-final-hero { display: block; width: 130px; }

.l-foot { display: flex; justify-content: space-between; padding-top: 32px; padding-bottom: 40px; color: var(--steel); font-size: 13px; }
.l-foot a { color: var(--steel); }

@media (max-width: 1000px) {
  .l-heroes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .l-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .l-top, main, .l-foot { padding-left: 16px; padding-right: 16px; }
  .l-top { height: 64px; gap: 12px; }
  .l-brand, .l-brand .logo3d { height: 44px; }
  .l-nav { display: none; }
  .l-enter { margin-left: auto; }
  .l-hero { margin-top: 12px; padding: 32px 16px 0; border-radius: 20px; }
  .l-hero-sub { font-size: 16px; }
  .l-crew { margin: 28px -16px 0; padding: 60px 8px 20px; }
  .l-say { max-width: 170px; font-size: 13px; }
  .l-sec { padding-top: 56px; }
  .l-steps, .l-grades, .l-lyaps { grid-template-columns: 1fr; }
  .l-feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .l-feature.l-rev .l-feature-text { order: 0; }
  .l-phone { width: min(300px, 86%); }
  .l-phones:has(.l-phone-back) .l-phone:first-child { transform: none; }
  .l-phones .l-phone-back { display: none; }
  .l-band { margin: 40px -16px 0; padding: 16px; border-radius: 20px; }
  .l-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-gallery { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .l-hero-card { transition: none; } }
