/* ═══════════════════════════════════════════════════════════════
   Loneshepered — Premium dark theme
   Navy #060d1a · Cyan #22d3ee · Teal #14b8a6 · Green #10b981 · Purple #8b5cf6
   Mobile breakpoint: 900px
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #060d1a;
  --navy-mid: #0c1a2e;
  --navy-light: #132238;
  --navy-surface: #0a1525;
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.65);
  --teal: #14b8a6;
  --green: #10b981;
  --purple: #8b5cf6;
  --white: #ffffff;
  --text: #e8edf5;
  --text-muted: rgba(232, 237, 245, 0.62);
  --text-dim: rgba(232, 237, 245, 0.38);
  --border: rgba(255, 255, 255, 0.1);
  --border-mid: rgba(255, 255, 255, 0.16);
  --glass: rgba(10, 21, 37, 0.72);
  --font: 'Sora', system-ui, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --header-h: 72px;
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, 760px);
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.42);
  color: var(--navy);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-sm {
  padding: 0.42rem 1rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.9375rem;
}

/* ── Glass card ── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ── Pulse dot ── */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 12px 20px 0;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.header-pill {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
  padding: 0 10px 0 14px;
  background: rgba(6, 13, 26, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-solid .header-pill {
  background: rgba(6, 13, 26, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

img.brand-mark {
  display: block;
  object-fit: contain;
  background: none;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Language switcher (details/summary — no Bootstrap JS) ── */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 3.25rem;
  padding: 0.28rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}

.lang-switcher-btn::-webkit-details-marker { display: none; }
.lang-switcher-btn::marker { content: ""; }

.lang-switcher-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  transition: transform 0.15s;
}

.lang-switcher[open] .lang-switcher-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.lang-switcher[open] .lang-switcher-btn::after {
  transform: rotate(180deg);
}

.lang-switcher-panel {
  display: none;
}

.lang-switcher[open] .lang-switcher-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 5.5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(6, 13, 26, 0.1);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(6, 13, 26, 0.22);
  z-index: 400;
}

.lang-switcher-item {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 7px;
  text-align: center;
  transition: background 0.12s, color 0.12s;
}

.lang-switcher-item:hover,
.lang-switcher-item:focus-visible {
  background: rgba(34, 211, 238, 0.14);
  color: var(--navy);
}

.lang-switcher-item.active {
  background: var(--cyan);
  color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
  to { background-position: 64px 64px; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -10%;
  right: 5%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14) 0%, transparent 70%);
  animation: glow-pulse 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  animation: glow-pulse 8s ease-in-out infinite 2s;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  padding: 0.32rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.hero-visual {
  position: relative;
}

/* ── Dashboard mockup ── */
.dash-mock {
  padding: 1.35rem;
  animation: dash-float 6s ease-in-out infinite;
}

@keyframes dash-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.dash-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dash-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.75rem;
}

.dash-panel h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.dash-devices {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-device {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status.warn { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.dash-stream {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.dash-stream span {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), var(--teal));
  border-radius: 3px 3px 0 0;
  opacity: 0.75;
  animation: stream-pulse 2s ease-in-out infinite;
}

.dash-stream span:nth-child(odd) { animation-delay: 0.3s; }
.dash-stream span:nth-child(3n) { animation-delay: 0.6s; }

@keyframes stream-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.dash-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.6rem;
}

.dash-metric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.35rem;
}

.dash-metric-head span {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.dash-metric-head strong {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--white);
}

.dash-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.dash-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  border-radius: 99px;
  transition: width 1s var(--ease);
}

/* ═══════════════════════════════════════════════════════════════
   TRUST STRIP MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--navy-mid);
  border-block: 1px solid var(--border);
  padding: 0.85rem 0;
  overflow: hidden;
}

.trust-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.trust-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
  background: var(--navy-surface);
}

.section-dark {
  background: var(--navy);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--cyan);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.section-disclaimer {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
}

/* ── Service grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── Split block / feature grid ── */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.3);
}

.chip-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Ecosystem flow ── */
.ecosystem-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.eco-node-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eco-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-width: 140px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}

