/* Sanoatchi site theme (M4). Ported from the accepted mockup M1b; loaded after the core theme.css.
   Inter (Cyrillic) comes from the core theme, Instrument Sans (Latin) from here. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  color-scheme: light;
  --sn-font: 'Instrument Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sn-brand: #1d4ed8; --sn-brand-hover: #1e40af; --sn-brand-soft: #e6edff; --sn-brand-glow: rgba(37, 99, 235, .55);
  --sn-accent: #f59e0b; --sn-accent-hover: #fbbf24; --sn-accent-ink: #b45309; --sn-accent-soft: #fff7e6; --sn-on-accent: #0f172a;
  --sn-steel: #0b1220; --sn-steel-1: #0f172a; --sn-steel-2: #1e293b; --sn-steel-line: #334155; --sn-on-steel: #e2e8f0; --sn-on-steel-2: #94a3b8;
  --sn-ink: #0f172a; --sn-ink-2: #475569; --sn-ink-3: #64748b;
  --sn-bg: #f4f6fa; --sn-surface: #fff; --sn-line: #d5dce6;
  --sn-focus: #93b4ff; --sn-success: #15803d; --sn-success-soft: #e7f8ee; --sn-danger: #b91c1c; --sn-danger-soft: #fdecec;
  --g-prod: #1d4ed8; --g-prod-bg: #e6edff; --g-ware: #0f766e; --g-ware-bg: #e0f5f2; --g-qc: #6d28d9; --g-qc-bg: #f1ebff;
  --g-move: #c2410c; --g-move-bg: #ffeee4; --g-sale: #15803d; --g-sale-bg: #e7f8ee; --g-money: #a16207; --g-money-bg: #fdf4d8;
  --r-btn: 10px; --r-card: 16px; --r-lg: 22px;
  --sh-card: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --sh-lift: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 48px -16px rgba(15, 23, 42, .28);
  --sh-deep: 0 40px 80px -24px rgba(0, 0, 0, .6), 0 12px 24px -8px rgba(0, 0, 0, .35);
  --wrap: 1200px; --gut: 16px; --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; } }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.6 var(--sn-font); color: var(--sn-ink); background: var(--sn-surface); overflow-x: hidden; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
/* Undo the core theme's prose spacing inside the site chrome and the landing only:
   :where() keeps these at element weight, so every component class below wins. */
