:root {
  --navy: #1b2a4a;
  --ink: #2c3340;
  --muted: #6b7385;
  --line: #e8edf4;
  --bg: #f5f7fb;
  --white: #ffffff;
  --accent: #e85d04;
  --accent-hover: #cf4f00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--navy); }
.top .btn { flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }

.hero {
  padding: 52px 0 40px;
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 72%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 22px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.hero-stats div {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 12px;
}
.hero-stats b {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 12px; color: var(--muted); font-size: 0.85rem; }

.laptop {
  background: #dfe6ef;
  border-radius: 14px 14px 8px 8px;
  padding: 10px 10px 0;
  box-shadow: 0 28px 60px rgba(27, 42, 74, 0.16);
}
.laptop-bar {
  display: flex;
  gap: 5px;
  padding: 0 6px 8px;
}
.laptop-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ced9;
  display: block;
}
.laptop img {
  width: 100%;
  border-radius: 6px 6px 0 0;
  max-height: 380px;
  object-fit: cover;
  object-position: top left;
}

.modules {
  padding: 8px 0 36px;
}
.modules-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.mod {
  text-align: center;
  padding: 18px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.3;
}
.mod svg {
  display: block;
  margin: 0 auto 10px;
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.band h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  max-width: 28ch;
}
.band p { color: rgba(255,255,255,.72); margin-bottom: 22px; max-width: 52ch; }
.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.band ul { list-style: none; }
.band li {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 600;
}
.band li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }

.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.lead {
  max-width: 58ch;
  color: var(--muted);
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split h2 { margin-bottom: 12px; }
.split .lead { margin-bottom: 16px; }
.split ul {
  margin: 0 0 20px 18px;
  color: var(--ink);
}
.split li { margin-bottom: 8px; }
.split-shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(27, 42, 74, 0.08);
}
.split-shot img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top left;
}

.carousel {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  grid-template-rows: auto auto;
  gap: 10px 6px;
  align-items: center;
}
.carousel-viewport {
  grid-column: 2;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
}
.carousel-track figure {
  margin: 0;
  min-width: 0;
}
.carousel-track img {
  width: 100%;
  background: #111;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.carousel.wide img {
  background: #fff;
  max-height: 260px;
  object-fit: cover;
  object-position: top left;
}
.carousel-track figcaption {
  margin-top: 10px;
}
.carousel-track figcaption b {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}
.carousel-track figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}
.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  align-self: center;
}
.carousel-btn:hover { border-color: var(--navy); }
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-btn.prev { grid-column: 1; grid-row: 1; }
.carousel-btn.next { grid-column: 3; grid-row: 1; }
.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd6e2;
  cursor: pointer;
}
.carousel-dots button.on { background: var(--navy); }

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.phones img {
  width: 100%;
  background: #111;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top left;
  background: #111;
  border-bottom: 1px solid var(--line);
}
.card .pad { padding: 14px 16px 16px; }
.card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.card p { font-size: 0.88rem; color: var(--muted); }

.more {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  color: var(--muted);
  font-size: 0.92rem;
}
.more b { color: var(--navy); }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tabs button {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}
.tabs button.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.demo-row { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.price-card {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
}
.price-card h2 { color: #fff; }
.price-card .lead { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.price-nums { display: flex; gap: 32px; flex-wrap: wrap; margin: 4px 0 22px; }
.price-nums b { display: block; font-size: 1.85rem; letter-spacing: -0.03em; }
.price-nums span { color: rgba(255,255,255,.7); font-size: 0.9rem; }

.demo-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.92rem;
}
.demo-table th, .demo-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.demo-table th { background: var(--bg); color: var(--navy); }
.demo-table tr:last-child td { border-bottom: 0; }
.demo-table a { color: var(--accent); font-weight: 700; text-decoration: none; }

.os {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.os a { color: var(--accent); font-weight: 700; text-decoration: none; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a { color: var(--navy); font-weight: 700; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .hero-stats, .modules-row, .band-grid, .split, .split.reverse,
  .gallery, .price, .more, .phones {
    grid-template-columns: 1fr;
  }
  .modules-row { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 28px; }
  .phones { grid-template-columns: 1fr 1fr; }
  .carousel { grid-template-columns: 32px 1fr 32px; }
}
