/* ==========================================================================
   GOO Web Server — Institutional Design System
   Company: INOSAS
   Aesthetic: Warm paper, navy ink, burnished bronze — corporate, not SaaS-black
   ========================================================================== */

:root {
  /* Light default: archival paper + diplomatic navy */
  --bg-primary: #f3efe6;
  --bg-secondary: #eae4d8;
  --bg-surface: #faf7f0;
  --bg-surface-elevated: #fffdf8;
  --bg-surface-hover: #efe8db;

  --border-subtle: #d4ccbc;
  --border-muted: #c8bfad;
  --border-focus: #102a4c;
  --border-highlight: rgba(16, 42, 76, 0.22);

  --text-primary: #0c1220;
  --text-secondary: #243044;
  --text-muted: #3d4b5c;
  --text-dark: #0c1220;
  --text-on-accent: #f7f3ea;

  --btn-primary-bg: #102a4c;
  --btn-primary-text: #f7f3ea;
  --btn-primary-hover: #0b1f39;

  --accent-bronze: #b35c12;
  --accent-bronze-subtle: rgba(179, 92, 18, 0.1);
  --accent-bronze-border: rgba(179, 92, 18, 0.3);

  --accent-emerald: #18794c;
  --accent-emerald-subtle: rgba(24, 121, 76, 0.1);
  --accent-emerald-border: rgba(24, 121, 76, 0.28);

  --accent-amber: #c47a0a;
  --accent-amber-subtle: rgba(196, 122, 10, 0.1);
  --accent-amber-border: rgba(196, 122, 10, 0.3);

  --accent-steel: #4d5b6b;
  --accent-crimson: #b42318;

  --status-healthy: #18794c;
  --status-healthy-bg: rgba(24, 121, 76, 0.1);
  --status-warning: #c47a0a;
  --status-warning-bg: rgba(196, 122, 10, 0.1);
  --status-danger: #b42318;
  --status-offline: #4d5b6b;

  --header-bg: rgba(243, 239, 230, 0.9);
  --grid-line: rgba(16, 42, 76, 0.06);
  --hairline: rgba(16, 32, 51, 0.08);
  --hero-wash: rgba(16, 42, 76, 0.05);
  --rule-accent: #102a4c;
  --atmosphere-hero: url("../assets/atrium-light.png");
  --atmosphere-offline: url("../assets/offline-vault.png");
  --atmosphere-manager: url("../assets/ops-console.png");
  --atmosphere-download: url("../assets/infra-stone.png");
  --atmosphere-infra: url("../assets/hero-atmosphere.png");
  --scrim-hero: linear-gradient(105deg, #f3efe6 0%, #f3efe6 46%, rgba(243, 239, 230, 0.94) 62%, rgba(243, 239, 230, 0.55) 100%);
  --scrim-band: linear-gradient(180deg, rgba(243, 239, 230, 0.95) 0%, rgba(243, 239, 230, 0.9) 100%);

  --font-sans: "Public Sans", "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 2px rgba(26, 36, 56, 0.05);
  --shadow-card: 0 8px 24px -16px rgba(26, 36, 56, 0.14);
  --shadow-elevated: 0 16px 36px -18px rgba(26, 36, 56, 0.18);
  --shadow-titanium: 0 0 0 1px rgba(26, 36, 56, 0.06), 0 10px 28px rgba(26, 36, 56, 0.07);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

[data-theme="dark"] {
  --bg-primary: #0b0d12;
  --bg-secondary: #11151d;
  --bg-surface: #181d28;
  --bg-surface-elevated: #1f2633;
  --bg-surface-hover: #272f3f;

  --border-subtle: #2c3444;
  --border-muted: #222836;
  --border-focus: #e08a1a;
  --border-highlight: rgba(224, 138, 26, 0.38);

  --text-primary: #f4f2ec;
  --text-secondary: #a8b2c2;
  --text-muted: #7a8494;
  --text-dark: #0b0d12;
  --text-on-accent: #0b0d12;

  --btn-primary-bg: #e08a1a;
  --btn-primary-text: #0b0d12;
  --btn-primary-hover: #f09a28;

  --accent-bronze: #e08a1a;
  --accent-bronze-subtle: rgba(224, 138, 26, 0.14);
  --accent-bronze-border: rgba(224, 138, 26, 0.42);

  --accent-emerald: #1f9a5c;
  --accent-emerald-subtle: rgba(31, 154, 92, 0.14);
  --accent-emerald-border: rgba(31, 154, 92, 0.38);

  --accent-amber: #e08a1a;
  --accent-amber-subtle: rgba(224, 138, 26, 0.14);
  --accent-amber-border: rgba(224, 138, 26, 0.4);

  --accent-steel: #7a8494;
  --accent-crimson: #e23b2f;

  --status-healthy: #1f9a5c;
  --status-healthy-bg: rgba(31, 154, 92, 0.14);
  --status-warning: #e08a1a;
  --status-warning-bg: rgba(224, 138, 26, 0.14);
  --status-danger: #e23b2f;
  --status-offline: #7a8494;

  --header-bg: rgba(11, 13, 18, 0.92);
  --grid-line: rgba(244, 242, 236, 0.045);
  --hairline: rgba(244, 242, 236, 0.08);
  --hero-wash: rgba(224, 138, 26, 0.07);
  --rule-accent: #e08a1a;
  --atmosphere-hero: url("../assets/hero-atmosphere.png");
  --scrim-hero: linear-gradient(105deg, #0b0d12 0%, #0b0d12 44%, rgba(11, 13, 18, 0.92) 64%, rgba(11, 13, 18, 0.55) 100%);
  --scrim-band: linear-gradient(180deg, rgba(11, 13, 18, 0.92) 0%, rgba(11, 13, 18, 0.88) 100%);

  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 28px -16px rgba(0, 0, 0, 0.55);
  --shadow-elevated: 0 20px 40px -18px rgba(0, 0, 0, 0.65);
  --shadow-titanium: 0 0 0 1px rgba(224, 138, 26, 0.12), 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  overflow-x: clip;
  overflow-wrap: break-word;
}

[id] {
  scroll-margin-top: 84px;
}

body {
  overflow-x: clip;
  position: relative;
  background-color: var(--bg-primary);
  max-width: 100%;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rule-accent) 0%, var(--accent-bronze) 55%, var(--rule-accent) 100%);
  z-index: 200;
  pointer-events: none;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography & Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mono {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.manager-host-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.db-security-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.free-activate-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.free-activate-row span {
  font-size: 13px;
  color: var(--text-muted);
}

.preset-desc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.preset-desc-row p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 640px;
  min-width: 0;
}

.manager-topbar-brand,
.manager-topbar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.manager-topbar-brand img {
  border-radius: 6px;
  flex-shrink: 0;
}

.manager-app-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.manager-ip {
  font-size: 11px;
  color: var(--text-muted);
}

.manager-hostname {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.download-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--accent-bronze);
  background: none;
  padding: 0 0 8px;
  border: none;
  border-bottom: 1.5px solid var(--accent-bronze);
  border-radius: 0;
  margin-bottom: 18px;
}

.section-tag.offline-tag,
.section-tag.emerald-tag {
  color: var(--accent-bronze);
  background: none;
  border-color: var(--accent-bronze);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.prop-title,
.prop-desc,
.hero-h1,
.hero-subhead,
.hero-desc,
.section-desc {
  overflow-wrap: break-word;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Common Section Spacing */
section {
  padding: 100px 0;
  position: relative;
}

/* Button System — Navy ink, no lift, no glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: none;
  border: 1px solid var(--btn-primary-bg);
}

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

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  color: var(--text-primary);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 8px 14px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background-color: var(--hairline);
}

.btn-sm {
  font-size: 13px;
  padding: 7px 15px;
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 9px;
}

/* Badges & Status Signals */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.status-pill.healthy {
  background-color: var(--status-healthy-bg);
  color: var(--status-healthy);
  border: 1px solid var(--accent-emerald-border);
}

.status-pill.warning {
  background-color: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid var(--accent-amber-border);
}

.status-pill.neutral {
  background-color: var(--hairline);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.status-pill.danger {
  background-color: rgba(180, 35, 24, 0.1);
  color: var(--status-danger);
  border: 1px solid rgba(180, 35, 24, 0.28);
}

.btn-danger {
  background-color: transparent;
  color: var(--status-danger);
  border: 1px solid rgba(180, 35, 24, 0.35);
}

.btn-danger:hover {
  background-color: rgba(180, 35, 24, 0.08);
  border-color: var(--status-danger);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.healthy {
  background-color: var(--status-healthy);
}

.status-dot.warning {
  background-color: var(--status-warning);
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  border-color: var(--border-highlight);
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--status-healthy);
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
}

.brand-company {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-item.has-menu {
  position: relative;
}

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: 0;
}

.nav-menu-btn svg {
  transition: transform var(--transition-fast);
}

.nav-item.has-menu.is-open .nav-menu-btn,
.nav-item.has-menu:hover .nav-menu-btn,
.nav-item.has-menu:focus-within .nav-menu-btn {
  color: var(--text-primary);
}

.nav-item.has-menu.is-open .nav-menu-btn svg,
.nav-item.has-menu:hover .nav-menu-btn svg {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 8px;
  list-style: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 120;
}

.nav-item.has-menu:hover .nav-submenu,
.nav-item.has-menu:focus-within .nav-submenu,
.nav-item.has-menu.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-submenu a:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

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

.theme-toggle-btn {
  color: var(--text-secondary);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
  background-color: var(--bg-surface);
}

.mobile-menu-btn {
  display: none;
  padding: 8px;
  color: var(--text-primary);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 95px;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1101px) {
  .hero-section {
    min-height: calc(100svh - 68px);
    display: flex;
    align-items: center;
    padding: 36px 0 48px;
  }

  .hero-section .container {
    width: 100%;
  }

  .hero-devices {
    max-height: min(58vh, 560px);
    width: 100%;
    object-fit: contain;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scrim-hero), var(--atmosphere-hero);
  background-size: cover, cover;
  background-position: center right, center right;
  z-index: 0;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "title mockup"
    "cta mockup"
    "meta mockup";
  gap: 18px 48px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero-mockup-wrapper {
  grid-area: mockup;
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-devices {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(16, 32, 51, 0.16));
}

.hero-devices-dark {
  display: none;
}

[data-theme="dark"] .hero-devices-light {
  display: none;
}

[data-theme="dark"] .hero-devices-dark {
  display: block;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.5));
}

.hero-title-group {
  grid-area: title;
  min-width: 0;
  max-width: 100%;
}

.hero-brand-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-bronze);
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 22px;
  box-shadow: none;
  max-width: 100%;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-subhead {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-secondary);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 540px;
}

.hero-cta-group {
  grid-area: cta;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-meta-badges {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  line-height: 1.2;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.meta-chip-free {
  color: var(--status-healthy);
  background-color: var(--accent-emerald-subtle);
  border-color: var(--accent-emerald-border);
}

/* ==========================================================================
   DASHBOARD MOCKUP (Hero & Manager) — High-End Industrial Frame
   ========================================================================== */
.window-frame {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-titanium), var(--shadow-elevated), 0 28px 60px -24px rgba(16, 32, 51, 0.45);
  overflow: hidden;
  font-size: 13px;
}

.window-titlebar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.window-controls {
  display: flex;
  align-self: stretch;
  gap: 0;
  margin-left: 8px;
}

.window-btn {
  width: 42px;
  height: 100%;
  min-height: 40px;
  border-radius: 0;
  background-color: transparent;
  position: relative;
}

.window-btn::before,
.window-btn::after {
  content: "";
  position: absolute;
  background-color: var(--text-muted);
}

.window-btn.min::before {
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.window-btn.max::before {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--text-muted);
  background: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.window-btn.close::before,
.window-btn.close::after {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
}

.window-btn.close::before { transform: translate(-50%, -50%) rotate(45deg); }
.window-btn.close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.window-btn:hover { background-color: var(--hairline); }
.window-btn.close:hover { background-color: #c42b1c; }
.window-btn.close:hover::before,
.window-btn.close:hover::after { background-color: #fff; }

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 0;
  flex: 1;
}

.window-titlebar .status-pill {
  margin-right: 8px;
}

.window-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: var(--bg-primary);
}

.mock-server-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.server-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-icon {
  width: 32px;
  height: 32px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.server-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.server-os {
  font-size: 11px;
  color: var(--text-muted);
}

/* Metric Gauges */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metric-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.metric-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-sub {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Progress bar inside metric */
.metric-bar {
  width: 100%;
  height: 3px;
  background-color: var(--hairline);
  border-radius: 1px;
  margin-top: 6px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background-color: var(--accent-bronze);
  border-radius: 1px;
}

.metric-fill.green {
  background-color: var(--status-healthy);
}

/* Services Table inside Mockup */
.mock-services-section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mock-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 9px 14px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
}

.service-row:last-child {
  border-bottom: none;
}

.service-name-col {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.service-version {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Quick Actions in Dashboard */
.mock-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-action-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.mock-action-btn:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

/* ==========================================================================
   3. VALUE PROPOSITIONS (4 Pillars)
   ========================================================================== */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.prop-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.prop-card:hover {
  border-color: var(--border-highlight);
}

.prop-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.prop-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.prop-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   4. WEB SERVER SELECTION (IIS vs Apache)
   ========================================================================== */
.server-selection-container {
  margin-top: 36px;
  text-align: center;
}

.servers-bridge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.servers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  text-align: left;
}

.server-choice-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.server-choice-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.server-choice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.server-logo-box {
  width: 50px;
  height: 50px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
}

.server-choice-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

.server-choice-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.server-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.server-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.server-feature-item svg {
  color: var(--status-healthy);
  flex-shrink: 0;
}


/* ==========================================================================
   5. OFFLINE-FIRST SECTION (Air-Gapped Facility Aesthetic)
   ========================================================================== */
.offline-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.offline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scrim-band), var(--atmosphere-offline);
  background-size: cover, cover;
  background-position: center, center right;
  z-index: 0;
  pointer-events: none;
}

.offline-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: center;
}

.offline-visual-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.offline-photo-frame {
  height: 210px;
  background-image: linear-gradient(to top, var(--bg-surface) 0%, rgba(11, 13, 18, 0.15) 40%, transparent 100%), var(--atmosphere-offline);
  background-size: cover, cover;
  background-position: center, center;
}

.offline-visual-body {
  padding: 28px 32px 32px;
}

.network-status-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(245, 158, 11, 0.06);
  border: 1px solid var(--accent-amber-border);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.network-alert-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-amber);
}

