/*
 * Публичный сайт sellana — общие стили (макет design/site-2026-10-27, задание design/tasks-2026-10-27-site.md).
 *
 * ⚠️ ОТДЕЛЬНО ОТ app.css НАМЕРЕННО: сайт не должен ломаться от правок продукта. Из продукта взяты
 * только шрифты (те же файлы assets/fonts) и цвета бренда — значениями, а не ссылкой на app.css.
 * Сайт только в светлой теме. Стили отдельной страницы — assets/styles/site/<страница>.css.
 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal-Nq2MFc6.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal-Gaz771Z.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal-rpsiYBC.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal-G_crC3O.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal-bB2t_xf.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-cyrillic-500-normal-wlTdRUk.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal-5rtOGK2.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal-_ZxP1XP.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-cyrillic-600-normal-pJXz5Bi.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal-sxlLprI.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal-4drdncn.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: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-cyrillic-700-normal-0y7ugkk.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal-_6JaEle.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600-normal-rRMfJjt.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: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-cyrillic-600-normal-vZS1URU.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal-lkFRpsU.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-ext-700-normal-aDO0XZD.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: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-cyrillic-700-normal-F7B4EfX.woff2") format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
    --s-ink: #15173d;
    --s-text: #4a4966;
    --s-muted: #6b6a82;
    --s-bg: #f4f3fb;
    --s-primary: #4f3be0;
    --s-primary-dark: #3a28b8;
    --s-accent: #9a8cff;
    --s-line: #dcd9f0;
    --s-line-soft: #e6e4f3;
    --s-row: #eeedf7;
    --s-ease: cubic-bezier(.2, .7, .3, 1);
    color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--s-bg); color: var(--s-ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: clip; }
a { color: var(--s-primary); }
a:hover { color: var(--s-primary-dark); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Шапка сайта ─────────────────────────────────────────────── */
.s-header { background: var(--s-bg); view-transition-name: site-header; }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 20px 0; }
.nav-logo { display: flex; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; }
.nav-links a { color: var(--s-ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.on { color: var(--s-primary); }

/* ── Кнопки, заголовки, общие блоки ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; box-sizing: border-box; white-space: nowrap; font-family: inherit; cursor: pointer; }
.btn-p { background: var(--s-primary); color: #fff; border: 1px solid var(--s-primary); }
.btn-p:hover { background: var(--s-primary-dark); color: #fff; }
.btn-o { background: #fff; color: var(--s-ink); border: 1px solid #d9d6ee; }
.btn-o:hover { border-color: var(--s-primary); color: var(--s-primary); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--s-primary); margin: 0; }
.h1 { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: clamp(36px, 7vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h2 { font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: clamp(26px, 5vw, 34px); line-height: 1.18; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h3 { font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0; }
.lead { font-size: 18px; color: var(--s-text); margin: 0; max-width: 62ch; }
.muted { color: var(--s-muted); }
.card { background: #fff; border: 1px solid var(--s-line); border-radius: 14px; }
.mock { background: #fff; border: 1px solid var(--s-line); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(21, 23, 61, .28); overflow: hidden; font-size: 13px; line-height: 18px; min-width: 0; }
.mock-scroll { overflow-x: auto; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.row > * { min-width: 0; }
.sec { padding: 88px 0; }
.sec-white { background: #fff; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; font-size: 11px; line-height: 16px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.b-loss { background: #fef2f2; border-color: #ffc9c9; color: #9f0712; }
.b-att { background: #fffbeb; border-color: #fee685; color: #973c00; }
.b-ok { background: #f0fdf4; border-color: #b9f8cf; color: #016630; }
.b-set { background: #eff6ff; border-color: #bedbff; color: #193cb8; }
.b-unk { background: #f4f4f5; border-color: #e4e4e7; color: #3f3f46; }

.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { font-size: 11px; font-weight: 500; color: var(--s-muted); text-align: left; padding: 8px 12px; background: #faf9ff; border-bottom: 1px solid var(--s-line-soft); white-space: nowrap; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--s-row); white-space: nowrap; }
.tbl .n { text-align: right; }
.pf { width: 16px; height: 16px; border-radius: 4px; vertical-align: middle; }

/* ── Шапка раздела с волнами и вкладками возможностей ─────────── */
.hero { padding: 8px 0 0; }
.hero-box { position: relative; overflow: hidden; border-radius: 16px; background: #ecebff; border: 1px solid var(--s-line); padding: 40px 40px 120px; }
.hero-body { position: relative; display: flex; flex-direction: column; gap: 18px; }
.waves { position: absolute; left: 0; bottom: 0; width: 300%; max-width: none; height: 110px; pointer-events: none; animation: drift 56s linear infinite; }
.waves.w2 { animation-duration: 72s; animation-direction: reverse; height: 90px; }
.waves.w3 { animation-duration: 90s; height: 96px; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--s-ink); font-weight: 500; font-size: 15px; background: rgba(255, 255, 255, .7); border: 1px solid var(--s-line-soft); }
.tabs a.on { background: var(--s-primary); color: #fff; border-color: var(--s-primary); }

/* ── «Следующий раздел» и подвал ─────────────────────────────── */
.next { padding: 72px 0; }
.next .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.next-link { display: flex; flex-direction: column; gap: 6px; }
.next-link a { font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: 28px; text-decoration: none; }
.foot { background: #fff; border-top: 1px solid var(--s-line-soft); padding: 48px 0; }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-brand { gap: 12px; }
.foot-brand img { height: 28px; width: auto; }
.foot a { color: var(--s-text); text-decoration: none; }
.foot a:hover { color: var(--s-primary); }

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hero-box { padding: 28px 20px 100px; }
    .sec { padding: 56px 0; }
    .row { gap: 32px; }
    .nav { gap: 12px 10px; padding: 14px 0; }
    .nav-logo { margin-right: auto; }
    .nav .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
    .nav-links { order: 3; flex-basis: 100%; gap: 6px 18px; }
}

/* ── Общие блоки страниц ─────────────────────────────────────── */
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.col p { margin: 0; }
.col-14, .col-28, .col-36 { display: flex; flex-direction: column; gap: 14px; }
.col-28 { gap: 28px; }
.col-36 { gap: 36px; }
.bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.mock-head { padding: 14px 18px; border-bottom: 1px solid var(--s-line-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mock-head b { font-size: 14px; }
.mock-head .muted { font-size: 12px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--s-row); }
.step b { font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: #faf9ff; }
.total b:last-child { font-family: Manrope, Inter, sans-serif; font-size: 22px; }
.grid-340 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.grid-340 > .h2, .grid-340 > .intro { grid-column: 1 / -1; margin-bottom: 16px; }
.card-big { padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-big p { margin: 0; }
.card-sm { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card-sm span { font-size: 14px; }
.cta { padding: 72px 0; background: var(--s-ink); color: #fff; }
.cta .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.cta .col { gap: 8px; }
.cta .h2 { color: #fff; }
.cta span { color: #c9c8dd; }
.btn-w { background: #fff; color: var(--s-ink); }
.btn-w:hover { background: #fff; color: var(--s-primary); }
@media (max-width: 640px) {
    .cta { padding: 48px 0; }
}

/* ── Движение (design/site-2026-10-27/Motion.dc.html) ────────── */
.btn { transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .2s ease, transform .16s var(--s-ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(79, 59, 224, .6); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .08s; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--s-primary); outline-offset: 2px; }
a.card { transition: transform .22s var(--s-ease), box-shadow .22s ease, border-color .22s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(21, 23, 61, .35); border-color: var(--s-accent); }
.nav-links a, .foot a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .22s var(--s-ease), color .16s ease; }
.nav-links a:hover, .foot a:hover, .nav-links a.on { background-size: 100% 1.5px; }
.tabs a { transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.tabs a:not(.on):hover { background: #fff; border-color: var(--s-accent); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; animation-timing-function: var(--s-ease); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .btn:hover, a.card:hover { transform: none; }
    @view-transition { navigation: none; }
}
