* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--vx-canvas);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--vx-font-sans);
  font-size: var(--vx-text-md);
  line-height: var(--vx-leading-normal);
  color: var(--vx-text);
  background: var(--vx-canvas);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--vx-space-3);
  left: var(--vx-space-3);
  padding: 10px 14px;
  border-radius: var(--vx-radius-control);
  color: var(--vx-text-inverse);
  background: var(--vx-surface-inverse);
  font-weight: var(--vx-weight-semibold);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--vx-focus-ring);
  outline-offset: 3px;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--vx-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: var(--vx-space-4);
  border-right: 1px solid var(--vx-border-subtle);
  background: var(--vx-surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: var(--vx-space-2);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--vx-text-inverse);
  background: var(--vx-surface-inverse);
  font-size: var(--vx-text-xs);
  font-weight: var(--vx-weight-semibold);
  letter-spacing: 0.02em;
}

.brand__name {
  font-size: var(--vx-text-sm);
  font-weight: var(--vx-weight-semibold);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--vx-space-8);
}

.nav-label,
.eyebrow {
  margin: 0;
  font-family: var(--vx-font-mono);
  font-size: var(--vx-text-xs);
  font-weight: var(--vx-weight-semibold);
  letter-spacing: var(--vx-tracking-wide);
  text-transform: uppercase;
  color: var(--vx-text-muted);
}

.nav-label {
  padding: 0 var(--vx-space-3) var(--vx-space-2);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--vx-space-3);
  min-height: 40px;
  padding: 9px var(--vx-space-3);
  border-radius: var(--vx-radius-control);
  color: var(--vx-text-secondary);
  font-size: var(--vx-text-sm);
}

.nav-item svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.nav-item--current {
  color: var(--vx-text);
  background: var(--vx-surface-active);
  font-weight: var(--vx-weight-semibold);
}

.sidebar__note {
  display: flex;
  align-items: flex-start;
  gap: var(--vx-space-2);
  margin-top: auto;
  padding: var(--vx-space-3);
  border: 1px solid var(--vx-border-subtle);
  border-radius: var(--vx-radius-card);
  color: var(--vx-text-muted);
  background: var(--vx-surface-sunken);
  font-size: var(--vx-text-xs);
  line-height: var(--vx-leading-snug);
}

.sidebar__note-dot {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--vx-accent-700);
}

.workspace {
  min-width: 0;
}

.topbar {
  position: sticky;
  z-index: var(--vx-z-sticky);
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vx-space-4);
  height: var(--vx-topbar-height);
  padding: 0 var(--vx-space-6);
  border-bottom: 1px solid var(--vx-border-subtle);
  background: color-mix(in srgb, var(--vx-surface) 94%, transparent);
  backdrop-filter: blur(12px);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: var(--vx-space-2);
  color: var(--vx-text-muted);
  font-size: var(--vx-text-sm);
  white-space: nowrap;
}

.breadcrumbs strong {
  overflow: hidden;
  color: var(--vx-text);
  font-weight: var(--vx-weight-semibold);
  text-overflow: ellipsis;
}

.breadcrumbs__separator {
  color: var(--vx-text-faint);
}

.topbar__badge {
  flex: none;
  padding: 4px 9px;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-pill);
  color: var(--vx-text-secondary);
  background: var(--vx-surface-sunken);
  font-family: var(--vx-font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.content {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 64px) 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: min(670px, calc(100vh - var(--vx-topbar-height) - 72px));
}

.hero__copy {
  max-width: 670px;
}

.launch-status {
  display: inline-flex;
  align-items: center;
  gap: var(--vx-space-2);
  margin-bottom: var(--vx-space-6);
  padding: 7px 11px;
  border: 1px solid var(--vx-warning-300);
  border-radius: var(--vx-radius-pill);
  color: var(--vx-warning-900);
  background: var(--vx-warning-100);
  font-size: var(--vx-text-sm);
  font-weight: var(--vx-weight-semibold);
}

.launch-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-warning-600);
}

.hero h1 {
  max-width: 14ch;
  margin: var(--vx-space-3) 0 var(--vx-space-5);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: var(--vx-tracking-display);
  text-wrap: balance;
}

.hero__lead {
  max-width: 590px;
  margin: 0;
  color: var(--vx-text-secondary);
  font-size: var(--vx-text-lead);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__notice {
  display: grid;
  gap: var(--vx-space-1);
  max-width: 520px;
  margin-top: var(--vx-space-8);
  padding: var(--vx-space-4) var(--vx-space-5);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-card);
  background: var(--vx-surface);
  font-size: var(--vx-text-sm);
}

.hero__notice strong {
  color: var(--vx-text);
}

.hero__notice span {
  color: var(--vx-text-muted);
  font-size: var(--vx-text-xs);
}