.network-alert-badge {
  font-size: 10px;
  font-weight: 800;
  background-color: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offline-target-sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.sector-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sector-pill svg {
  color: var(--accent-bronze);
  flex-shrink: 0;
}

.bundled-components-list {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.bundled-components-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.component-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.component-chip {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.component-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--status-healthy);
}

/* ==========================================================================
   6. PHP FRAMEWORK READY
   ========================================================================== */
.framework-section {
  position: relative;
}

.framework-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 40px;
}

.preset-switcher-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.preset-tab-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preset-tab-btn.active {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
  box-shadow: none;
}

.extensions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.extension-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.extension-item.active {
  border-color: var(--border-highlight);
  background-color: var(--bg-surface-elevated);
}

.extension-item.disabled {
  opacity: 0.3;
  color: var(--text-muted);
}

.ext-check {
  color: var(--status-healthy);
}

/* ==========================================================================
   7. DATABASE & 8. SSL
   ========================================================================== */
.infra-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.infra-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.mini-config-panel {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 24px;
}

.config-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}

.config-toggle-row:last-child {
  border-bottom: none;
}

.toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.fake-switch {
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  background-color: #cfc4ae;
  border: 1px solid #b3a58c;
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fake-switch.on {
  background-color: var(--status-healthy);
  border-color: var(--status-healthy);
}

.fake-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: #fffdf8;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(12, 18, 32, 0.22);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .fake-switch {
  background-color: #2c3444;
  border-color: #4d5b6b;
}

