/* Orcapilot hero — Xero-structure layout merged into the orcapilot palette + copy. */

:root {
  --bg: #021D2E;
  --surface: #04293E;
  --text: #FFFFFF;
  --text-muted: #9DAEB8;
  --accent: #A5D8E6;
  --accent-glow: #FC612D;
  --border: rgba(165, 216, 230, 0.10);
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ============ NAVBAR ============ */
nav {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 24px;
  margin-bottom: 14px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-logo img { height: 26px; width: auto; display: block; }

.nav-menu { display: contents; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-login, .btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.btn-login {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.btn-login:hover { background: rgba(255, 255, 255, 0.12); }
.btn-signup {
  background: #ffffff;
  color: var(--bg);
  border: 1px solid #ffffff;
  font-weight: 600;
}
.btn-signup:hover { opacity: 0.88; }

.menu-toggle {
  display: none;
  width: 24px;
  height: 14px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { bottom: 0; }
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO CARD ============ */
.hero-card {
  width: 100%;
  max-width: 1600px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
  background: #04161F;
  padding: 76px 40px 110px;
  min-height: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Signature gradient arc — recolored navy -> light-blue -> white, warm orcapilot inner glow */
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -70%,
      transparent 60%,
      rgba(120, 175, 205, 0.03) 63%,
      rgba(120, 175, 205, 0.08) 65%,
      rgba(120, 175, 205, 0.16) 67%,
      rgba(124, 180, 208, 0.28) 69%,
      rgba(128, 184, 211, 0.40) 71%,
      rgba(134, 189, 215, 0.52) 73%,
      rgba(142, 196, 220, 0.64) 75%,
      rgba(150, 204, 225, 0.74) 77%,
      rgba(160, 211, 230, 0.82) 79%,
      rgba(182, 226, 240, 0.92) 85%,
      rgba(208, 238, 248, 0.88) 87%,
      rgba(230, 247, 255, 0.92) 91%,
      rgba(245, 252, 255, 0.98) 93%,
      #ffffff 95%),
    radial-gradient(circle at 50% 35%, rgba(252, 97, 45, 0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% -70%, transparent 60%, black 78%);
  mask-image: radial-gradient(circle at 50% -70%, transparent 60%, black 78%);
}

/* ============ ICON PIPELINE ============ */
.icon-pipeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin-bottom: 52px;
  z-index: 1;
}

.beam-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}


.pipeline-line {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
}
.pipeline-line.right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.15));
}

.center-wrap { position: relative; display: flex; align-items: center; justify-content: center; }

.splash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 97, 45, 0.5) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.4);
  z-index: 2;
  pointer-events: none;
}
.splash.animate { animation: splash-anim 0.8s ease-out forwards; }

@keyframes splash-anim {
  0%   { transform: scale(0.4); opacity: 0.8; }
  40%  { opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Side nodes — neumorphic */
.icon-node {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0A2230;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.4),
    -4px -4px 10px rgba(255, 255, 255, 0.03),
    inset 1px 1px 1px rgba(255, 255, 255, 0.05),
    inset 4px 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-node::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dotted #0A2230;
  pointer-events: none;
}
.icon-node:hover {
  transform: translateY(-1px);
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.5),
    -5px -5px 12px rgba(255, 255, 255, 0.04),
    inset 1px 1px 1px rgba(255, 255, 255, 0.05),
    inset 4px 4px 8px rgba(0, 0, 0, 0.4);
}
.icon-node:active {
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.05),
    inset 4px 4px 8px rgba(0, 0, 0, 0.5);
}
.icon-node svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Center node */
.icon-node-center {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0B2738;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.5),
    -6px -6px 14px rgba(255, 255, 255, 0.04),
    inset 1px 1px 2px rgba(255, 255, 255, 0.06),
    inset 6px 6px 12px rgba(0, 0, 0, 0.5);
}
.icon-node-center .orca-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Side-light glows */
.node-light-right::before,
.node-light-left::before {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  pointer-events: none;
}
.node-light-right::before {
  background: radial-gradient(circle at right, rgba(200, 200, 200, 0.45) 0%, transparent 70%);
}
.node-light-left::before {
  background: radial-gradient(circle at left, rgba(165, 216, 230, 0.5) 0%, transparent 70%);
}
.node-light-right.active::before,
.node-light-left.active::before { opacity: 1; }