.console-card {
  overflow: hidden;
  border: 1px solid var(--vx-border-strong);
  border-radius: var(--vx-radius-overlay);
  background: var(--vx-surface);
  box-shadow: var(--vx-shadow-raised);
}

.console-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--vx-space-5);
  padding: var(--vx-space-5);
  border-bottom: 1px solid var(--vx-border-subtle);
}

.console-card h2 {
  margin: 5px 0 0;
  font-size: var(--vx-text-lg);
  line-height: var(--vx-leading-snug);
}

.console-card__window {
  display: flex;
  gap: 5px;
  padding-top: 4px;
}

.console-card__window i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vx-neutral-300);
}

.capability-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: var(--vx-space-2) var(--vx-space-5);
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--vx-space-3);
  align-items: start;
  padding: var(--vx-space-4) 0;
  border-bottom: 1px solid var(--vx-border-subtle);
}

.capability-list li:last-child {
  border-bottom: 0;
}

.capability-list svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: var(--vx-radius-control);
  color: var(--vx-accent-800);
  background: var(--vx-accent-100);
}

.capability-list span {
  display: grid;
  gap: 2px;
}

.capability-list strong {
  font-size: var(--vx-text-sm);
}

.capability-list small {
  color: var(--vx-text-muted);
  font-size: var(--vx-text-xs);
  line-height: var(--vx-leading-normal);
}

.console-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--vx-space-2) var(--vx-space-4);
  padding: var(--vx-space-4) var(--vx-space-5);
  color: var(--vx-text-secondary);
  background: var(--vx-surface-sunken);
  font-size: var(--vx-text-xs);
}

.mono {
  font-family: var(--vx-font-mono);
  color: var(--vx-text-muted);
}

.features {
  padding-top: clamp(64px, 8vw, 112px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.68fr);
  gap: var(--vx-space-8);
  align-items: end;
  margin-bottom: var(--vx-space-8);
}

.section-heading h2,
.closing h2 {
  margin: var(--vx-space-2) 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: var(--vx-leading-tight);
  letter-spacing: var(--vx-tracking-tight);
  text-wrap: balance;
}

.section-heading > p,
.closing p {
  margin: 0;
  color: var(--vx-text-secondary);
  text-wrap: pretty;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vx-space-4);
}

.feature-card {
  position: relative;
  min-height: 270px;
  padding: var(--vx-space-6);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-card);
  background: var(--vx-surface);
}

.feature-card__index {
  position: absolute;
  top: var(--vx-space-5);
  right: var(--vx-space-5);
  color: var(--vx-text-faint);
  font-family: var(--vx-font-mono);
  font-size: var(--vx-text-xs);
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--vx-space-8);
  color: var(--vx-text);
}

.feature-card h3 {
  max-width: 16ch;
  margin: 0 0 var(--vx-space-3);
  font-size: var(--vx-text-lg);
  line-height: var(--vx-leading-snug);
}

.feature-card p {
  margin: 0;
  color: var(--vx-text-muted);
  font-size: var(--vx-text-sm);
  text-wrap: pretty;
}

.closing {
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--vx-radius-overlay);
  color: var(--vx-text-inverse);
  background: var(--vx-surface-inverse);
}

.closing .eyebrow,
.closing p {
  color: var(--vx-neutral-400);
}

.closing p {
  max-width: 620px;
  margin-top: var(--vx-space-3);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--vx-space-3) var(--vx-space-6);
  padding: var(--vx-space-5) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--vx-border-subtle);
  color: var(--vx-text-muted);
  font-size: var(--vx-text-xs);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .launch-status__dot {
    animation: launch-pulse 2.4s var(--vx-ease-standard) infinite;
  }

  @keyframes launch-pulse {
    50% {
      box-shadow: 0 0 0 5px color-mix(in srgb, var(--vx-warning-500) 18%, transparent);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    height: auto;
    min-height: 60px;
    padding: var(--vx-space-2) var(--vx-space-4);
    border-right: 0;
    border-bottom: 1px solid var(--vx-border-subtle);
  }

  .sidebar__nav,
  .sidebar__note {
    display: none;
  }

  .topbar {
    top: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--vx-space-4);
  }

  .hero__copy {
    max-width: 760px;
  }

  .console-card {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding-inline: var(--vx-space-4);
  }

  .breadcrumbs > span:first-child,
  .breadcrumbs__separator,
  .topbar__badge {
    display: none;
  }

  .content {
    padding: var(--vx-space-8) var(--vx-space-4) var(--vx-space-10);
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: var(--vx-space-4);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card__icon {
    margin-bottom: var(--vx-space-6);
  }

}

@media (max-width: 390px) {
  .brand {
    padding-inline: 0;
  }

  .launch-status {
    align-items: flex-start;
    border-radius: var(--vx-radius-card);
  }

  .launch-status__dot {
    flex: none;
    margin-top: 6px;
  }

  .console-card__footer {
    display: grid;
  }

  .footer {
    display: grid;
  }
}