[data-theme="dark"] .fake-switch::after {
  background-color: #f4f2ec;
}

.fake-switch.on::after {
  transform: translateX(16px);
}

.ssl-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.ssl-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
}

.ssl-option-item > div,
.config-toggle-row > div:first-child {
  min-width: 0;
}

.ssl-option-item.default-choice {
  border-color: var(--border-highlight);
  background-color: var(--accent-bronze-subtle);
}

/* ==========================================================================
   9. SERVER MANAGER (Control Plane Section)
   ========================================================================== */
.manager-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.manager-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scrim-band), var(--atmosphere-manager);
  background-size: cover, cover;
  background-position: center, center;
  z-index: 0;
  pointer-events: none;
}

.manager-showcase {
  margin-top: 48px;
}

.manager-frame {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-titanium), var(--shadow-elevated);
  overflow: hidden;
}

.manager-topbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.manager-topbar-meta {
  margin-left: auto;
}

.manager-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.manager-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  min-height: 380px;
}

.manager-sidebar {
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sidebar-nav-btn.active, .sidebar-nav-btn:hover {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.sidebar-nav-btn.active {
  font-weight: 600;
  border-left: 3px solid var(--accent-bronze);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.manager-main-view {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manager-actions-col {
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-card-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.action-trigger-btn:hover {
  border-color: var(--border-highlight);
  background-color: var(--bg-surface-elevated);
}

/* ==========================================================================
   10. CONFIGURATION PERSISTENCE & 11. UPDATE SYSTEM
   ========================================================================== */
.arch-lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.arch-visual-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.tree-node {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 14px;
}

.tree-node.isolated {
  border-left: 3px solid var(--accent-steel);
}

.tree-node.persistent {
  border-left: 3px solid var(--status-healthy);
}

.tree-node-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tree-node-title span {
  min-width: 0;
}

.tree-node-path {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Lifecycle flow */
.lifecycle-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.step-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 11px;
}

.step-divider {
  flex-grow: 1;
  height: 1px;
  background-color: var(--border-subtle);
  margin: 0 8px;
  margin-top: -16px;
}

/* Component update table */
.update-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 16px;
}

.update-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.update-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
}

/* ==========================================================================
   12. FREE PRODUCT & ACTIVATION
   ========================================================================== */
.free-product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-titanium);
}

.grace-period-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--status-healthy);
  background-color: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.grace-period-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.grace-period-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.grace-period-copy span + span::before {
  content: "• ";
}

