/* Сайт-визитка «Начальник смены» — те же цвета, что в программе */
:root {
  --ink: #101828; --ink-2: #344054; --ink-3: #667085; --ink-4: #98a2b3;
  --bg: #fff; --bg-alt: #f3f4f6; --line: #e4e7ec;
  --dark: #111522; --dark-2: #1a2033;
  --accent: #2f5bd3; --accent-2: #2448b8; --accent-bg: #eef3ff; --accent-soft: #9db3f5;
  --ok: #067647;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(47,91,211,.6); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }
.btn.is-off { opacity: .55; pointer-events: none; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(17,21,34,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-row { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.nav-links a:hover { color: #fff; }

/* первый экран */
.hero { background: radial-gradient(1200px 600px at 75% -10%, rgba(47,91,211,.35), transparent 60%), var(--dark); color: #fff; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-soft); background: rgba(157,179,245,.12); border: 1px solid rgba(157,179,245,.25); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 18px; }
.lead { font-size: 18px; color: rgba(255,255,255,.72); margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dl-meta { font-size: 13.5px; color: rgba(255,255,255,.55); }
.hero-shot { position: relative; }
.hero-shot .window { transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }

/* окно со скриншотом */
.window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -20px rgba(16,24,40,.35), 0 0 0 1px rgba(16,24,40,.08); }
.window-bar { height: 28px; background: #1d2433; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window img { width: 100%; height: auto; }

/* разделы */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.015em; margin: 0 0 10px; text-align: center; }
.sub { color: var(--ink-3); font-size: 17px; margin: 0 auto 44px; text-align: center; max-width: 640px; }
.sub.left { text-align: left; margin-left: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.feat:hover { border-color: #c7d5fb; box-shadow: 0 12px 30px -16px rgba(47,91,211,.35); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feat .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--ink-3); font-size: 15px; }

/* экраны */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tab:hover { border-color: #c7d5fb; }
.tab.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.shot-big { margin: 0 auto; max-width: 1080px; }
.shot-big figcaption { text-align: center; color: var(--ink-3); margin-top: 16px; font-size: 15px; }

/* кабинет */
.cab-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.cab-grid h2 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #ecfdf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067647' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.cab-shots { position: relative; padding: 0 90px 60px 0; }
.phone { position: absolute; right: 0; bottom: 0; width: 160px; border-radius: 28px; overflow: hidden; border: 8px solid var(--dark); box-shadow: 0 30px 60px -20px rgba(16,24,40,.5); background: #fff; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.step { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.step b { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-3); font-size: 15px; }

/* скачивание */
.download { background: var(--dark); color: #fff; }
.dl-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.download h2 { text-align: left; }
.download .sub { color: rgba(255,255,255,.65); margin-bottom: 16px; }
.dl-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.notes { margin: 0; padding-left: 20px; color: rgba(255,255,255,.75); font-size: 15px; }
.notes .notes-h { list-style: none; margin-left: -20px; font-weight: 650; color: #fff; margin-bottom: 4px; }
.link-light { color: var(--accent-soft); text-decoration: none; font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.link-light:hover { text-decoration: underline; }

.foot { background: #0b0e17; color: rgba(255,255,255,.6); padding: 24px 0; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.muted { color: rgba(255,255,255,.4); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,10,18,.88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

@media (max-width: 960px) {
  .hero-grid, .cab-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero-shot .window { transform: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .dl-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .section { padding: 60px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .lead { font-size: 16.5px; }
  .btn--lg { width: 100%; }
  .cta { align-items: stretch; }
  .cab-shots { padding-right: 0; }
  .phone { position: relative; width: 60%; margin: -40px auto 0; bottom: 0; }
  .window-bar { height: 20px; }
}
