/* css/apps-hub.css — «Приложения и шаблоны» (/apps, /templates): токены, шапка сайта (без изменений, из apps-site.css) + новое минималистичное оформление контента.
   Оформление приведено к главной странице (css/base.css, css/catalog.css, css/cards-and-content.css, css/opportunities-tabs.css). */
/* =========================================================
   TOKENS — те же переменные, что на about.html/subscribe.html,
   для полного визуального единства с сайтом.
========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #F6F7FB;
    --surface: #FFFFFF;
    --surface-soft: #FBFBFE;
    --ink: #14151A;
    --ink-soft: #5B5F6B;
    --ink-faint: #9AA0AE;
    --border: #E7E8F0;
    --border-soft: #F0F1F7;

    --coral: #FF4D6D;
    --coral-tint: #FFE6EB;
    --teal: #17B0A3;
    --teal-tint: #DFF6F2;
    --violet: #7C6CF0;
    --violet-tint: #EAE7FE;
    --gold: #F5A623;
    --gold-tint: #FDF0DC;

    /* радиусы как на главной: --radius-lg 28 / --radius-md 18 / --radius-sm 12 */
    --r-xl: 28px;
    --r-lg: 18px;
    --r-md: 12px;
    --r-sm: 12px;
    --icon-tint: #ECEDF4;
    --ink-muted: #6B7080;
    --coral-text: #D6304F;   /* коралловый для текста и ссылок, как на главной */

    --shadow-sm: 0 1px 2px rgba(20, 21, 26, .05);
    --shadow-md: 0 12px 30px -18px rgba(20, 21, 26, .22);   /* = --shadow-card на главной */
    --shadow-lg: 0 20px 50px -25px rgba(20, 21, 26, .25);   /* = --shadow-soft на главной */

    --ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
h1, h2, h3, .display { font-family: 'Unbounded', sans-serif; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--coral); color: #fff; }
svg { display: block; }

/* =========================================================
   NAV (идентична about.html/subscribe.html)
========================================================= */
#nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 4vw, 56px);
    background: rgba(246, 247, 251, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}