/* ============ HERO TEXT ============ */
.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 1;
}
.hero-heading {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-heading strong {
  display: block;
  font-weight: 400;
  margin-top: 4px;
  background: linear-gradient(to right, #ffffff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.6;
  margin: 22px auto 36px;
}
.btn-cta {
  display: inline-block;
  background: #ffffff;
  color: var(--bg);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ============ BRANDS / SYSTEMS ============ */
.brands {
  width: 100%;
  max-width: 1600px;
  display: flex;
  gap: 64px;
  padding: 32px 24px 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}
.brand-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ CONTENT SECTIONS ============ */
.section { width: 100%; max-width: 1600px; border-top: 1px solid var(--border); }
.section.alt { background: #04212F; }
.section-inner { max-width: 1120px; margin: 0 auto; padding: clamp(60px, 9vh, 116px) 28px; text-align: left; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1.2rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); opacity: 0.55; }

.section h2 {
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0 0 1.1rem;
  max-width: 44rem;
}
.section-lead {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 46rem;
}
.sub-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 2.2rem 0 1rem;
}

/* Flow chain */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; margin-top: 2.4rem; }
.flow-box {
  flex: 1 1 auto;
  min-width: 120px;
  border: 1px solid var(--border);
  border-top: 2px solid rgba(165, 216, 230, 0.5);
  border-radius: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.92rem;
}
.flow-box.hl { border-color: rgba(255, 255, 255, 0.28); border-top-color: #fff; background: rgba(255, 255, 255, 0.05); }
.flow-box.warn { border-color: rgba(252, 97, 45, 0.35); border-top-color: var(--accent-glow); background: rgba(252, 97, 45, 0.06); }
.flow-box .ftag { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--accent); margin-bottom: 0.4rem; }
.flow-arrow { align-self: center; color: rgba(157, 174, 184, 0.45); flex: 0 0 auto; }

/* One-row process flow: all boxes on a single line, shrinking to fit.
   Boxes get an opaque fill + z-index 2 so the flowing tokens (z 1) pass behind them. */
.flow-line { flex-wrap: nowrap; position: relative; }
.flow-line .flow-box { flex: 1 1 0; min-width: 0; font-size: 0.82rem; padding: 0.7rem 0.65rem; position: relative; z-index: 2; background: #07202C; }
.flow-line .flow-box.hl { background: #0c2937; }

/* Document tokens flowing through the process — above the arrows, behind the boxes */
.flow-token-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flow-token {
  position: absolute;
  top: 50%;
  left: 1%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
  background: rgba(8, 28, 42, 0.95);
  border: 1px solid rgba(165, 216, 230, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 14px rgba(165, 216, 230, 0.14);
  opacity: 0;
  will-change: left, transform, opacity;
  animation: flow-token 7s linear infinite;
}
.flow-token svg { width: 12px; height: 12px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@keyframes flow-token {
  0%   { left: 1%;  transform: translate(-50%, -50%) translateY(0)     scale(0.88); opacity: 0; }
  6%   { opacity: 1; }
  17%  { transform: translate(-50%, -50%) translateY(-10px) scale(0.78); opacity: 0.55; }
  33%  { transform: translate(-50%, -50%) translateY(10px)  scale(1.1);  opacity: 1; }
  50%  { transform: translate(-50%, -50%) translateY(0)     scale(0.95); opacity: 1; }
  67%  { transform: translate(-50%, -50%) translateY(-10px) scale(0.78); opacity: 0.55; }
  83%  { transform: translate(-50%, -50%) translateY(10px)  scale(1.1);  opacity: 1; }
  94%  { opacity: 1; }
  100% { left: 99%; transform: translate(-50%, -50%) translateY(0)     scale(0.88); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .flow-token { display: none; } }

@media (max-width: 768px) {
  .flow-line { flex-wrap: wrap; }
  .flow-line .flow-box { flex: 1 1 110px; font-size: 0.9rem; padding: 0.85rem 1rem; }
  .flow-token span { display: none; }
  .flow-token { padding: 5px; }
}

.legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1rem 0 1.4rem; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--text-muted); }
.legend span { display: flex; align-items: center; gap: 0.5rem; }
.legend i { width: 12px; height: 2px; display: inline-block; }

.callout {
  margin-top: 1rem;
  background: rgba(2, 47, 115, 0.20);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
}
.callout strong { font-weight: 600; color: var(--text); }
.callout span { color: var(--text-muted); }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.card { border: 1px solid var(--border); border-radius: 0.9rem; padding: 1.6rem; background: rgba(255, 255, 255, 0.02); }
.card.hl { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.045); }
.card h3 { font-weight: 600; font-size: 1.12rem; margin: 0 0 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; margin: 0; }
.card .ctag { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 0.8rem; }
.card .cnum { font-family: 'JetBrains Mono', monospace; font-size: 1.2rem; color: var(--accent); margin-bottom: 0.5rem; }
.card .chips { margin-top: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--accent); border: 1px solid rgba(165, 216, 230, 0.22); border-radius: 0.5rem; padding: 0.4rem 0.75rem; }

.banner {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem 1.8rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.banner h3 { font-weight: 600; font-size: 1.15rem; margin: 0 0 0.4rem; }
.banner p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Browser mock (section 04) */
.mock { margin-top: 2.4rem; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.mock-bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--border); }
.mock-bar .dots { display: flex; gap: 0.4rem; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 99px; background: rgba(157, 174, 184, 0.4); }
.mock-bar .url { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 0.4rem; padding: 0.25rem 0.8rem; }
.mock-body { display: flex; flex-wrap: wrap; }
.mock-board { flex: 1 1 340px; padding: 1.3rem; border-right: 1px solid var(--border); }
.mock-folder { flex: 1 1 300px; padding: 1.3rem; }
.mock-mono { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1rem; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.board-cols .col-h { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.ticket { border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.6rem; background: rgba(255, 255, 255, 0.02); margin-bottom: 0.5rem; }
.ticket.hl { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.ticket .tid { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: var(--accent); }
.ticket .tname { display: block; font-size: 0.8rem; color: var(--text); }
.folder-tabs { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.74rem; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 0.7rem; margin-bottom: 1rem; }
.folder-tabs .on { color: var(--text); }
.folder-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; font-size: 0.85rem; }
.folder-row span:first-child { color: var(--text-muted); }
.folder-row span:last-child { color: var(--text); }
.folder-note { margin: 1.1rem 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.folder-actions { margin-top: 1rem; display: flex; gap: 0.6rem; }
.folder-actions .fa-primary { background: #022F73; color: #fff; font-size: 0.8rem; border-radius: 0.45rem; padding: 0.45rem 1rem; }
.folder-actions .fa-ghost { border: 1px solid rgba(165, 216, 230, 0.22); color: var(--text-muted); font-size: 0.8rem; border-radius: 0.45rem; padding: 0.45rem 1rem; }

/* Pricing (section 08) */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.price { border: 1px solid var(--border); border-radius: 0.9rem; padding: 1.6rem; background: rgba(255, 255, 255, 0.02); }
.price h3 { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent); margin: 0 0 0.8rem; font-weight: 500; }
.price .big { font-family: 'JetBrains Mono', monospace; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); color: var(--accent-glow); line-height: 1; margin-bottom: 0.7rem; }
.price p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* Final CTA (section 11) */
.cta-final { text-align: center; }
.cta-final .eyebrow { justify-content: center; }
.cta-final h2, .cta-final .section-lead { margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.btn-cta-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--border); padding: 12px 28px; }
.btn-cta-ghost:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }
.contact-card { margin: 2.6rem auto 0; max-width: 360px; border: 1px solid var(--border); border-radius: 0.9rem; padding: 1.5rem; background: rgba(255, 255, 255, 0.02); text-align: left; }
.contact-card .ctag { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--accent); margin-bottom: 0.7rem; }
.contact-card h3 { font-weight: 600; font-size: 1.1rem; margin: 0 0 0.2rem; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0.3rem 0 0; line-height: 1.6; }
.contact-card a { color: var(--accent); }

@media (max-width: 768px) {
  .mock-board { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .icon-pipeline { gap: 0; margin-bottom: 40px; }
  .pipeline-line { width: 80px; }
}

@media (max-width: 768px) {
  nav { display: flex; justify-content: space-between; align-items: center; }
  .menu-toggle { display: block; }

  .nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  .nav-menu.active { right: 0; }
  .nav-links { flex-direction: column; gap: 28px; }
  .nav-links a { font-size: 1.1rem; }
  .nav-actions { flex-direction: column; width: 70%; gap: 14px; }
  .btn-login, .btn-signup { width: 100%; padding: 12px 18px; font-size: 0.95rem; }

  .icon-node { width: 38px; height: 38px; }
  .icon-node svg { width: 17px; height: 17px; }
  .icon-node-center { width: 52px; height: 52px; }
  .icon-node-center .orca-mark { width: 26px; height: 26px; }
  .hero-card { padding: 60px 20px 60px; min-height: auto; }
  .brands { gap: 32px; }
}

@media (max-width: 480px) {
  .hero-card { border-radius: 16px; }
  .brands { gap: 24px; }
}

/* ============ FOOTER ============ */
.site-footer {
  width: 100%;
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 24px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
}
.footer-copy { color: rgba(255, 255, 255, 0.3); font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }

/* ============ LEGAL PAGES ============ */
.legal {
  width: 100%;
  max-width: 820px;
  padding: 40px 24px 80px;
  text-align: left;
}
.legal h1 { font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 32px; }
.legal h2 { font-weight: 600; font-size: 1.15rem; margin: 36px 0 12px; color: var(--text); }
.legal h2:first-of-type { margin-top: 24px; }
.legal p { color: var(--text-muted); line-height: 1.7; margin: 0 0 14px; max-width: 65ch; }
.legal ul { margin: 0 0 14px 1.3rem; padding: 0; list-style: disc; }
.legal li { color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; }
.legal address { font-style: normal; color: rgba(255, 255, 255, 0.45); line-height: 1.7; margin-bottom: 14px; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--text); }
.legal .back-link { display: inline-block; margin-bottom: 28px; color: var(--text-muted); font-size: 0.85rem; }
.legal .back-link:hover { color: var(--text); }
