/* ============================================================
 * HIVE Components — custom widgets (Hero phone, IAM cards, etc.)
 * ============================================================ */

/* ── Hero phone mockup ───────────────────────────── */
.hive-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hive-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hive-orbit::before,
.hive-orbit::after {
  content: '';
  position: absolute;
  border: 1px dashed var(--chip-border);
  border-radius: 50%;
  opacity: .7;
  animation: hiveOrbitSpin 40s linear infinite;
}
.hive-orbit::before { width: 440px; height: 440px; }
.hive-orbit::after { width: 560px; height: 560px; animation-duration: 60s; animation-direction: reverse; border-style: dotted; opacity: .5; }
@keyframes hiveOrbitSpin { to { transform: rotate(360deg); } }

.hive-orbit-node {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--chip-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-card);
  animation: hiveNodeFloat 4s ease-in-out infinite;
}
.hive-orbit-node svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hive-orbit-node.n1 { top: 6%;   right: 6%;  animation-delay: 0s; }
.hive-orbit-node.n2 { bottom: 16%; right: 2%; animation-delay: 1s; }
.hive-orbit-node.n3 { top: 22%;  left: 2%;   animation-delay: 2s; }
.hive-orbit-node.n4 { bottom: 6%;  left: 12%; animation-delay: 3s; }
@keyframes hiveNodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hive-phone {
  position: relative;
  width: 300px;
  height: 610px;
  background: #0b0b0d;
  border-radius: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.55),
    0 0 0 1px var(--green-tint-10),
    inset 0 1px 0 rgba(255,255,255,0.1);
  padding: 10px;
  animation: hivePhoneFloat 6s ease-in-out infinite;
	cursor: default !important;
}
@keyframes hivePhoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}
.hive-phone::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

.hive-phone-screen {
  width: 100%; height: 100%;
  background: var(--mint);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hive-status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.hive-app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 18px;
}
.hive-brand-tile {
  width: 44px; height: 44px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(74,156,74,0.20) 0%, rgba(74,156,74,0.05) 100%);
  border: 1px solid rgba(74,156,74,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hive-brand-tile svg { stroke: var(--green); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; width: 22px; height: 22px; }
.hive-app-title {
  flex: 1; font-size: 18px; font-weight: 500; color: var(--navy);
  letter-spacing: -.2px; line-height: 1.15;
}
.hive-app-sub { font-size: 12px; color: var(--steel); margin-top: 1px; }

.hive-icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(232,240,233,0.8);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.hive-icon-btn svg { stroke: var(--steel); stroke-width: 1.5; fill: none; width: 16px; height: 16px; stroke-linecap: round; stroke-linejoin: round; }

.hive-search-field { margin: 0 20px 14px; position: relative; }
.hive-search-field input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--border-mint);
  background: rgba(232,240,233,0.5);
  border-radius: var(--r-lg);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--navy);
  outline: none;
}
.hive-search-field svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  stroke: var(--steel); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.hive-otp-stack { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.hive-otp-row {
  background: #fff;
  border: 1px solid var(--border-mint);
  border-radius: var(--r-lg);
  padding: 14px;
  transition: background .2s;
}
.hive-otp-row.active {
  border-color: rgba(74,156,74,0.3);
  box-shadow: 0 6px 14px -8px rgba(74,156,74,0.3);
}
.hive-otp-row-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hive-otp-tile {
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  background: rgba(232,240,233,0.8);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hive-otp-tile svg { stroke: var(--navy); stroke-width: 1.5; fill: none; width: 16px; height: 16px; stroke-linecap: round; stroke-linejoin: round; }
.hive-otp-name { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.15; }
.hive-otp-email { font-size: 11px; color: var(--steel); margin-top: 1px; }
.hive-otp-meta { flex: 1; min-width: 0; }
.hive-otp-copy {
  width: 28px; height: 28px;
  border-radius: var(--r-md);
  background: rgba(232,240,233,0.8);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.hive-otp-copy svg { stroke: var(--steel); stroke-width: 1.5; fill: none; width: 14px; height: 14px; stroke-linecap: round; stroke-linejoin: round; }
.hive-otp-bottom { display: flex; justify-content: space-between; align-items: center; }
.hive-otp-code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 1.2px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.hive-otp-right {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--steel);
}
.hive-ring {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(var(--green) var(--pct, 80%), rgba(74,156,74,0.15) var(--pct, 80%));
  -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px);
  mask: radial-gradient(circle, transparent 6px, #000 7px);
}
.hive-fab {
  position: absolute; right: 22px; bottom: 26px;
  width: 52px; height: 52px;
  border-radius: 9999px;
  background: var(--green);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-fab);
}
.hive-fab svg { stroke: #fff; stroke-width: 2; fill: none; width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }

/* ── Hero background layers (optional container bg) ── */
.hive-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, var(--green-tint-20) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 85% 70%, var(--green-tint-10) 0%, transparent 60%);
  pointer-events: none;
}
.hive-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 50%, black 0%, transparent 80%);
  animation: hiveGridDrift 40s linear infinite;
  pointer-events: none;
}
@keyframes hiveGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 60px 60px, 60px 60px; }
}

