﻿:root {
  color-scheme: light;
  --desktop: #08736f;
  --desktop-dark: #052f3a;
  --paper: #f4f2e8;
  --window: #c7c7c7;
  --window-light: #ffffff;
  --window-mid: #dfdfdf;
  --window-dark: #303030;
  --title: #09106e;
  --title-2: #0a8fc8;
  --ink: #111111;
  --muted: #454545;
  --line: rgba(255, 255, 255, 0.18);
  --cyan: #35ffd0;
  --violet: #7657ff;
  --amber: #ffe37a;
  --rose: #d93468;
  --green: #0a8d43;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 255, 208, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, var(--desktop) 0%, var(--desktop-dark) 100%);
  background-size: auto, 18px 18px, 18px 18px, auto;
  font-family: "MS Sans Serif", Tahoma, Verdana, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

.site {
  position: relative;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.48);
  background: rgba(199, 199, 199, 0.88);
  box-shadow: inset 0 1px var(--window-light), inset 0 -1px #808080;
  backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background:
    linear-gradient(135deg, #f8f8f8 0 28%, #72dbff 28% 56%, #11106e 56%);
  color: #000;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: var(--window);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 1px 1px #efefef;
  transition: background-color 120ms ease, border-color 80ms ease, transform 80ms ease;
}

.nav-links a:hover,
.button:hover {
  background: var(--window-mid);
}

.nav-links a:active,
.button:active {
  border-top-color: var(--window-dark);
  border-left-color: var(--window-dark);
  border-right-color: var(--window-light);
  border-bottom-color: var(--window-light);
  background: var(--window-mid);
  box-shadow: inset 1px 1px #8a8a8a;
  transform: translate(1px, 1px);
}

.nav-links a:focus-visible,
.button:focus-visible,
.snippet-tab:focus-visible,
.mobile-start-button:focus-visible,
.mobile-bar-button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.button.primary {
  background: #f7f7f7;
}

.button.primary:hover,
.button.primary:active {
  background: var(--window-mid);
}

.button.dark {
  background: #101044;
  color: #fff;
}

.button.dark:hover,
.button.dark:active {
  background: #000080;
}

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

.window {
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: var(--window);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.24);
}

.titlebar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 4px 10px;
  background: linear-gradient(90deg, var(--title), var(--title-2));
  color: #fff;
  font-weight: 700;
}

.titlebar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-controls {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
}

.control {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: var(--window);
  color: #000;
  font-size: 11px;
  line-height: 1;
}

.menubar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 8px;
  border-bottom: 1px solid #808080;
  font-size: 13px;
}

.menubar a {
  padding: 3px 8px;
  text-decoration: none;
}

.menubar a:hover {
  background: #000080;
  color: #fff;
}

.hero-content,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1.04fr);
  gap: 18px;
  padding: 18px;
}

.panel,
.hero-panel,
.catalog-panel,
.note-panel {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
  background: var(--paper);
  padding: 22px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #000080;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-light {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

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

.hero-copy,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.screen {
  min-height: 450px;
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #144f58, #0b2630);
  color: #fff;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.screen-window {
  position: relative;
  z-index: 1;
  width: min(510px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid #101010;
  border-bottom: 2px solid #101010;
  background: var(--window);
  color: #000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.screen-body {
  padding: 10px;
}

.app-menu {
  display: flex;
  gap: 12px;
  padding: 4px 8px;
  border-bottom: 1px solid #808080;
  background: #d5d5d5;
  font-size: 12px;
}

.app-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-bottom: 1px solid #808080;
  background: #dcdcdc;
}

.tool-button {
  min-width: 28px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: #cfcfcf;
  font-size: 11px;
  font-weight: 700;
}

.toolbar-sep {
  width: 1px;
  height: 24px;
  margin: 0 3px;
  background: #808080;
  border-right: 1px solid #fff;
}

.meter-row,
.builder-row {
  display: grid;
  grid-template-columns: 112px 1fr 56px;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dotted #808080;
  font-size: 13px;
}

.meter,
.builder-bar {
  height: 14px;
  border: 1px solid #202020;
  background: #fff;
}

.meter span,
.builder-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 7px 8px;
  border: 1px solid #808080;
  background: #f7f7f7;
  font-size: 12px;
}

.status-strip strong {
  color: #000080;
}

.network-layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px;
}

.side-pane {
  border: 1px solid #808080;
  background: #f4f4f4;
  font-size: 12px;
}

.pane-title {
  padding: 5px 7px;
  border-bottom: 1px solid #808080;
  background: #d8d8d8;
  color: #000080;
  font-weight: 700;
}

