/* SimLIS — Design system (aligned with desktop app) */
:root {
  --navy-900: #161F2C;
  --navy-800: #1E2939;
  --navy-700: #243447;
  --navy-600: #3D5A73;
  --slate-100: #F8FAFC;
  --slate-200: #F3F3F3;
  --slate-300: #E0E0E0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1F2937;
  --slate-900: #1A1A2E;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-800: #115E59;
  --green-500: #22C55E;
  --green-600: #10B981;
  --green-bg: #F0FDF4;
  --green-border: #86EFAC;
  --green-text: #166534;
  --amber-600: #D97706;
  --white: #FFFFFF;
  --text-primary: #1E2939;
  --text-secondary: #64748B;
  --text-muted: #7A9AB5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-700); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-300);
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

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

.nav-main a {
  color: var(--slate-600);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--blue-600);
}

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

.lang-toggle {
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.lang-toggle:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-600);
  border: 1.5px solid var(--blue-600);
}

.btn-secondary:hover {
  background: #EFF6FF;
  color: var(--blue-700);
}

.btn-teal {
  background: var(--teal-700);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-800);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1.5px solid var(--slate-300);
}

.btn-ghost:hover {
  border-color: var(--slate-400);
  color: var(--text-primary);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, #2A3F5F 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #93C5FD;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #A8BDD0;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.mockup-dot:nth-child(1) { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #22C55E; }

.mockup-content {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 140px;
  background: var(--navy-800);
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-nav-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: #7A9AB5;
  margin-bottom: 4px;
}

.mockup-nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #93C5FD;
  border-left: 3px solid var(--blue-500);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  background: var(--slate-200);
}

.mockup-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.mockup-card h4 {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 8px;
  font-weight: 500;
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green-text);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 4px 10px;
  border-radius: 100px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.mockup-hl7 {
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.625rem;
  color: #22D3EE;
  background: #0D1117;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.6;
  overflow: hidden;
}

/* ── Sections ── */
section { padding: 96px 0; }

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

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bg-light { background: var(--slate-100); }
.bg-dark {
  background: var(--navy-800);
  color: var(--white);
}

.bg-dark .section-header h2 { color: var(--white); }
.bg-dark .section-header p { color: #A8BDD0; }
.bg-dark .section-label { color: #5EEAD4; }

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-icon.blue { background: #EFF6FF; }
.feature-icon.teal { background: #F0FDFA; }
.feature-icon.green { background: var(--green-bg); }
.feature-icon.amber { background: #FFFBEB; }
.feature-icon.purple { background: #F5F3FF; }
.feature-icon.slate { background: var(--slate-100); }

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Protocol badges ── */
.protocol-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.protocol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.protocol-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-hl7 { background: var(--blue-600); }
.dot-astm { background: var(--amber-600); }
.dot-mllp { background: var(--teal-600); }

/* ── Use cases ── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.use-case {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
}

.use-case-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.use-case h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.use-case p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ── Topology ── */
.topology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topology-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  overflow: hidden;
  text-align: center;
}

.topology-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  padding: 16px;
  background: var(--slate-100);
}

.topology-card h3 {
  padding: 16px 20px 4px;
  font-size: 1rem;
  font-weight: 600;
}

.topology-card p {
  padding: 0 20px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-banner .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: none;
}

.cta-banner .btn-primary:hover {
  background: #F0F9FF;
  color: var(--blue-700);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--blue-600);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  margin-bottom: 8px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--slate-300);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card > .btn,
.pricing-card > a.btn {
  margin-top: auto;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  margin-bottom: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-600);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--slate-400);
}

.pricing-features li.disabled::before {
  content: '—';
  color: var(--slate-400);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-300);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate-400);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--slate-700);
}

.form-group .required::after {
  content: ' *';
  color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 0.15s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.visible { display: block; }
.form-success .icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* ── Download page ── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.download-card {
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}

.download-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.download-card .os-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.download-steps {
  max-width: 640px;
  margin: 64px auto 0;
}

.download-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.download-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.download-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ── Feature detail page ── */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }

.feature-detail-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-detail-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.feature-list li::before {
  content: '✓';
  color: var(--green-600);
  font-weight: 700;
}

.feature-detail-visual {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-300);
  padding: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--slate-300);
}

.compare-table th {
  background: var(--slate-100);
  font-weight: 600;
  font-size: 0.875rem;
}

.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table .check { color: var(--green-600); font-weight: 700; }
.compare-table .dash { color: var(--slate-400); }

/* ── Legal pages ── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 40px 0 12px;
  color: var(--text-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 16px 1.25rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 32px;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-900);
  color: #A8BDD0;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #7A9AB5;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #5A7A9A;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  color: #A8BDD0;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid,
  .feature-detail,
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid,
  .pricing-grid,
  .topology-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--slate-300);
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .mobile-menu-btn { display: block; }
  .header-actions .btn-ghost { display: none; }
  .features-grid,
  .pricing-grid,
  .topology-grid,
  .use-cases-grid,
  .download-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  section { padding: 64px 0; }
  .cta-banner { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