:where(.top, .foot, .sn-home) :is(h1, h2, h3, h4, h5, p, ul, ol, table, figure) { margin: 0; text-wrap: wrap; }
:where(.top, .foot, .sn-home) :is(ul, ol) { padding: 0; list-style: none; }
:where(.sn-home) :is(th, td) { border: 0; }
a { color: var(--sn-brand); }
:focus-visible { outline: 3px solid var(--sn-focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font: 600 16px/1.2 var(--sn-font); border: 1.5px solid transparent; text-align: center; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; }
.btn, .btn:is(:hover, :focus, :active) { color: var(--btn-ink, var(--sn-ink)); text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-accent { --btn-ink: var(--sn-on-accent); background: var(--sn-accent); box-shadow: 0 8px 24px -8px rgba(245, 158, 11, .6); }
.btn-accent:is(:hover, :focus, :active) { background: var(--sn-accent-hover); box-shadow: 0 12px 28px -8px rgba(245, 158, 11, .75); }
.btn-ghost { --btn-ink: var(--sn-surface); border-color: rgba(148, 163, 184, .55); background: rgba(15, 23, 42, .4); }
.btn-ghost:is(:hover, :focus, :active) { border-color: var(--sn-surface); background: var(--sn-steel-2); }
.btn-brand { --btn-ink: var(--sn-surface); background: var(--sn-brand); }
.btn-brand:is(:hover, :focus, :active) { background: var(--sn-brand-hover); }
.btn-line { border-color: var(--sn-line); background: var(--sn-surface); }
.btn-line:is(:hover, :focus, :active) { --btn-ink: var(--sn-brand); border-color: var(--sn-brand); }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.logo svg { flex: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--sn-on-steel); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.is-stuck { border-bottom-color: rgba(51, 65, 85, .7); background: rgba(11, 18, 32, .92); }
.top .wrap { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 20px); min-height: 64px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a, .top-login { color: var(--sn-on-steel); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:is(:hover, :focus, :active), .top-login:is(:hover, :focus, :active) { background: rgba(30, 41, 59, .8); color: var(--sn-surface); text-decoration: none; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--sn-steel-line); border-radius: 999px; padding: 2px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--sn-on-steel-2); min-width: 40px; text-align: center; }
.lang a:hover { color: #fff; }
.lang [aria-current] { background: var(--sn-steel-2); color: #fff; }
.top .btn { display: none; min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
@media (min-width: 1024px) { .nav { display: flex; } }
@media (min-width: 640px) { .top .btn { display: inline-flex; } }

/* hero */
.hero { position: relative; background: var(--sn-steel); color: var(--sn-on-steel); padding: 56px 0 0; overflow: hidden; isolation: isolate; margin-top: -64px; padding-top: 120px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(37, 99, 235, .55), transparent 70%), radial-gradient(closest-side at 75% 60%, rgba(245, 158, 11, .22), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-text { text-align: center; max-width: 860px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .08); color: #fde68a; font-size: 14px; font-weight: 500; }
.pill b { background: var(--sn-accent); color: var(--sn-on-accent); border-radius: 999px; font-size: 12px; padding: 2px 8px; font-weight: 700; }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 7.2vw, 68px); color: #fff; letter-spacing: -.035em; }
.hero h1 .hl { background: linear-gradient(92deg, #fbbf24, #f59e0b 45%, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 20px auto 0; font-size: clamp(17px, 2vw, 19px); color: #cbd5e1; max-width: 62ch; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; font-size: 14px; color: var(--sn-on-steel-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.note span { display: inline-flex; align-items: center; gap: 6px; }
.note .i { width: 16px; height: 16px; color: var(--sn-accent); }
@media (max-width: 479px) { .cta .btn { flex: 1 1 100%; } }

/* hero stage: browser + phone + toast */
.stage { position: relative; margin: 56px auto 0; max-width: 1120px; padding-bottom: 72px; }
@media (min-width: 768px) { .stage .browser { margin-right: 150px; } }
.browser { position: relative; border-radius: 14px; background: #fff; box-shadow: var(--sh-deep), 0 0 0 1px rgba(148, 163, 184, .25); overflow: hidden; color: var(--sn-ink); }
.b-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: #eef1f5; border-bottom: 1px solid var(--sn-line); }
.b-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.b-url { margin: 0 auto; font-size: 12px; color: var(--sn-ink-2); background: #fff; border: 1px solid var(--sn-line); border-radius: 6px; padding: 2px 14px; }
.app { display: grid; grid-template-columns: 188px 1fr; font-size: 12.5px; line-height: 1.35; min-height: 430px; }
.app-side { border-right: 1px solid var(--sn-line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; }
.app-side .logo { font-size: 15px; gap: 8px; margin: 0 6px 14px; }
.app-side span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--sn-ink-2); font-weight: 500; }
.app-side .i { width: 16px; height: 16px; }
.app-side .on { background: var(--sn-brand-soft); color: var(--sn-brand); font-weight: 600; }
.app-main { background: var(--sn-bg); padding: 16px 18px; display: grid; gap: 12px; align-content: start; }
.app-h { display: flex; align-items: center; gap: 8px; }
.app-h h4 { font-size: 18px; margin-right: auto; }
.mini-btn { background: var(--sn-brand); color: #fff; border-radius: 7px; padding: 6px 10px; font-weight: 600; font-size: 12px; }
.app-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.panel { background: #fff; border: 1px solid var(--sn-line); border-radius: 12px; padding: 12px; }
.panel h5 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: 92px; }
.bars div { position: relative; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #3b82f6, var(--sn-brand)); height: var(--h); transform-origin: bottom; }
.bars div:last-child { background: linear-gradient(180deg, #fbbf24, var(--sn-accent)); }
.bars-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 6px; font-size: 10.5px; color: var(--sn-ink-3); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--sn-line); border-radius: 999px; padding: 4px 10px; font-weight: 500; background: #fff; }
.chip b { font-weight: 700; }
.c-risk { border-color: #fcd34d; background: #fff7e6; color: #92400e; }
.c-late { border-color: #fca5a5; background: var(--sn-danger-soft); color: var(--sn-danger); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--sn-line); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.kpi em { font-style: normal; margin-left: auto; min-width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-size: 12px; }
.ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.ico .i { width: 17px; height: 17px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; color: var(--sn-ink-3); font-weight: 600; font-size: 11px; padding: 0 8px 6px; }
.tbl td { padding: 8px; border-top: 1px solid #eef1f5; }
.st { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.st-work { background: #e6edff; color: #1d4ed8; } .st-risk { background: #fff4dc; color: #b45309; } .st-done { background: #e7f8ee; color: #15803d; } .st-wait { background: #f1ebff; color: #6d28d9; }
.prog { height: 6px; border-radius: 99px; background: #eef1f5; overflow: hidden; min-width: 60px; }
.prog i { display: block; height: 100%; width: var(--w); background: var(--sn-brand); border-radius: inherit; }

/* phone */
.phone { width: 248px; border-radius: 38px; padding: 9px; background: #020617; box-shadow: var(--sh-deep), 0 0 0 1px rgba(148, 163, 184, .3), inset 0 0 0 2px #1e293b; }
.scr { position: relative; border-radius: 30px; overflow: hidden; background: var(--sn-bg); color: var(--sn-ink); font-size: 12px; line-height: 1.3; min-height: 470px; display: flex; flex-direction: column; }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; background: #fff; border-bottom: 1px solid var(--sn-line); }
.scr-top .logo { font-size: 13px; gap: 6px; }
.scr-top .logo svg { width: 20px; height: 20px; }
.scr-lang { font-size: 10px; font-weight: 700; border: 1px solid var(--sn-line); border-radius: 99px; padding: 2px 7px; }
.scr-body { padding: 12px; flex: 1; }
.scr-role { color: var(--sn-ink-3); font-size: 11px; }
.scr-h { font-size: 16px; font-weight: 700; margin: 2px 0 10px; letter-spacing: -.02em; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { position: relative; background: #fff; border: 1px solid var(--sn-line); border-radius: 13px; padding: 10px; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; font-weight: 700; font-size: 12px; }
.tile .ico { width: 28px; height: 28px; }
.tile em { position: absolute; top: 8px; right: 8px; font-style: normal; background: var(--sn-brand); color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; }
.scr-nav { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--sn-line); padding: 8px 4px 12px; font-size: 10px; text-align: center; color: var(--sn-ink-2); }
.scr-nav span { display: grid; justify-items: center; gap: 2px; }
.scr-nav .i { width: 16px; height: 16px; }
.scr-nav .on { color: var(--sn-brand); font-weight: 600; }
.stage .phone { position: absolute; right: -10px; bottom: 0; }
.toast { position: absolute; left: -24px; bottom: 96px; display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .96); color: var(--sn-ink); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: var(--sh-lift); font-size: 13px; line-height: 1.35; max-width: 250px; }
.toast .ico { background: var(--sn-success-soft); color: var(--sn-success); }
.toast small { display: block; color: var(--sn-ink-3); font-size: 12px; }
.toast-2 { left: auto; right: 190px; bottom: auto; top: -30px; }
.toast-2 .ico { background: #fff4dc; color: var(--sn-accent-ink); }
@media (min-width: 768px) and (max-width: 1099px) { .stage .browser { margin-right: 190px; } .kpis { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { display: none; } }
@media (max-width: 1099px) { .stage .phone { right: 0; } .toast { left: 8px; } .toast-2 { display: none; } }
@media (max-width: 767px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side, .kpis, .app-row > .panel:last-child, .tbl .hide-s, .mini-btn + .mini-btn { display: none; }
  .app-row { grid-template-columns: 1fr; }
  .stage { padding-bottom: 340px; margin-top: 40px; }
  .stage .phone { right: auto; left: 50%; margin-left: -115px; width: 230px; }
  .stage .scr { min-height: 380px; }
  .toast { display: none; }
}

/* section frame */
.sec { padding: 80px 0; position: relative; }
.sec-soft { background: var(--sn-bg); }
.sec-dark { background: var(--sn-steel); color: var(--sn-on-steel); overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .sec { padding: 112px 0; } }
.head { max-width: 720px; }
.head.c { margin: 0 auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sn-brand); }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--sn-accent); border-radius: 2px; }
.sec-dark .kicker { color: var(--sn-accent); }
.head h2 { margin-top: 12px; font-size: clamp(30px, 4.4vw, 46px); }
.sec-dark h2 { color: #fff; }
.head p { margin-top: 14px; font-size: 18px; color: var(--sn-ink-2); }
.sec-dark .head p { color: var(--sn-on-steel-2); }

/* problem -> solution */
.ps { display: grid; gap: 20px; margin-top: 48px; align-items: stretch; }
@media (min-width: 900px) { .ps { grid-template-columns: 1fr auto 1fr; } }
.ps-card { border-radius: var(--r-lg); padding: 28px; }
.ps-old { background: var(--sn-bg); border: 1px dashed #cbd5e1; }
.ps-new { background: linear-gradient(160deg, #fff, #f5f8ff); border: 1.5px solid #c9d7ff; box-shadow: var(--sh-lift); }
.ps-card h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.mess { position: relative; height: 120px; margin: 20px 0 8px; }
.mess span { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--sn-line); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--sn-ink-2); box-shadow: var(--sh-card); transform: rotate(var(--r)); }
.mess .i { width: 16px; height: 16px; }
@media (max-width: 479px) { .mess { height: 140px; } .mess span { font-size: 13px; padding: 6px 10px; } }
.one { display: flex; align-items: center; gap: 12px; margin: 20px 0 8px; padding: 14px; height: 120px; border-radius: 14px; background: var(--sn-steel-1); color: #fff; }
.one .logo { font-size: 20px; }
.one small { display: block; color: var(--sn-on-steel-2); font-size: 13px; font-weight: 500; }
.ps-list { display: grid; gap: 12px; margin-top: 16px; }
.ps-list li { display: flex; gap: 10px; font-size: 15px; color: var(--sn-ink-2); }
.ps-list .i { width: 20px; height: 20px; margin-top: 2px; }
.ps-old .i { color: #94a3b8; } .ps-new .i { color: var(--sn-success); }
.ps-arrow { display: grid; place-items: center; }
.ps-arrow div { width: 56px; height: 56px; border-radius: 50%; background: var(--sn-accent); color: var(--sn-on-accent); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(245, 158, 11, .7); }
@media (max-width: 899px) { .ps-arrow div { transform: rotate(90deg); } }

/* flow: order path */
.flow { position: relative; display: grid; gap: 14px; margin-top: 56px; counter-reset: f; }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.flow::before { content: ""; position: absolute; z-index: 0; background: linear-gradient(90deg, var(--sn-brand), var(--sn-accent)); }
@media (min-width: 1024px) { .flow::before { left: 8%; right: 8%; top: 36px; height: 2px; } }
@media (max-width: 1023px) { .flow::before { left: 35px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--sn-brand), var(--sn-accent)); } }
.flow::after { content: ""; position: absolute; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--sn-accent); box-shadow: 0 0 0 6px rgba(245, 158, 11, .25); }
@media (min-width: 1024px) { .flow::after { top: 32px; left: 8%; animation: run-x 6s var(--ease) infinite; } }
@media (max-width: 1023px) { .flow::after { left: 31px; top: 30px; animation: run-y 6s var(--ease) infinite; } }
@keyframes run-x { to { left: 92%; } }
@keyframes run-y { to { top: calc(100% - 40px); } }
.node { position: relative; z-index: 2; counter-increment: f; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
@media (min-width: 1024px) { .node { grid-template-columns: 1fr; justify-items: center; align-items: start; align-content: start; text-align: center; } }
.node .ico { width: 72px; height: 72px; border-radius: 20px; background: #fff; border: 1.5px solid var(--sn-line); box-shadow: var(--sh-card); transition: transform .25s var(--ease), box-shadow .25s; }
.node .ico .i { width: 28px; height: 28px; }
.node:hover .ico { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.node h3 { font-size: 16px; }
.node h3::before { content: counter(f, decimal-leading-zero); margin-right: .4em; color: var(--sn-accent-ink); font-size: 13px; }
.node p { font-size: 14px; color: var(--sn-ink-2); margin-top: 4px; }

/* modules bento */
.bento { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .b-wide { grid-column: span 2; } }
.mod { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sn-line); border-radius: var(--r-lg); padding: 24px; overflow: hidden; box-shadow: var(--sh-card); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); border-color: #c9d7ff; }
.mod-h { display: flex; align-items: center; gap: 12px; }
.mod-h .ico { width: 40px; height: 40px; border-radius: 12px; }
.mod h3 { font-size: 19px; }
.mod > p { margin-top: 10px; color: var(--sn-ink-2); font-size: 15px; }
.ui { margin-top: auto; padding-top: 20px; font-size: 13px; line-height: 1.35; }
.ui-box { background: var(--sn-bg); border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.ord { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; }
.ord b { font-size: 13px; }
.ord small { display: block; color: var(--sn-ink-3); font-size: 12px; }
.steps-pill { display: flex; gap: 4px; }
.steps-pill i { flex: 1; height: 6px; border-radius: 99px; background: #e2e8f0; }
.steps-pill i.d { background: var(--sn-brand); } .steps-pill i.n { background: var(--sn-accent); }
.stock { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.stock .prog { grid-column: 1 / -1; height: 8px; }
.stock .low i { background: var(--sn-danger); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chain span { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 9px; font-weight: 600; }
.chain span small { display: block; color: var(--sn-ink-3); font-weight: 500; font-size: 11px; }
.chain .i { width: 14px; height: 14px; color: var(--sn-ink-3); }
.pay { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; background: #fff; border-radius: 8px; padding: 8px 10px; border: 1px solid #e2e8f0; }
.mod-more { background: var(--sn-steel-1); color: var(--sn-on-steel); border-color: transparent; }
.mod-more h3 { color: #fff; }
.mod-more > p { color: var(--sn-on-steel-2); }
.mod-more .chain span { background: var(--sn-steel-2); border-color: var(--sn-steel-line); color: #fff; }

/* roles */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--sn-steel-2); border-radius: 14px; margin-top: 36px; border: 1px solid var(--sn-steel-line); }
.tab { font: 600 15px var(--sn-font); color: var(--sn-on-steel-2); background: none; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; min-height: 44px; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--sn-ink); }
.tab:hover { color: #fff; } .tab[aria-selected="true"]:hover { color: var(--sn-ink); }
.tabs[hidden] { display: none; }
.roles { margin-top: 28px; display: grid; gap: 40px; }
.role { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .role { grid-template-columns: 1fr 1fr; } }
.role[hidden] { display: none; }
.role h3 { font-size: 28px; color: #fff; }
.role > div > p { margin-top: 10px; color: var(--sn-on-steel-2); font-size: 17px; }
.role ul { margin-top: 20px; display: grid; gap: 12px; }
.role li { display: flex; gap: 10px; color: var(--sn-on-steel); }
.role li .i { color: var(--sn-accent); margin-top: 3px; }
.role-shot { display: flex; justify-content: center; position: relative; }
.role-shot::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, var(--sn-brand-glow), transparent); z-index: -1; filter: blur(20px); }
.role .browser { width: 100%; max-width: 520px; }
.role .app-main { min-height: 300px; }
.task { background: #fff; border: 1px solid var(--sn-line); border-radius: 12px; padding: 10px; display: grid; gap: 6px; margin-bottom: 8px; }
.task-h { display: flex; justify-content: space-between; gap: 6px; font-weight: 700; }
.task small { color: var(--sn-ink-3); }
.task .done { background: var(--sn-brand); color: #fff; border-radius: 8px; text-align: center; padding: 8px; font-weight: 600; }

/* telegram */
.tg { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .tg { grid-template-columns: 1.05fr .95fr; } }
.tg-list { display: grid; gap: 18px; margin-top: 32px; }
.tg-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.tg-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sn-brand-soft); color: var(--sn-brand); }
.tg-list b { display: block; font-size: 17px; }
.tg-list span { color: var(--sn-ink-2); font-size: 15px; }
.tg-shot { display: flex; justify-content: center; position: relative; }
.tg-shot::before { content: ""; position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .18), transparent); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; }
.tg-shot .phone { position: relative; z-index: 1; }
.chat { background: linear-gradient(180deg, #dbe7f3, #cfdcea); }
.chat-top { display: flex; align-items: center; gap: 8px; padding: 14px 12px 10px; background: #fff; border-bottom: 1px solid var(--sn-line); }
.ava { width: 30px; height: 30px; border-radius: 50%; background: var(--sn-brand); display: grid; place-items: center; }
.chat-top small { display: block; color: var(--sn-ink-3); font-size: 10px; }
.msgs { padding: 12px 10px; display: grid; gap: 8px; align-content: end; flex: 1; }
.msg { max-width: 88%; background: #fff; border-radius: 12px 12px 12px 4px; padding: 8px 10px; box-shadow: 0 1px 1px rgba(15, 23, 42, .08); }
.msg b { display: block; margin-bottom: 2px; }
.msg small { display: block; text-align: right; color: var(--sn-ink-3); font-size: 10px; margin-top: 2px; }
.msg-me { justify-self: end; background: #dcf2c8; border-radius: 12px 12px 4px 12px; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 88%; }
.kb span { background: rgba(255, 255, 255, .75); border-radius: 8px; text-align: center; padding: 7px; font-weight: 600; color: var(--sn-brand); }

/* pricing */
.plans { display: grid; gap: 20px; margin-top: 48px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sn-line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-card); transition: transform .25s var(--ease), box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.plan-hi { background: var(--sn-steel-1); color: var(--sn-on-steel); border-color: transparent; box-shadow: var(--sh-deep); }
.plan-hi::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: linear-gradient(140deg, var(--sn-accent), var(--sn-brand) 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@media (min-width: 900px) { .plan-hi { transform: translateY(-12px); } .plan-hi:hover { transform: translateY(-16px); } }
.badge { position: absolute; top: -13px; left: 28px; background: var(--sn-accent); color: var(--sn-on-accent); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan-hi h3 { color: #fff; }
.plan-for { margin-top: 6px; color: var(--sn-ink-2); font-size: 15px; min-height: 48px; }
.plan-hi .plan-for { color: var(--sn-on-steel-2); }
.price { margin-top: 20px; padding: 16px 0; border-block: 1px solid var(--sn-line); }
.plan-hi .price { border-color: var(--sn-steel-line); }
.price b { display: block; font-size: 24px; letter-spacing: -.02em; color: var(--sn-accent-ink); }
.plan-hi .price b { color: var(--sn-accent); }
.price span { font-size: 14px; color: var(--sn-ink-3); }
.plan-hi .price span { color: var(--sn-on-steel-2); }
.plan ul { margin: 20px 0 28px; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li .i { color: var(--sn-success); margin-top: 2px; }
.plan-hi li .i { color: var(--sn-accent); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--sn-ink-2); font-size: 15px; }
.plans-note span { display: inline-flex; gap: 8px; align-items: center; }
.plans-note .i { color: var(--sn-accent-ink); }

/* start steps */
.start { display: grid; gap: 16px; margin-top: 48px; counter-reset: s; }
@media (min-width: 900px) { .start { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.start li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--sn-line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-card); }
.start li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sn-steel-1); color: var(--sn-accent); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.start li:not(:last-child)::after { content: ""; position: absolute; top: 49px; left: 84px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 12px); }
@media (max-width: 899px) { .start li::after { display: none; } }
.start h3 { font-size: 19px; }
.start p { margin-top: 8px; color: var(--sn-ink-2); font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--sn-line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #c9d7ff; box-shadow: var(--sh-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 17px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--sn-ink-2); border-bottom: 2px solid var(--sn-ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 20px 20px; color: var(--sn-ink-2); }

/* final cta */
.final { position: relative; text-align: center; border-radius: 28px; padding: 64px 24px; background: var(--sn-steel); color: var(--sn-on-steel); overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, rgba(37, 99, 235, .55), transparent 70%), radial-gradient(500px 300px at 85% 100%, rgba(245, 158, 11, .3), transparent 70%); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 40px 40px; }
.final h2 { font-size: clamp(30px, 4.6vw, 48px); color: #fff; max-width: 18ch; margin: 0 auto; }
.final p { margin: 16px auto 0; max-width: 56ch; color: #cbd5e1; font-size: 18px; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contacts a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; border: 1px solid var(--sn-steel-line); background: rgba(30, 41, 59, .6); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.contacts a:hover { border-color: var(--sn-accent); }
.contacts .i { color: var(--sn-accent); }

/* footer */
.foot { background: var(--sn-steel); color: var(--sn-on-steel-2); font-size: 15px; padding: 56px 0 28px; }
.foot-grid { display: grid; gap: 32px; }
/* the first column is wider, the rest share the row however many there are (contacts may be hidden) */
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.6fr; grid-auto-columns: 1fr; grid-auto-flow: column; } }
.foot .logo { color: #fff; }
.foot p { margin-top: 12px; max-width: 34ch; }
.foot h4 { color: #fff; font-size: 14px; letter-spacing: 0; margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--sn-on-steel); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sn-steel-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }

/* motion */
/* Only blocks below the first screen wait for the reveal (landing.js adds .rv-wait):
   nothing visible on load is hidden and shown again, and without JS all is visible. */
.rv { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv-wait { opacity: 0; transform: translateY(24px); }
.rv .bars div { transition: transform 1s var(--ease) .3s; }
.rv-wait .bars div { transform: scaleY(.1); }
.float { animation: float 7s ease-in-out infinite; }
.float-2 { animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-wait { opacity: 1; transform: none; }
  .rv-wait .bars div { transform: none; }
}

/* values that the mockup set in style="" (the public CSP has no 'unsafe-inline') */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.g-prod { --g: var(--g-prod); --gb: var(--g-prod-bg); } .g-ware { --g: var(--g-ware); --gb: var(--g-ware-bg); }
.g-qc { --g: var(--g-qc); --gb: var(--g-qc-bg); } .g-money { --g: var(--g-money); --gb: var(--g-money-bg); }
.g-move { --g: var(--g-move); --gb: var(--g-move-bg); } .g-sale { --g: var(--g-sale); --gb: var(--g-sale-bg); }
.tint { background: var(--gb); color: var(--g); } .ink { color: var(--g); } .kpi em { background: var(--g); }
.bars-day div:nth-child(1) { --h: 92%; } .bars-day div:nth-child(2) { --h: 78%; } .bars-day div:nth-child(3) { --h: 64%; } .bars-day div:nth-child(4) { --h: 50%; } .bars-day div:nth-child(5) { --h: 36%; }
.bars-week div:nth-child(1) { --h: 60%; } .bars-week div:nth-child(2) { --h: 82%; } .bars-week div:nth-child(3) { --h: 74%; } .bars-week div:nth-child(4) { --h: 95%; } .bars-week div:nth-child(5) { --h: 68%; }
.w14 { --w: 14%; } .w35 { --w: 35%; } .w62 { --w: 62%; } .w70 { --w: 70%; } .w100 { --w: 100%; }
.prog .p-accent { background: var(--sn-accent); } .prog .p-success { background: var(--sn-success); } .prog .p-ware { background: var(--g-ware); }
.d06 { --d: .06s; } .d08 { --d: .08s; } .d10 { --d: .1s; } .d12 { --d: .12s; } .d15 { --d: .15s; } .d16 { --d: .16s; } .d18 { --d: .18s; } .d24 { --d: .24s; } .d30 { --d: .3s; }
.mess span:nth-child(1) { left: 2%; top: 8px; --r: -6deg; } .mess span:nth-child(2) { left: 38%; top: 0; --r: 4deg; }
.mess span:nth-child(3) { left: 8%; top: 62px; --r: 3deg; } .mess span:nth-child(4) { left: 50%; top: 58px; --r: -5deg; }
.app-one { grid-template-columns: 1fr; min-height: 0; }
.stock.low b { color: var(--sn-danger); }
.ico-sm { width: 28px; height: 28px; }
.mod-more .mod-h .ico { background: var(--sn-steel-2); color: var(--sn-accent); }
.kb-one { grid-template-columns: 1fr; max-width: 60%; }

/* data-driven parts that the mockup did not have */
.plan-seats, .plan-extra { margin-top: 12px; font-size: 14px; color: var(--sn-ink-2); }
.plan-hi .plan-seats, .plan-hi .plan-extra { color: var(--sn-on-steel-2); }
.contacts span { display: inline-flex; align-items: center; gap: 10px; color: var(--sn-on-steel); border: 1px solid var(--sn-steel-line); background: rgba(30, 41, 59, .6); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.contacts span .i { color: var(--sn-accent); }
.foot-dev a { color: var(--sn-on-steel); text-decoration: underline; text-underline-offset: 3px; }

/* inner pages (terms, privacy, 404) keep the core layout of the content */
.digi-main { flex: 1; padding: 48px 0 80px; }

.digi-prose.sn-document { max-width: none; display: grid; gap: 32px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.sn-document > h1 { margin: 0; max-width: 30ch; }
.sn-document [data-digi-page-body], .sn-document [data-digi-faq] { max-width: 40em; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.sn-document :is(h2, h3) { line-height: 1.3; scroll-margin-top: 16px; }
.sn-document [data-digi-page-body] h2 { margin-block: 40px 16px; }
.sn-document [data-digi-page-body] :is(p, ul, ol) { margin-block: 0 20px; }
.sn-document [data-digi-page-body] :is(ul, ol) { padding-inline-start: 24px; }
.sn-document [data-digi-page-body] li + li { margin-top: 8px; }
.sn-contents { min-width: 0; background: var(--sn-bg); border: 1px solid var(--sn-line); border-radius: var(--r-card); color: var(--sn-ink); }
.sn-contents summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; border-radius: inherit; }
.sn-contents summary::-webkit-details-marker { display: none; }
.sn-contents summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border: solid var(--sn-ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.sn-contents details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.sn-contents ol { margin: 0; padding: 0 20px 20px; list-style: none; }
.sn-contents li + li { margin-top: 2px; }
.sn-contents [data-digi-toc-level="3"] { padding-inline-start: 16px; }
.sn-contents a { display: block; padding: 7px 12px; border-left: 2px solid var(--sn-line); color: var(--sn-ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.5; }
.sn-contents a:is(:hover, :focus-visible) { background: var(--sn-surface); color: var(--sn-brand); text-decoration: none; }
.sn-contents a[aria-current="location"] { border-left-color: var(--sn-brand); color: var(--sn-brand); font-weight: 600; }
@media (min-width: 1024px) {
  .digi-prose.sn-document { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
  .sn-document > h1 { grid-column: 1 / -1; }
  .sn-document [data-digi-page-body] { grid-column: 1; grid-row: 2; }
  .sn-document [data-digi-faq] { grid-column: 1; }
  .sn-contents { grid-column: 2; grid-row: 2 / span 2; position: sticky; top: 80px; max-height: calc(100dvh - 96px); overflow-y: auto; }
  .sn-contents summary { cursor: default; padding-bottom: 12px; }
  .sn-contents summary::after { display: none; }
}

/* brand logo images (owner's files): sign + word, sized per place */
.logo picture, .logo img { display: block; } .logo picture { flex: none; } .logo img { max-width: none; }
.logo .logo-word img { height: 20px; width: auto; }
.app-side .logo-mark img { width: 24px; height: 24px; }
.app-side .logo-word img, .scr-top .logo-word img { height: 13px; }
.scr-top .logo-mark img { width: 20px; height: 20px; }
.ava { background: none; overflow: hidden; }
@media (max-width: 359px) { .top .logo-word { display: none; } }