.eco-node:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
}

.eco-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.eco-arrow {
  font-size: 1.25rem;
  color: var(--cyan-dim);
  padding: 0 0.25rem;
}

.eco-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.eco-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ── Icon cards ── */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.icon-card {
  padding: 1.5rem;
  transition: transform 0.22s, border-color 0.22s;
}

.icon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.22);
}

.icon-card-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  margin-bottom: 1rem;
}

.icon-card-dot.security {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

.icon-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ── Standards grid ── */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.standard-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  transition: transform 0.2s;
}

.standard-card:hover {
  transform: translateY(-2px);
}

.standard-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.standard-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Model list ── */
.model-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}

.model-item:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.2);
}

.model-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Audience grid ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.audience-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  transition: transform 0.22s, border-color 0.22s;
}

.audience-check {
  background: rgba(244, 114, 182, 0.15);
  color: #f472b6;
}

.audience-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.28);
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(20, 184, 166, 0.1));
}

.process-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-marker span {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy);
}

.process-body {
  padding: 1.25rem 1.5rem;
}

.process-body h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.process-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Why grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  transition: transform 0.2s;
}

.why-item:hover {
  transform: translateY(-2px);
}

.why-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Case studies ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.case-card {
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.28);
}

.case-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.case-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Resources ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.resource-card {
  display: block;
  padding: 1.5rem;
  transition: transform 0.22s, border-color 0.22s;
  cursor: pointer;
  color: inherit;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.22);
}

.resource-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.resource-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.resource-summary {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.resource-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan);
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2322d3ee' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.contact-form select option {
  background: var(--navy-mid);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-success p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  padding-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-address {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 1.25rem;
  max-width: 280px;
}

.footer-grid h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-grid ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.75rem 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  max-width: 520px;
  text-align: right;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.service-grid .reveal:nth-child(2),
.icon-card-grid .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2) { transition-delay: 0.08s; }

.service-grid .reveal:nth-child(3),
.icon-card-grid .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.service-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.service-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.service-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.25rem 2rem;
    background: linear-gradient(180deg, rgba(6, 13, 26, 0.98), rgba(12, 26, 46, 0.98));
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 301;
    overflow-y: auto;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .nav-backdrop {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--r-md);
    font-size: 0.92rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .nav-actions .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lang-switcher {
    display: block;
    width: 100%;
  }

  .lang-switcher-btn {
    width: 100%;
  }

  .lang-switcher[open] .lang-switcher-panel {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .lang-switcher-item {
    color: rgba(255, 255, 255, 0.92);
  }

  .lang-switcher-item:hover,
  .lang-switcher-item:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .lang-switcher-item.active {
    background: rgba(34, 211, 238, 0.22);
    color: var(--cyan);
  }

  .header-pill {
    height: auto;
    min-height: 58px;
    padding: 8px 10px 8px 14px;
    border-radius: var(--r-xl);
  }

  .brand-name {
    display: inline;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
  }

  .hero-visual {
    order: -1;
  }

  .dash-mock {
    animation: none;
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .eco-node-wrap {
    flex-direction: column;
    width: 100%;
  }

  .eco-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .eco-node {
    width: 100%;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-page {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 211, 238, 0.08), transparent),
    var(--navy);
}

.legal-content {
  padding: 2.5rem 2.75rem;
}

.legal-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-effective {
  font-size: 0.875rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 0.85rem;
}

.legal-content ul {
  list-style: disc;
  margin: 0.85rem 0 0 1.25rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-content a:not(.btn) {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:not(.btn):hover,
.legal-content a:not(.btn):focus-visible {
  color: var(--white);
}

.article-footer .btn {
  text-decoration: none;
}

.legal-footer-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--teal);
  background: rgba(20, 184, 166, 0.08);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.legal-footer-note p {
  margin: 0;
  color: var(--text);
}

.article-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
}

.article-section {
  margin-bottom: 0.5rem;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .legal-content {
    padding: 1.75rem 1.35rem;
  }
}

/* Override Bootstrap defaults on landing */
.btn:focus,
.btn:active:focus {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}