.logo { display: flex; flex-direction: column; line-height: .78; cursor: pointer; user-select: none; }
.logo .flip {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 22px;
    transform: rotate(180deg) scaleX(-1);
    transition: transform .5s var(--ease), color .3s ease;
}
.logo:hover .flip { transform: rotate(0deg) scaleX(1); color: var(--coral); }
.logo .app {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--ink-soft);
    margin-top: 8px;
}
.nav-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color .2s ease;
    position: relative;
    padding: 4px 0;
    cursor: pointer;
}
/* подчёркивание пунктов шапки при наведении убрано — как на главной (css/nav.css): меняется только цвет */
.nav-link::after { content: none; display: none; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.lang-switch { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.heart-nav {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface);
    color: var(--ink-soft); transition: all .2s ease; flex: none;
}
.heart-nav svg { width: 16px; height: 16px; }
.heart-nav:hover { border-color: var(--coral); color: var(--coral); }
.lang-btn {
    border: none; background: transparent; padding: 6px 12px; border-radius: 999px;
    font-weight: 700; font-size: 12px; line-height: normal; letter-spacing: .04em; cursor: pointer; color: var(--ink-faint);
    font-family: 'Inter', sans-serif; transition: all .25s ease;
}
.lang-btn.active { background: var(--ink); color: #fff; }
.lang-btn:hover:not(.active) { background: transparent; color: var(--ink-soft); }
.btn-primary {
    display: inline-flex; align-items: center; justify-content:center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: none;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover { background: var(--coral); transform: translateY(-1px); }
.btn-outline {
    display: inline-flex; align-items: center; justify-content:center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--border);
    background: transparent; color: var(--ink); font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap;
    transition: border-color .2s ease;
}
.btn-outline:hover { border-color: var(--ink); }

@media (max-width: 760px) {
    .nav-links { gap: 12px 16px; font-size: 12.5px; }
    .nav-link { font-size: 12.5px; }
}

:root { color-scheme: light; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
/* служебное и шапка: оставлено как в apps-site.css */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
a.lang-btn, span.lang-btn { display: inline-block; text-decoration: none; line-height: normal; }
.lang-switch { align-items: center; }
.btn-primary, .btn-outline { text-decoration: none; }

/* =========================================================
   «ПРИЛОЖЕНИЯ И ШАБЛОНЫ» — минималистичное оформление (референс: страница «Настройка Gemini»).
   Всё, что выше (токены, шапка, мегаменю, кнопки .btn-primary/.btn-outline), оставлено без изменений.
   Старые стили контента (левое меню, карточки .card/.grid) удалены: ими пользовались только страницы /apps и /templates.
========================================================= */
:root {
    --tonal: #ECEDF4;
    --tonal-hover: #E1E3EE;
    --line: var(--border);
    --ink-mid: #3F434C;
    --gutter: clamp(20px, 4vw, 56px);
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}
.panel { min-height: 70vh; padding-bottom: 72px; min-width: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.panel [hidden] { display: none !important; }   /* атрибут hidden должен побеждать display у строк, карточек и секций */

/* Вкладки-«пилюли» */
.tabs { display: flex; gap: 6px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs[hidden] { display: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    border: 0; background: transparent; cursor: pointer; white-space: nowrap; font: 500 14.5px 'Inter', sans-serif; color: var(--ink-soft);
    padding: 10px 18px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.tab:hover { background: var(--tonal); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--tonal); color: var(--ink); }

/* Заголовок + поиск */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; margin: clamp(40px, 7vw, 76px) 0 clamp(36px, 5vw, 56px); }
.head > div:first-child { flex: 1 1 420px; min-width: 0; }
.head h1 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.head p { margin-top: 12px; max-width: 54ch; color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
.search { position: relative; flex: 0 0 300px; }
.search[hidden] { display: none; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none; }
.search input {
    width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    font: 400 15px 'Inter', sans-serif; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.search input::placeholder { color: var(--ink-faint); }
.search input:hover { border-color: #D6D8E3; }
.search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 21, 26, .06); }

/* Секции */
.sec { margin-top: clamp(44px, 6vw, 68px); }
.sec[hidden] { display: none; }
.head + .sec, .tabs + .sec { margin-top: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-title { font-family: 'Inter', sans-serif; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-soft); }
.sec-title svg { width: 18px; height: 18px; color: var(--ink-faint); }
.sec-title .n { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--ink-faint); }
.sec-h2 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin-bottom: 28px; }
.sec-head .sec-h2 { margin: 0; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .2s ease; }
.sec-link:hover { color: var(--ink); }
.sec-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.sec-link:hover svg { transform: translateX(3px); }

/* Строки: приложения и категории шаблонов */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px clamp(40px, 6vw, 80px); }
.item {
    position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
    padding: 16px; margin: 0 -16px; border-radius: 22px; transition: background .2s ease;
}
.item:hover { background: var(--surface); }
.item-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--tonal); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease-out); }
.item-ico svg { width: 22px; height: 22px; }
.item:hover .item-ico { transform: scale(1.05); }
.item-main { min-width: 0; }
.item-name { font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.item-name a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }   /* вся строка — ссылка */
.item-desc { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-act { position: relative; z-index: 1; }
.item .chips { margin-top: 8px; }

/* Бейджи и чипы */
.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--gold-tint); color: #8a5a05; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--tonal); color: var(--ink-mid); white-space: nowrap; }
.item:hover .chip { background: var(--bg); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ink-faint)); flex: none; }
.chip.plan-free { --c: var(--teal); }
.chip.plan-pro { --c: var(--violet); }
.chip.plan-super { --c: var(--gold); }
.chip.count::before { display: none; }
.chip.count { padding-left: 10px; }

/* Кнопки */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; border: 0;
    cursor: pointer; font: 500 13.5px 'Inter', sans-serif; white-space: nowrap; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-tonal { background: var(--tonal); color: var(--ink); }
.btn-tonal:hover { background: var(--tonal-hover); }
.item:hover .btn-tonal { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #000; }
.btn-accent { background: var(--coral); color: #fff; }
.btn-accent:hover { background: #E8365A; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--tonal); box-shadow: inset 0 0 0 1px #D6D8E3; }
.btn-sm { height: 34px; padding: 0 15px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }

/* Карточки шаблонов */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters[hidden] { display: none; }
.fchip { border: 0; cursor: pointer; background: transparent; padding: 7px 14px; border-radius: 999px; font: 500 13.5px 'Inter', sans-serif; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); transition: .2s ease; }
.fchip:hover { color: var(--ink); background: var(--tonal); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 44px clamp(28px, 3.2vw, 44px); margin-top: 24px; }
.sec > .cards:first-child { margin-top: 0; }
.tcard { display: flex; flex-direction: column; min-width: 0; }
.tcard[hidden] { display: none; }
.tcover { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--tonal); box-shadow: inset 0 0 0 1px rgba(20, 21, 26, .05); }
.tcover img, .tcover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tcover svg { transition: transform .6s var(--ease-out); }
.tcard:hover .tcover svg { transform: scale(1.045); }
.tcover .badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); z-index: 1; }
.tname { font-family: 'Inter', sans-serif; margin-top: 14px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: break-word; }
.tdesc { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.tcard .chips { margin-top: 10px; min-height: 22px; align-content: flex-start; }
.tacts { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tnote { font-size: 13px; color: var(--ink-muted); line-height: 36px; margin: 0; }

/* Соцсети: обложка целиком, колонки masonry */
.cards.masonry { display: block; column-width: 236px; column-gap: clamp(28px, 3.2vw, 44px); }
.cards.masonry .tcard { margin-bottom: 44px; break-inside: avoid; }
.cards.masonry .tcover { aspect-ratio: auto; background: transparent; }
.cards.masonry .tcover img { position: static; height: auto; display: block; object-fit: initial; }

.empty { padding: 72px 0; text-align: center; color: var(--ink-faint); font-size: 15px; }
.empty[hidden] { display: none; }
.lead { color: var(--ink-muted); font-size: 17px; line-height: 1.65; max-width: 56ch; }

/* Внутренние страницы */
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 36px; font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: color .2s ease; }
.back:hover { color: var(--ink); }
.back svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.back:hover svg { transform: translateX(-3px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; margin: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.hero.hero-single { grid-template-columns: minmax(0, 1fr); }
.hero .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.page-title { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--tonal); color: var(--ink-mid); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.status.dev::before { background: var(--gold); }
.hero-media { min-width: 0; }
.hero-cover { position: relative; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden; background: var(--tonal); box-shadow: inset 0 0 0 1px rgba(20, 21, 26, .05); }
.hero-cover img, .hero-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-meta { padding: 18px 6px 0; }
.hero-meta p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; }

/* Преимущества */
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px clamp(32px, 5vw, 72px); }
.adv-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--tonal); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.adv-ico svg { width: 22px; height: 22px; }
.adv-item h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.adv-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); }

