/* ══════════════════════════════════════════════════
   EQUATE — Global Styles  (css/styles.css)
   ══════════════════════════════════════════════════ */

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

/* ── THEME VARIABLES ── */
:root {
  --bg:            #ffffff;
  --bg-2:          #f5f5f5;
  --bg-3:          #ebebeb;
  --ink:           #0a0a0a;
  --ink-soft:      #3d3d3d;
  --ink-muted:     #7a7a7a;
  --border:        #e0e0e0;
  --border-strong: #b0b0b0;
  --salmon:        #e8735a;
  --salmon-light:  #fce8e3;
  --salmon-dark:   #c75a42;
  --radius:        8px;
  --radius-lg:     16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #1a1a1a;
    --bg-2:          #242424;
    --bg-3:          #2e2e2e;
    --ink:           #f0f0f0;
    --ink-soft:      #d4d4d4;
    --ink-muted:     #8a8a8a;
    --border:        #333333;
    --border-strong: #4a4a4a;
    --salmon-light:  #2a1510;
  }
}

html { scroll-behavior: smooth; }

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;    /* space above the buttons */
  margin-bottom: 28px; /* space below the buttons */
}

body {
  font-family: 'Epilogue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Clip horizontal overflow on non-docs pages without breaking sticky */
body:not(.docs-page) {
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between; /* keep this */
  padding: 0 48px;
  height: 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

nav.hidden { transform: translateY(-100%); }

.nav-logo {
  flex: 1;
  font-family: 'Epilogue', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; }
.logo-mark > img,
.footer-logo > img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* ← pushes buttons to the right edge */
  gap: 10px;
  flex: 1;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.15s; border: none;
  letter-spacing: 0.01em;
}

.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-3); color: var(--ink-soft); }

.btn-primary {
  background: var(--salmon); color: #fff;
  box-shadow: 0 1px 3px rgba(232,115,90,.3), 0 4px 12px rgba(232,115,90,.15);
}
.btn-primary:hover {
  background: var(--salmon-dark);
  box-shadow: 0 1px 3px rgba(232,115,90,.4), 0 6px 18px rgba(232,115,90,.2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--ink); background: var(--bg-2); }

.btn-ink { background: var(--ink); color: var(--bg); white-space: nowrap; }
.btn-ink:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ghost-ink {
  background: transparent; color: rgba(240,240,240,.5);
  border: 1px solid rgba(240,240,240,.15); white-space: nowrap;
}
.btn-ghost-ink:hover { background: rgba(240,240,240,.06); color: #f0f0f0; }

/* ── HERO ── */
.hero {
  padding: 130px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--salmon-light);
  color: var(--salmon);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--salmon);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 34px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -7px;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #fff;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.trust-text strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
}

.device-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 20px 60px rgba(0,0,0,.07);
  overflow: hidden;
  animation: floatUp 0.8s ease both;
  transition: background 0.3s ease, border-color 0.3s ease;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.device-card-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
}

