:root {
  --bg: #050608;
  --bg-2: #0B0D11;
  --line: #1C2027;
  --text: #F2F3F5;
  --muted: #A7B0BC;
  --dim: #6B7480;
  --accent: #F2F3F5;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 6, 8, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); border: 1px solid #3A414B; padding: 8px 16px; border-radius: 999px; }

/* type */
.over { text-transform: uppercase; letter-spacing: .24em; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; font-weight: 600; max-width: 14ch; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 19px; font-weight: 600; margin: 14px 0 8px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; margin: 22px 0 0; }

/* buttons */
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 999px; border: 1px solid #3A414B; color: var(--text); transition: border-color .2s, background .2s; }
.btn:hover { border-color: var(--text); }
.btn-solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-solid:hover { background: #fff; }

/* hero */
.hero { position: relative; padding: clamp(80px, 13vw, 160px) 0 clamp(80px, 11vw, 140px); overflow: hidden; }
.hero-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #3A414B 30%, #3A414B 70%, transparent); }

/* bands */
section[id] { scroll-margin-top: 76px; }
.band { padding: clamp(72px, 10vw, 120px) 0; border-bottom: 1px solid var(--line); }
.band-alt { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band-alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card.plain h3 { margin-top: 0; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.product .lead { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.ticks li { color: var(--muted); padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--text); }
.ticks b { color: var(--text); font-weight: 600; margin-right: 6px; }
.status { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; margin: 0 0 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.fine { color: var(--dim); font-size: 13px; margin: 18px 0 0; }

.screen { margin: 0; border: 1px solid #262B33; border-radius: 16px; overflow: hidden; background: #08090C; }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A3038; }
.screen-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); letter-spacing: .04em; }
.screen-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.screen-side { border-right: 1px solid var(--line); padding: 16px 0; display: grid; align-content: start; justify-items: center; gap: 16px; }
.screen-side b { width: 20px; height: 20px; border-radius: 6px; background: #1A1E25; }
.screen-side b:first-child { background: var(--text); }
.chart { width: 100%; height: 100%; padding: 22px; }
.chart .grid { stroke: #161A20; stroke-width: 1; fill: none; }
.chart .up rect { fill: #4ADE80; }
.chart .down rect { fill: #F87171; }
.chart .line { fill: none; stroke: var(--text); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .7; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px; align-content: start; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; background: #0B0D11; }
.tile span { width: 34px; height: 34px; border-radius: 9px; background: #1A1E25; }
.tile:first-child span { background: var(--text); }
.tile em { display: block; height: 8px; width: 70%; border-radius: 4px; background: #1F242C; }
.tile em.s { width: 45%; background: #161A20; }
.tile u { text-decoration: none; justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid #3A414B; color: var(--muted); }
.tile:first-child u { background: var(--text); color: var(--bg); border-color: var(--text); }
.step { color: var(--dim) !important; font-size: 13px !important; letter-spacing: .2em; font-weight: 600; margin: 0 !important; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg); }
.mail { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

/* footer */
.foot { padding: 40px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot img { width: 110px; }
.foot p { margin: 0; color: var(--dim); font-size: 14px; }

/* phones and tablets */
@media (max-width: 900px) {
  .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-in { height: 64px; }
  .brand img { width: 118px; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .cards, .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .screen-body { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