.side-pane ul {
  margin: 0;
  padding: 7px;
  list-style: none;
}

.side-pane li {
  padding: 5px 0;
  border-bottom: 1px dotted #a0a0a0;
}

.network-table {
  margin-bottom: 10px;
  border: 1px solid #808080;
  background: #fff;
  font-size: 12px;
}

.network-table div {
  display: grid;
  grid-template-columns: 78px 1fr 58px;
}

.network-table span,
.network-table strong {
  padding: 6px;
  border-right: 1px solid #c0c0c0;
  border-bottom: 1px solid #d8d8d8;
}

.network-table strong {
  background: #e5e5e5;
  color: #000080;
}

.network-table .heading strong {
  background: #000080;
  color: #fff;
}

.network-table .ok {
  color: var(--green);
  font-weight: 700;
}

.log-panel {
  min-height: 74px;
  padding: 8px;
  border: 1px solid #808080;
  background: #111;
  color: #d8ffd8;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.diagnostic-list,
.page-list,
.asset-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.diagnostic-list li,
.page-list li,
.asset-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted #808080;
}

.diagnostic-list strong,
.page-list strong,
.asset-list strong {
  color: #000080;
}

.builder-layout {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
}

.legacy-preview {
  display: grid;
  gap: 8px;
}

.toolbox {
  display: grid;
  gap: 6px;
}

.toolbox span {
  min-height: 24px;
  padding: 5px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: #e8e8e8;
  font-size: 12px;
}

.canvas {
  min-height: 190px;
  padding: 10px;
  border: 1px solid #808080;
  background:
    linear-gradient(#d9d9d9 1px, transparent 1px),
    linear-gradient(90deg, #d9d9d9 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
}

.canvas-box {
  min-height: 56px;
  margin-bottom: 10px;
  padding: 9px;
  border: 2px solid #000080;
  background: #eaf8ff;
}

.builder-workspace {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 96px;
  gap: 8px;
}

.builder-sidebar,
.builder-inspector {
  padding: 8px;
  border: 1px solid #808080;
  background: #f8f8f8;
}

.builder-inspector h4,
.builder-sidebar h4 {
  margin: 0 0 8px;
  color: #000080;
  font-size: 12px;
}

.page-list li.active {
  margin-inline: -4px;
  padding-inline: 4px;
  background: #000080;
  color: #fff;
}

.page-list li.active strong {
  color: #fff;
}

.canvas.preview {
  min-height: 240px;
  background: #fff;
}

.site-preview {
  border: 1px solid #909090;
  background: #f9fbff;
}

.preview-header {
  padding: 10px;
  background: #11165b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.preview-nav {
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid #b0b0b0;
  background: #e8eef7;
  color: #000080;
  font-size: 11px;
}

.preview-main {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 10px;
  padding: 10px;
  font-size: 12px;
}

.preview-line {
  height: 7px;
  margin-bottom: 6px;
  background: #bfc8d8;
}

.preview-image {
  min-height: 52px;
  border: 1px solid #9aa4b5;
  background:
    linear-gradient(135deg, #cce8ff 0 48%, #89b2d8 48% 52%, #d8eef5 52%);
}

.mini-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.mini-button {
  padding: 4px 6px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: var(--window);
  font-size: 11px;
  font-weight: 700;
}

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

.shelf-card {
  min-height: 152px;
  padding: 10px;
  border: 1px solid #808080;
  background: #f8f8f8;
  font-size: 12px;
}

.shelf-card strong {
  display: block;
  margin-bottom: 8px;
  color: #000080;
}

.shelf-card span {
  display: block;
  padding: 4px 0;
  border-bottom: 1px dotted #a0a0a0;
}

.shelf-meta {
  margin-top: 8px;
  padding: 5px;
  border: 1px solid #b0b0b0;
  background: #fff;
  color: #303030;
}

section.window {
  margin-top: 18px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-title p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-grid,
.feature-grid,
.two-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.catalog-card,
.feature-card,
.process-item {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  background: #eeeeee;
}

.feature-card,
.process-item {
  min-height: 174px;
  padding: 16px;
}

.card-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #000080;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-card:nth-child(2) .card-strip {
  background: #4b238f;
}

.badge,
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  background: var(--amber);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-card-body {
  padding: 16px;
}

.program-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: #d8d8d8;
  color: #000080;
  font-size: 24px;
  font-weight: 700;
}

.catalog-card p,
.feature-card p,
.process-item span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

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

.process-item strong,
.feature-card strong,
.system-list strong {
  display: block;
  margin-bottom: 8px;
  color: #000080;
}

.stats-grid {
  gap: 1px;
  border: 1px solid #808080;
  background: #808080;
}

.stat {
  min-height: 128px;
  padding: 18px;
  background: #f8f8f8;
}

.stat strong {
  display: block;
  margin-bottom: 14px;
  color: #000080;
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-transform: uppercase;
}

.download-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

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

.download-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  background: #eeeeee;
}

.download-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: #d8d8d8;
  color: #000080;
  font-size: 24px;
  font-weight: 700;
}