.card-dots { display: flex; gap: 5px; }
.card-dot  { width: 10px; height: 10px; border-radius: 50%; }
.card-dot-r { background: #ff5f57; }
.card-dot-y { background: #febc2e; }
.card-dot-g { background: #28c840; }

.card-title-bar {
  flex: 1;
  background: var(--bg-3);
  border-radius: 5px;
  height: 20px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  transition: background 0.3s ease;
}

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

.site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: var(--radius);
  margin-bottom: 5px;
  border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.3s ease;
  animation: slideIn 0.5s ease both;
}

.site-row:nth-child(1) { animation-delay: 0.2s; }
.site-row:nth-child(2) { animation-delay: 0.35s; }
.site-row:nth-child(3) { animation-delay: 0.5s; }
.site-row:nth-child(4) { animation-delay: 0.65s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.site-row:hover { background: var(--bg-2); }

.site-info { display: flex; align-items: center; gap: 9px; }

.site-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-family: 'JetBrains Mono', monospace;
}

.site-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.site-meta {
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-top: 1px;
  font-family: 'JetBrains Mono', monospace;
}

.site-status { display: flex; align-items: center; gap: 6px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
}

.status-online  { background: #e8f5ee; color: #1a7a45; }
.status-warning { background: #fef6e8; color: #a05c00; }
.status-oob     { background: var(--salmon-light); color: var(--salmon-dark); }

.status-dot { width: 5px; height: 5px; border-radius: 50%; }
.status-online .status-dot  { background: #22c55e; }
.status-warning .status-dot { background: #f59e0b; }
.status-oob .status-dot     { background: var(--salmon); animation: pulse 1.5s infinite; }

.connect-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Epilogue', sans-serif;
}

.connect-btn:hover {
  background: var(--salmon);
  color: #fff;
  border-color: var(--salmon);
}

.mini-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 13px 15px;
  animation: floatUp 1s ease 0.6s both;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mini-card-uptime { bottom: -28px; left: -32px; min-width: 150px; }
.mini-card-alert  { top: -20px; right: -24px; min-width: 185px; }

.mini-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
  margin-bottom: 5px;
  font-family: 'JetBrains Mono', monospace;
}

.mini-value {
  font-family: 'Epilogue', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.mini-sub {
  font-size: 0.68rem;
  color: #22c55e;
  font-weight: 500;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.alert-row { display: flex; align-items: flex-start; gap: 9px; }

.alert-icon {
  width: 26px;
  height: 26px;
  background: #fef6e8;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* ── MONITORING PRODUCT PREVIEW ── */
.product-preview {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.preview-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.preview-toolbar,
.preview-summary,
.preview-site-row,
.preview-device-row {
  display: flex;
  align-items: center;
}

.preview-toolbar {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.preview-brand,
.preview-kicker,
.preview-label,
.preview-note,
.status-chip {
  font-family: 'JetBrains Mono', monospace;
}

.preview-brand { font-size: .78rem; font-weight: 700; color: var(--ink); }
.preview-kicker,
.preview-label { font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); }

.preview-summary {
  gap: 8px;
  padding: 13px;
  border-bottom: 1px solid var(--border);
}

.preview-stat {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.preview-stat strong { display: block; margin-top: 4px; font-size: 1.2rem; letter-spacing: -.04em; color: var(--ink); }
.preview-table { padding: 10px 13px 13px; }
.preview-table-title { margin: 4px 0 8px; font-size: .78rem; font-weight: 700; color: var(--ink); }

.preview-site-row,
.preview-device-row {
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.preview-site-copy,
.preview-device-copy { min-width: 0; }
.preview-site-copy strong,
.preview-device-copy strong { display: block; font-size: .76rem; color: var(--ink); }
.preview-site-copy span,
.preview-device-copy span { display: block; margin-top: 3px; font-size: .64rem; color: var(--ink-muted); }

.status-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .61rem;
  color: var(--ink-soft);
  background: var(--bg-2);
}

.status-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); }
.status-chip.is-healthy::before { background: var(--salmon); }
.status-chip.is-warning { border-color: var(--salmon); }
.status-chip.is-critical { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.status-chip.is-critical::before { background: var(--salmon); }
.status-chip.is-unknown { border-style: dashed; }

.preview-note { margin-top: 10px; font-size: .62rem; color: var(--ink-muted); text-align: right; }

/* ── ARCHITECTURE DIAGRAMS ── */
.architecture-section { padding: 80px 48px; border-top: 1px solid var(--border); }
.architecture-inner { max-width: 1200px; margin: 0 auto; }
.diagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }

.diagram-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.diagram-card h3 { margin: 8px 0; font-size: 1rem; letter-spacing: -.02em; color: var(--ink); }
.diagram-card p { font-size: .82rem; line-height: 1.65; color: var(--ink-muted); }

.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 22px 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.flow-node {
  display: grid;
  place-items: center;
  min-width: 104px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--bg-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  text-align: center;
  line-height: 1.45;
}

.flow-node.is-accent { border-color: var(--salmon); background: var(--salmon-light); }
.flow-arrow { display: grid; place-items: center; min-width: 18px; color: var(--salmon); font-weight: 700; }
.diagram-list { display: grid; gap: 8px; margin-top: 18px; list-style: none; }
.diagram-list li { font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.diagram-list strong { color: var(--ink); }

@media (max-width: 900px) {
  .diagram-grid { grid-template-columns: 1fr; }
  .architecture-section { padding: 60px 20px; }
}

@media (max-width: 540px) {
  .product-preview { padding: 10px; }
  .preview-summary { gap: 5px; }
  .preview-stat { padding: 7px; }
  .preview-stat strong { font-size: 1rem; }
}

.alert-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
}

.alert-desc {
  font-size: 0.65rem;
  color: var(--ink-muted);
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}

/* ── LOGOS ── */
.logos-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px;
  background: var(--bg-2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.logos-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
}

.logos-list {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--border-strong);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.logo-item:hover { color: var(--ink-muted); }

/* ── SECTION SHARED ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--salmon); margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
}
.section-label::before {
  content: ''; display: block; width: 14px; height: 1.5px;
  background: var(--salmon); border-radius: 2px;
}

.section-heading {
  font-family: 'Epilogue', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em; color: var(--ink); line-height: 1.12; margin-bottom: 14px;
}

.section-sub {
  font-size: 0.975rem; color: var(--ink-muted); font-weight: 400;
  line-height: 1.75; max-width: 500px; margin-bottom: 56px;
}

/* ── FEATURES ── */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.feature-tile {
  background: var(--bg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.feature-tile:hover { background: var(--bg-2); }

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s ease;
}

.feature-tile:hover .feature-icon-wrap {
  border-color: var(--salmon);
  box-shadow: 0 0 0 3px var(--salmon-light);
}

.feature-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--salmon);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--border);
}

.step { padding: 0 20px; text-align: center; }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--salmon);
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.step-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
}

.cta-box {
  background: var(--ink-muted);
  border-radius: 20px;
  padding: 68px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,115,90,.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--salmon);
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
}

.cta-heading {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 0.9rem;
  color: rgba(240,240,240,.45);
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  transition: border-color 0.3s ease;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-logo {
  font-family: 'Epilogue', sans-serif; font-weight: 800;
  font-size: 0.95rem; color: var(--ink); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.footer-copy {
  font-size: 0.75rem; color: var(--ink-muted); font-family: 'JetBrains Mono', monospace;
  text-align: right;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
}
.footer-links a { font-size: 0.78rem; color: var(--ink-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }

/* ── EYEBROW ── */
.eyebrow-dot {
  width: 5px; height: 5px; background: var(--salmon);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── MODAL ── */
.modal-wrap {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
}
.modal-wrap.open { pointer-events: all; opacity: 1; }

.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
}

.modal {
  position: relative; z-index: 1;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: 0 24px 80px rgba(0,0,0,.18);
  padding: 38px; width: 100%; max-width: 440px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease;
}
.modal-wrap.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid var(--border); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  color: var(--ink-muted); font-size: 1rem; transition: all 0.15s;
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }

.modal-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--salmon-light); color: var(--salmon);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  margin-bottom: 14px; font-family: 'JetBrains Mono', monospace;
}

.modal-heading {
  font-family: 'Epilogue', sans-serif; font-size: 1.45rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 7px;
}

.modal-sub { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: 26px; }

.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.form-label { font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); font-family: 'JetBrains Mono', monospace; }
.form-input {
  width: 100%; padding: 10px 13px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-family: 'Epilogue', sans-serif;
  font-size: 0.88rem; color: var(--ink); background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.3s ease; outline: none;
}
.form-input:focus { border-color: var(--salmon); box-shadow: 0 0 0 3px var(--salmon-light); }
.form-input::placeholder { color: var(--ink-muted); }

.form-submit { width: 100%; padding: 11px; margin-top: 4px; }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-success { text-align: center; padding: 14px 0; }
.success-icon {
  width: 50px; height: 50px; background: #e8f5ee; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.3rem;
}
.success-heading { font-family: 'Epilogue', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.02em; }
.success-sub { font-size: 0.84rem; color: var(--ink-muted); line-height: 1.65; }

.form-error-msg {
  display: flex; align-items: flex-start; gap: 9px;
  background: #fff2f2; border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 11px 13px; margin-bottom: 10px;
  font-size: 0.8rem; color: #b91c1c; line-height: 1.5;
}
.form-divider { border: none; border-top: 1px solid var(--border); margin: 22px 0; }

.modal-trust {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.73rem; color: var(--ink-muted); font-family: 'JetBrains Mono', monospace;
}
.modal-trust svg {
  width: 13px; height: 13px; stroke: var(--ink-muted); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
  .device-card {
    box-shadow: 0 4px 6px rgba(0,0,0,.3), 0 20px 60px rgba(0,0,0,.4);
  }

  .status-online  { background: #0d2a1a; color: #4ade80; }
  .status-warning { background: #2a1f00; color: #fbbf24; }
  .status-oob     { background: #2a1510; color: var(--salmon); }

  .mini-card { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
  .alert-icon { background: #2a1f00; }

  .cta-box {
    background: var(--bg-3);
    border: 1px solid var(--border);
  }

  .cta-heading { color: var(--ink); }
  .cta-sub { color: var(--ink-muted); }
  .success-icon { background: #0d2a1a; }
  .form-error-msg { background: #2a0d0d; border-color: #7f1d1d; color: #f87171; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 110px 20px 60px;
  }

  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .cta-box {
    flex-direction: column;
    padding: 40px 28px;
  }

  .logos-section,
  .features-section,
  .how-section,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
