/* Лендинг gotaskoff.ru. Токены — из styles.css, карточки тарифов — из pages.css */

.landing { background: var(--surface); color: var(--text); font-size: 16px; line-height: 1.55; }
.landing section { scroll-margin-top: 76px; }
.landing h1 { white-space: normal; overflow: visible; text-overflow: clip; }
.lwrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.btn--xl { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 10px; gap: 8px; }
a.btn--light, .btn--light { background: #fff; border-color: #fff; color: #1f1f3a; }
.btn--light:hover { background: #f1f1ff; border-color: #f1f1ff; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.grad { background: linear-gradient(90deg, var(--accent), #8b5cf6 55%, #d946ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.pill .ic { width: 14px; height: 14px; }

/* ─── Шапка ─────────────────────────────────────────────── */
.lhead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.lhead__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.lnav { display: flex; gap: 22px; }
.lnav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.lnav a:hover { color: var(--accent-text); }
.lnav .btn { font-size: 16px; }
.lnav a.btn--primary, .lnav a.btn--primary:hover { color: #fff; }
.lnav a.btn:not(.btn--primary) { color: var(--text); }
.lhead__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lcontact { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; margin-right: 8px; white-space: nowrap; }
.lcontact .ic { color: var(--accent); }
.lburger { display: none; }

/* ─── Главный экран ─────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(800px 420px at 85% 10%, rgba(139, 92, 246, .14), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(91, 91, 214, .10), transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; margin: 18px 0 20px; }
.hero__lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 6px; }
.hero__facts .ic { width: 15px; height: 15px; color: var(--done); stroke-width: 2.5; }

/* Макет доски */
.mock { border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(40, 30, 110, .35), 0 12px 24px -12px rgba(16, 16, 24, .12); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__bar i:nth-child(1) { background: #ff5f57; } .mock__bar i:nth-child(2) { background: #febc2e; } .mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin: 0 auto; font-size: 11px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 40px; }
.mock__body { display: grid; grid-template-columns: 70px 1fr; min-height: 330px; }
.mock__side { background: var(--sidebar); border-right: 1px solid var(--line); padding: 12px 10px; display: grid; gap: 9px; align-content: start; }
.mock__logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #8b5cf6); margin-bottom: 6px; }
.mock__line { height: 7px; border-radius: 4px; background: var(--column); }
.mock__line.is-on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; }
.mock__main { padding: 12px; background: var(--bg); min-width: 0; }
.mock__top { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.mock__top em { font-style: normal; font-size: 11px; color: var(--muted); }
.mock__meter { width: 60px; height: 5px; border-radius: 999px; background: var(--column); overflow: hidden; }
.mock__meter i, .mbar i { display: block; height: 100%; background: var(--done); border-radius: inherit; }
.mock__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mcol { background: var(--column); border-radius: 9px; padding: 5px; display: grid; gap: 5px; align-content: start; }
.mcol__head { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 3px 4px 4px; }
.mcol__head b { margin-left: auto; font-weight: 500; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 0 5px; }
.d { width: 6px; height: 6px; border-radius: 50%; }
.d--grey { background: var(--faint); } .d--accent { background: var(--accent); } .d--done { background: var(--done); }
.mcard { display: flex; gap: 6px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 7px; font-size: 10.5px; line-height: 1.35; box-shadow: var(--shadow-sm); }
.mcard > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 3px; }
.mcard p { width: 100%; font-weight: 500; }
.mcard--ghost { height: 30px; border-style: dashed; background: transparent; box-shadow: none; }
.mcard--lift { transform: rotate(-2deg) translateY(-2px); box-shadow: 0 10px 20px -8px rgba(40, 30, 110, .35); border-color: var(--accent); }
.mcard.is-done p { text-decoration: line-through; color: var(--muted); }
.mcheck { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line-strong); margin-top: 1px; }
.mcheck.is-on { background: var(--done); border-color: var(--done); }
.mtag { --h: 240; font-size: 9px; font-weight: 600; padding: 0 5px; border-radius: 4px; background: hsl(var(--h) var(--tag-s) var(--tag-l)); color: hsl(var(--h) 50% var(--tag-tl)); }
.mchip { font-size: 9px; padding: 0 5px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.mchip--today { background: var(--warn-soft); border-color: transparent; color: var(--warn-text); font-weight: 600; }
.mbar { width: 100%; height: 3px; border-radius: 999px; background: var(--column); overflow: hidden; margin-top: 2px; }
.mprio { flex: none; width: 9px; height: 9px; border-radius: 2px; margin-top: 2px; }
.mprio--high { background: var(--high); } .mprio--medium { background: var(--medium); } .mprio--low { background: var(--low); }

/* ─── Секции ────────────────────────────────────────────── */
.lsec { padding: 96px 0; }
.lsec--tint { background: var(--bg); border-block: 1px solid var(--line); }
.lsec__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.lsec__head--left { text-align: left; margin: 0; }
.lsec__head h2, .import2 h2, .lcta h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.lsec__head p, .import2__text p { color: var(--muted); font-size: 17px; margin-top: 12px; }

.fgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.fcard__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.fcard__ic .ic { width: 22px; height: 22px; }
.fcard h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.fcard p { color: var(--muted); font-size: 15px; }

.lband { background: linear-gradient(120deg, #23205a, #3b2f8f 55%, #5b3fc4); color: #fff; }
.lband__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 36px; }
.lband b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lband span { color: rgba(255, 255, 255, .72); font-size: 14px; }

.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps3 li { position: relative; padding: 28px 26px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.steps3__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; box-shadow: 0 6px 16px -6px var(--accent); }
.steps3 h3 { font-size: 19px; margin-bottom: 6px; }
.steps3 p { color: var(--muted); font-size: 15px; }

.import2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.import2__text .btn { margin-top: 26px; }
.import2__list { display: grid; gap: 12px; }
.isrc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.isrc b { font-size: 16px; }
.isrc small { display: block; color: var(--muted); font-size: 14px; }
.isrc__logo { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; }
.isrc__logo--trello { background: #0c66e4; } .isrc__logo--jira { background: #1868db; } .isrc__logo--asana { background: #f06a6a; }

#pricing .seg--period { margin-top: 22px; }
#pricing .plans { max-width: 1080px; margin: 0 auto; }

.faq2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq2 .lsec__head .btn { margin-top: 20px; }
.faq2 .faq details { padding: 18px 0; }
.faq2 .faq summary { font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq2 .faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq2 .faq details[open] summary::after { transform: rotate(45deg); }
.faq2 .faq summary::-webkit-details-marker { display: none; }
.faq2 .faq p { font-size: 15px; }

.lcta { padding: 0 0 96px; }
.lcta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 48px 52px; border-radius: 24px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(217, 70, 239, .35), transparent 60%), linear-gradient(120deg, #2a2470, #4a36b4); box-shadow: 0 30px 60px -30px rgba(60, 40, 160, .6); }
.lcta p { color: rgba(255, 255, 255, .78); margin-top: 8px; font-size: 17px; }
.lcta__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lcta__contact { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 20px; text-decoration: none; }
.lcta__contact:hover { text-decoration: underline; text-underline-offset: 4px; }

.lfoot { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--bg); }
.lfoot__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lfoot__brand p { margin-top: 10px; font-size: 14px; }
.lfoot__nav { display: flex; gap: 56px; flex-wrap: wrap; }
.lfoot__nav div { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.lfoot__nav b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.lfoot__nav a { color: var(--text-2); text-decoration: none; }
.lfoot__nav a:hover { color: var(--accent-text); }
.lfoot__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ─── Адаптив ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .lnav { gap: 16px; }
  .lcontact span { display: none; }
  .hero__inner, .import2, .faq2 { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .fgrid3 { grid-template-columns: repeat(2, 1fr); }
  .lband__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lburger { display: inline-grid; }
  .lnav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px 16px 16px; display: none; }
  .lnav.is-open { display: flex; }
  .lnav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .lhead__actions .btn--ghost { display: none; }
  .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lwrap { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .hero__lead { font-size: 16px; }
  .lsec { padding: 64px 0; }
  .fgrid3 { grid-template-columns: 1fr; }
  .lhead__actions .btn--primary { display: none; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock__cols .mcol:last-child { display: none; }
  .lcta__inner { padding: 32px 24px; }
  .lcta { padding-bottom: 64px; }
}

/* Для кого и альтернатива */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ucase { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ucase h3 { font-size: 17px; margin-bottom: 6px; }
.ucase p { color: var(--muted); font-size: 15px; }
.alts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.alt { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.alt:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.alt b { font-size: 17px; }
.alt span { color: var(--muted); font-size: 14px; }
.alt em { font-style: normal; color: var(--accent-text); font-weight: 600; font-size: 14px; margin-top: 4px; }

/* SEO-страницы */
.seo-hero { padding: 56px 0 40px; background: radial-gradient(700px 360px at 90% 0%, rgba(139, 92, 246, .12), transparent 60%); border-bottom: 1px solid var(--line); }
.seo-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; max-width: 860px; margin: 6px 0 16px; white-space: normal; overflow: visible; }
.seo-hero__lead { font-size: 18px; color: var(--text-2); max-width: 720px; }
.seo-hero .hero__cta { margin-bottom: 0; }
.crumbs2 { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs2 a { color: var(--muted); }
.prose { max-width: 860px; padding-top: 48px; padding-bottom: 72px; display: grid; gap: 40px; }
.prose__sec h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 14px; }
.prose__sec p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin-top: 10px; }
.prose__sec ul, .prose__sec ol { display: grid; gap: 10px; padding-left: 22px; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.prose__sec li::marker { color: var(--accent); font-weight: 700; }
.prose__note { padding: 16px 18px; border-radius: 12px; background: var(--warn-soft); color: var(--text-2); font-size: 15px; line-height: 1.6; }
.prose .faq details { padding: 16px 0; }
.alts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lfoot__nav a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }

/* ─── Телефоны и планшеты ───────────────────────────────── */
.lnav__mobile, .lnav__backdrop, .mcta { display: none; }

/* Колонки не растягиваются по самому широкому содержимому (макет доски) */
.hero__text, .mock, .import2 > *, .faq2 > * { min-width: 0; }

@media (max-width: 1080px) {
  .alts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner, .import2, .faq2 { grid-template-columns: minmax(0, 1fr); }
  .hero__text { text-align: left; }
  .mock { max-width: 720px; }
}

@media (max-width: 860px) {
  .lhead { padding-top: env(safe-area-inset-top); }
  .lhead__inner { height: 60px; gap: 12px; }
  .lnav { top: calc(60px + env(safe-area-inset-top)); max-height: calc(100dvh - 60px); overflow-y: auto; padding: 4px 16px calc(20px + env(safe-area-inset-bottom)); z-index: 21; }
  .lnav a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font-size: 17px; }
  .lnav__mobile { display: grid; gap: 10px; padding-top: 16px; }
  .lnav__mobile .btn { width: 100%; }
  .lnav__contact { justify-content: center; gap: 8px; font-weight: 700; border-bottom: 0 !important; color: var(--text) !important; }
  .lnav__contact .ic { color: var(--accent); }
  .lnav__backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 19; background: rgba(10, 10, 14, .35); }
  body.menu-open { overflow: hidden; }
  .lcontact { width: 40px; height: 40px; justify-content: center; margin: 0; border-radius: 10px; border: 1px solid var(--line); }
  .lburger { width: 40px; height: 40px; }
  .hero { padding: 40px 0 64px; }
  .fgrid3 { gap: 14px; }
  .lsec__head { margin-bottom: 32px; }
}

@media (max-width: 600px) {
  .landing { font-size: 15px; }
  .lwrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .landing section { scroll-margin-top: 64px; }

  /* Главный экран */
  .hero { padding: 28px 0 48px; }
  .pill { font-size: 12px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.1; margin: 14px 0 14px; }
  .hero h1 br { display: none; }
  .hero__lead { font-size: 16px; }
  .hero__cta { flex-direction: column; margin: 24px 0 20px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 8px; }
  .hero__inner { gap: 32px; }

  /* Макет доски: две колонки без боковой панели */
  .mock { border-radius: 12px; margin: 0 -4px; }
  .mock__bar span { padding: 1px 16px; }
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }
  .mock__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock__cols .mcol:last-child { display: none; }
  .mcard--lift { transform: none; }

  /* Секции */
  .lsec { padding: 56px 0; }
  .kicker { font-size: 12px; }
  .lsec__head h2, .import2 h2, .lcta h2 { font-size: 26px; }
  .lsec__head p, .import2__text p { font-size: 15px; }
  .lsec__head { text-align: left; }
  .fcard { padding: 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
  .fcard__ic { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .fcard h3 { font-size: 16px; margin: 2px 0 4px; }
  .fcard p { font-size: 14px; }
  .fcard:hover { transform: none; }

  .lband__inner { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-block: 28px; }
  .lband b { font-size: 20px; }
  .lband span { font-size: 13px; }

  .steps3 { gap: 12px; }
  .steps3 li { padding: 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .steps3__n { width: 36px; height: 36px; font-size: 16px; margin: 0; grid-row: span 2; }
  .steps3 h3 { font-size: 17px; margin: 4px 0 2px; }

  .import2 { gap: 28px; }
  .import2__text .btn { width: 100%; }
  .isrc { padding: 14px; gap: 12px; }
  .isrc small { font-size: 13px; }

  #pricing .seg--period { display: flex; width: 100%; }
  #pricing .seg--period button { flex: 1; padding: 0 8px; }
  .plan { padding: 18px; }
  .plan__price b { font-size: 28px; }

  .faq2 { gap: 20px; }
  .faq2 .lsec__head .btn { width: 100%; }
  .faq2 .faq summary { font-size: 16px; padding: 4px 0; }

  .lcta { padding-bottom: 56px; }
  .lcta__inner { padding: 28px 20px; border-radius: 18px; gap: 20px; }
  .lcta__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 14px; }
  .lcta__actions .btn { width: 100%; }
  .lcta__contact { justify-content: center; font-size: 18px; }

  .lfoot { padding: 36px 0 24px; }
  .lfoot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
  .lfoot__nav a { padding: 4px 0; }

  .usecases, .alts, .alts--3 { grid-template-columns: 1fr; gap: 12px; }
  .seo-hero { padding: 32px 0 28px; }
  .seo-hero__lead, .prose__sec p, .prose__sec ul, .prose__sec ol { font-size: 16px; }
  .prose { padding-top: 32px; padding-bottom: 48px; gap: 32px; }
  .prose__sec h2 { font-size: 22px; }
  .ucase, .alt { padding: 18px; }

  /* Нижняя панель с действиями */
  .mcta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .mcta.is-shown { transform: none; }
  .mcta .btn { flex: 1; height: 46px; }
  .mcta__contact { flex: 0 0 auto !important; width: 52px; padding: 0; }
  .mcta__contact span { display: none; }
  .lfoot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 29px; }
}
@media (max-width: 340px) {
  .lband__inner { grid-template-columns: 1fr; }
  .brand { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .mcta, .fcard, .mock { transition: none; }
}

/* Страница 404 */
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.nf .brand { margin-bottom: 20px; }
.nf__code { font-size: 96px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--accent), #d946ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 28px; white-space: normal; }
.nf__links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
