@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-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: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-600-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;
}

:root {
  --bg: #0c1113;
  --band: #10181a;
  --surface: #141c1f;
  --surface-2: #182226;
  --line: #233033;
  --line-strong: #31413f;
  --text: #e8eeed;
  --muted: #9fb0ae;
  --faint: #7d8f8d;
  --accent: #3dd6bd;
  --accent-ink: #052019;
  --fail: #ff8a65;
  --fail-line: #5a2c20;
  --radius: 14px;
  --sans: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: #8be9d9; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

/* header */
header.top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}
header.top .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}
header.top nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--text); }

/* hero */
.band { background: var(--band); border-bottom: 1px solid var(--line); }
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 56px 0 84px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero-copy h1 { margin: 0 0 22px; hyphens: auto; overflow-wrap: break-word; font-size: clamp(32px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; }
.hero-copy .lead { margin: 0 0 32px; font-size: 20px; color: var(--muted); max-width: 540px; }
.hero-shots { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #6ae3cf; color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }

/* telegram alert cards */
.alert {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.alert.fail { border-color: var(--fail-line); }
.alert-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.alert-head .from { font-weight: 600; color: var(--muted); }
.alert-head .time { font-family: var(--mono); color: var(--faint); }
.alert-body { display: flex; gap: 10px; align-items: flex-start; }
.alert-body svg { flex: none; margin-top: 2px; }
.alert pre { margin: 0; font: 13px/1.6 var(--mono); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.caption { margin: 0; font-size: 13px; color: var(--faint); }

/* sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; }
.eyebrow { margin: 0 0 10px; font: 600 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--accent); }
.eyebrow.dim { color: var(--faint); }
section h2 { margin: 0 0 36px; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
section h2.tight { margin-bottom: 18px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile .big { margin: 0 0 14px; font: 600 26px/1.2 var(--mono); }
.tile h3 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.note { margin: 24px 0 0; font-size: 14px; color: var(--faint); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split > .wide { flex: 1 1 520px; }
ul.points { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
ul.points li::marker { color: var(--accent); }
.muted { color: var(--muted); }

/* cloud preview */
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.pill { font: 12px/1.6 var(--mono); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 10px; font-weight: 400; }
.table-box { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 20px; font-weight: 500; color: var(--faint); white-space: nowrap; }
td { padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); white-space: nowrap; }
td.pass { color: var(--accent); font-weight: 600; }
td.fail { color: var(--fail); font-weight: 600; }
.preview-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px; color: var(--muted); }
.preview-foot strong { color: var(--accent); }

.facts { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.facts h3 { margin: 0 0 8px; font-size: 19px; }
.facts p { margin: 0; color: var(--muted); font-size: 15px; }

/* pricing */
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.plan .name { margin: 0; font-weight: 600; }
.plan .price { margin: 6px 0 4px; font-size: 34px; font-weight: 700; }
.plan .price small { font-size: 16px; font-weight: 400; color: var(--faint); }
.plan .status { margin: 0 0 14px; font: 12px/1.4 var(--mono); color: var(--faint); letter-spacing: 0.04em; }
.plan .status.now { color: var(--accent); }
.plan p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.plan.featured { border-color: var(--accent); background: linear-gradient(var(--surface-2), var(--surface-2)); }
.plan.featured .status { color: var(--accent); }

/* form */
.signup-box { background: var(--band); border: 1px solid var(--line); border-radius: 18px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.signup-box > div { flex: 1 1 320px; min-width: 0; }
.signup-box h2 { margin-bottom: 12px; }
form.signup { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
form.signup label { font-weight: 600; font-size: 15px; margin-top: 8px; }
form.signup input[type=email], form.signup select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
form.signup .cta { margin-top: 16px; }
form.signup .small { margin: 10px 0 0; font-size: 14px; color: var(--faint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 760px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }

/* thank-you and error pages */
.message { padding: 96px 0; }
.message h1 { font-size: 36px; margin: 0 0 14px; letter-spacing: -0.02em; }
.message p { color: var(--muted); font-size: 19px; max-width: 620px; }

@media (max-width: 640px) {
  header.top nav a.hide-sm { display: none; }
  .hero { padding-top: 24px; }
  section { padding: 64px 0; }
  .signup-box { padding: 24px; }
}
