:root {
  color-scheme: light;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e0f2fe;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #dc2626;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.dark {
  color-scheme: dark;
  --background: #020617;
  --surface: #0f172a;
  --surface-2: #0b1120;
  --surface-3: #111827;
  --primary: #38bdf8;
  --primary-hover: #60a5fa;
  --primary-soft: rgba(56, 189, 248, 0.12);
  --border: #1e293b;
  --border-strong: #334155;
  --text-main: #e5e7eb;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --success: #22c55e;
  --warning: #fbbf24;
  --error: #f87171;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 9%, transparent), transparent 34rem),
    var(--background);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: min(260px, 32vw);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.site-footer .brand-logo {
  width: min(300px, 70vw);
  height: 52px;
}

.dark .primary-button,
.dark .tab.active {
  color: #020617;
}

.main-nav,
.header-actions,
.hero-actions,
.tabs,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text-main);
}

.primary-button,
.ghost-button,
.icon-button,
.tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.primary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.tab:hover,
.text-link:hover,
.card-link:hover {
  transform: translateY(-1px);
}

.primary-button {
  padding: 12px 18px;
  background: var(--primary);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--primary-hover);
}

.ghost-button {
  padding: 12px 18px;
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text-main);
}

.ghost-button:hover {
  background: var(--surface-2);
}

.compact {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 14px;
}

.full {
  width: 100%;
}

.icon-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: var(--border);
  background: var(--surface);
}

.sun-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow:
    0 -9px 0 -6px var(--primary),
    0 9px 0 -6px var(--primary),
    9px 0 0 -6px var(--primary),
    -9px 0 0 -6px var(--primary);
}

.hero,
.page-hero,
.section,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 72px 0 56px;
}

.page-hero {
  min-height: 520px;
}

.compact-hero {
  min-height: 360px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
}

.compact-hero > div:first-child {
  max-width: 840px;
}

.eyebrow,
.badge,
.muted-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy,
.section-copy,
.section-heading p,
.trust-panel p,
.contact-section p,
.site-footer p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.trust-row div,
.product-shot,
.terminal-panel,
.server-stack,
.service-card,
.feature-grid article,
.pricing-card,
.trust-panel,
.faq-list details,
.contact-form,
.comparison-grid article,
.notice-panel,
.status-summary,
.status-list article,
.client-gate article,
.process-grid article,
.code-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.trust-row div {
  padding: 16px;
}

.trust-row dt {
  font-weight: 800;
}

.trust-row dd {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.product-shot {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-top strong {
  margin-left: auto;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.deploy-card,
.timeline,
.metric-grid {
  margin: 18px;
}

.deploy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.muted-label {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.active {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}

.status-pill.maintenance {
  background: color-mix(in srgb, var(--warning) 16%, transparent);
  color: var(--warning);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.timeline-item span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
}

.timeline-item.done span {
  border-color: var(--success);
  background: var(--success);
}

.timeline-item p {
  margin: 0;
}

.terminal-panel,
.code-card {
  padding: 22px;
  background: #020617;
  color: #dbeafe;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.terminal-panel p,
.code-card p {
  margin: 0;
}

.terminal-panel span {
  color: #38bdf8;
}

.server-stack {
  display: grid;
  gap: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.server-stack div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.server-stack span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-weight: 800;
}

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

.metric-grid div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.metric-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
}

.section {
  padding: 88px 0;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1200px) / 2));
  background: var(--surface-2);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link,
.card-link {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
}

.card-link {
  margin-top: 22px;
}

.service-grid,
.pricing-grid,
.feature-grid,
.comparison-grid,
.process-grid,
.client-gate {
  display: grid;
  gap: 20px;
}

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

.service-grid.three,
.pricing-grid,
.feature-grid,
.process-grid,
.client-gate {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  display: none;
}

.pricing-grid.active {
  display: grid;
}

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

.service-card,
.pricing-card,
.feature-grid article,
.comparison-grid article,
.process-grid article,
.client-gate article {
  padding: 26px;
}

.highlighted,
.preferred {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: var(--shadow);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--primary-soft), transparent),
    var(--surface-2);
  border: 1px solid var(--border);
}

.node-icon::before,
.vps-icon::before {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
}

.node-icon::before {
  content: "{}";
}

.vps-icon::before {
  content: "VM";
}

.service-card p:not(.badge),
.feature-grid p,
.pricing-card p:not(.plan-name):not(.price),
.comparison-grid p,
.process-grid p,
.client-gate p,
.faq-list p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.danger-grid article {
  border-color: color-mix(in srgb, var(--error) 18%, var(--border));
}

.tabs {
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.wide-tabs {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 680px;
}

.tab {
  min-height: 38px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text-secondary);
}

.tab.active {
  background: var(--primary);
  color: #ffffff;
}

.plan-name {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.plan-desc {
  min-height: 54px;
}

.price {
  margin: 22px 0;
  font-size: 32px;
  font-weight: 800;
}

.price span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.pricing-card .feature-list {
  min-height: 150px;
  margin-bottom: 24px;
}

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

.pricing-card.planned {
  border-style: dashed;
}

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

.package-columns article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.package-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.package-list li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.package-list strong {
  color: var(--text-main);
}

.package-list span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
}

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

.check-grid a,
.check-grid span {
  padding: 14px 14px 14px 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-secondary);
  font-weight: 800;
}

.check-grid a::before,
.check-grid span::before {
  margin-left: -24px;
  padding-right: 10px;
  color: var(--success);
  content: "✓";
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.two-column,
.contact-section,
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.docs-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 800;
}

.docs-sidebar a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.docs-content {
  display: grid;
  gap: 28px;
}

.docs-content article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.notice-panel {
  max-width: 900px;
  padding: 26px;
}

.notice-panel p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-stack {
  display: grid;
  gap: 30px;
}

.comparison-stack > div,
.docs-content,
.contact-section > *,
.two-column > *,
.trust-panel > * {
  min-width: 0;
}

.comparison-stack h3 {
  margin-bottom: 14px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: var(--text-main);
  font-size: 14px;
}

td {
  color: var(--text-secondary);
}

.status-summary {
  padding: 24px;
  box-shadow: var(--shadow);
}

.status-summary p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--success) 14%, transparent);
}

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

.status-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.status-list h3,
.status-list p {
  margin: 0;
}

.status-list p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-main);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 14px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav.open {
    display: grid;
  }

  .header-actions {
    order: 3;
  }

  .hero,
  .page-hero,
  .contact-section,
  .two-column,
  .trust-panel,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .docs-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .service-grid.three,
  .pricing-grid,
  .feature-grid,
  .comparison-grid,
  .process-grid,
  .client-gate,
  .package-grid,
  .package-columns {
    grid-template-columns: 1fr;
  }

  .wide-tabs {
    justify-content: flex-start;
  }

  .pricing-card .feature-list,
  .plan-desc {
    min-height: 0;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    gap: 10px;
  }

  .brand-logo {
    width: min(210px, 58vw);
    height: 40px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .ghost-button,
  .header-actions .primary-button {
    flex: 1;
  }

  .main-nav.open,
  .docs-sidebar,
  .form-grid,
  .trust-row,
  .metric-grid,
  .check-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    gap: 34px;
    padding-top: 48px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .site-footer,
  .status-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    display: flex;
  }

  .section,
  .muted-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .trust-panel,
  .contact-form,
  .service-card,
  .pricing-card,
  .feature-grid article {
    padding: 22px;
  }
}