.download-content {
  min-width: 0;
}

.download-content h3 {
  margin: 10px 0 8px;
  color: #000080;
}

.download-content p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.download-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-meta li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dotted #808080;
  color: var(--muted);
  font-size: 13px;
}

.download-meta strong {
  color: #000080;
}

.download-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.quote-box .button {
  margin-top: 12px;
  margin-bottom: 10px;
  font-family: "MS Sans Serif", Tahoma, Verdana, Arial, sans-serif;
}

.download-path {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.snippet-workbench {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 12px;
}

.snippet-list,
.snippet-detail {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
  background: #f8f8f8;
}

.snippet-list {
  display: grid;
  align-content: start;
  padding: 8px;
  gap: 6px;
}

.snippet-tab {
  width: 100%;
  min-height: 58px;
  padding: 9px 10px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: var(--window);
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 1px 1px #efefef;
  transition: background-color 120ms ease, border-color 80ms ease, transform 80ms ease;
}

.snippet-tab:hover {
  background: var(--window-mid);
}

.snippet-tab:active {
  border-top-color: var(--window-dark);
  border-left-color: var(--window-dark);
  border-right-color: var(--window-light);
  border-bottom-color: var(--window-light);
  background: var(--window-mid);
  box-shadow: inset 1px 1px #8a8a8a;
  transform: translate(1px, 1px);
}

.snippet-tab span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.snippet-tab.active,
.snippet-tab:focus-visible {
  background: #000080;
  color: #fff;
}

.snippet-tab.active span,
.snippet-tab:focus-visible span {
  color: #e8eef7;
}

.snippet-detail {
  min-height: 540px;
  padding: 18px;
}

.snippet-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.snippet-detail h3 {
  color: #000080;
}

.snippet-detail p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.code-box {
  min-height: 320px;
  margin: 16px 0 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid #111;
  background: #101010;
  color: #d8ffd8;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre;
}

.system-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted #808080;
  font-size: 14px;
}

.quote-box {
  min-height: 100%;
  padding: 16px;
  border: 1px solid #808080;
  background: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.55;
}

.enterprise-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 32px;
  padding: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #e7fffb;
  font-size: 12px;
  text-transform: uppercase;
}

.enterprise-footer a {
  text-decoration: none;
}

.enterprise-footer a:hover {
  color: var(--amber);
}

.enterprise-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 590px;
}

.enterprise-footer__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  background: linear-gradient(135deg, #f8f8f8 0 32%, #72dbff 32% 62%, #000080 62%);
  color: #000;
  font-weight: 700;
}

.enterprise-footer__copy strong,
.enterprise-footer__copy span {
  display: block;
}

.enterprise-footer__copy strong {
  color: #ffffff;
}

.enterprise-footer__copy span {
  margin-top: 4px;
  color: #d1f7f2;
  line-height: 1.45;
  text-transform: none;
}

.enterprise-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

.mobile-homebar {
  display: none;
}

