:root {
  --ink: #0f1112;
  --ink-2: #35383c;
  --ink-3: #000;
  --tint: #f0f0f1;
  --text: #1c1e21;
  --muted: #62666b;
  --line: #e2e3e5;
  --white: #fff;
  --band: #f6f6f7;
  --ok: #2f7d4a;
  --bad: #b42318;
  --radius: 10px;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 80;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.wrap-narrow {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}
section, .feat-wrap, .feat, .tech, .contact, .ceo, .chapter {
  scroll-margin-top: 88px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 17px;
  color: var(--ink);
  flex: 0 0 auto;
}
.logo img { width: 42px; height: 42px; }
.logo-lock {
  display: grid;
  line-height: 1;
}
.logo-lock b {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.logo-lock i {
  margin-top: 4px;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.175em;
  color: var(--muted);
}
.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--ink); }
.nav a.is-here { color: var(--ink); font-weight: 700; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-phone {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}
.header-phone a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
}
.header-phone a:hover { text-decoration: underline; text-underline-offset: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
}
.btn-demo {
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  font-size: 13px;
}
.btn-white {
  background: var(--white);
  color: var(--ink);
  padding: 16px 36px;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-blue {
  background: var(--ink);
  color: var(--white);
  padding: 12px 26px;
  font-size: 13px;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  padding: 10px 24px;
  font-size: 13px;
  border: 1px solid var(--ink);
}
.btn-lg { padding: 15px 30px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: wait; }
.feat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a.fn { text-decoration: none; color: inherit; }
a.fn:hover { border-color: var(--ink); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: block;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,10,12,0.60), rgba(10,10,12,0.78)),
    url("assets/hero-mono.jpg") center/cover no-repeat;
  overflow: visible;
  padding: 72px 0 0;
}
.hero-mark {
  position: absolute;
  left: -4vw;
  bottom: -8vh;
  font-size: min(48vw, 520px);
  font-weight: 800;
  color: rgba(255,255,255,0.09);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}
.hero .wrap { position: relative; z-index: 3; }
.hero h1 {
  position: relative;
  margin: 0 auto 12px;
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 15ch;
}
.hero-tag {
  position: relative;
  margin: 0 auto 24px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero-note {
  margin: 18px auto 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}
.hero-shot {
  width: 100%;
  margin: 36px auto 0;
  transform: translateY(52px);
}
.hero-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(100%, 660px);
  margin: 0 auto;
  align-items: end;
}
.hero-phones .phone-lift { transform: translateY(-18px); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,10,12,0.66), rgba(10,10,12,0.82)),
    url("assets/hero-mono.jpg") center/cover no-repeat;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero .kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.page-hero h1 {
  margin: 0 auto 14px;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-transform: uppercase;
  max-width: 22ch;
}
.page-hero .rule { background: var(--white); }
.page-hero .lead {
  color: rgba(255,255,255,0.82);
  max-width: 62ch;
}

/* ---------- Section headings ---------- */
.intro {
  padding: 100px 0 72px;
  text-align: center;
}
.intro h2,
.sec h2,
.why h2,
.tech h2,
.chapter h2,
.contact h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.rule {
  width: 88px;
  height: 3px;
  background: var(--ink);
  margin: 0 auto 22px;
  border: 0;
}
.intro p,
.lead {
  margin: 0 auto;
  max-width: 72ch;
  color: var(--muted);
  font-size: 17px;
}
.intro .kicker {
  margin: 0 auto 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.intro .ready {
  margin-top: 16px;
  color: var(--ink-2);
  font-weight: 700;
}
.byline { margin-top: 16px; }
.byline a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Video / practice ---------- */
.why {
  padding: 24px 0 72px;
  text-align: center;
}
.why h2 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.video-lead {
  margin: 0 auto 22px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 16px;
}
.video-frame {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 44px rgba(0,0,0,0.16);
  aspect-ratio: 16 / 9;
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.60));
  color: var(--white);
}
.play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  position: relative;
  flex: 0 0 auto;
}
.play::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--ink);
}
.video-overlay b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 100%;
  text-wrap: balance;
}
.why-label {
  margin: 28px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.why-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-pills li {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 13px;
}
.why-pills a { color: inherit; text-decoration: none; }
.why-pills li:has(a):hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Feature grid ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
}
.fn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.fn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}
.fn b { display: block; margin-bottom: 6px; font-size: 14px; }
.fn p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Alternating feature rows ---------- */
.feat-wrap { background: var(--band); padding: 72px 0; }
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
}
.feat h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--ink);
  font-weight: 800;
}
.feat p { color: var(--muted); margin: 0 0 16px; }
.feat ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.feat li {
  padding: 7px 0 7px 18px;
  position: relative;
  color: var(--text);
}
.feat li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 14px;
}