.hive-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  color: var(--chip-fg);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
}
.hive-hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: hivePulse 2s ease-in-out infinite;
}
@keyframes hivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}

/* ── IAM Card ── */
.hive-iam-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
  height: 100%;
}
.hive-iam-card:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
  border-color: var(--chip-border);
  box-shadow: var(--shadow-card);
}
.hive-iam-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .3s, background .3s;
}
.hive-iam-card:hover .hive-iam-icon { transform: scale(1.08) rotate(-4deg); }
.hive-iam-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hive-iam-card h3 { font-size: 16px; font-weight: 500; color: var(--fg); margin: 0 0 .5rem; letter-spacing: -.01em; }
.hive-iam-card p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; margin: 0; }

/* ── Client card ── */
.hive-client-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: all .25s;
}
.hive-client-card:hover {
  border-color: var(--chip-border);
  transform: translateY(-2px);
  background: var(--card-hover);
}
.hive-client-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* ── Team card ── */
.hive-team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
  height: 100%;
}
.hive-team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright), var(--green-deep));
  background-size: 200% 100%;
  animation: hiveShimmer 4s linear infinite;
}
@keyframes hiveShimmer { to { background-position: -200% 0; } }
.hive-team-card:hover { background: var(--card-hover); }
.hive-team-card h3 { font-size: 17px; font-weight: 500; color: var(--fg); margin: 0 0 .75rem; letter-spacing: -.01em; }
.hive-team-card p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.65; margin: 0 0 1.5rem; }
.hive-team-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.hive-tag {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  color: var(--chip-fg);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ── Contact item ── */
.hive-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color .25s, background .25s;
}
.hive-contact-item:hover {
  border-color: var(--chip-border);
  background: var(--card-hover);
}
.hive-contact-item-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  display: flex; align-items: center; justify-content: center;
}
.hive-contact-item-icon svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hive-contact-item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.hive-contact-item-value {
  font-size: 14.5px;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
}
a.hive-contact-item-value:hover { color: var(--primary); }

/* ── Stat widget ── */
.hive-stat-num { font-size: 1.9rem; font-weight: 500; color: var(--fg); letter-spacing: -.02em; line-height: 1; }
.hive-stat-num .unit { color: var(--primary); }
.hive-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Theme toggle (standalone widget) ── */
.hive-theme-toggle {
  width: 44px; height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
  padding: 0;
}
.hive-theme-toggle:hover, .hive-theme-toggle:focus, .hive-theme-toggle:active {
  border-color: var(--chip-border);
  background: var(--chip-bg) !important;
  color: var(--primary);
}
.hive-theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.5,0,.2,1.4); }
.hive-theme-toggle .icon-sun { display: none; }
.hive-theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .hive-theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .hive-theme-toggle .icon-moon { display: none; }
.hive-theme-toggle:hover svg { transform: rotate(-18deg) scale(1.08); }

/* ── Logo swap ── */
.hive-logo img { display: block; height: 30px; width: auto; }
.hive-logo .light-only { display: none; }
:root[data-theme="light"] .hive-logo .dark-only { display: none; }
:root[data-theme="light"] .hive-logo .light-only { display: block; }

.hive-brand-mark .light-only { display: none; }
:root[data-theme="light"] .hive-brand-mark .dark-only { display: none; }
:root[data-theme="light"] .hive-brand-mark .light-only { display: block; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hive-hero-visual { min-height: 580px; margin-top: 1rem; }
  .hive-orbit::before { width: 380px; height: 380px; }
  .hive-orbit::after { width: 480px; height: 480px; }
}
@media (max-width: 700px) {
  .hive-phone { width: 270px; height: 555px; }
}



/* ============================================================
 * PLATFORM section — product cards (IGA / AM / MFA / PAM)
 * ============================================================ */
