/* morally.site — общий стиль главной и страниц проектов.
   Цвета и шрифты те же, что у Aura: это продукт команды, сайты одной семьи. */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/fonts/onest-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('/static/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('/static/fonts/unbounded-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('/static/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --ground: #0a0510;
  --card: #120a18;
  --card-2: #180e20;
  --line: rgba(205, 160, 217, 0.11);
  --line-hi: rgba(205, 160, 217, 0.28);
  --primary: #7c2e8a;
  --primary-hi: #8f369f;
  --wash: rgba(124, 46, 138, 0.14);
  --lilac: #cda0d9;
  --text: #f5f0f4;
  --soft: #d2c7d6;
  --muted: #928697;
  --ok: #7dd3a8;
  --display: 'Unbounded', 'Onest', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(h1, h2, h3, h4, p, ul) { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg.i { width: 18px; height: 18px; flex-shrink: 0; }
[hidden] { display: none !important; }
/* Раздел не прячется под липкой шапкой при переходе из меню */
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 0; border-radius: 12px;
  background: var(--primary); color: #fff;
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s, box-shadow .2s;
}
.btn:hover { background: var(--primary-hi); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-hi); }
.btn.ghost:hover { background: var(--wash); }
.btn svg.i { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 5, 16, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; flex: 1; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-cta { font-size: 14px; padding: 9px 16px; border-radius: 10px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Меню на телефоне — экран под шапкой. Лежит вне .nav: размытие шапки
   ломает fixed у вложенных элементов. */
.sheet { display: none; }

/* ---------- Первый экран главной ---------- */
.hero { position: relative; padding: 96px 0 104px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(124, 46, 138, 0.28), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 span { display: block; color: var(--muted); }
.hero-lead { max-width: 30em; margin-top: 26px; font-size: 18px; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn { padding: 15px 24px; font-size: 16px; }

/* Экран блокировки с уведомлениями от наших же систем: утро, а всё уже
   сделано без нас. Карточки падают сверху по очереди, один раз. */
.nt {
  position: relative; isolation: isolate; max-width: 470px; margin-left: auto; padding: 28px 22px 26px;
  border-radius: 30px; border: 1px solid var(--line-hi); overflow: hidden;
  background: radial-gradient(90% 70% at 80% 0%, rgba(143, 54, 159, .55), transparent 60%),
              radial-gradient(70% 60% at 0% 100%, rgba(124, 46, 138, .22), transparent 60%), #0e0714;
  box-shadow: 0 40px 90px -40px rgba(124, 46, 138, .8);
}
.nt-clock { text-align: center; margin-bottom: 22px; }
.nt-clock b { display: block; font-family: var(--display); font-weight: 600; font-size: 54px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nt-clock span { font-size: 13px; color: var(--soft); }
.nt-stack { display: flex; flex-direction: column; gap: 8px; }
.nt-card {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px;
  border-radius: 18px; background: rgba(40, 24, 50, .62); border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(-14px) scale(.96);
  animation: nt-in .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc((3 - var(--n)) * 380ms + 300ms);
}
.nt-card:nth-child(4) { animation-name: nt-in-dim; }
@keyframes nt-in { to { opacity: 1; transform: none; } }
@keyframes nt-in-dim { to { opacity: .55; transform: scale(.97); } }
.nt-app { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.nt-top { display: flex; justify-content: space-between; gap: 8px; }
.nt-top b { font-size: 13.5px; font-weight: 600; }
.nt-top time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.nt-txt p { margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--soft); }

/* ---------- Разделы ---------- */
.sec { padding: 104px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.sec-head p { max-width: 30em; color: var(--muted); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.025em; }

/* Проекты: Aura — крупно, остальные сеткой */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 40px; border: 1px solid var(--line-hi); border-radius: 24px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(124, 46, 138, 0.22), transparent 55%), var(--card);
}
.feature-tag { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--wash); color: var(--lilac); font-size: 13px; font-weight: 500; }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.05; }
.feature p { margin-top: 14px; max-width: 30em; color: var(--soft); font-size: 17px; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.feature-facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.feature-facts li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.feature-facts li:first-child { padding-top: 0; }
.feature-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-facts b { display: block; color: var(--text); font-weight: 600; }
.feature-facts small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.feature-facts svg.i { margin-top: 3px; color: var(--lilac); }

.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.work {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: 20px; background: var(--card);
  overflow: hidden; transition: border-color .2s;
}
.work:hover { border-color: var(--line-hi); }
.work-shot { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--card-2); border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.work-shot.phone { display: flex; justify-content: center; align-items: flex-end; padding-top: 22px; background: radial-gradient(80% 90% at 50% 100%, rgba(124, 46, 138, 0.3), transparent 70%), var(--card-2); }
.work-shot.phone img { width: auto; height: 100%; object-fit: contain; border-radius: 16px 16px 0 0; }
.work:hover .work-shot img { transform: scale(1.02); }
.work-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.work-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.work h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.work-top svg.i { color: var(--muted); transition: color .2s, transform .2s; }
.work:hover .work-top svg.i { color: var(--lilac); transform: translateX(3px); }
.work p { color: var(--muted); font-size: 15px; }
/* Боты — широкий блок под проектами: пять плиток, у каждой свой оттенок
   фиолетового (--c), иначе плитки сливаются в одну полосу */
.bw { grid-column: 1 / -1; padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(124, 46, 138, .16), transparent 60%), var(--card); }
.bw-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.bw-head h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.bw-head p { margin-top: 8px; max-width: 34em; color: var(--muted); font-size: 15px; }
.bw-head .stack { margin: 0; padding: 0; justify-content: flex-end; max-width: 480px; flex-shrink: 0; }
.bw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bw-grid li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 22px;
  border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%), var(--card-2);
  transition: transform .25s, border-color .25s; }
.bw-grid li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.bw-av { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 35%, #0e0714));
  box-shadow: 0 14px 30px -12px var(--c); }
.bw-av svg { width: 26px; height: 26px; }
.bw-grid b { display: block; font-size: 16px; font-weight: 600; }
.bw-grid em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: color-mix(in srgb, var(--c) 55%, #fff); }
.bw-grid p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1100px) { .bw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bw { padding: 20px; } .bw-head { flex-direction: column; align-items: flex-start; }
  .bw-head .stack { justify-content: flex-start; } .bw-grid { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 10px 0 0; list-style: none; }
.stack li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--soft); }