@media (max-width: 920px) {
  .hero-content,
  .product-hero,
  .download-board,
  .downloads-grid,
  .snippet-workbench {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .feature-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  body {
    padding-bottom: 74px;
  }

  .topbar-inner {
    width: calc(100% - 28px);
    align-items: start;
    flex-direction: column;
    padding: 12px 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a:nth-last-child(-n+2) {
    display: none;
  }

  .shell,
  .enterprise-footer {
    width: calc(100% - 28px);
  }

  .window {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.24);
  }

  .hero-content,
  .product-hero,
  .hero-panel,
  .catalog-panel,
  .note-panel,
  .panel {
    padding: 12px;
  }

  .screen {
    min-height: 360px;
  }

  .catalog-grid,
  .feature-grid,
  .two-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .meter-row,
  .network-table div,
  .builder-row,
  .system-list li {
    grid-template-columns: 1fr;
  }

  .builder-workspace,
  .download-card,
  .download-meta li,
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .snippet-detail {
    min-height: auto;
    min-width: 0;
    padding: 10px;
  }

  .snippet-workbench {
    min-width: 0;
  }

  .snippet-list {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: thin;
  }

  .snippet-tab {
    flex: 0 0 132px;
    width: 132px;
    min-height: 44px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .snippet-tab span {
    display: block;
    margin-top: 2px;
    margin-left: 0;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .snippet-meta {
    gap: 6px;
    font-size: 12px;
  }

  .snippet-detail h3 {
    font-size: 20px;
  }

  .snippet-detail p {
    font-size: 14px;
  }

  .code-box {
    width: 100%;
    max-width: 100%;
    min-height: 260px;
    padding: 10px;
    font-size: 12px;
    overflow-x: auto;
  }

  .code-box code {
    display: block;
    min-width: max-content;
  }

  .button {
    width: 100%;
  }

  .enterprise-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .enterprise-footer__links {
    justify-content: flex-start;
  }

  .mobile-homebar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 7px;
    border-top: 2px solid var(--window-light);
    border-left: 2px solid var(--window-light);
    border-right: 2px solid var(--window-dark);
    border-bottom: 2px solid var(--window-dark);
    background: var(--window);
    box-shadow: inset 0 1px #efefef, 0 12px 28px rgba(0, 0, 0, 0.32);
  }

  .mobile-start-button,
  .mobile-bar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    border-top: 2px solid var(--window-light);
    border-left: 2px solid var(--window-light);
    border-right: 2px solid var(--window-dark);
    border-bottom: 2px solid var(--window-dark);
    background: var(--window);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 1px 1px #efefef;
    transition: background-color 120ms ease, border-color 80ms ease, transform 80ms ease;
  }

  .mobile-start-button {
    min-width: 112px;
  }

  .mobile-bar-button {
    flex: 1;
    min-width: 0;
    background: var(--window);
  }

  .mobile-bar-button:active,
  .mobile-start-button:active {
    border-top-color: var(--window-dark);
    border-left-color: var(--window-dark);
    border-right-color: var(--window-light);
    border-bottom-color: var(--window-light);
    background: var(--window-mid);
    box-shadow: inset 1px 1px #8a8a8a;
    transform: translate(1px, 1px);
  }
}

.netman-screen-body {
  background: #202020;
  color: #ccffcc;
  font-family: Consolas, "Courier New", monospace;
  padding: 8px;
}

.netman-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 8px;
}

.netman-tabs span,
.netman-controls button {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 3px 4px;
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid #505050;
  border-bottom: 2px solid #505050;
  background: #303030;
  color: #ccffcc;
  font-family: "MS Sans Serif", Tahoma, Verdana, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.05;
  text-align: center;
}

.netman-tabs .active {
  background: #404040;
  color: #ffffff;
}

.netman-panel {
  border: 1px solid #505050;
  background: #202020;
}

.netman-heading {
  padding: 8px;
  border-bottom: 1px solid #505050;
}

.netman-heading strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 2px;
}

.netman-heading span {
  color: #ccffcc;
  font-size: 11px;
}

.netman-controls {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr repeat(4, 0.72fr);
  gap: 6px;
  padding: 8px;
  align-items: end;
}

.netman-controls label {
  display: grid;
  gap: 3px;
  color: #ccffcc;
  font-size: 10px;
}

.netman-controls em {
  display: block;
  min-height: 24px;
  padding: 4px 6px;
  border: 1px solid #606060;
  background: #101010;
  color: #ccffcc;
  font-style: normal;
  overflow: hidden;
  white-space: nowrap;
}

.netman-controls button {
  border-radius: 0;
  cursor: default;
}

.netman-listbox {
  margin: 0 8px 8px;
  border: 1px solid #606060;
  background: #101010;
  color: #ccffcc;
  font-size: 10px;
  min-height: 128px;
  overflow: hidden;
}

.netman-row {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1.5fr 0.85fr 0.85fr;
  border-bottom: 1px solid #242424;
}

.netman-row span {
  padding: 5px 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-right: 1px solid #242424;
}

.netman-row.head {
  background: #303030;
  color: #ffffff;
  font-family: "MS Sans Serif", Tahoma, Verdana, Arial, sans-serif;
}

.netman-row.muted {
  color: #6c986c;
}

.netman-progress {
  height: 9px;
  margin: 0 8px 5px;
  background: #101010;
  border: 1px solid #505050;
}

.netman-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: #008000;
}

.netman-status {
  margin: 0 8px 8px;
  min-height: 22px;
  padding: 5px 7px;
  background: #202020;
  border: 1px solid #505050;
  color: #ccffcc;
  font-size: 11px;
}

@media (max-width: 560px) {
  .netman-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .netman-row span:nth-child(n+3) {
    display: none;
  }
}