.hive-product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 2rem 1.75rem;
  overflow: hidden;
  transition: border-color .35s, background .35s, transform .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hive-product-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: var(--prod-tint, transparent);
  opacity: 0;
  transition: opacity .4s;
}
.hive-product-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--prod-color, var(--primary));
  opacity: .25;
  transition: opacity .35s;
}
.hive-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--prod-border, var(--chip-border));
  box-shadow: var(--shadow-card);
}
.hive-product-card:hover::before { opacity: 1; }
.hive-product-card:hover::after  { opacity: .8; }

.hive-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.hive-product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--prod-icon-bg, var(--chip-bg));
  border: 1px solid var(--prod-border, var(--chip-border));
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s;
}
.hive-product-card:hover .hive-product-icon { transform: scale(1.06) rotate(-4deg); }
.hive-product-icon svg {
  width: 26px; height: 26px;
  stroke: var(--prod-color, var(--primary));
  fill: none;
  stroke-width: 1.6;
}

.hive-product-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
  background: var(--prod-icon-bg, var(--chip-bg));
  border: 1px solid var(--prod-border, var(--chip-border));
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--prod-color, var(--primary));
  white-space: nowrap;
}
.hive-product-pill .pdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--prod-color, var(--primary));
  box-shadow: 0 0 8px var(--prod-color, var(--primary));
}
.hive-product-pill.is-soon {
  color: var(--fg-dim);
  background: rgba(127,127,127,0.08);
  border-color: rgba(127,127,127,0.2);
}
.hive-product-pill.is-soon .pdot { background: var(--fg-dim); box-shadow: none; }

.hive-product-acronym {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--prod-color, var(--primary));
  font-weight: 600;
  margin-bottom: 6px;
}
.hive-product-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: .65rem;
}
.hive-product-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 44ch;
}

.hive-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  position: relative;
  z-index: 1;
}
.hive-product-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
}
.hive-product-feature svg {
  width: 11px; height: 11px;
  stroke: var(--prod-color, var(--primary));
  fill: none;
  stroke-width: 2.2;
}

/* Per-product palette */
.hive-prod-iga {
  --prod-color:    #6bc46b;
  --prod-icon-bg:  rgba(107,196,107,0.12);
  --prod-border:   rgba(107,196,107,0.3);
  --prod-tint:     radial-gradient(ellipse 80% 90% at 100% 0%, rgba(107,196,107,0.08), transparent 60%);
}
.hive-prod-am {
  --prod-color:    #4fa3e3;
  --prod-icon-bg:  rgba(79,163,227,0.12);
  --prod-border:   rgba(79,163,227,0.3);
  --prod-tint:     radial-gradient(ellipse 80% 90% at 100% 0%, rgba(79,163,227,0.08), transparent 60%);
}
.hive-prod-mfa {
  --prod-color:    #d4a657;
  --prod-icon-bg:  rgba(212,166,87,0.12);
  --prod-border:   rgba(212,166,87,0.32);
  --prod-tint:     radial-gradient(ellipse 80% 90% at 100% 0%, rgba(212,166,87,0.08), transparent 60%);
}
.hive-prod-pam {
  --prod-color:    #c87bd1;
  --prod-icon-bg:  rgba(200,123,209,0.12);
  --prod-border:   rgba(200,123,209,0.3);
  --prod-tint:     radial-gradient(ellipse 80% 90% at 100% 0%, rgba(200,123,209,0.08), transparent 60%);
}

/* ============================================================
 * Footer with legal columns
 * ============================================================ */
.hive-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding: 4rem 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: background .35s, border-color .35s;
}
.hive-footer-brand-col {
  display: flex; flex-direction: column; gap: 1rem; max-width: 320px;
}
.hive-footer-brand-col img { height: 28px; opacity: .95; }
.hive-footer-tagline {
  font-size: 13px; color: var(--fg-muted); line-height: 1.55;
}
.hive-footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chip-fg);
  width: fit-content;
}
.hive-footer-status .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: hiveFooterPulse 2s ease-out infinite;
}
@keyframes hiveFooterPulse {
  0%   { box-shadow: 0 0 0 0 rgba(107,196,107,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(107,196,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(107,196,107,0); }
}
.hive-footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}
.hive-footer-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; padding: 0; margin: 0; }
.hive-footer-list a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.hive-footer-list a:hover { color: var(--primary); }

.hive-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hive-footer-copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: .02em;
}
.hive-footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hive-footer-legal-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s;
}
.hive-footer-legal-links a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .hive-footer { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding: 3rem 1.5rem 2rem; }
  .hive-footer-brand-col { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 700px) {
  .hive-footer { grid-template-columns: 1fr; gap: 32px; }
  .hive-footer-bottom { flex-direction: column; align-items: flex-start; }
}
