:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f6f7f9;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #15803d;
  --green-bg: #ecfdf3;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  --header: 64px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand img {
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.menu-toggle span:before,
.menu-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span:before {
  top: -5px;
}

.menu-toggle span:after {
  top: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-light {
  background: white;
  color: var(--ink);
}

.btn-light:hover {
  background: #f8fafc;
}

.btn-line {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-line:hover {
  border-color: white;
}

.hero {
  background: var(--ink);
  color: white;
  padding: 72px 0 80px;
}

.hero-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.lede {
  margin: 20px auto 0;
  max-width: 520px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 14px;
}

.facts {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.facts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 22px 0;
}

.facts li {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.facts li span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2,
.close h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section-head p,
.close p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.service {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(odd) {
  padding-right: 40px;
  border-right: 1px solid var(--line);
}

.service:nth-child(even) {
  padding-left: 40px;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--paper);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
}

.step em {
  display: block;
  margin-bottom: 24px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.panel {
  background: var(--paper);
}

.console {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.console-top strong {
  font-size: 14px;
}

.console-top span {
  color: var(--muted);
  font-size: 13px;
}

.server-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.4fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.server-row:last-child {
  border-bottom: 0;
}

.server-name {
  font-weight: 600;
}

.server-meta,
.server-ip {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px 18px;
  background: #fbfcfd;
}

.actions span {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.account-list {
  display: grid;
  gap: 14px;
}

.account-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
}

.account-list h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.account-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.close {
  background: var(--ink);
  color: white;
  padding: 88px 0;
}

.close .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.close .wrap > div {
  text-align: center;
}

.close p {
  color: #cbd5e1;
  max-width: 520px;
  margin-inline: auto;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.footer-brand img {
  height: 22px;
  width: auto;
}

#regions {
  border-top: 1px solid var(--line);
}

.catalog + .catalog {
  margin-top: 36px;
}

.catalog-head {
  margin-bottom: 16px;
}

.catalog-head h3,
.package h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.catalog-head p,
.package-note {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.package {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.region-grid .package {
  width: min(100%, 240px);
  align-items: center;
  text-align: center;
}

.region-flag {
  display: block;
  width: 40px;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.package h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.package-price {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.package-price strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.package-price span {
  margin-left: 2px;
  color: var(--muted);
  font-size: 14px;
}

.package ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.package li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--muted);
}

.spec-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.package-hour {
  margin: auto 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .services,
  .steps,
  .split,
  .close .wrap {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts ul {
    grid-template-columns: 1fr 1fr;
  }

  .facts ul {
    gap: 16px;
  }

  .service,
  .service:nth-child(odd),
  .service:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .server-row {
    grid-template-columns: 1fr 1fr;
  }

  .close .wrap {
    align-items: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner,
  .header-actions {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .header-actions .btn-primary {
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .facts ul,
  .server-row,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .console-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