/* Команда */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.member-role { font-size: 14px; color: var(--lilac); }
.member h3 { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.member p { margin-top: 10px; color: var(--soft); }
.member .stack { margin-top: 20px; padding: 0; }
/* Партнёр из другой команды — отдельно от состава, пунктирной рамкой */
.member { display: flex; flex-direction: column; }
.partner { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 40px; padding: 32px; border-radius: 20px; border: 1px dashed var(--line-hi);
  background: linear-gradient(120deg, var(--wash), transparent 60%); }
.partner-label { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.partner-label b { color: var(--lilac); font-weight: 500; }
.partner h3 { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.partner p { color: var(--soft); }
.partner .stack { grid-column: 2; margin: 6px 0 0; padding: 0; }

/* Связь */
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 104px; padding: 36px 40px; border: 1px solid var(--line-hi); border-radius: 24px;
  background: radial-gradient(90% 160% at 0% 100%, rgba(124, 46, 138, 0.22), transparent 60%), var(--card);
}
.contact h2 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.contact p { margin-top: 6px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Подвал ---------- */
.foot { margin-top: 88px; padding: 28px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { overflow-wrap: anywhere; }
.foot a:hover { color: var(--text); }

/* ---------- Страница проекта ---------- */
.p-head { padding: 56px 0 0; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .2s; }
.back:hover { color: var(--text); }
.back svg.i { width: 16px; height: 16px; transform: rotate(180deg); }
.p-head h1 {
  margin-top: 28px; font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance;
}
.p-sub { margin-top: 16px; max-width: 34em; font-size: 19px; color: var(--soft); }
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.p-meta .stack { margin: 0; padding: 0; }

.p-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 64px; }
.p-body h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.p-body h2 + p { margin-top: 14px; color: var(--soft); font-size: 17px; }
.p-body h2:not(:first-child) { margin-top: 40px; }
.checks { display: grid; margin: 16px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.checks li:last-child { border-bottom: 0; }
.checks svg.i { margin-top: 3px; color: var(--lilac); }

/* Правая колонка: снимок или живой макет */
.shot { border: 1px solid var(--line-hi); border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 30px 80px -40px rgba(124, 46, 138, 0.5); }
.shot img { width: 100%; }
.panel { border: 1px solid var(--line-hi); border-radius: 18px; background: var(--card); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.panel-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.panel-row + .panel-row { border-top: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(125, 211, 168, 0.12); flex-shrink: 0; }
.panel-row b { flex: 1; font-weight: 500; }
.panel-row small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.srv { display: block; padding: 16px 18px; }
.srv + .srv { border-top: 1px solid var(--line); }
.srv-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.srv-top em { font-style: normal; font-size: 13px; color: var(--ok); }
.bar { height: 6px; margin: 12px 0 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--lilac)); }
.srv small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.fact { padding: 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.fact p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Переход между проектами: строкой под линией, без пустых карточек */
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: 14px; min-width: 0; padding: 6px 0; }
.pager a > span { display: flex; flex-direction: column; min-width: 0; }
.pager small { font-size: 13px; color: var(--muted); }
.pager b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; transition: color .2s; }
.pager a:hover b { color: var(--lilac); }
.pager .next { margin-left: auto; text-align: right; }
.pager svg.i {
  width: 38px; height: 38px; padding: 10px; flex-shrink: 0;
  border: 1px solid var(--line-hi); border-radius: 50%; color: var(--soft);
  transition: background .2s, border-color .2s, color .2s;
}
.pager a:hover svg.i { background: var(--primary); border-color: transparent; color: #fff; }
.pager .prev svg.i { transform: rotate(180deg); }

/* ---------- Узкие экраны ---------- */
@media (max-width: 960px) {
  .hero .wrap, .feature, .p-body { grid-template-columns: minmax(0, 1fr); }
  .nt { margin-right: auto; }
  .hero { padding: 64px 0 72px; }
  .feature { padding: 28px; gap: 28px; }
}
@media (max-width: 760px) {
  .nav .wrap { height: 60px; gap: 12px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .sheet {
    position: fixed; top: 61px; left: 0; right: 0; bottom: 0; z-index: 60;
    /* свой слой: на iOS размытые карточки (backdrop-filter) иначе рисуются поверх меню */
    -webkit-transform: translateZ(0); transform: translateZ(0);
    display: flex; flex-direction: column;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
    background: var(--ground); overflow-y: auto;
    animation: sheet-in .2s ease-out;
  }
  .sheet[hidden] { display: none !important; }
  .sheet ul { margin: 0; padding: 0; list-style: none; }
  .sheet ul a {
    display: flex; align-items: center; gap: 16px; padding: 20px 2px; border-bottom: 1px solid var(--line);
    font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em;
  }
  .sheet ul a span { flex: 1; min-width: 0; }
  .sheet ul small { display: block; margin-top: 6px; font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
  .sheet ul svg.i { color: var(--muted); }
  .sheet-cta { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
  .sheet-cta .btn { width: 100%; padding: 15px 20px; font-size: 16px; }
  html.locked, html.locked body { overflow: hidden; }
  /* Пока меню открыто, прокрутка заблокирована, и Chrome на Android от этого
     перестаёт держать «липкую» шапку: она уезжала вверх вместе со страницей,
     и закрыть меню было нечем. Закрепляем шапку у края экрана явно. */
  html.locked .nav { position: fixed; top: 0; left: 0; right: 0; }

  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 56px; }
  .hero .wrap { gap: 40px; }
  .hero-lead { font-size: 16.5px; }
  .hero-actions, .feature-actions { flex-direction: column; }
  .hero-actions .btn, .feature-actions .btn { width: 100%; }
  .sec { padding-top: 72px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .feature { padding: 24px 20px; border-radius: 20px; }
  .works, .team { grid-template-columns: minmax(0, 1fr); }
  .member { padding: 24px 20px; }
  .partner { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .partner .stack { grid-column: 1; }
  .contact { margin-top: 72px; padding: 26px 20px; }
  .contact-actions, .contact-actions .btn { width: 100%; }
  .contact-actions .btn { flex: 1; }
  .foot { margin-top: 64px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }

  .p-head { padding-top: 32px; }
  .p-sub { font-size: 17px; }
  .p-body { padding-top: 44px; gap: 36px; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .fact { padding: 22px 20px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .pager { margin-top: 40px; }
  .pager b { font-size: 16px; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet { animation: none; }
  .nt-card { animation: none; opacity: 1; transform: none; }
  .nt-card:nth-child(4) { opacity: .55; }
  .work-shot img { transition: none; }
  .bw-grid li { transition: none; }
}
