:root {
  --bg: #0a0f1a;
  --bg-muted: #0e1524;
  --surface: #141d2f;
  --surface-2: #18233a;
  --text: #e8edf7;
  --text-muted: #93a1bb;
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --accent: #34d399;
  --border: rgba(148, 163, 184, 0.16);
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo__mark {
  display: inline-flex;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.header__cta {
  flex-shrink: 0;
}

/* hero */

.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(14, 165, 233, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0c1322 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 29, 47, 0.7);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

.hero__lead {
  max-width: 40rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn--primary {
  background: var(--primary);
  color: #04121d;
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

.panel {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 29, 47, 0.95), rgba(14, 21, 36, 0.95));
  box-shadow: var(--shadow);
}

.panel__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.panel__row + .panel__row {
  border-top: 1px solid var(--border);
}

.panel__label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.panel__value {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* sections */

.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}

.section__lead {
  max-width: 44rem;
  margin: 0;
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* infra */

.infra {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.list li {
  position: relative;
  padding-left: 1.6rem;
}

.list li + li {
  margin-top: 0.6rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
}

.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.chip {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nodecard {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nodecard__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nodecard__list {
  margin: 1.1rem 0 0;
}

.nodecard__list dt {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.nodecard__list dd {
  margin: 0 0 1rem;
}

.nodecard__list code {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: var(--surface-2);
  word-break: break-all;
}

.nodecard__list code.ok {
  color: var(--accent);
}

.nodecard__note {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--primary);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* contact */

.contact__email {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 11px;
  background: rgba(14, 165, 233, 0.08);
  color: #7dd3fc;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact__email:hover {
  background: rgba(14, 165, 233, 0.16);
  color: #bae6fd;
}

/* footer */

.footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.footer__domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* responsive */

@media (max-width: 960px) {
  .hero__inner,
  .infra,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .nav,
  .header__cta {
    display: none;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.25rem 0;
  }
}
