@font-face { font-family: Inter; src: url("../assets/fonts/Inter-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/Inter-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/Inter-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/Inter-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/Inter-800.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --blue: #296eb8;
  --blue-bright: #5aa3e8;
  --blue-deep: #163a66;
  --void: #070b12;
  --elev: #0c1420;
  --card: rgba(14, 22, 34, 0.72);
  --type: #e8f1fb;
  --muted: #93a8bf;
  --dim: #6b8299;
  --line: rgba(90, 163, 232, 0.16);
  --line-strong: rgba(90, 163, 232, 0.32);
  --ok: #3dd68c;
  --alert: #d45c5c;
  --alert-bright: #f07a76;
  --alert-bg: #3a1418;
  --alert-text: #f8d4d0;
  --radius: 18px;
  --max: 1120px;
  --banner-h: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--void);
  color: var(--type);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-top: var(--banner-h);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 42% at 12% 0%, rgba(41, 110, 184, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 88% 8%, rgba(22, 58, 102, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(41, 110, 184, 0.08), transparent 55%);
}
.sky-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 163, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 163, 232, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 42%);
}

header, main, footer { position: relative; z-index: 1; }

/* Floating news banner */
.news-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background:
    linear-gradient(90deg, #4a161b 0%, #5c1c22 42%, #4a161b 100%);
  color: var(--alert-text);
  border-bottom: 1px solid rgba(240, 122, 118, 0.38);
  box-shadow:
    0 10px 28px rgba(40, 8, 12, 0.45),
    inset 0 1px 0 rgba(240, 122, 118, 0.18);
}
.news-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
}
.news-banner p {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.news-banner a {
  color: #ffd2ce;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.news-banner a:hover { color: #fff; }
.news-dismiss {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--alert-text);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.news-dismiss:hover { background: rgba(240, 122, 118, 0.16); }
body.banner-dismissed { padding-top: 0; }
body.banner-dismissed .news-banner { display: none; }

header {
  position: sticky;
  top: var(--banner-h);
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
body.banner-dismissed header { top: 0; }

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(90, 163, 232, 0.45));
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--type);
  background: rgba(90, 163, 232, 0.08);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--type);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + 72px);
  left: 12px;
  right: 12px;
  z-index: 45;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #0c1420;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.mobile-panel.open { display: grid; gap: 4px; }
.mobile-panel a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--type);
  font-weight: 500;
}
.mobile-panel a:hover { background: rgba(90, 163, 232, 0.1); }
body.banner-dismissed .mobile-panel { top: 84px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #3a86d1, var(--blue));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(90, 163, 232, 0.25), 0 10px 30px rgba(41, 110, 184, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: rgba(14, 22, 34, 0.55);
  border-color: var(--line-strong);
  color: var(--type);
}
.btn-ghost:hover { border-color: var(--blue-bright); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }

.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue-bright);
}
h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

.console {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 58, 102, 0.28), rgba(12, 20, 32, 0.9));
  box-shadow:
    0 0 0 1px rgba(7, 11, 18, 0.6),
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(232, 241, 251, 0.08);
  overflow: hidden;
  min-height: 420px;
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(90, 163, 232, 0.16), transparent 55%);
  pointer-events: none;
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #2a3c52; }
.console-dots i:nth-child(1) { background: #ff6b6b; }
.console-dots i:nth-child(2) { background: #f5c542; }
.console-dots i:nth-child(3) { background: #3dd68c; }
.console-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.console-body { padding: 18px; position: relative; display: grid; gap: 12px; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 11, 18, 0.45);
  border: 1px solid var(--line);
}
.row-left { display: flex; align-items: center; gap: 12px; }
.ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(41, 110, 184, 0.18);
  color: var(--blue-bright);
}
.row strong { display: block; font-size: 13px; font-weight: 600; }
.row small { color: var(--dim); font-size: 12px; }
.status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spark {
  height: 64px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.4);
  padding: 10px 12px;
}
.spark label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.spark svg { width: 100%; height: 36px; display: block; margin-top: 6px; }

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 17px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 188px;
  backdrop-filter: blur(12px);
}
.card h3 { font-size: 16px; font-weight: 600; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.panel {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 58, 102, 0.22), rgba(12, 20, 32, 0.92));
  min-height: 320px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.chip-grid { display: grid; gap: 10px; margin-top: 18px; }
.chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 11, 18, 0.5);
  border: 1px solid var(--line);
  font-size: 13px;
}
.chip b { font-weight: 600; }
.chip span {
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.list { margin: 18px 0 24px; display: grid; gap: 10px; }
.list li {
  list-style: none;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}
.list li::before {
  content: "";
  width: 7px; height: 7px; margin-top: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
  flex: none;
}

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.plan.featured {
  border-color: var(--blue-bright);
  background: linear-gradient(180deg, rgba(41, 110, 184, 0.18), rgba(12, 20, 32, 0.9));
  box-shadow: 0 0 0 1px rgba(90, 163, 232, 0.2), 0 18px 50px rgba(41, 110, 184, 0.18);
}
.plan .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .rate { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan ul { display: grid; gap: 8px; margin-bottom: 22px; flex: 1; }
.plan li { list-style: none; font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.note { margin-top: 18px; color: var(--dim); font-size: 13px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}
label { font-size: 12px; font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: rgba(7, 11, 18, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--type);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-bright); }
textarea { min-height: 110px; resize: vertical; }
.field { display: grid; gap: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12px; color: var(--dim); }
.form-ok {
  display: none;
  padding: 14px;
  border-radius: 12px;
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.3);
  color: var(--type);
  font-size: 14px;
}
form.sent .form-ok { display: block; }
form.sent .field, form.sent .two, form.sent .btn { display: none; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.foot-brand img { width: 28px; height: 28px; }
.foot p { color: var(--dim); font-size: 13px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--type); }

/* Article / parts page */
.article-hero { padding: 56px 0 24px; }
.article {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto 80px;
}
.article h2 {
  font-size: 24px;
  margin: 36px 0 12px;
}
.article p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.article .lede { font-size: 20px; color: var(--type); margin-bottom: 24px; }
.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(212, 92, 92, 0.35);
  background: linear-gradient(180deg, rgba(90, 28, 34, 0.35), rgba(18, 10, 14, 0.6));
  color: var(--alert-text);
  font-size: 16px;
  line-height: 1.55;
}
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 28px 0 8px;
}
.flow-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--card);
}
.flow-card strong { display: block; font-size: 14px; margin-bottom: 6px; }
.flow-card p { font-size: 13px; margin: 0; color: var(--muted); }
.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--dim);
  font-size: 20px;
}
.sources {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.6;
}
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.sources a:hover { color: var(--type); }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero { padding-top: 40px; }
  .console { min-height: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); height: 12px; }
}
@media (max-width: 640px) {
  .wrap, .article { width: min(var(--max), calc(100% - 32px)); }
  .cards, .plans, .two { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  section { padding: 64px 0; }
  .news-banner p { font-size: 13px; }
}
