/* Generated from static Home index.html. Keep CSP-safe: no inline styles in Razor. */
/* ============================================================
   SURVANTA — Master Design System
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --bg-tint: #EEF4FF;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Text */
  --text: #0F172A;
  --text-dim: #475569;
  --text-mute: #64748B;
  --text-inverse: #FFFFFF;

  /* Brand */
  --primary: #2563EB;
  --primary-600: #1D4ED8;
  --primary-700: #1E40AF;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --teal: #14B8A6;
  --teal-50: #ECFDF5;
  --violet: #7C3AED;
  --violet-50: #F5F3FF;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #BA1A1A;
  --info: #0EA5E9;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 12px 30px -10px rgba(37, 99, 235, 0.35);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Type */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #DBEAFE;
}
.eyebrow.teal { background: var(--teal-50); color: #0F766E; border-color: #CCFBF1; }
.eyebrow.violet { background: var(--violet-50); color: #6D28D9; border-color: #DDD6FE; }

h1, h2, h3, h4, h5 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -0.025em; font-weight: 650; }
h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); }
h4 { font-size: 17px; }
p { margin: 0; color: var(--text-dim); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--text-dim); line-height: 1.6; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--primary);
  --fg: #fff;
  --bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-weight: 550;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, color .15s ease, border-color .15s ease;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:focus-visible { outline: 3px solid #BFDBFE; outline-offset: 2px; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(2px); }

.btn.ghost { --bg: #fff; --fg: var(--text); --bd: var(--border); box-shadow: var(--shadow-xs); }
.btn.ghost:hover { --bd: var(--border-strong); --bg: #fff; box-shadow: var(--shadow-sm); }

.btn.subtle { --bg: var(--primary-50); --fg: var(--primary-700); --bd: var(--primary-50); }
.btn.subtle:hover { --bg: var(--primary-100); --bd: var(--primary-100); }

.btn.link { --bg: transparent; --fg: var(--primary); --bd: transparent; padding: 12px 4px; box-shadow: none; }
.btn.link:hover { --bg: transparent; transform: none; box-shadow: none; text-decoration: underline; }

.btn.lg { padding: 14px 24px; font-size: 15px; border-radius: 10px; }
.btn.sm { padding: 8px 14px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card.flat { box-shadow: none; }
.card.feature { padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.card.feature:hover { transform: translateY(-3px); border-color: #C7D2FE; }
.card .icon-tile {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid #DBEAFE;
}
.card .icon-tile.teal { background: var(--teal-50); color: #0F766E; border-color: #CCFBF1; }
.card .icon-tile.violet { background: var(--violet-50); color: #6D28D9; border-color: #DDD6FE; }
.card .icon-tile.amber { background: #FFFBEB; color: #B45309; border-color: #FEF3C7; }
.card .icon-tile.rose { background: #FFF1F2; color: #BE123C; border-color: #FFE4E6; }
.card .icon-tile.slate { background: #F1F5F9; color: #334155; border-color: #E2E8F0; }
.card h3 { font-size: 17px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--text-dim); }

/* Bento grid.
   This duplicates site.css's .grid.cols-* and loads after it, so these declarations win on every
   public page. Tracks must be minmax(0, 1fr), not 1fr: a bare 1fr track keeps min-width:auto, so any
   child with a wide intrinsic minimum (long token, code sample, pill row) stretches the track and
   scrolls the whole document sideways. */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-6 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 550; color: var(--text); }
.field .hint { font-size: 12.5px; color: var(--text-mute); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.input::placeholder { color: #94A3B8; }
.input.with-icon { padding-left: 42px; }
.field-wrap { position: relative; }
.field-wrap .left-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-mute); pointer-events: none; }
.field-wrap .right-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px; background: none; border: none; color: var(--text-mute); border-radius: 6px; }
.field-wrap .right-btn:hover { background: var(--bg-soft); color: var(--text); }

.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; color: var(--text); }
.check input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--border-strong); border-radius: 5px; flex: none; margin-top: 2px; position: relative; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible { outline: 3px solid #BFDBFE; outline-offset: 2px; }

/* Toggle */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle input { display: none; }
.toggle .slider {
  position: absolute; inset: 0;
  background: #CBD5E1; border-radius: 999px;
  transition: background .2s ease;
}
.toggle .slider::before {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform .2s ease;
}
.toggle input:checked + .slider { background: var(--primary); }
.toggle input:checked + .slider::before { transform: translateX(18px); }

/* Range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--border); border-radius: 999px; outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.5); cursor: pointer; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.5); cursor: pointer; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 550;
  background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--border);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.primary { background: var(--primary-50); color: var(--primary-700); border-color: #DBEAFE; }
.badge.teal { background: var(--teal-50); color: #0F766E; border-color: #CCFBF1; }
.badge.success { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.badge.warning { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.badge.error { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.badge.violet { background: var(--violet-50); color: #6D28D9; border-color: #DDD6FE; }
.badge.slate { background: #F1F5F9; color: #334155; border-color: #E2E8F0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  /* min-height, not height: between the 1100px mobile breakpoint and ~1300px the nav needs a second
     row, and a fixed height would clip it. */
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.survanta-flow-logo { display: block; width: auto; height: 30px; max-width: min(144px, 42vw); object-fit: contain; }

/* flex-wrap + min-width:0 let the nav shrink and reflow instead of forcing the header wider than the
   viewport. A flex item defaults to min-width:auto, so without this the 10-item nav pushes the page
   into horizontal scroll between the 1100px breakpoint and ~1300px. */
.nav { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; min-width: 0; }
/* Labels are deliberately allowed to wrap; white-space:nowrap here would defeat the shrinking above. */
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-dim); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(15, 23, 42, 0.05); color: var(--text); }
.nav a.active { color: var(--primary); background: var(--primary-50); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-dim);
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.icon-btn .badge-dot {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--error); color: #fff;
  font-size: 11px; font-weight: 650; display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #06B6D4);
  color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}

/* Profile button (header, authed state) */
.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-xs);
  height: 40px;
}
.profile-btn:hover { background: var(--bg-soft); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.profile-btn:focus-visible { outline: 3px solid #BFDBFE; outline-offset: 2px; }
.profile-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #0F766E 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.02em;
  flex: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}
.profile-meta {
  display: flex; flex-direction: column;
  line-height: 1.15;
  text-align: left;
  min-width: 0;
}
.profile-name { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.profile-role { font-size: 11px; color: var(--text-mute); margin-top: 1px; }
.profile-chev { display: inline-flex; color: var(--text-mute); margin-left: 2px; transition: transform .15s ease; }
.profile-btn:hover .profile-chev { color: var(--text); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 36px;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-mute);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.lang-switch button .ar { font-family: "Tajawal", "Cairo", "Inter", sans-serif; }
@media (max-width: 540px) {
  .lang-switch button { padding: 0 8px; font-size: 12px; }
}

/* ===== RTL adjustments ===== */
[dir="rtl"] body {
  font-family: "Tajawal", "Cairo", var(--font);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5 {
  letter-spacing: 0;
}
[dir="rtl"] .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(2px); }
[dir="rtl"] .crumbs .sep { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .hsx-54 { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .field-wrap .left-icon { left: auto; right: 14px; }
[dir="rtl"] .input.with-icon { padding-left: 14px; padding-right: 42px; }
[dir="rtl"] .field-wrap .right-btn { right: auto; left: 6px; }
[dir="rtl"] .search-box svg { left: auto; right: 18px; }
[dir="rtl"] .search-box input { padding: 16px 52px 16px 18px; }
[dir="rtl"] .search-box .kbd { right: auto; left: 14px; }
[dir="rtl"] .text-center { text-align: center; }
[dir="rtl"] .auth-side ul li .ic,
[dir="rtl"] .upload .ic { /* keep centered */ }
[dir="rtl"] .check input:checked::after { left: auto; right: 5px; }
[dir="rtl"] .timeline .step { grid-template-columns: 1fr 28px; }
[dir="rtl"] .timeline .step > div:first-child { order: 2; }
[dir="rtl"] .timeline .step > div:last-child { order: 1; }
[dir="rtl"] .timeline .step::before { left: auto; right: 13px; }
[dir="rtl"] .preview-dropdown .row,
[dir="rtl"] .notif-item,
[dir="rtl"] .req-row,
[dir="rtl"] .guide-row,
[dir="rtl"] .endpoint-row,
[dir="rtl"] .feature-toggle,
[dir="rtl"] .msg.admin,
[dir="rtl"] .auth-side ul li { text-align: right; }
[dir="rtl"] .msg.user { justify-content: flex-start; }
[dir="rtl"] .msg.user .av { order: 0; }
[dir="rtl"] .msg.admin { justify-content: flex-end; }
[dir="rtl"] .table th, [dir="rtl"] .table td { text-align: right; }
[dir="rtl"] .codeblock { direction: ltr; text-align: left; }
[dir="rtl"] .path, [dir="rtl"] .code { direction: ltr; text-align: right; unicode-bidi: plaintext; }
[dir="rtl"] .stepper .s-step,
[dir="rtl"] .sum-row,
[dir="rtl"] .row-between,
[dir="rtl"] .row-gap { /* flex naturally flips */ }
[dir="rtl"] .sum-total .strike,
[dir="rtl"] .sum-total .big small { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .sum-row .val { text-align: left; }
[dir="rtl"] .notif-item .dot-unread { /* fine */ }
[dir="rtl"] .stepper .s-step.done + .s-line { background: var(--success); }
[dir="rtl"] .nav a { font-family: inherit; }
[dir="rtl"] .filter-chip { font-family: inherit; }
[dir="rtl"] .profile-meta { text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .check { text-align: right; }
[dir="rtl"] .crumbs { direction: rtl; }
[dir="rtl"] .lang-switch button .en { font-family: var(--font); }

/* Language-conditional swap: use .i-en / .i-ar pairs in markup that needs
   different HTML structure per language (e.g. h1 with inline gradient spans). */
.i-ar { display: none; }
[dir="rtl"] .i-en { display: none; }
[dir="rtl"] .i-ar { display: inline; }

.mobile-toggle { display: none; }
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 14px; border-bottom: 1px solid var(--border); align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .mobile-toggle { display: grid; }
  .header-actions .desktop-only { display: none; }
}
@media (max-width: 540px) {
  .site-header .wrap { gap: 8px; }
  .header-actions { gap: 4px; }
  .header-actions .mobile-hide { display: none; }
  .header-actions .btn { padding-inline: 10px; }
  .lang-switch button { padding-inline: 8px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1320;
  color: #CBD5E1;
  padding: 72px 0 28px;
  margin-top: 80px;
}
.site-footer .grid-footer {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 1024px) {
  .site-footer .grid-footer { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .grid-footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer .grid-footer { grid-template-columns: 1fr 1fr; }
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { color: #94A3B8; font-size: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer ul a { color: #94A3B8; font-size: 14px; transition: color .15s; }
.site-footer ul a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #CBD5E1; transition: background .15s, color .15s, border-color .15s; }
.social a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #64748B; font-size: 13px; }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .links a { color: #94A3B8; }
.footer-bottom .links a:hover { color: #fff; }

/* ---------- Misc ---------- */
.hr { border: 0; height: 1px; background: var(--border); margin: 40px 0; }
.divider-y { width: 1px; background: var(--border); align-self: stretch; }
.muted { color: var(--text-mute); }
.tag { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; background: var(--bg-soft); color: var(--text); border-radius: 6px; font-size: 12.5px; font-weight: 500; }
.kbd { font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--text-dim); }

/* Animation primitives */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
/* The reveal-on-scroll pair was gated on body.js-reveal, which no script ever adds (the intended
   IntersectionObserver was never ported), so both rules were inert. The .reveal class stays on the
   markup as a hook if the behaviour is ever implemented. */

/* Skeleton placeholder pattern */
.placeholder-image {
  background:
    repeating-linear-gradient(45deg, rgba(15,23,42,0.04) 0 10px, rgba(15,23,42,0) 10px 20px),
    var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  display: grid; place-items: center;
  min-height: 120px;
}

/* Code block */
.codeblock {
  background: #0B1320;
  color: #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  overflow: auto;
  border: 1px solid #1E293B;
}
.codeblock .k { color: #60A5FA; }
.codeblock .s { color: #34D399; }
.codeblock .c { color: #64748B; }
.codeblock .m { color: #FBBF24; }

/* Status timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline .step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 8px 0; position: relative; }
.timeline .step::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -8px; width: 2px; background: var(--border); }
.timeline .step:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--text-mute); border: 1px solid var(--border); position: relative; z-index: 1; }
.timeline .step.done .dot { background: var(--success); color: #fff; border-color: var(--success); }
.timeline .step.current .dot { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.15); }
.timeline .meta { font-size: 12.5px; color: var(--text-mute); }
.timeline .title { font-weight: 550; font-size: 14.5px; color: var(--text); }

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  gap: 2px;
}
.stepper .s-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease;
  flex: none;
}
.stepper .s-step:hover { background: var(--bg-soft); }
.stepper .s-step .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--text-mute);
  font-size: 13px; font-weight: 650;
  border: 1.5px solid var(--border);
  flex: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.stepper .s-step .lbl {
  font-size: 13.5px;
  color: var(--text-mute);
  font-weight: 550;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition: color .15s ease;
}
.stepper .s-step.active {
  background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%);
}
.stepper .s-step.active .n {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}
.stepper .s-step.active .lbl { color: var(--primary-700); font-weight: 600; }
.stepper .s-step.done .n {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.stepper .s-step.done .lbl { color: var(--text); }
.stepper .s-line {
  flex: 1;
  min-width: 18px;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  margin: 0 4px;
  align-self: center;
  transition: background .15s ease;
}
.stepper .s-step.done + .s-line { background: var(--success); }
@media (max-width: 900px) {
  .stepper { gap: 4px; padding: 10px; }
  .stepper .s-line { display: none; }
  .stepper .s-step { flex: 1 1 calc(33.333% - 8px); min-width: 0; padding: 8px 10px; }
  .stepper .s-step .lbl { font-size: 12.5px; }
}

/* Breadcrumb */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-mute); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs > * { white-space: nowrap; }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: 0.5; }
.crumbs .cur { color: var(--text); font-weight: 500; }

/* Hero blob backdrop */
.hero-backdrop {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.hero-backdrop::before, .hero-backdrop::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: 0.55;
}
.hero-backdrop::before { background: #BFDBFE; top: -180px; left: -120px; }
.hero-backdrop::after { background: #99F6E4; bottom: -200px; right: -80px; opacity: 0.45; }

.grid-pattern {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #0B1320 0%, #1E3A8A 60%, #134E4A 130%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.25), transparent 40%), radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.3), transparent 40%);
  pointer-events: none;
}
.cta-banner h2, .cta-banner p { color: #fff; position: relative; }
.cta-banner p { color: #CBD5E1; }
.cta-banner .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; position: relative; }
.cta-banner .btn.ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.cta-banner .btn.ghost:hover { background: rgba(255,255,255,0.16); }

/* Summary card sticky */
.summary-card { position: sticky; top: 92px; }

/* Tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th, .table td { padding: 14px 16px; text-align: left; font-size: 14px; }
.table thead th { font-weight: 600; color: var(--text-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.table tbody td { border-bottom: 1px solid var(--border); color: var(--text); }
.table tbody tr:hover { background: var(--bg-soft); }
.table tbody tr:last-child td { border-bottom: none; }

/* Utility */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.row-gap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-center { text-align: center; }


    .journey-step { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; }
    .journey-step:hover { border-color: var(--primary); transform: translateY(-2px); }
    .journey-step .num { width: 30px; height: 30px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; font-weight: 650; font-size: 14px; margin-bottom: 12px; }
    .journey-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
    .journey-step p { font-size: 13.5px; color: var(--text-mute); }
    @media (max-width: 900px) { .journey-grid { grid-template-columns: repeat(2, 1fr) !important; } }
    @media (max-width: 540px) { .journey-grid { grid-template-columns: 1fr !important; } }
    @media (max-width: 900px) {
      .hero-grid, .about-grid, .goal-grid, .net-grid, .sec-diagram { grid-template-columns: 1fr !important; }
    }
  
.hsx-1 { position:relative; padding-top: 60px; padding-bottom: 60px; }
.hsx-2 { position:relative; z-index:1; }
.hsx-3 { display:grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hsx-4 { margin-top: 18px; }
.hsx-5 { background: linear-gradient(135deg, #2563EB, #14B8A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hsx-6 { margin-top: 22px; max-width: 560px; }
.hsx-7 { margin-top: 32px; }
.hsx-8 { display:flex; gap:24px; margin-top: 40px; flex-wrap: wrap; }
.hsx-9 { display:flex; align-items:center; gap:8px; }
.hsx-10,
.hsx-16 { display:grid; width:32px; height:32px; place-items:center; flex:none; border-radius:50%; }
.hsx-10 { color:var(--primary-700); background:var(--primary-50); }
.hsx-11 { margin-right:-8px; }
.hsx-12 { background: linear-gradient(135deg, #14B8A6, #0EA5E9); margin-right:-8px; }
.hsx-13 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.hsx-14 { font-size:13px; }
.hsx-15 { font-weight:600; }
.hsx-16 { color:#0F766E; background:var(--teal-50); }
.hsx-17 { position:relative; min-height: 520px; }
.hsx-18 { padding: 20px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.hsx-19 { display:flex; align-items:center; gap:10px; }
.hsx-20 { width:38px;height:38px; }
.hsx-21 { font-weight:600; font-size:14.5px; }
.hsx-22 { font-size:12.5px; }
.hsx-23 { margin-top:18px; display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.hsx-24 { padding:12px; background: var(--bg-soft); border-radius:10px; }
.hsx-25 { font-size:11px; text-transform:uppercase; letter-spacing:0.06em; }
.hsx-26 { font-size:22px; font-weight:650; letter-spacing:-0.02em; }
.hsx-27 { font-size:11px; color: var(--success); }
.hsx-28 { font-size:11px; color: var(--primary); }
.hsx-29 { font-size:11px; color: var(--text-mute); }
.hsx-30 { margin-bottom:8px; }
.hsx-31 { font-size:13px; font-weight:550; }
.hsx-32 { font-size:12px; }
.hsx-33 { display:block; }
.hsx-34 { position:absolute; top: -20px; right: -16px; padding: 14px 16px; box-shadow: var(--shadow-lg); display:flex; gap:10px; align-items:center; z-index: 3; background:#fff; }
.hsx-35 { width:32px;height:32px; }
.hsx-36 { font-size:13px; font-weight:600; }
.hsx-37 { font-size:11.5px; }
.hsx-38 { position:absolute; bottom: 70px; left: -22px; padding: 14px 16px; box-shadow: var(--shadow-lg); display:flex; gap:10px; align-items:center; z-index: 3; background:#fff; max-width: 260px; }
.hsx-39 { position:absolute; bottom: -20px; right: 20px; padding: 14px 16px; box-shadow: var(--shadow-lg); display:flex; gap:10px; align-items:center; z-index: 3; background:#fff; }
.hsx-40 { width:32px;height:32px; background:#ECFDF5; color:#047857; border-color:#A7F3D0; }
.hsx-41 { margin-top: 80px; }
.hsx-42 { text-align:center; font-size:14px; color: var(--text-mute); margin-bottom: 16px; }
.hsx-43 { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:14px 28px; }
.hsx-44 { font-weight:600; font-size:16px; }
.hsx-45 { color:var(--primary); }
.hsx-46 { font-weight:600; font-size:16px; }
.hsx-47 { opacity:0.5; }
.hsx-48 { color:var(--teal); }
.hsx-49 { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.hsx-50 { padding: 24px 28px; margin-bottom: 36px; overflow:hidden; }
.hsx-51 { display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content: space-between; }
.hsx-52 { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.hsx-53 { background: var(--primary-50); color: var(--primary-700); }
.hsx-54 { color: var(--border-strong); }
.hsx-55 { background: var(--teal-50); color: #0F766E; }
.hsx-56 { background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%); }
.hsx-57 { display:grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.hsx-58 { margin-top:14px; }
.hsx-59 { margin-top:16px; }
.hsx-60 { display:flex; gap:32px; margin-top: 32px; }
.hsx-61 { font-size:30px; font-weight:650; letter-spacing:-0.02em; }
.hsx-62 { gap: 14px; }
.hsx-63 { background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%); border-color: #DBEAFE; }
.hsx-64 { background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); border-color: #CCFBF1; }
.hsx-65 { background: linear-gradient(180deg, #fff 0%, var(--violet-50) 100%); border-color: #DDD6FE; }
.hsx-66 { background:#FEF2F2; color:#B91C1C; border-color:#FECACA; }
.hsx-67 { background: linear-gradient(180deg, var(--bg) 0%, #fff 50%); }
.hsx-68 { padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, #fff 0%, #EFF6FF 100%); border-color: #DBEAFE; }
.hsx-69 { display:grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hsx-70 { display:flex; flex-direction:column; gap:14px; }
.hsx-71 { display:flex; gap:14px; align-items:center; padding:18px; background:#fff; border-radius:14px; border:1px solid var(--border); }
.hsx-72 { flex:none; }
.hsx-73 { background: #fff; }
.hsx-74 { gap: 16px; }
.hsx-75 { grid-column: span 2; }
.hsx-76 { margin-top:auto; padding: 14px; background: var(--bg-soft); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.hsx-77 { display:flex; gap:8px; align-items:center; margin-bottom:6px; }
.hsx-78 { width:6px;height:6px;background:var(--primary); border-radius:50%; }
.hsx-79 { width:6px;height:6px;background:var(--teal); border-radius:50%; }
.hsx-80 { display:flex; gap:8px; align-items:center; margin-left:14px; opacity:0.8; }
.hsx-81 { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #EFF6FF 100%); }
.hsx-82 { margin-top:auto; display:flex; gap:10px; }
.hsx-83 { flex:1; height:64px; background:#fff; border-radius:8px; border:1px solid var(--border); display:flex; align-items:flex-end; padding:10px; gap:4px; }
.hsx-84 { flex:1; height:30%; background: var(--primary-100); border-radius:3px; }
.hsx-85 { flex:1; height:55%; background: var(--primary); border-radius:3px; }
.hsx-86 { flex:1; height:42%; background: var(--primary-100); border-radius:3px; }
.hsx-87 { flex:1; height:70%; background: var(--primary); border-radius:3px; }
.hsx-88 { flex:1; height:85%; background: var(--teal); border-radius:3px; }
.hsx-89 { flex:1; height:64px; background:#fff; border-radius:8px; border:1px solid var(--border); padding:8px; }
.hsx-90 { font-size:11px; color:var(--text-mute); }
.hsx-91 { font-size:22px; font-weight:650; }
.hsx-92 { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #F0FDFA 100%); }
.hsx-93 { margin-top:auto; display:flex; gap:6px; flex-wrap:wrap; }
.hsx-94 { background: linear-gradient(180deg, #fff 0%, #0B1320 0%, #0B1320 100%); color: #fff; padding-top: clamp(80px, 10vw, 140px); }
.hsx-95 { margin: 0 auto 48px; }
.hsx-96 { max-width: 740px; margin: 0 auto; }
.hsx-97 { background: rgba(20, 184, 166, 0.18); color:#5EEAD4; border-color: rgba(94, 234, 212, 0.3); }
.hsx-98 { color:#fff; margin-top:14px; }
.hsx-99 { color:#94A3B8; margin-top:16px; }
.hsx-100 { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 32px; margin-bottom: 32px; }
.hsx-101 { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.hsx-102 { grid-column: 1; grid-row: 1 / span 2; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.hsx-103 { padding: 16px; border-radius: 12px; background: rgba(37, 99, 235, 0.12); border:1px solid rgba(96, 165, 250, 0.3); display:flex; gap:12px; align-items:center; }
.hsx-104 { width:36px; height:36px; background: rgba(96,165,250,0.2); border-radius:8px; display:grid; place-items:center; color:#93C5FD; }
.hsx-105 { color:#fff; font-weight:600; font-size:14px; }
.hsx-106 { color:#94A3B8; font-size:12px; }
.hsx-107 { padding: 16px; border-radius: 12px; background: rgba(124, 58, 237, 0.12); border:1px solid rgba(167, 139, 250, 0.3); display:flex; gap:12px; align-items:center; }
.hsx-108 { width:36px; height:36px; background: rgba(167,139,250,0.2); border-radius:8px; display:grid; place-items:center; color:#C4B5FD; }
.hsx-109 { grid-column: 2; display:flex; align-items:center; justify-content:center; }
.hsx-110 { padding: 28px 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(20,184,166,0.18), rgba(20,184,166,0.06)); border:1px solid rgba(94, 234, 212, 0.35); width:100%; text-align:center; }
.hsx-111 { width:48px; height:48px; margin: 0 auto 12px; background: rgba(20,184,166,0.25); border-radius:12px; display:grid; place-items:center; color:#5EEAD4; }
.hsx-112 { color:#fff; font-weight:600; }
.hsx-113 { color:#94A3B8; font-size:12px; margin-top:4px; }
.hsx-114 { grid-column: 3; grid-row: 1 / span 2; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.hsx-115 { padding: 16px; border-radius: 12px; background: rgba(245, 158, 11, 0.1); border:1px solid rgba(252, 211, 77, 0.3); display:flex; gap:12px; align-items:center; }
.hsx-116 { width:36px; height:36px; background: rgba(252,211,77,0.2); border-radius:8px; display:grid; place-items:center; color:#FCD34D; }
.hsx-117 { padding: 16px; border-radius: 12px; background: rgba(99, 102, 241, 0.12); border:1px solid rgba(165, 180, 252, 0.3); display:flex; gap:12px; align-items:center; }
.hsx-118 { width:36px; height:36px; background: rgba(165,180,252,0.2); border-radius:8px; display:grid; place-items:center; color:#A5B4FC; }
.hsx-119 { padding: 16px; border-radius: 12px; background: rgba(239, 68, 68, 0.1); border:1px solid rgba(252, 165, 165, 0.3); display:flex; gap:12px; align-items:center; }
.hsx-120 { width:36px; height:36px; background: rgba(252,165,165,0.2); border-radius:8px; display:grid; place-items:center; color:#FCA5A5; }
.hsx-121 { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color:#fff; }
.hsx-122 { color:#fff; }
.hsx-123 { color:#94A3B8; }
.hsx-124 { padding: 36px; margin-bottom: 32px; background: linear-gradient(135deg, #fff 0%, #F5F3FF 100%); border-color: #DDD6FE; overflow:hidden; }
.hsx-125 { display:grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; align-items: center; }
.hsx-126 { display:flex; flex-direction:column; gap:10px; }
.hsx-127 { padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display:flex; gap:10px; align-items:center; box-shadow: var(--shadow-xs); }
.hsx-128 { width:32px;height:32px; background:#FEF3C7; border-radius:8px; display:grid;place-items:center; color:#B45309; }
.hsx-129 { font-size:13.5px; font-weight:550; }
.hsx-130 { width:32px;height:32px; background:#DBEAFE; border-radius:8px; display:grid;place-items:center; color:#1D4ED8; }
.hsx-131 { width:32px;height:32px; background:#FCE7F3; border-radius:8px; display:grid;place-items:center; color:#BE185D; }
.hsx-132 { width:32px;height:32px; background:#E0E7FF; border-radius:8px; display:grid;place-items:center; color:#4338CA; }
.hsx-133 { width:32px;height:32px; background:#CCFBF1; border-radius:8px; display:grid;place-items:center; color:#0F766E; }
.hsx-134 { display:flex; align-items:center; justify-content:center; min-height: 280px; position:relative; }
.hsx-135 { position:absolute; inset:0; pointer-events:none; }
.hsx-136 { position:relative; padding: 28px 24px; background: linear-gradient(135deg, var(--violet), #5B21B6); color:#fff; border-radius: 20px; box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.45); text-align:center; min-width: 180px; }
.hsx-137 { font-family: var(--font-mono); font-size: 11px; opacity: 0.7; letter-spacing: 0.1em; }
.hsx-138 { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.hsx-139 { margin-top: 8px; font-size: 12px; opacity: 0.85; }
.hsx-140 { font-size:12px; padding: 16px; }
.hsx-141 { background: var(--bg-soft); }
.hsx-142 { gap: 12px; }
.hsx-143 { padding: 20px; }
.hsx-144 { width:36px;height:36px; }
.hsx-145 { font-size:15.5px; }
.hsx-146 { padding: 36px; }
.hsx-147 { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hsx-148 { text-align:center; margin-top: 36px; }
.hsx-149 { padding-left:0; }
.hsx-150 { background: rgba(255,255,255,0.12); color:#fff; border-color: rgba(255,255,255,0.16); }
.hsx-151 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 44px); max-width: 720px; }
.hsx-152 { margin-top: 14px; max-width: 640px; }
.hsx-153 { background:#fff; color: var(--primary-700); border-color:#fff; }
.home-static-port .site-footer { margin-top: 0; }
.home-static-port .section:first-child { padding-top: 60px; }
/* Duplicate .website-lang* overrides removed: the toggle renders .lang-switch, already styled above. */
.home-static-shell .icon-btn.mobile-toggle {
  background: #fff;
  border-color: #CBD5E1;
  color: #0F172A;
}
.home-static-shell .icon-btn.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: #0F172A;
  box-shadow: none;
}
.home-static-shell .icon-btn.mobile-toggle:hover,
.home-static-shell .icon-btn.mobile-toggle:focus-visible {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}
@media (max-width: 900px) { .home-static-port .hero-grid, .home-static-port .about-grid, .home-static-port .goal-grid, .home-static-port .net-grid, .home-static-port .sec-diagram { grid-template-columns: 1fr !important; } }

/* The security diagram's three columns are explicitly placed (grid-column 1/2/3). Once the grid
   collapses to a single column above, those fixed placements create implicit columns 2 and 3 and the
   cards spill outside the viewport — leftwards in RTL, which scrolls the whole document. Let the
   three groups flow in the single column instead. */
@media (max-width: 900px) {
  .home-static-port .sec-diagram > .hsx-102,
  .home-static-port .sec-diagram > .hsx-109,
  .home-static-port .sec-diagram > .hsx-114 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .hsx-43 { gap:10px 16px; }
  .hsx-44,
  .hsx-46 { font-size:15px; }
}