.free-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.benefit-row svg {
  color: var(--status-healthy);
  flex-shrink: 0;
}

/* ==========================================================================
   13. SECURITY (Hardened Defaults)
   ========================================================================== */
.security-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.security-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scrim-band), var(--atmosphere-infra);
  background-size: cover, cover;
  background-position: center, center top;
  z-index: 0;
  pointer-events: none;
}

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

.security-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sec-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--status-healthy);
  margin-bottom: 16px;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sec-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.defender-notice {
  margin-top: 32px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   14. HOW IT WORKS (4-Step Flow)
   ========================================================================== */
.steps-grid,
.steps-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
  list-style: none;
}

.steps-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--rule-accent) 0%, var(--accent-bronze) 55%, var(--border-subtle) 100%);
  pointer-events: none;
}

.step-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 40px 28px 8px;
  position: relative;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 8px;
  width: 1px;
  background: var(--hairline);
}

.step-card:last-child {
  padding-right: 0;
}

.step-card:first-child {
  padding-left: 0;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-bronze);
  background: none;
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  margin: 0 0 14px;
  padding: 0;
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   15. DOWNLOAD SECTION (Conversion Hub)
   ========================================================================== */
.download-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scrim-band), var(--atmosphere-download);
  background-size: cover, cover;
  background-position: center, center;
  z-index: 0;
  pointer-events: none;
}