/* Тарифы */
.tbl-wrap { overflow-x: auto; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
table.plans { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.plans th, table.plans td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--border-soft); }
table.plans th:first-child, table.plans td:first-child { text-align: left; font-weight: 500; }
table.plans tr:last-child td { border-bottom: 0; }
table.plans thead th { font: 500 11.5px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.yes { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-tint); color: #0b7d73; align-items: center; justify-content: center; }
.yes svg { width: 12px; height: 12px; }
.no { color: var(--ink-faint); }
.demo-t { color: var(--violet); font-weight: 500; font-size: 13px; }
/* Таблица тарифов на телефоне: без горизонтальной прокрутки — компактные ячейки, подписи переносятся */
@media (max-width: 560px) {
  .tbl-wrap { border-radius: 18px; overflow-x: visible; }
  table.plans { min-width: 0; table-layout: fixed; font-size: 13px; }
  table.plans th, table.plans td { padding: 12px 4px; }
  table.plans th:first-child, table.plans td:first-child { width: 38%; padding-left: 14px; line-height: 1.25; overflow-wrap: anywhere; }
  table.plans thead th { font-size: 10px; letter-spacing: .06em; }
  .yes { width: 20px; height: 20px; }
  .demo-t { font-size: 11px; line-height: 1.2; }
}

/* Примеры под тарифами */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.ex { display: block; aspect-ratio: var(--ex-ar, 4 / 3); border-radius: 20px; overflow: hidden; background: var(--tonal); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.ex img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ex:hover img, .ex:focus-visible img { transform: scale(1.03); }
.ex-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 10, 12, .88); cursor: zoom-out; }
.ex-lb img { max-width: min(100%, 1440px); max-height: 100%; border-radius: 12px; }
@media (max-width: 900px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .examples { grid-template-columns: minmax(0, 1fr); } .ex { border-radius: 16px; } }

/* Форма «оповестить» */
.notify { background: var(--tonal); border-radius: 28px; padding: clamp(24px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 14px; width: 100%; }
.notify h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.notify p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; }
.notify .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.notify input[type=email] { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--surface); font: 400 15px 'Inter', sans-serif; color: var(--ink); outline: none; transition: border-color .2s ease; }
.notify input[type=email]:focus { border-color: var(--ink); }
.notify input.err { border-color: var(--coral); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.consent a { text-decoration: underline; }
.form-msg { font-size: 13px; color: var(--coral-text); font-weight: 500; min-height: 1em; }
.notify.done { background: var(--teal-tint); }
.notify.done h3 { color: #0c5f57; }

/* Заметка категории */
.note { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 20px 24px; border-radius: 24px; background: var(--tonal); margin-bottom: clamp(40px, 5vw, 56px); }
.note span { max-width: 62ch; font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); }
.note span a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* Появление */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .55s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
    .rows { grid-template-columns: minmax(0, 1fr); }
    .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .tab { padding: 9px 15px; font-size: 14px; }
    .search { flex: 1 0 100%; }
    .item { grid-template-columns: 44px minmax(0, 1fr); margin: 0 -12px; padding: 14px 12px; align-items: start; }
    .item-ico { width: 44px; height: 44px; }
    .item-act { grid-column: 2; margin-top: 8px; }
    .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 18px; }
}
@media (max-width: 460px) {
    .cards { grid-template-columns: minmax(0, 1fr); }
}