/* ---------- Device and phone frames ---------- */
.device {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.device-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #1b1f24;
}
.device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}
.device img { width: 100%; display: block; background: #f1f1f2; }
.shot {
  position: relative;
  overflow: hidden;
  background: #f1f1f2;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device .shot { min-height: 280px; aspect-ratio: 16/10; background: #f1f1f2; }
.phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(100%, 400px);
  justify-self: center;
}
.phone {
  background: #111;
  border-radius: var(--radius);
  padding: 12px 10px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.phone .notch {
  width: 72px;
  height: 7px;
  background: #2a2f36;
  border-radius: var(--radius);
  margin: 0 auto 10px;
}
.phone .shot {
  min-height: 0;
  aspect-ratio: 9/19.25;
  border-radius: var(--radius);
}
.phone img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  background: #f1f1f2;
}
.app-gallery { padding: 12px 0 48px; }
.app-kicker {
  margin: 28px 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.phones-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px 14px;
}
.phone-card { margin: 0; }
.phone-card figcaption {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.frame { margin: 0; }
.frame .device { background: #111; }
.frame img { width: 100%; display: block; background: #f1f1f2; }
.frame figcaption {
  margin: 10px 2px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Chapters (navodila) ---------- */
.chapter { padding: 64px 0 24px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-head {
  text-align: center;
  padding-bottom: 8px;
}
.chapter-head .ch-num {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter-head p {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--muted);
}
.step .feat { padding: 30px 0; }
.step-num {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.step .phones {
  grid-template-columns: 1fr;
  width: min(100%, 300px);
}
.toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.toc li a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 7px 14px;
}
.toc li a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.note-band { background: var(--band); padding: 56px 0; border-top: 1px solid var(--line); }
.note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}
.note-card h3 { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.note-card p { margin: 0; color: var(--muted); }

/* ---------- Tech / trust ---------- */
.tech {
  padding: 84px 0;
  background:
    radial-gradient(900px 420px at 88% 0%, var(--tint), transparent 62%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tech-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.tech-copy { text-align: left; }
.tech-kicker {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.tech h2 { margin: 0 0 16px; }
.tech .rule { margin: 0 0 20px; }
.tech .lead { margin: 0; max-width: 54ch; }
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
}
.stack li {
  list-style: none;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}
.tech-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--ink);
}
.tech-ico svg { width: 24px; height: 24px; }
.tech-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  color: var(--ink-3);
}
.tech-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Quote band ---------- */
.ceo {
  background:
    radial-gradient(1200px 480px at 8% -10%, rgba(255,255,255,0.07), transparent 55%),
    #111214;
  color: var(--white);
  padding: 88px 0;
}
.ceo-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.ceo-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 18px 40px rgba(0,0,0,0.28);
}
.ceo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  display: block;
}
.ceo-kicker {
  margin: 6px 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ceo blockquote {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.02em;
}
.ceo-who {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ceo-who b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
}

/* ---------- Contact ---------- */
.faq { padding: 80px 0 72px; text-align: center; }
.faq-list {
  max-width: 880px;
  margin: 36px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 5px;
  background: var(--ink);
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--ink-2); }
.faq-a { padding: 0 44px 22px 2px; }
.faq-a p { margin: 0; font-size: 14.5px; line-height: 1.72; color: var(--muted); }
.faq-a a { color: var(--ink); text-underline-offset: 3px; }

.contact { padding: 80px 0; text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 36px;
  text-align: left;
}
.aside p { margin: 0 0 12px; color: var(--muted); }
.aside a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.order-card {
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.order-card h3 { margin: 0 0 10px; font-size: 20px; color: var(--ink); font-weight: 800; }
.order-card p { margin: 0 0 18px; color: var(--muted); }
.order-card ul { margin: 0 0 22px; padding: 0; list-style: none; }
.order-card li {
  padding: 7px 0 7px 18px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.order-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 14px;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.contact-list .v { color: var(--text); font-size: 16px; font-weight: 600; }
.contact-list .v a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.phone-big { margin: 0 0 28px; }
.phone-big .k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.phone-big a {
  display: block;
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
}
.phone-big a + a { margin-top: 8px; }
.phone-big a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Documentation (api) ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0 80px;
}
.side-toc {
  position: sticky;
  top: 100px;
  font-size: 13.5px;
}
.side-toc b {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-toc a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.side-toc a:hover,
.side-toc a.is-on { color: var(--ink); border-left-color: var(--ink); }
.doc { min-width: 0; }
.doc section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.doc section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}
.doc h3 { margin: 28px 0 10px; font-size: 16px; color: var(--ink); font-weight: 700; }
.doc p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.doc strong { color: var(--text); }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 1.2em; color: var(--muted); }
.doc li { margin-bottom: 6px; font-size: 16px; }
.doc a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.callout {
  margin: 18px 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--band);
}
.callout p { margin: 0; color: var(--text); font-size: 15px; }
code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
code.inline {
  color: var(--ink);
  background: var(--band);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  font-weight: 600;
}
pre {
  margin: 14px 0 20px;
  padding: 18px 20px;
  overflow-x: auto;
  background: #111214;
  border-radius: var(--radius);
  color: #e8e9ea;
  font-size: 13px;
  line-height: 1.6;
}
pre code { font-size: inherit; color: inherit; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
td { color: var(--muted); }
td strong, td .mono { color: var(--text); }
.cta-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Order wizard (narocilo) ---------- */
.order-main { padding: 56px 0 80px; }
.steps {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
  list-style: none;
  padding: 0;
}
.steps li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.steps li.on { color: var(--ink); border-bottom-color: var(--ink); }
.steps li.done { color: var(--ink-2); border-bottom-color: var(--ink-2); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.choice-block { margin-bottom: 26px; }
.choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.choice-head .help { margin: 0; }
.help {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.info-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  cursor: pointer;
  line-height: 1;
}
.info-btn:hover { border-color: var(--ink); }
.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px;
  min-height: 104px;
  background: var(--white);
}
.choice:hover { border-color: var(--ink-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ico { width: 28px; height: 28px; color: var(--ink); }
.choice .ico svg { width: 100%; height: 100%; display: block; }
.choice .lbl {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.25;
}
.choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--band);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.choice:has(input:checked) .lbl { color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
label .req { color: var(--bad); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--white);
  font-size: 15px;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }

.wizard-nav { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.wizard-nav .btn { flex: 1; min-width: 130px; }
.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--band);
  margin-bottom: 18px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .k {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.summary-row .v { color: var(--text); text-align: right; font-weight: 600; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
.form-status.show { display: block; }
.form-status.ok { background: #eef7f1; border: 1px solid #bfdfcb; color: var(--ok); }
.form-status.err { background: #fdf0ee; border: 1px solid #f0cdc7; color: var(--bad); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.done-box { display: none; text-align: center; padding: 48px 16px; }
.done-box.show { display: block; }
.done-box .tick {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}
.done-box .tick svg { width: 30px; height: 30px; }
.done-box h2 { margin: 0 0 10px; color: var(--ink); font-size: 28px; font-weight: 800; }
.done-box p { margin: 0 auto 24px; color: var(--muted); max-width: 46ch; }

.info-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,10,12,0.55);
  padding: 24px;
  align-items: center;
  justify-content: center;
}
.info-modal.open { display: flex; }
.info-card {
  width: min(440px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  max-height: min(80vh, 540px);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.info-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 19px; font-weight: 800; }
.info-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.info-card p strong { color: var(--ink); }
.info-card p:last-of-type { margin-bottom: 20px; }
.info-card .btn { width: 100%; }

/* ---------- Footer ---------- */
.footer {
  background: #0f1112;
  color: rgba(255,255,255,0.8);
  padding: 44px 0 36px;
  font-size: 14px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  list-style: none;
}
.foot-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer a { color: var(--white); }
.foot-phones {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.foot-phone {
  font-size: clamp(16px, 2.6vw, 19px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.foot-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .header .btn-demo, .header-phone { display: none; }
  .header-tools { margin-left: auto; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    z-index: 40;
  }
  .burger { display: grid; place-items: center; }
  .feat, .contact-grid, .tech-inner, .ceo-inner, .doc-layout {
    grid-template-columns: 1fr;
  }
  .doc-layout { gap: 28px; padding-top: 48px; }
  .side-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .side-toc b { width: 100%; margin-bottom: 4px; }
  .side-toc a {
    border-left: 0;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 13px;
  }
  .side-toc a.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .tech { padding: 64px 0; }
  .tech-inner { gap: 32px; }
  .phones {
    width: min(100%, 260px);
    margin: 0 auto;
    gap: 10px;
  }
  .phone {
    border-radius: var(--radius);
    padding: 8px 6px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .phone .notch { width: 40px; height: 5px; margin-bottom: 6px; }
  .phones-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .fn-grid { grid-template-columns: 1fr 1fr; }
  .intro { padding-top: 88px; }
  .step .feat > .phones { order: -1; }
  .hero-phones { width: min(100%, 420px); gap: 10px; }
  .hero-phones .phone-lift { transform: none; }
}

@media (max-width: 720px) {
  .wrap, .wrap-narrow { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 48px; }
  .hero-shot { transform: translateY(36px); }
  .hero-phones { grid-template-columns: repeat(3, 1fr); }
  .intro { padding-top: 64px; }
  .page-hero { padding: 48px 0 44px; }
  .fn-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; gap: 12px; }
  .tech-card { padding: 18px 16px; }
  .tech-ico { width: 38px; height: 38px; margin-bottom: 10px; }
  .logo img { width: 36px; height: 36px; }
  .logo-lock b { font-size: 14px; letter-spacing: 0.04em; }
  .logo-lock i { font-size: 9px; letter-spacing: 0.14em; margin-top: 3px; }
  .play { width: 52px; height: 52px; }
  .play::after { left: 20px; top: 16px; border-width: 10px 0 10px 16px; }
  .video-overlay { gap: 10px; padding: 16px; }
  .video-overlay b { font-size: 12px; letter-spacing: 0.02em; }
  .feat-wrap { padding: 56px 0; }
  .feat { gap: 28px; padding: 28px 0; }
  .feat h3 { font-size: 24px; }
  .ceo { padding: 64px 0; }
  .contact { padding: 64px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .steps li { font-size: 10px; letter-spacing: 0.02em; }
  .wizard-nav .btn { min-width: 0; }
  .order-main { padding: 40px 0 64px; }
  .note-band { padding: 40px 0; }
  .note-card { padding: 20px; }
  .doc section { margin-bottom: 36px; padding-bottom: 28px; }
  pre { padding: 14px 16px; font-size: 12px; }
  table { font-size: 14px; }
  th, td { padding: 10px 8px; }
}

@media (max-width: 520px) {
  .btn-white { padding: 14px 26px; font-size: 14px; }
  .hero-phones { width: 100%; }
  .toc li a { font-size: 12px; padding: 6px 11px; }
}