.download-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-titanium), var(--shadow-elevated);
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.download-heading {
  font-size: 42px;
}

.docs-banner {
  margin-top: 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-primary);
}

.docs-banner-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.docs-banner-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.docs-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-options-toggle {
  display: inline-flex;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 32px;
}

.download-tab {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.download-tab.active {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.download-specs-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.checksum-snippet {
  margin-top: 24px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.copy-btn {
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.copy-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section {
  padding: 88px 0 96px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.contact-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 56px;
  align-items: start;
}

.contact-brief {
  padding: 28px 28px 28px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--rule-accent);
}

.contact-brief-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-brief-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-brief-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-brief-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--accent-bronze);
}

.contact-brief-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-channels {
  display: grid;
  gap: 12px;
}

.contact-channel {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.contact-channel:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface);
}

.contact-channel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bronze);
}

.contact-channel-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.contact-channel-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-secondary);
  padding: 72px 0 28px;
  border-top: 3px solid var(--rule-accent);
  font-size: 14px;
}

.footer-flow {
  margin-bottom: 36px;
}

.footer-flow-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px 48px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: none;
}

.footer-flow-head .section-heading {
  margin-bottom: 0;
}

.footer-flow-head .section-desc {
  margin-bottom: 0;
  max-width: none;
}

.footer-flow .steps-rail {
  margin-top: 28px;
}

.footer-directory {
  background: none;
  border: none;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 32px 0 0;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 8px;
  border-bottom: none;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-blurb {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-credit {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-mobile-cta {
  display: none;
}

.footer-acc {
  min-width: 0;
}

.footer-acc > .footer-col-title {
  list-style: none;
}

.footer-acc > .footer-col-title::-webkit-details-marker {
  display: none;
}

@media (min-width: 769px) {
  .footer-acc > .footer-col-title {
    pointer-events: none;
  }
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--accent-bronze);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-contact-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bronze);
}

.footer-contact-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-contact-tile:hover .footer-contact-value {
  color: var(--accent-bronze);
}

.footer-inosas-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-meta-chips {
  display: none;
}

.footer-copy {
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop First down to Mobile)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 20px 20px;
    z-index: 150;
    box-shadow: var(--shadow-elevated);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

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

  .nav-link,
  .nav-menu-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--hairline);
  }

  .nav-item.has-menu {
    width: 100%;
  }

  .nav-submenu,
  .nav-item.has-menu:hover .nav-submenu,
  .nav-item.has-menu:focus-within .nav-submenu {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    display: none;
  }

  .nav-item.has-menu.is-open .nav-submenu {
    display: block;
    pointer-events: auto;
  }

  .nav-submenu a {
    padding: 10px 8px;
    font-size: 14px;
    border-bottom: 1px solid var(--hairline);
  }

  .mobile-menu-btn {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "mockup"
      "cta"
      "meta";
    gap: 20px;
  }

  .hero-devices {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .value-props-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offline-grid,
  .arch-lifecycle-grid,
  .free-product-card,
  .infra-options-grid {
    grid-template-columns: 1fr;
  }

  .manager-layout {
    grid-template-columns: 1fr;
  }

  .manager-sidebar,
  .manager-actions-col {
    display: none;
  }

  .manager-matrix {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

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

  .header-docs-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    padding: 56px 0;
  }

  .site-header {
    height: 56px;
  }

  .header-container {
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .brand-logo img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .brand-badge,
  .brand-company,
  .header-download-btn {
    display: none;
  }

  .brand-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .theme-toggle-btn,
  .mobile-menu-btn {
    padding: 8px;
  }

  .nav-links {
    top: 56px;
    max-height: calc(100vh - 56px);
  }

  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-meta-badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .meta-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .meta-chip:last-child {
    grid-column: 1 / -1;
  }

  .hero-section::before,
  .offline-section::before,
  .manager-section::before,
  .download-section::before,
  .security-section::before {
    background-image: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 92%, transparent) 72%, color-mix(in srgb, var(--bg-primary) 70%, transparent) 100%), var(--atmosphere-hero);
  }

  .offline-section::before {
    background-image: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 92%, transparent) 100%), var(--atmosphere-offline);
  }

  .manager-section::before {
    background-image: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 92%, transparent) 100%), var(--atmosphere-manager);
  }

  .download-section::before {
    background-image: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 88%, transparent) 100%), var(--atmosphere-download);
  }

  .security-section::before {
    background-image: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 92%, transparent) 100%), var(--atmosphere-infra);
  }

  .hero-devices {
    max-height: 260px;
    object-fit: contain;
    object-position: center;
  }

  .hero-h1 {
    font-size: 32px;
  }

  .hero-subhead {
    font-size: 18px;
    color: var(--text-secondary);
  }

  .hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
  }

  .section-heading,
  .download-heading {
    font-size: 26px;
  }

  .section-desc {
    font-size: 15px;
  }

  .hero-cta-group,
  .docs-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn,
  .docs-banner-actions .btn,
  .download-box .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .value-props-grid,
  .servers-grid,
  .infra-options-grid,
  .security-grid,
  .steps-grid,
  .steps-rail {
    grid-template-columns: 1fr;
  }

  .steps-rail::before {
    display: none;
  }

  .footer-flow-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 20px 0;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-card:not(:last-child) {
    border-bottom: 1px solid var(--hairline);
  }

  .step-card:first-child,
  .step-card:last-child {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-directory {
    padding: 24px 0 0;
  }

  .servers-bridge-pill {
    white-space: normal;
    text-align: center;
  }

  .offline-target-sectors,
  .metrics-strip,
  .extensions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preset-switcher-tabs {
    flex-wrap: wrap;
  }

  .preset-tab-btn {
    flex: 1 1 calc(50% - 8px);
  }

  .download-options-toggle {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .download-tab {
    width: 100%;
    white-space: normal;
  }

  .download-box,
  .free-product-card,
  .framework-card,
  .arch-visual-box,
  .server-choice-card,
  .infra-card {
    padding: 24px 18px;
  }

  .docs-banner {
    padding: 20px 16px;
  }

  .offline-photo-frame {
    height: 150px;
  }

  .offline-visual-body {
    padding: 20px 16px 16px;
  }

  .checksum-snippet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    word-break: break-all;
  }

  .download-specs-row {
    flex-direction: column;
    gap: 8px;
  }

  .tree-node {
    padding: 12px;
    overflow: hidden;
  }

  .tree-node-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lifecycle-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 16px 8px;
    overflow: visible;
    padding: 16px 10px;
  }

  .step-divider {
    display: none;
  }

  .step-item span {
    text-align: center;
    font-size: 11px;
  }

  .update-table thead {
    display: none;
  }

  .update-table,
  .update-table tbody,
  .update-table tr,
  .update-table td {
    display: block;
    width: 100%;
  }

  .update-table tr {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 10px;
  }

  .update-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--hairline);
    white-space: normal;
  }

  .update-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .update-table td:first-child {
    padding-top: 0;
  }

  .update-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .table-scroll {
    overflow: visible;
  }

  .manager-topbar {
    padding: 12px;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
  }

  .btn-lg {
    width: 100%;
  }

  .prop-title,
  .server-choice-title,
  .sec-title,
  .step-title {
    font-size: 20px !important;
  }

  .network-status-indicator,
  .ssl-option-item,
  .db-security-row,
  .manager-host-bar,
  .free-activate-row,
  .defender-notice,
  .preset-desc-row,
  .docs-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .config-toggle-row {
    align-items: center;
    gap: 12px;
  }

  .grace-period-badge {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    border-radius: var(--radius-md);
    padding: 10px 12px;
  }

  .grace-period-copy {
    flex-direction: column;
    gap: 2px;
  }

  .grace-period-copy span + span::before {
    content: none;
  }

  .benefit-row {
    align-items: flex-start;
  }

  .manager-host-bar > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .manager-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "meta btn";
    align-items: center;
    gap: 8px 10px;
    padding: 12px;
  }

  .manager-topbar-brand {
    grid-area: brand;
    width: 100%;
  }

  .manager-topbar-meta {
    grid-area: meta;
    margin-left: 0;
    gap: 8px;
  }

  .manager-update-btn {
    grid-area: btn;
    white-space: nowrap;
  }

  .manager-main-view {
    padding: 12px;
    gap: 12px;
  }

  .manager-frame {
    overflow: hidden;
  }

  .preset-tab-btn {
    flex: 1 1 100%;
  }

  .offline-target-sectors,
  .extensions-grid,
  .metrics-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .component-chip,
  .sector-pill,
  .extension-item,
  .status-pill {
    max-width: 100%;
    white-space: normal;
  }

  .server-choice-card .btn,
  .infra-card .btn,
  .arch-visual-box .btn,
  .offline-section .btn,
  .free-activate-row .btn,
  .download-cta-row .btn {
    width: 100%;
  }

  .download-cta-row {
    width: 100%;
  }

  .download-specs-row .spec-sep {
    display: none;
  }

  .docs-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .docs-banner-actions .btn {
    width: 100%;
  }

  .contact-section {
    padding: 56px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-brief {
    padding: 20px 18px;
  }

  .contact-brief-lead {
    font-size: 18px;
  }

  .contact-channel {
    padding: 16px 16px;
  }

  .contact-channel-value {
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 36px 0 28px;
    background-color: var(--bg-secondary);
  }

  .site-footer .brand-company {
    display: block;
  }

  .site-footer .brand-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer-identity {
    order: 1;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--rule-accent);
    border-radius: var(--radius-lg);
    padding: 20px 18px 18px;
  }

  .footer-brand {
    margin-bottom: 12px;
  }

  .footer-blurb {
    max-width: none;
    margin-bottom: 0;
    font-size: 13px;
  }

  .footer-credit {
    display: none;
  }

  .footer-mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
  }

  .footer-inosas {
    order: 2;
  }

  .footer-inosas-title,
  .footer-inosas-desc {
    display: none;
  }

  .footer-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 0;
  }

  .footer-contact-tile {
    gap: 4px;
    min-height: 64px;
    padding: 12px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
  }

  .footer-contact-value {
    overflow-wrap: anywhere;
  }

  .footer-acc {
    order: 3;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .footer-acc > .footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
  }

  .footer-acc > .footer-col-title::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--accent-bronze);
    border-bottom: 1.5px solid var(--accent-bronze);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
  }

  .footer-acc[open] > .footer-col-title::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .footer-acc .footer-links {
    gap: 0;
    padding: 0 8px 8px;
  }

  .footer-acc .footer-link {
    display: block;
    padding: 12px 8px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
    font-weight: 500;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
  }

  .footer-meta-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .footer-meta-chips span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
  }

  .footer-legal .footer-link {
    font-size: 12px;
  }

  .ssl-option-item > div {
    width: 100%;
  }

  .update-table td {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .checksum-snippet {
    width: 100%;
  }

  .hero-brand-tag {
    font-size: 12px;
  }

  .value-props-grid,
  .servers-grid,
  .infra-options-grid,
  .security-grid,
  .steps-grid,
  .arch-lifecycle-grid,
  .free-product-card,
  .manager-layout,
  .manager-matrix {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 14px;
  }

  .hero-h1 {
    font-size: 28px;
  }

  .section-heading,
  .download-heading {
    font-size: 24px;
  }

  .offline-target-sectors,
  .metrics-strip,
  .extensions-grid,
  .hero-meta-badges {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .meta-chip:last-child {
    grid-column: 1 / -1;
  }

  .lifecycle-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preset-tab-btn {
    flex-basis: 100%;
  }

  .mock-actions-grid {
    grid-template-columns: 1fr;
  }

  .framework-card,
  .download-box,
  .arch-visual-box,
  .free-product-card,
  .infra-card,
  .server-choice-card {
    padding: 20px 14px;
  }

  [id] {
    scroll-margin-top: 72px;
  }
}

@media (min-width: 1025px) {
  html.page-snap {
    scroll-padding-top: 68px;
  }

  html.page-snap section {
    box-sizing: border-box;
    height: calc(100svh - 68px);
    min-height: calc(100svh - 68px);
    max-height: calc(100svh - 68px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  html.page-snap section > .container {
    width: 100%;
  }

  html.page-snap .hero-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  html.page-snap .download-section > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  html.page-snap .docs-banner {
    margin-top: 0;
    padding: 14px 20px;
  }

  html.page-snap .contact-section {
    align-items: center;
    background-color: var(--bg-primary);
  }

  html.page-snap .contact-section > .container {
    width: 100%;
  }

  html.page-snap .value-props-grid,
  html.page-snap .security-grid,
  html.page-snap .steps-grid {
    margin-top: 28px;
  }

  html.page-snap .manager-section {
    overflow-y: hidden;
  }

  html.page-snap .manager-section > .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  html.page-snap .manager-showcase {
    margin-top: 16px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
  }

  html.page-snap .manager-frame {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
  }

  html.page-snap .manager-layout {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  html.page-snap .manager-main-view {
    overflow: hidden;
    padding: 14px;
    gap: 12px;
  }

  html.page-snap .free-product-card,
  html.page-snap .framework-card {
    margin-top: 24px;
  }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   LICENSE PORTAL
   ========================================================================== */
.portal-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(16, 42, 76, 0.04), transparent 220px),
    var(--bg-primary);
}

.portal-main {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 16px 80px;
}

.portal-auth-card {
  width: min(460px, 100%);
  padding: 36px 32px;
}

.portal-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-bottom: 8px;
}

.portal-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.portal-lead {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.portal-form,
.portal-inline-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.portal-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.portal-field input,
.portal-filter input,
.portal-filter select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font: inherit;
  font-weight: 500;
}

.portal-field input:focus,
.portal-filter input:focus,
.portal-filter select:focus {
  outline: 2px solid var(--border-focus);
  outline-offset: 1px;
}

.portal-submit {
  width: 100%;
  margin-top: 4px;
}

.portal-foot {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.portal-foot a {
  color: var(--btn-primary-bg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-alert {
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}

.portal-alert-error {
  color: var(--status-danger);
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.22);
}

.portal-alert-ok {
  color: var(--status-healthy);
  background: var(--status-healthy-bg);
  border: 1px solid var(--accent-emerald-border);
}

.portal-dash {
  padding: 40px 0 80px;
}

.portal-dash-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.portal-panel {
  margin-bottom: 20px;
  padding: 24px;
}

.portal-panel-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.portal-panel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.portal-panel-bar .portal-panel-title {
  margin-bottom: 0;
}

.portal-hint {
  margin: -8px 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.portal-inline-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.portal-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.portal-table th,
.portal-table td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.portal-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.portal-table tr.is-stale td {
  color: var(--text-muted);
}

.portal-empty {
  color: var(--text-muted);
  font-style: italic;
}

.portal-sub {
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.portal-copy {
  color: var(--btn-primary-bg);
  font-size: 12px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-copy.is-copied::after {
  content: " copied";
  color: var(--status-healthy);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.portal-user-actions {
  gap: 16px;
}

.portal-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.portal-user-meta strong {
  font-size: 13px;
}

.portal-user-meta span {
  font-size: 11px;
  color: var(--text-muted);
}

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portal-tabs button {
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.portal-tabs button.is-active {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.portal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.portal-filter {
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.portal-filter input,
.portal-filter select {
  min-width: 140px;
  min-height: 40px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.portal-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-bottom: 8px;
}

.header-signin-btn {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.nav-signin {
  display: none;
}

@media (max-width: 1100px) {
  .nav-signin {
    display: list-item;
  }

  .header-signin-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .portal-main {
    padding: 28px 16px 56px;
  }

  .portal-auth-card {
    padding: 24px 18px;
  }

  .portal-dash {
    padding: 24px 0 56px;
  }

  .portal-inline-form {
    grid-template-columns: 1fr;
  }

  .portal-user-meta span {
    display: none;
  }
}
