﻿/* =============================================================
   AcreTrust Ghana - Design System
   ============================================================= */

/* 1. Variables - Dark (default)
-------------------------------------------------------------- */
:root {
  --shell-rgb:        11, 12, 14;
  --obsidian:       #0B0C0E;
  --obsidian-2:     #131518;
  --obsidian-3:     #1C1F24;
  --border:         rgba(255,255,255,0.08);
  --border-strong:  rgba(255,255,255,0.14);
  --muted:          #6B7280;
  --stone:          #9CA3AF;
  --cream:          #F5F4F0;
  --gold:           #C9963A;
  --gold-light:     #E0B868;
  --gold-pale:      rgba(201,150,58,0.10);
  --green:          #16A34A;
  --green-pale:     rgba(22,163,74,0.12);
  --display:        'Cormorant Garamond', Georgia, serif;
  --sans:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:           cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-out:       cubic-bezier(0.0,0.0,0.2,1);
  --ease-spring:    cubic-bezier(0.34,1.56,0.64,1);
}

/* 1b. Variables - Light override
-------------------------------------------------------------- */
[data-theme="light"] {
  --obsidian:       #F6F4EF;
  --obsidian-2:     #FFFFFF;
  --obsidian-3:     #EDE9DF;
  --border:         rgba(0,0,0,0.08);
  --border-strong:  rgba(0,0,0,0.14);
  --muted:          #6B7280;
  --stone:          #374151;
  --cream:          #111827;
  --gold-pale:      rgba(201,150,58,0.10);
  --green-pale:     rgba(22,163,74,0.10);
}

/* 2. Base
-------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.gb-dark {
  background: var(--obsidian);
  color: var(--cream);
}

/* 3. Nav
-------------------------------------------------------------- */
.gb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.gb-nav.scrolled,
.gb-nav.solid {
  background: rgba(var(--shell-rgb), 0.96);
  border-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gb-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-bottom: 0;
}
/* Image logo variant */
.gb-logo-img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .gb-logo-img { height: 40px; }
}

.gb-logo-mark {
  width: var(--logo-mark-size, 40px);
  height: var(--logo-mark-size, 40px);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gb-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gb-logo-mark-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 9px;
}
.gb-logo-wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.gb-logo-prefix {
  font-weight: 500;
  color: var(--cream);
}
.gb-logo-accent {
  font-weight: 700;
  color: var(--gold);
}

/* Site-specific logo marks & wordmarks */
.gb-logo-mark--nest { color: var(--gold); }
.gb-logo-mark--key { color: #FBBF24; }
.gb-logo-mark--brick { color: #FB923C; }
.gb-logo-mark--anchor { color: #38BDF8; }
.gb-logo-mark--compass { color: #34D399; }

.gb-logo--key .gb-logo-prefix { color: #FBBF24; font-weight: 600; }
.gb-logo--key .gb-logo-accent { color: var(--cream); font-weight: 500; font-style: italic; }

.gb-logo--brick .gb-logo-wordmark {
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gb-logo--brick .gb-logo-prefix,
.gb-logo--brick .gb-logo-accent { font-weight: 800; color: var(--cream); }
.gb-logo--brick .gb-logo-accent { color: #FB923C; letter-spacing: 0.08em; }

.gb-logo--anchor .gb-logo-wordmark { letter-spacing: -0.03em; }
.gb-logo--anchor .gb-logo-prefix { font-weight: 400; color: var(--cream); }
.gb-logo--anchor .gb-logo-accent { color: #38BDF8; font-weight: 700; }

.gb-logo--compass .gb-logo-wordmark { font-size: 1.15rem; }
.gb-logo--compass .gb-logo-prefix {
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72em;
  color: var(--stone);
}
.gb-logo--compass .gb-logo-accent { color: #34D399; font-weight: 800; letter-spacing: -0.04em; }

.gb-logo--compact .gb-logo-wordmark { font-size: 1.05rem; }
.gb-footer-grid > div:first-child .gb-logo {
  margin-bottom: 0.75rem;
}
.gb-logo--footer .gb-logo-wordmark { font-size: 1.15rem; }
.gb-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1;
}
.gb-logo-text span { color: var(--gold); }

.gb-nav-links {
  display: flex; align-items: center; gap: 0.125rem;
  list-style: none; margin: 0; padding: 0;
}
.gb-nav-links a {
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 7px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.gb-nav-links a:hover { color: var(--cream); background: rgba(255,255,255,0.06); }

.gb-nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.gb-nav-sign-in {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--stone);
  text-decoration: none;
  padding: 0.45rem 0.875rem;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.gb-nav-sign-in:hover { color: var(--cream); background: rgba(255,255,255,0.06); }

.gb-nav-cta {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--gold);
  color: var(--obsidian) !important;
  font-size: 0.8125rem; font-weight: 700;
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.gb-nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,150,58,0.28);
}

/* Right controls wrapper */
.gb-nav-right-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile toggle */
.gb-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  line-height: 1;
  font-size: 1.1rem;
  transition: background 0.18s;
  min-width: 40px; min-height: 40px;
  align-items: center; justify-content: center;
}
.gb-menu-btn:hover { background: var(--obsidian-3); }

.gb-mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(13,14,16,0.98);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.5rem 1.5rem 1.25rem;
  z-index: 99;
  /* slide-down animation */
  transform-origin: top;
  animation: none;
}
.gb-mobile-nav.open {
  display: block;
  animation: gbNavSlideDown 0.22s cubic-bezier(0.0,0.0,0.2,1) forwards;
}
@keyframes gbNavSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gb-mobile-nav a {
  display: flex;
  align-items: center;
  padding: 0.8rem 0;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
  min-height: 48px; /* touch-target */
}
.gb-mobile-nav a:last-of-type { border-bottom: none; }
.gb-mobile-nav a:active { color: var(--gold); background: rgba(201,150,58,0.06); }
.gb-mobile-nav a:hover  { color: var(--cream); }
.gb-mobile-cta-wrap { margin-top: 1rem; padding-bottom: 0.5rem; }
.gb-mobile-cta {
  display: block; text-align: center;
  background: var(--gold); color: var(--obsidian) !important;
  padding: 0.9rem; border-radius: 12px;
  font-size: 0.9375rem; font-weight: 700;
  text-decoration: none;
  min-height: 48px;
  line-height: 1.2;
}

/* Light-mode mobile nav */
[data-theme="light"] .gb-mobile-nav {
  background: rgba(246,244,239,0.99);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .gb-mobile-nav a { color: #374151; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .gb-mobile-nav a:hover { color: #111827; }

@media (max-width: 900px) {
  .gb-nav-links, .gb-nav-actions { display: none; }
  .gb-menu-btn { display: inline-flex; }
}

/* 3b. Mobile bottom navigation
-------------------------------------------------------------- */
.gb-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  /* Pad for fixed bottom nav on mobile */
  body.gb-has-bottom-nav {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .gb-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    align-items: stretch;
    justify-content: space-around;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    background: rgba(var(--shell-rgb), 0.97);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .gb-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 3.25rem;
    padding: 0.35rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
  }

  .gb-bottom-nav-item:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.05);
  }

  .gb-bottom-nav-item.is-active {
    color: var(--gold);
    background: var(--gold-pale);
  }

  /* Invest CTA button - gold pill */
  .gb-bottom-nav-item.is-invest {
    color: var(--obsidian);
    background: var(--gold);
    border-radius: 14px;
    padding: 0.3rem 0.625rem;
    font-weight: 700;
    min-width: 3.5rem;
    box-shadow: 0 4px 14px rgba(201,150,58,0.35);
    transition: background 0.2s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
  }
  .gb-bottom-nav-item.is-invest:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,150,58,0.45);
    color: var(--obsidian);
  }
  .gb-bottom-nav-item.is-invest.is-active {
    background: var(--gold-light);
    color: var(--obsidian);
  }
  .gb-bottom-nav-item.is-invest .gb-bottom-nav-icon svg {
    stroke-width: 2.5;
  }

  .gb-bottom-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
  }

  .gb-bottom-nav-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
  }

  .gb-bottom-nav-item.is-active .gb-bottom-nav-icon svg {
    stroke-width: 2.25;
  }

}

/* Lift chat widget + cookie banner above bottom nav */
@media (max-width: 900px) {
  body.gb-has-bottom-nav .accrabrick-assistant-root {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  body.gb-has-bottom-nav #gb-cookie-banner {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

[data-theme="light"] .gb-bottom-nav {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gb-bottom-nav-item {
  color: #6B7280;
}

[data-theme="light"] .gb-bottom-nav-item:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gb-bottom-nav-item.is-active {
  color: var(--gold);
  background: var(--gold-pale);
}

/* 4. Buttons
-------------------------------------------------------------- */
.gb-btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--obsidian);
  font-size: 0.9375rem; font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.22s, transform 0.22s var(--ease-spring), box-shadow 0.22s;
}
.gb-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,150,58,0.28);
}
.gb-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--cream);
  font-size: 0.9375rem; font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: background 0.2s, border-color 0.2s;
}
.gb-btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }

/* 5. Hero
-------------------------------------------------------------- */
.gb-hero {
  min-height: 100vh;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gb-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.gb-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: grayscale(40%) brightness(0.7);
}
.gb-hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--shell-rgb), 0.97) 0%, rgba(var(--shell-rgb), 0.80) 60%, rgba(var(--shell-rgb), 0.92) 100%);
}
/* Subtle noise grain for premium feel */
.gb-hero-bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
/* Radial gold glow */
.gb-hero-glow {
  position: absolute;
  top: 30%; left: 55%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,150,58,0.06) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gb-hero-body {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 5rem;
  align-items: center;
  flex: 1;
}

.gb-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,150,58,0.3);
  background: rgba(201,150,58,0.07);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.875rem;
}
.gb-hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: gb-pulse 2.2s ease-in-out infinite;
}
@keyframes gb-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.75); }
}

.gb-hero-h1 {
  font-family: var(--display);
  font-size: clamp(3.25rem, 6.5vw, 5.75rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.gb-hero-h1 em { font-style: italic; color: var(--gold); }

.gb-hero-sub {
  font-size: 1.0625rem; line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.gb-hero-ctas {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.gb-hero-stats {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(20,21,24,0.7);
  backdrop-filter: blur(10px);
  width: fit-content;
  overflow: hidden;
}
.gb-stat-cell {
  padding: 0.875rem 1.375rem;
  border-right: 1px solid var(--border);
}
.gb-stat-cell:last-child { border-right: none; }
.gb-stat-num {
  font-size: 1.1875rem; font-weight: 800;
  color: var(--cream); letter-spacing: -0.03em;
  line-height: 1.2;
}
.gb-stat-lbl {
  font-size: 0.625rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em; margin-top: 0.2rem;
}

/* Hero right card */
.gb-hero-card {
  background: var(--obsidian-2);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gb-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.gb-hero-card-img {
  position: relative; height: 240px; overflow: hidden;
}
.gb-hero-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gb-hero-card:hover .gb-hero-card-img img { transform: scale(1.06); }
.gb-hero-card-img-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--obsidian-2) 0%, transparent 60%);
}
.gb-hero-card-body { padding: 1.375rem; }
.gb-hero-card-tag {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.gb-hero-card-name {
  font-family: var(--display);
  font-size: 1.375rem; font-weight: 600;
  color: var(--cream); line-height: 1.2;
  margin-bottom: 0.3rem;
}
.gb-hero-card-loc {
  font-size: 0.8rem; color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.gb-hero-card-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.625rem; margin-bottom: 1.125rem;
}
.gb-metric {
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
}
.gb-metric-lbl {
  font-size: 0.5875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.2rem;
}
.gb-metric-val {
  font-size: 0.9375rem; font-weight: 700;
  color: var(--cream);
}
.gb-metric-val.positive { color: #22C55E; }

.gb-funded-row {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; margin-bottom: 0.4rem;
}
.gb-funded-pct { font-weight: 700; color: var(--cream); }
.gb-funded-investors { color: var(--muted); }
.gb-bar {
  height: 3px; background: var(--obsidian-3);
  border-radius: 3px; overflow: hidden;
}
.gb-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
}

/* Hero search */
.gb-search {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}
.gb-search-inner {
  background: var(--obsidian-2);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.25rem 1.375rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
.gb-sf label {
  display: block;
  font-size: 0.5875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.45rem;
}
.gb-sf select, .gb-sf input {
  width: 100%;
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  color: var(--cream);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.625rem 0.875rem;
  border-radius: 9px;
  outline: none;
  appearance: none;
  font-family: var(--sans);
  transition: border-color 0.2s;
}
.gb-sf select:focus, .gb-sf input:focus { border-color: var(--gold); }
.gb-sf select option { background: #1C1F24; color: var(--cream); }
.gb-search-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--gold); color: var(--obsidian);
  font-size: 0.875rem; font-weight: 700;
  padding: 0.625rem 1.375rem;
  border-radius: 9px;
  border: none; cursor: pointer;
  height: 40px;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
  white-space: nowrap;
}
.gb-search-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* 6. Ticker
-------------------------------------------------------------- */
.gb-ticker {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.gb-ticker-track {
  display: inline-flex;
  animation: gb-ticker 35s linear infinite;
}
.gb-ticker-track:hover { animation-play-state: paused; }
.gb-ticker-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--stone);
  border-right: 1px solid var(--border);
}
.gb-ticker-item:last-child { border-right: none; }
.gb-ticker-roi { color: #22C55E; font-weight: 700; }
.gb-ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
@keyframes gb-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 7. Property Cards
-------------------------------------------------------------- */
.gb-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--obsidian-2);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gb-card:hover {
  border-color: rgba(201,150,58,0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.gb-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.gb-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
  filter: brightness(0.88);
}
.gb-card:hover .gb-card-photo img { transform: scale(1.07); }

.gb-card-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,7,8,0.96) 0%,
    rgba(6,7,8,0.30) 55%,
    transparent 100%
  );
}
.gb-card-badges {
  position: absolute; top: 0.875rem; left: 0.875rem; right: 0.875rem;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.gb-card-type {
  font-size: 0.59rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #F5F4F0; /* always light - sits on dark photo overlay */
  background: rgba(6,7,8,0.68);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
.gb-card-roi-pill {
  font-size: 0.8125rem; font-weight: 800;
  color: #22C55E;
  background: rgba(6,7,8,0.68);
  border: 1px solid rgba(34,197,94,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
.gb-card-photo-bottom {
  position: absolute; bottom: 0.875rem; left: 0.875rem; right: 0.875rem;
}
.gb-card-val-lbl {
  font-size: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(201,150,58,0.85); /* always gold - on dark overlay */
}
.gb-card-val {
  font-size: 1.25rem; font-weight: 800;
  color: #F5F4F0; /* always light - on dark overlay */
  letter-spacing: -0.025em; line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gb-card-body {
  padding: 1.125rem 1.25rem 1.25rem;
  flex: 1; display: flex; flex-direction: column;
}
.gb-card-title {
  font-family: var(--display);
  font-size: 1.1875rem; font-weight: 600;
  color: var(--cream); line-height: 1.2;
  margin-bottom: 0.25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.gb-card-loc {
  font-size: 0.8rem; color: var(--muted);
  margin-bottom: 0.875rem;
  display: flex; align-items: center; gap: 0.25rem;
}
.gb-card-loc svg, .gb-card-loc [data-lucide] {
  width: 12px; height: 12px; flex-shrink: 0;
}

.gb-card-progress { margin-bottom: 1rem; }
.gb-card-progress-head {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; margin-bottom: 0.375rem;
}
.gb-card-pct { font-weight: 700; color: var(--cream); }
.gb-card-investors { color: var(--muted); }
.gb-card-bar {
  height: 3px; background: var(--obsidian-3);
  border-radius: 3px; overflow: hidden;
}
.gb-card-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
}

.gb-card-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem; margin-bottom: 1rem;
}
.gb-card-meta-item {
  background: var(--obsidian-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
}
.gb-card-meta-lbl {
  font-size: 0.575rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.15rem;
}
.gb-card-meta-val {
  font-size: 0.9rem; font-weight: 700; color: var(--cream);
}
.gb-card-meta-val.positive { color: #22C55E; }

.gb-card-action { margin-top: auto; }
.gb-card-invest {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  width: 100%;
  padding: 0.7rem;
  background: var(--gold-pale);
  border: 1px solid rgba(201,150,58,0.22);
  color: var(--gold);
  font-size: 0.875rem; font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gb-card-invest:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}
.gb-card-invest.disabled {
  background: var(--obsidian-3);
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
}

/* 8. Sections
-------------------------------------------------------------- */
.gb-section { padding: 6rem 0; }
.gb-section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gb-eyebrow {
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.gb-section-h2 {
  font-family: var(--display);
  font-size: clamp(1.875rem, 3.5vw, 3.125rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1; letter-spacing: -0.02em;
}
.gb-section-lead {
  font-size: 1.0625rem; color: var(--muted);
  line-height: 1.7; margin-top: 0.875rem;
  max-width: 500px;
}

/* Properties grid section */
.gb-props-section { background: var(--obsidian); }
.gb-props-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.75rem;
}
.gb-props-link {
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 0.3rem;
  opacity: 0.8; transition: opacity 0.2s;
}
.gb-props-link:hover { opacity: 1; }
.gb-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.375rem;
}

/* 9. Features
-------------------------------------------------------------- */
.gb-features-section {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gb-features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 3rem;
}
.gb-feature {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.gb-feature:last-child { border-right: none; }
.gb-feature:hover { background: var(--obsidian-3); }
.gb-feature-num {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.375rem;
}
.gb-feature-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale);
  color: var(--gold);
  margin-bottom: 1.125rem;
}
.gb-feature-icon svg, .gb-feature-icon [data-lucide] { width: 20px; height: 20px; }
.gb-feature-h3 {
  font-family: var(--display);
  font-size: 1.3125rem; font-weight: 600;
  color: var(--cream); margin-bottom: 0.625rem;
}
.gb-feature-p {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.725;
}

/* 10. CTA
-------------------------------------------------------------- */
.gb-cta-section {
  background: var(--obsidian);
  padding: 8rem 0;
  position: relative; overflow: hidden;
}
.gb-cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,150,58,0.055) 0%, transparent 68%);
  pointer-events: none;
}
.gb-cta-h2 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.gb-cta-h2 em { font-style: italic; color: var(--gold); }
.gb-cta-p {
  font-size: 1.125rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 2.5rem;
}
.gb-cta-btns {
  display: flex; justify-content: center;
  gap: 0.75rem; flex-wrap: wrap;
}

/* Thin gold rule decorative */
.gb-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* 11. Footer
-------------------------------------------------------------- */
.gb-footer {
  background: var(--obsidian);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.gb-footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.875rem;
}
.gb-footer-about {
  font-size: 0.875rem; color: var(--muted);
  line-height: 1.7; max-width: 240px;
  margin-top: 0.75rem; margin-bottom: 1.5rem;
}
.gb-footer-col-title {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1.125rem;
}
.gb-footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.gb-footer-links a {
  font-size: 0.875rem; color: var(--muted);
  text-decoration: none; transition: color 0.18s;
}
.gb-footer-links a:hover { color: var(--cream); }
.gb-footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--muted);
  margin-bottom: 0.75rem;
}
.gb-footer-contact-item [data-lucide] {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.gb-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}
.gb-footer-legal { display: flex; gap: 1.375rem; }
.gb-footer-legal a { color: var(--muted); text-decoration: none; transition: color 0.18s; }
.gb-footer-legal a:hover { color: var(--cream); }

/* 12. Scroll reveal
-------------------------------------------------------------- */
.gb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.gb-reveal.visible { opacity: 1; transform: none; }

/* 13. Responsive
-------------------------------------------------------------- */

/* â”€â”€ Tablet 1100px â”€â”€ */
@media (max-width: 1100px) {
  .gb-hero-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem 3rem;
  }
  .gb-hero-right { display: none; }
  .gb-features-grid { grid-template-columns: 1fr; border-radius: 14px; }
  .gb-feature { border-right: none; border-bottom: 1px solid var(--border); }
  .gb-feature:last-child { border-bottom: none; }
  .gb-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gb-cards-grid { grid-template-columns: repeat(2,1fr); }
  .gb-section { padding: 4.5rem 0; }
  .md-hide-viewall { display: flex !important; }
}

/* â”€â”€ Mobile 768px â”€â”€ */
@media (max-width: 768px) {
  /* Hero */
  .gb-hero { min-height: auto; }
  .gb-hero-body {
    padding: 3.5rem 1.25rem 2.5rem;
    gap: 2rem;
  }
  .gb-hero-badge { margin-bottom: 1.25rem; }
  .gb-hero-h1 { margin-bottom: 1.125rem; }
  .gb-hero-sub { font-size: 0.9375rem; margin-bottom: 1.875rem; }
  .gb-hero-ctas { gap: 0.625rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

  /* Search */
  .gb-search { padding: 0 1.25rem 2.5rem; }
  .gb-search-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 14px;
  }
  .gb-search-btn { grid-column: 1 / -1; height: 46px; font-size: 0.9375rem; }

  /* Section spacing */
  .gb-section { padding: 3.5rem 0; }
  .gb-section-wrap { padding: 0 1.25rem; }

  /* Props header: stack on narrow */
  .gb-props-head { flex-direction: column; align-items: flex-start; gap: 0.875rem; margin-bottom: 1.875rem; }

  /* Cards */
  .gb-cards-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }

  /* Features */
  .gb-feature { padding: 1.75rem 1.5rem; }

  /* CTA */
  .gb-cta-section { padding: 5rem 0; }

  /* Footer */
  .gb-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }

  /* Mobile nav tap targets */
  .gb-mobile-nav a { padding: 0.875rem 0; font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
}

/* â”€â”€ Mobile 600px â”€â”€ */
@media (max-width: 600px) {
  /* Hero */
  .gb-hero-body { padding: 3rem 1.125rem 2rem; }
  .gb-hero-ctas { flex-direction: column; }
  .gb-btn-gold, .gb-btn-ghost {
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  /* Stats */
  .gb-hero-stats {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .gb-stat-cell {
    flex: 1 1 33%;
    min-width: 90px;
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding: 0.75rem 1rem;
  }
  .gb-stat-cell:last-child { border-right: none; }

  /* Search: single column */
  .gb-search-inner { grid-template-columns: 1fr; gap: 0.625rem; }

  /* Cards single column */
  .gb-cards-grid { grid-template-columns: 1fr; }

  /* Footer */
  .gb-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gb-footer-about { max-width: 100%; }
  .gb-footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .gb-footer-legal { gap: 1rem; }

  /* CTA */
  .gb-cta-btns { flex-direction: column; align-items: stretch; padding: 0 1.25rem; }
  .gb-cta-btns .gb-btn-gold,
  .gb-cta-btns .gb-btn-ghost { justify-content: center; width: 100%; }

  /* Typography scale-down */
  .gb-cta-section { padding: 4rem 0; }
  .gb-section { padding: 3rem 0; }
  .gb-section-wrap { padding: 0 1.125rem; }
}

/* â”€â”€ Very small phones 380px â”€â”€ */
@media (max-width: 380px) {
  .gb-nav-inner { padding: 0 1rem; }
  .gb-hero-body { padding: 2.5rem 1rem 1.75rem; }
  .gb-search { padding: 0 1rem 2rem; }
  .gb-hero-stats { flex-direction: column; }
  .gb-stat-cell {
    flex: none; width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.625rem 1rem;
  }
  .gb-stat-cell:last-child { border-bottom: none; }
  .gb-section-wrap { padding: 0 1rem; }
  .gb-cards-grid { gap: 0.875rem; }
  .gb-card-body { padding: 1rem; }
}

/* 14. Utility overrides for auth/inner pages (Tailwind-based pages get dark nav) */
/* These pages have white/gray body content, so no override needed -
   the dark nav sits cleanly above them */
.gb-nav-solid {
  background: rgba(var(--shell-rgb), 0.97) !important;
  border-color: var(--border) !important;
}

/* Light page forms - ensure inputs look normal */
.premium-input {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  transition: all 0.3s ease;
}
.premium-input:focus {
  background-color: #fff;
  border-color: #C9963A;
  box-shadow: 0 0 0 3px rgba(201,150,58,0.12);
}

.glow-button {
  box-shadow: 0 0 20px -5px rgba(201,150,58,0.45);
  animation: gb-btn-glow 2.2s ease-in-out infinite;
}
@keyframes gb-btn-glow {
  0%,100% { box-shadow: 0 0 20px -5px rgba(201,150,58,0.45); }
  50%      { box-shadow: 0 0 36px 4px rgba(201,150,58,0.55); }
}

.fade-in { animation: gbFadeIn 0.55s ease-out forwards; }
@keyframes gbFadeIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:none; }
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.prose-content h2 {
  font-family: var(--display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--cream); margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}
.prose-content h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--cream); margin: 1.5rem 0 0.625rem;
}
.prose-content p, .prose-content li {
  color: var(--stone); line-height: 1.75; margin-bottom: 0.75rem;
}
.prose-content strong { color: var(--cream); font-weight: 700; }
.prose-content ul { list-style: disc; padding-left: 1.25rem; }
.prose-content a { color: var(--gold); text-decoration: underline; }
.prose-content a:hover { color: var(--gold-light); }

/* ---------------------------------------------------------------
   Chat Widget - preserved (accrabrick-* classes)
--------------------------------------------------------------- */
.accrabrick-assistant-root {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  z-index: 60; font-family: var(--sans);
}
.accrabrick-assistant-toggle {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--obsidian);
  border: none; border-radius: 9999px;
  padding: 0.875rem 1.125rem;
  box-shadow: 0 10px 30px rgba(201,150,58,0.32);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
}
.accrabrick-assistant-toggle:hover { background: var(--gold-light); transform: translateY(-2px); }
.accrabrick-assistant-badge { font-size: 0.875rem; font-weight: 700; }
.accrabrick-assistant-panel {
  position: absolute; right: 0; bottom: calc(100% + 0.75rem);
  width: min(380px, calc(100vw - 2rem));
  height: 520px; max-height: calc(100vh - 6rem);
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(15,23,42,0.18);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.accrabrick-assistant-panel.hidden { display: none; }
.accrabrick-assistant-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg,#fffbf0,#fff);
}
.accrabrick-assistant-title { font-weight: 800; color: #111827; font-size: 1rem; }
.accrabrick-assistant-subtitle { font-size: 0.75rem; color: #6b7280; margin-top: 0.15rem; }
.accrabrick-assistant-close {
  border: none; background: transparent;
  font-size: 1.5rem; line-height: 1; color: #6b7280;
  cursor: pointer; padding: 0.25rem 0.5rem;
}
.accrabrick-assistant-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: #f8fafc;
}
.accrabrick-assistant-message {
  max-width: 88%; padding: 0.75rem 0.9rem;
  border-radius: 1rem; font-size: 0.92rem; line-height: 1.55;
}
.accrabrick-assistant-message-user {
  align-self: flex-end;
  background: var(--gold); color: var(--obsidian);
  border-bottom-right-radius: 0.25rem;
}
.accrabrick-assistant-message-bot {
  align-self: flex-start; background: #fff;
  color: #1f2937; border: 1px solid #e5e7eb;
  border-bottom-left-radius: 0.25rem;
}
.accrabrick-assistant-suggestions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0 1rem 0.75rem; background: #f8fafc;
}
.accrabrick-assistant-chip {
  border: 1px solid rgba(201,150,58,0.3);
  background: rgba(201,150,58,0.07);
  color: #92650a; border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem; font-weight: 700; cursor: pointer;
}
.accrabrick-assistant-chip:hover { background: rgba(201,150,58,0.15); }
.accrabrick-assistant-form {
  display: flex; gap: 0.5rem; padding: 0.85rem;
  border-top: 1px solid #e5e7eb; background: #fff;
}
.accrabrick-assistant-form input {
  flex: 1; border: 1px solid #d1d5db;
  border-radius: 0.85rem; padding: 0.7rem 0.85rem;
  font-size: 0.9rem; outline: none; font-family: var(--sans);
}
.accrabrick-assistant-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,58,0.12);
}
.accrabrick-assistant-form button {
  background: var(--gold); color: var(--obsidian);
  border: none; border-radius: 0.85rem;
  padding: 0 1rem; font-weight: 700; cursor: pointer;
}
.accrabrick-assistant-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.accrabrick-bot-launcher-icon {
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: rgba(0,0,0,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}
.accrabrick-bot-online-dot {
  width: 0.6rem; height: 0.6rem; border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  position: absolute; top: 0.2rem; right: 0.2rem;
}
.accrabrick-bot-online-dot.inline-dot {
  position: static; display: inline-block;
  margin-right: 0.35rem; vertical-align: middle; box-shadow: none;
}
.accrabrick-bot-header-main { display: flex; align-items: center; gap: 0.75rem; }
.accrabrick-bot-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--obsidian);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; flex-shrink: 0;
}
.accrabrick-bot-avatar.small { width: 2rem; height: 2rem; font-size: 0.7rem; }
.accrabrick-bot-row {
  display: flex; gap: 0.55rem; align-items: flex-end; max-width: 100%;
}
.accrabrick-bot-row-user { justify-content: flex-end; }
.accrabrick-bot-row-bot, .accrabrick-bot-typing-row { justify-content: flex-start; }
.accrabrick-bot-row-user .accrabrick-assistant-message { max-width: 82%; }
.accrabrick-bot-row-bot .accrabrick-assistant-message,
.accrabrick-bot-typing-row .accrabrick-assistant-message { max-width: calc(100% - 2.6rem); }
.accrabrick-typing {
  display: inline-flex; gap: 0.25rem; align-items: center; min-height: 1rem;
}
.accrabrick-typing span {
  width: 0.45rem; height: 0.45rem; border-radius: 9999px;
  background: #94a3b8;
  animation: accrabrick-typing 1.2s infinite ease-in-out;
}
.accrabrick-typing span:nth-child(2) { animation-delay: 0.15s; }
.accrabrick-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes accrabrick-typing {
  0%,80%,100% { transform: translateY(0); opacity: 0.5; }
  40%          { transform: translateY(-4px); opacity: 1; }
}
.accrabrick-bot-fullpage .accrabrick-assistant-panel {
  position: static; width: 100%;
  height: 620px; max-height: none;
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}
.accrabrick-bot-fullpage .accrabrick-assistant-messages { min-height: 420px; }

/* Premium advisor chatbot */
.accrabrick-assistant-toggle {
  position: relative;
  min-height: 52px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.32);
}
.accrabrick-unread-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  border: 2px solid var(--obsidian);
}
.accrabrick-unread-badge.hidden { display: none; }
.accrabrick-assistant-panel {
  background: linear-gradient(180deg, rgba(18,20,24,.98), rgba(9,10,13,.98));
  border: 1px solid rgba(201,150,58,0.24);
  color: var(--cream);
  box-shadow: 0 26px 90px rgba(0,0,0,0.46);
}
.accrabrick-assistant-header {
  background: rgba(201,150,58,0.08);
  border-bottom: 1px solid rgba(201,150,58,0.18);
}
.accrabrick-assistant-title { color: var(--cream); }
.accrabrick-assistant-subtitle { color: var(--stone); }
.accrabrick-assistant-close { color: var(--stone); }
.accrabrick-assistant-messages {
  background:
    linear-gradient(180deg, rgba(201,150,58,0.04), transparent 38%),
    var(--obsidian-2);
}
.accrabrick-assistant-message {
  position: relative;
  padding-bottom: 1.25rem;
}
.accrabrick-assistant-message-bot {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--stone);
}
.accrabrick-assistant-message-user {
  background: rgba(201,150,58,0.2);
  border: 1px solid rgba(201,150,58,0.28);
  color: var(--cream);
}
.accrabrick-assistant-message strong { color: var(--cream); }
.accrabrick-message-time {
  position: absolute;
  right: 0.85rem;
  bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}
.accrabrick-assistant-suggestions {
  background: var(--obsidian-2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.accrabrick-assistant-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,150,58,0.20);
  color: var(--cream);
}
.accrabrick-assistant-actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0 0.9rem 0.65rem;
  background: var(--obsidian-2);
}
.accrabrick-handover-btn {
  border: 1px solid rgba(201,150,58,0.28);
  border-radius: 999px;
  background: rgba(201,150,58,0.10);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}
.accrabrick-assistant-form {
  background: rgba(10,10,10,0.28);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.accrabrick-assistant-form input {
  background: var(--obsidian-3);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--cream);
}
.accrabrick-assistant-form button {
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 900;
}
.accrabrick-property-cards {
  display: grid;
  gap: 0.65rem;
  margin: -0.35rem 0 0.75rem 2.6rem;
  max-width: calc(100% - 2.6rem);
}
.accrabrick-property-card {
  border: 1px solid rgba(201,150,58,0.22);
  border-radius: 8px;
  background: rgba(201,150,58,0.08);
  padding: 0.85rem;
}
.accrabrick-property-title {
  color: var(--cream);
  font-weight: 900;
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
}
.accrabrick-property-subtitle,
.accrabrick-property-reason {
  color: var(--stone);
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.accrabrick-property-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.accrabrick-property-meta span {
  color: var(--stone);
  font-size: 0.72rem;
  line-height: 1.35;
}
.accrabrick-property-meta b {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.accrabrick-property-card a {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
  text-decoration: none;
}
@media (max-width: 640px) {
  .accrabrick-assistant-root {
    right: 0.75rem;
    left: 0.75rem;
  }
  .accrabrick-assistant-panel {
    width: auto;
    right: 0;
    left: 0;
    max-height: min(640px, calc(100vh - 7.5rem));
  }
  .accrabrick-property-cards {
    margin-left: 0;
    max-width: 100%;
  }
  .accrabrick-property-meta {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   PWA install banner - fixed top strip
   ============================================================= */
.gb-pwa-install {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10100;
  padding: calc(0.625rem + env(safe-area-inset-top, 0px)) 0.875rem 0;
  pointer-events: none;
}

.gb-pwa-install[hidden] {
  display: none !important;
}

.gb-pwa-install-inner {
  pointer-events: auto;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.875rem 1rem 1rem;
  border-radius: 0 0 18px 18px;
  border: 1px solid rgba(201, 150, 58, 0.22);
  border-top: none;
  background:
    linear-gradient(180deg, rgba(201, 150, 58, 0.12) 0%, rgba(201, 150, 58, 0.03) 42%, rgba(11, 12, 14, 0.98) 100%),
    rgba(11, 12, 14, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gb-pwa-install-inner::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.gb-pwa-install-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
}

.gb-pwa-install-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-right: 2rem;
}

.gb-pwa-install-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gb-pwa-install-copy {
  flex: 1;
  min-width: 0;
}

.gb-pwa-install-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.gb-pwa-install-title {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.gb-pwa-install-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.gb-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark, #A07830) 100%);
  color: var(--obsidian);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 150, 58, 0.28);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
}

.gb-pwa-install-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 150, 58, 0.34);
}

.gb-pwa-install-btn-icon,
.gb-pwa-install-btn svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.25;
}

.gb-pwa-install-dismiss {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.gb-pwa-install-dismiss svg {
  width: 1rem;
  height: 1rem;
}

.gb-pwa-install-dismiss:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

body.gb-pwa-install-visible .gb-nav {
  top: var(--gb-pwa-install-offset, 0px);
}

body.gb-pwa-install-visible.gb-has-bottom-nav {
  --gb-nav-offset: calc(68px + var(--gb-pwa-install-offset, 0px));
}

body.gb-pwa-install-visible .gb-hero {
  padding-top: calc(68px + var(--gb-pwa-install-offset, 0px));
}

body.gb-pwa-install-visible .gb-inner-page {
  padding-top: calc(68px + var(--gb-pwa-install-offset, 0px));
}

body.gb-pwa-install-visible:not(:has(.gb-nav)) {
  padding-top: var(--gb-pwa-install-offset, 0px);
}

body.gb-pwa-install-visible.flex {
  padding-top: var(--gb-pwa-install-offset, 0px);
}

[data-theme="light"] .gb-pwa-install-inner {
  background:
    linear-gradient(180deg, rgba(201, 150, 58, 0.14) 0%, rgba(255, 255, 255, 0.98) 55%),
    #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gb-pwa-install-dismiss {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
}

@media (min-width: 720px) {
  .gb-pwa-install-stack {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .gb-pwa-install-brand {
    flex: 1;
    padding-right: 0;
  }

  .gb-pwa-install-btn {
    width: auto;
    min-width: 168px;
    flex-shrink: 0;
  }
}

.gb-push-prompt {
  z-index: 10099;
}

.gb-push-prompt .gb-pwa-install-inner {
  border-top: 1px solid rgba(201, 150, 58, 0.14);
  border-radius: 18px;
  margin-top: 0.35rem;
}


/* Body background driven by theme */
html[data-theme="dark"]  body { background: var(--obsidian); color: var(--cream); }
html[data-theme="light"] body { background: var(--obsidian); color: var(--cream); }

/* â”€â”€ Light mode: nav â”€â”€ */
[data-theme="light"] .gb-nav.scrolled,
[data-theme="light"] .gb-nav.solid {
  background: rgba(246,244,239,0.97);
  border-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .gb-logo-prefix { color: #111827; }
[data-theme="light"] .gb-logo-text { color: #111827; }
[data-theme="light"] .gb-nav-links a { color: #4B5563; }
[data-theme="light"] .gb-nav-links a:hover { color: #111827; background: rgba(0,0,0,0.05); }
[data-theme="light"] .gb-nav-sign-in { color: #374151; }
[data-theme="light"] .gb-nav-sign-in:hover { color: #111827; background: rgba(0,0,0,0.05); }
[data-theme="light"] .gb-menu-btn { border-color: rgba(0,0,0,0.14); color: #111827; }
[data-theme="light"] .gb-menu-btn:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .gb-nav-right-controls .gb-theme-toggle { color: #4B5563; }
[data-theme="light"] .gb-mobile-nav {
  background: rgba(246,244,239,0.99);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .gb-mobile-nav a { color: #374151; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .gb-mobile-nav a:hover { color: #111827; }

/* â”€â”€ Light mode: hero â”€â”€ */
[data-theme="light"] .gb-hero-bg img { opacity: 0.22; filter: grayscale(10%) brightness(0.95); }
[data-theme="light"] .gb-hero-bg-overlay {
  background: linear-gradient(135deg,
    rgba(246,244,239,0.96) 0%,
    rgba(246,244,239,0.80) 55%,
    rgba(246,244,239,0.90) 100%);
}
[data-theme="light"] .gb-hero-stats {
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .gb-hero-card { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
[data-theme="light"] .gb-hero-card-img-fade {
  background: linear-gradient(to top, #ffffff 0%, transparent 60%);
}

/* â”€â”€ Light mode: search bar â”€â”€ */
[data-theme="light"] .gb-search-inner { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
[data-theme="light"] .gb-sf select,
[data-theme="light"] .gb-sf input { color: #111827; }
[data-theme="light"] .gb-sf select option { background: #fff; color: #111827; }

/* â”€â”€ Light mode: ticker â”€â”€ */
[data-theme="light"] .gb-ticker { background: #EDE9DF; }
[data-theme="light"] .gb-ticker-item { color: #374151; }

/* â”€â”€ Light mode: property cards â”€â”€ */
[data-theme="light"] .gb-card { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
[data-theme="light"] .gb-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
[data-theme="light"] .gb-card-photo img { filter: brightness(0.94); }

/* â”€â”€ Light mode: features section â”€â”€ */
[data-theme="light"] .gb-features-section {
  background: #F0EDE4;
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .gb-features-grid { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .gb-feature { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .gb-feature:hover { background: rgba(0,0,0,0.03); }

/* â”€â”€ Light mode: CTA section stays dark (intentional contrast) â”€â”€ */
[data-theme="light"] .gb-cta-section { background: #1C1F24; }
[data-theme="light"] .gb-cta-section .gb-eyebrow,
[data-theme="light"] .gb-cta-section .gb-cta-h2,
[data-theme="light"] .gb-cta-section .gb-cta-p { color: var(--cream); }
[data-theme="light"] .gb-cta-section .gb-cta-h2 { color: #F5F4F0; }
[data-theme="light"] .gb-cta-section .gb-cta-p { color: #9CA3AF; }

/* â”€â”€ Theme toggle button â”€â”€ */
.gb-theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  flex-shrink: 0;
}
.gb-theme-toggle:hover {
  background: rgba(201,150,58,0.10);
  border-color: rgba(201,150,58,0.35);
  color: var(--gold);
}
html[data-theme="light"] .gb-theme-toggle {
  border-color: rgba(0,0,0,0.14);
  color: #4B5563;
}
html[data-theme="light"] .gb-theme-toggle:hover {
  background: rgba(201,150,58,0.08);
  border-color: var(--gold);
  color: var(--gold);
}
.gb-icon-sun  { display: none; }
.gb-icon-moon { display: block; }
html[data-theme="light"] .gb-icon-sun  { display: block; }
html[data-theme="light"] .gb-icon-moon { display: none; }

/* â”€â”€ Dark mode: override Tailwind utilities on inner pages â”€â”€ */
html[data-theme="dark"] .bg-white        { background-color: var(--obsidian-2) !important; }
html[data-theme="dark"] .bg-gray-50      { background-color: var(--obsidian-3) !important; }
html[data-theme="dark"] .bg-gray-100     { background-color: rgba(255,255,255,0.05) !important; }
html[data-theme="dark"] .bg-gray-200     { background-color: rgba(255,255,255,0.08) !important; }
html[data-theme="dark"] .bg-gray-950     { background-color: #080A0C !important; }

html[data-theme="dark"] .text-gray-900   { color: #F3F4F6 !important; }
html[data-theme="dark"] .text-gray-800   { color: #E5E7EB !important; }
html[data-theme="dark"] .text-gray-700   { color: #D1D5DB !important; }
html[data-theme="dark"] .text-gray-600   { color: #9CA3AF !important; }
html[data-theme="dark"] .text-gray-500   { color: #6B7280 !important; }
html[data-theme="dark"] .text-gray-400   { color: #4B5563 !important; }

html[data-theme="dark"] .border-gray-100 { border-color: var(--border) !important; }
html[data-theme="dark"] .border-gray-200 { border-color: var(--border-strong) !important; }
html[data-theme="dark"] .border-gray-300 { border-color: rgba(255,255,255,0.18) !important; }
html[data-theme="dark"] .border-gray-800 { border-color: rgba(255,255,255,0.10) !important; }

html[data-theme="dark"] .bg-blue-700     { background-color: var(--gold) !important; }
html[data-theme="dark"] .bg-blue-600     { background-color: var(--gold-light) !important; }
html[data-theme="dark"] .bg-blue-50      { background-color: var(--gold-pale) !important; }
html[data-theme="dark"] .text-blue-700   { color: var(--gold) !important; }
html[data-theme="dark"] .text-blue-600   { color: var(--gold-light) !important; }
html[data-theme="dark"] .text-blue-400   { color: var(--gold-light) !important; }
html[data-theme="dark"] .border-blue-100 { border-color: rgba(201,150,58,0.15) !important; }
html[data-theme="dark"] .border-blue-200 { border-color: rgba(201,150,58,0.22) !important; }
html[data-theme="dark"] .hover\:text-blue-700:hover { color: var(--gold) !important; }
html[data-theme="dark"] .hover\:bg-blue-50:hover    { background-color: var(--gold-pale) !important; }
html[data-theme="dark"] .hover\:bg-gray-50:hover    { background-color: rgba(255,255,255,0.05) !important; }

html[data-theme="dark"] .shadow-sm  { box-shadow: 0 1px 4px rgba(0,0,0,0.4) !important; }
html[data-theme="dark"] .shadow-md  { box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important; }
html[data-theme="dark"] .shadow-lg  { box-shadow: 0 8px 24px rgba(0,0,0,0.55) !important; }

/* Inputs on inner/auth pages */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background-color: var(--obsidian-3) !important;
  border-color: var(--border-strong) !important;
  color: #F3F4F6 !important;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #4B5563 !important; }
.accrabrick-bot-fullpage .accrabrick-assistant-messages { min-height: 420px; }

/* =============================================================
   16. Alert banners - dark mode
   ============================================================= */
html[data-theme="dark"] .bg-amber-50  { background-color: rgba(245,158,11,0.10) !important; }
html[data-theme="dark"] .bg-amber-100 { background-color: rgba(245,158,11,0.15) !important; }
html[data-theme="dark"] .border-amber-200 { border-color: rgba(245,158,11,0.28) !important; }
html[data-theme="dark"] .text-amber-900 { color: #FCD34D !important; }
html[data-theme="dark"] .text-amber-800 { color: #FBBF24 !important; }
html[data-theme="dark"] .text-amber-700 { color: #D97706 !important; }

html[data-theme="dark"] .bg-green-50  { background-color: rgba(22,163,74,0.10) !important; }
html[data-theme="dark"] .bg-green-100 { background-color: rgba(22,163,74,0.15) !important; }
html[data-theme="dark"] .border-green-200 { border-color: rgba(22,163,74,0.28) !important; }
html[data-theme="dark"] .text-green-800 { color: #4ADE80 !important; }
html[data-theme="dark"] .text-green-700 { color: #22C55E !important; }
html[data-theme="dark"] .text-green-600 { color: #22C55E !important; }
html[data-theme="dark"] .text-green-400 { color: #4ADE80 !important; }

html[data-theme="dark"] .bg-red-50  { background-color: rgba(239,68,68,0.10) !important; }
html[data-theme="dark"] .bg-red-100 { background-color: rgba(239,68,68,0.15) !important; }
html[data-theme="dark"] .border-red-200 { border-color: rgba(239,68,68,0.28) !important; }
html[data-theme="dark"] .text-red-700 { color: #FCA5A5 !important; }
html[data-theme="dark"] .text-red-800 { color: #F87171 !important; }
html[data-theme="dark"] .text-red-600 { color: #EF4444 !important; }

/* Divide/separator */
html[data-theme="dark"] .divide-gray-100 > * + * { border-color: var(--border) !important; }
html[data-theme="dark"] .divide-y > * + * { border-color: var(--border) !important; }

/* Additional blue border overrides */
html[data-theme="dark"] .border-blue-600 { border-color: var(--gold) !important; }
html[data-theme="dark"] .border-blue-300 { border-color: rgba(201,150,58,0.35) !important; }

/* File input button */
html[data-theme="dark"] input[type="file"]::file-selector-button {
  background-color: var(--gold-pale) !important;
  color: var(--gold) !important;
  border: none;
}

/* Opacity-modified Tailwind bg (phone prefix on auth pages) */
html[data-theme="dark"] .bg-gray-100\/50 { background-color: rgba(255,255,255,0.05) !important; }

/* Wallet balance gradient card */
html[data-theme="dark"] .from-blue-700 {
  --tw-gradient-from: var(--gold);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(201,150,58,0));
}
html[data-theme="dark"] .to-blue-900 { --tw-gradient-to: #7B5614; }
html[data-theme="dark"] .text-blue-100 { color: rgba(201,150,58,0.7) !important; }
html[data-theme="dark"] .text-blue-200 { color: rgba(201,150,58,0.55) !important; }

/* hover:border-blue-300 on inner page cards */
html[data-theme="dark"] .hover\:border-blue-300:hover { border-color: rgba(201,150,58,0.35) !important; }
html[data-theme="dark"] .hover\:border-blue-200:hover { border-color: rgba(201,150,58,0.28) !important; }

/* =============================================================
   17. Inner pages - .gb- design system
   ============================================================= */
.gb-inner-page {
  padding-top: 68px;
  min-height: 100vh;
  background: var(--obsidian);
}
.gb-inner-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gb-inner-wrap-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gb-inner-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.gb-wallet-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.gb-wallet-summary-card {
  background: var(--obsidian-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.375rem;
}
.gb-wallet-summary-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.gb-wallet-summary-value {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.15;
}

.gb-wallet-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .gb-wallet-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2rem;
    align-items: start;
  }
}

.gb-wallet-tx-cards { display: none; }
.gb-wallet-tx-table { display: block; }

@media (max-width: 767px) {
  .gb-wallet-summary {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .gb-wallet-tx-cards {
    display: block;
    padding: 0.75rem 1rem 1rem;
  }
  .gb-wallet-tx-table { display: none; }
  .gb-wallet-tx-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    margin-bottom: 0.625rem;
    background: var(--obsidian-3);
  }
  .gb-wallet-tx-card:last-child { margin-bottom: 0; }
}

.gb-inner-card {
  background: var(--obsidian-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .gb-inner-header { padding: 2.5rem 0 1.75rem; margin-bottom: 1.75rem; }
  .gb-inner-card { padding: 1.75rem 1.5rem; }
}
@media (max-width: 600px) {
  .gb-inner-header { padding: 2rem 0 1.5rem; }
  .gb-inner-card { padding: 1.25rem 1.125rem; }
  .gb-inner-wrap, .gb-inner-wrap-wide { padding: 0 1rem; }
}

@media (max-width: 380px) {
  .gb-inner-wrap-wide {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .gb-inner-wrap-wide [style*="grid-template-columns"] {
    min-width: 0;
  }
  .gb-inner-wrap-wide .gb-reveal,
  .gb-inner-wrap-wide .gb-reveal > div,
  .accrabrick-bot-fullpage,
  .accrabrick-bot-fullpage .accrabrick-assistant-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .gb-inner-wrap-wide .gb-reveal > div[style*="padding:1.5rem"] {
    padding: 1.1rem !important;
  }
  .accrabrick-bot-fullpage .accrabrick-assistant-form {
    gap: 0.4rem;
    padding: 0.7rem;
  }
  .accrabrick-bot-fullpage .accrabrick-assistant-form input {
    min-width: 0;
  }
  .accrabrick-bot-fullpage .accrabrick-assistant-form button {
    padding: 0 0.8rem;
  }
}

/* =============================================================
   18. Admin panel - dark mode
   ============================================================= */
/* Admin inherits all section-15 Tailwind overrides; these are extras */
html[data-theme="dark"] .hover\:bg-gray-100:hover { background-color: rgba(255,255,255,0.05) !important; }
html[data-theme="dark"] .hover\:bg-gray-50:hover  { background-color: rgba(255,255,255,0.04) !important; }
html[data-theme="dark"] .hover\:text-gray-900:hover { color: #F3F4F6 !important; }
html[data-theme="dark"] .hover\:bg-blue-600:hover { background-color: var(--gold-light) !important; }
html[data-theme="dark"] .hover\:bg-blue-100:hover { background-color: var(--gold-pale) !important; }

/* Admin sticky header bg */
html[data-theme="dark"] .sticky.top-0 { background-color: var(--obsidian-2) !important; border-color: var(--border) !important; }

/* Admin nav active link */
html[data-theme="dark"] .bg-blue-50.text-blue-700 { background-color: var(--gold-pale) !important; color: var(--gold) !important; }

/* Admin page body override */
html[data-theme="dark"] .bg-gray-100 { background-color: var(--obsidian-3) !important; }

/* Admin table theads */
html[data-theme="dark"] thead.bg-gray-50 th,
html[data-theme="dark"] thead .bg-gray-50 { background-color: var(--obsidian-3) !important; }

/* Admin "Add Property" button stays gold on dark */
html[data-theme="dark"] .bg-blue-700.font-bold { color: var(--obsidian) !important; }

/* =============================================================
   19. Mobile - responsive utilities for inner pages
   ============================================================= */

/* Generic 3-column stat strip used in dividends/portfolio */
.gb-stat-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 767px) {
  .gb-stat-3col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
}

/* Portfolio / dividends: mobile card rows replace tables */
.gb-holdings-table { display: block; }
.gb-holdings-cards { display: none; }

@media (max-width: 767px) {
  .gb-holdings-table { display: none; }
  .gb-holdings-cards {
    display: block;
    padding: 0.75rem 1rem 1rem;
  }
  .gb-holdings-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    margin-bottom: 0.625rem;
    background: var(--obsidian-3);
  }
  .gb-holdings-card:last-child { margin-bottom: 0; }
  .gb-holdings-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }
  .gb-holdings-card-row:last-child { margin-bottom: 0; }
  .gb-holdings-card-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
  .gb-holdings-card-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cream);
    text-align: right;
  }
}

/* =============================================================
   20. Admin nav - mobile responsive
   ============================================================= */
.gb-admin-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: #374151;
  font-size: 1.1rem;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html[data-theme="dark"] .gb-admin-nav-toggle {
  border-color: var(--border-strong);
  color: var(--stone);
}
.gb-admin-nav-toggle:hover { background: rgba(0,0,0,0.05); }
html[data-theme="dark"] .gb-admin-nav-toggle:hover { background: var(--obsidian-3); }

.gb-admin-nav-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .gb-admin-nav-toggle { display: inline-flex; }

  .gb-admin-nav-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0.75rem 1rem 1rem;
    z-index: 50;
    flex-wrap: wrap;
    gap: 0.375rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  html[data-theme="dark"] .gb-admin-nav-items {
    background: var(--obsidian-2);
    border-color: var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  .gb-admin-nav-items.open { display: flex; }

  /* Admin header becomes relative so dropdown positions correctly */
  .gb-admin-header { position: relative; }
}

@media (max-width: 600px) {
  .gb-admin-nav-items a {
    font-size: 0.8125rem;
    padding: 0.4rem 0.7rem;
  }
}

/* =============================================================
   21. Inner pages - overflow & misc mobile polish
   ============================================================= */

/* Ensure tables on inner pages are always scrollable on mobile */
.gb-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Wallet: fix double-class max-width inconsistency */
.gb-inner-wrap.gb-inner-wrap-wide { max-width: 1280px; }

/* Referrals, notifications page link rows on mobile */
@media (max-width: 600px) {
  .gb-inner-header .flex.flex-col { gap: 0.875rem; }
  .gb-inner-header .flex.flex-wrap { flex-direction: column; align-items: stretch; }
  .gb-inner-header .flex.flex-wrap .gb-btn-ghost,
  .gb-inner-header .flex.flex-wrap .gb-btn-gold {
    justify-content: center;
    text-align: center;
  }
}

/* Property hero banner - reduce height on mobile */
@media (max-width: 600px) {
  .gb-prop-hero { height: min(320px, 65vw) !important; min-height: 220px !important; }
  .gb-prop-stats { grid-template-columns: 1fr 1fr !important; gap: 0.625rem !important; }
  .gb-prop-grid  { grid-template-columns: 1fr !important; }
}

/* =============================================================
   22. Generic responsive stat grids (2-col, 4-col variants)
   ============================================================= */

/* 4-column stat grid (account-statement, property) */
.gb-stat-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .gb-stat-4col {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}
@media (max-width: 380px) {
  .gb-stat-4col { grid-template-columns: 1fr; }
}

/* About page grids */
@media (max-width: 767px) {
  .about-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .about-stats-grid > div {
    border-left: none !important;
    border-top: 1px solid var(--border);
    padding: 1.25rem 0 !important;
  }
  .about-stats-grid > div:first-child { border-top: none; }
  .about-reasons-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =============================================================
   23. Calculator & wallet statement - responsive layouts
   ============================================================= */

.gb-calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .gb-calc-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
}

.gb-stmt-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
@media (max-width: 600px) {
  .gb-stmt-form {
    flex-direction: column;
    align-items: stretch;
  }
  .gb-stmt-form > div,
  .gb-stmt-form > input[type="hidden"] { width: 100%; }
  .gb-stmt-form .gb-btn-gold,
  .gb-stmt-form .gb-btn-ghost {
    justify-content: center;
    width: 100%;
  }
}

/* =============================================================
   23. Global table safety net & misc inner-page fixes
   ============================================================= */

/* All tables inside inner pages get horizontal scroll on mobile */
.gb-inner-page table { min-width: 0; }
@media (max-width: 600px) {
  .gb-inner-page .overflow-x-auto { -webkit-overflow-scrolling: touch; }
}

/* Referral link card: stack on very small phones */
@media (max-width: 480px) {
  /* referral copy button row */
  #referral-link-display + button {
    width: 100%;
    justify-content: center;
  }
}

/* Wallet balance card: scale down font on tiny phones */
@media (max-width: 380px) {
  .gb-wallet-balance-amount { font-size: 2rem !important; }
}

/* Secondary market: ensure listing cards don't overflow */
@media (max-width: 600px) {
  .gb-inner-page .grid.grid-cols-1 { gap: 0.875rem; }
}

/* Notifications / account-statement page inner header action buttons */
@media (max-width: 640px) {
  .gb-inner-header .flex.md\:flex-row { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   Admin panel - stronger mobile responsive layer
   ============================================================= */
.gb-admin-body {
  overflow-x: hidden;
}

.gb-admin-body main {
  width: 100%;
  max-width: 80rem;
}

.gb-admin-body * {
  min-width: 0;
}

.gb-admin-nav-items a,
.gb-admin-nav-group > summary,
.gb-admin-nav-menu a {
  min-height: 40px;
  align-items: center;
}

@media (max-width: 1024px) {
  .gb-admin-nav-toggle {
    display: inline-flex;
  }

  .gb-admin-header {
    position: sticky;
    top: 0;
  }

  .gb-admin-header > div {
    position: relative;
  }

  .gb-admin-nav-items {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0.75rem;
    right: 0.75rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 0.75rem;
    z-index: 70;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    max-height: calc(100vh - 5.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  }

  html[data-theme="dark"] .gb-admin-nav-items {
    background: var(--obsidian-2);
    border-color: var(--border);
  }

  .gb-admin-nav-items.open {
    display: flex;
  }

  .gb-admin-nav-items a,
  .gb-admin-nav-group > summary,
  .gb-admin-nav-menu a {
    display: flex;
    width: 100%;
    min-height: 44px;
    white-space: normal;
    line-height: 1.25;
  }

  .gb-admin-nav-group,
  .gb-admin-nav-menu {
    width: 100%;
  }

  .gb-admin-nav-group[open] .gb-admin-nav-menu {
    display: grid;
    gap: 0.25rem;
    position: static;
    max-height: none;
    margin-top: 0.35rem;
    min-width: 0;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .gb-admin-body main {
    max-width: 100vw;
    padding: 1rem 0.75rem 5rem !important;
  }

  .gb-admin-body [class*="grid-cols-"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .gb-admin-body input,
  .gb-admin-body select,
  .gb-admin-body textarea {
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .gb-admin-body button,
  .gb-admin-body a,
  .gb-admin-body summary {
    touch-action: manipulation;
  }

  .gb-admin-body .overflow-x-auto {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .gb-admin-body table {
    min-width: 720px;
  }

  .gb-admin-body th,
  .gb-admin-body td {
    white-space: nowrap;
    vertical-align: top;
  }

  .gb-admin-body .rounded-2xl {
    border-radius: 14px !important;
  }

  .gb-admin-body .p-10 { padding: 1.25rem !important; }
  .gb-admin-body .p-8 { padding: 1rem !important; }
  .gb-admin-body .p-6 { padding: 1rem !important; }
  .gb-admin-body .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .gb-admin-body .py-4 {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .gb-admin-body .flex-wrap > a,
  .gb-admin-body .flex-wrap > button,
  .gb-admin-body .flex-wrap > span {
    max-width: 100%;
  }

  .gb-admin-body form .flex.flex-wrap > button,
  .gb-admin-body form .flex.flex-wrap > a {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .gb-admin-nav-items a,
  .gb-admin-nav-group > summary,
  .gb-admin-nav-menu a {
    font-size: 0.8125rem;
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .gb-admin-header .max-w-7xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .gb-admin-header [style*="font-size:0.8rem"] {
    display: none;
  }

  .gb-admin-body h2,
  .gb-admin-body .text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  .gb-admin-body h3,
  .gb-admin-body .text-lg {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

  .gb-admin-body .text-sm {
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .gb-admin-header .max-w-7xl {
    gap: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .gb-admin-header .gb-logo-wordmark,
  .gb-admin-header [style*="font-size:1.25rem"] {
    display: none !important;
  }

  .gb-admin-header .gb-logo-mark,
  .gb-admin-header .gb-logo-img {
    max-width: 38px;
    max-height: 38px;
  }

  .gb-admin-nav-toggle {
    min-width: 36px;
    min-height: 36px;
    padding: 0.35rem 0.5rem;
  }

  .gb-admin-body main {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .gb-admin-body code,
  .gb-admin-body pre,
  .gb-admin-body .break-all {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .gb-admin-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gb-admin-body th,
  .gb-admin-body td {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .gb-hero,
  .gb-hero-body,
  .gb-hero-left,
  .gb-hero-sub,
  .gb-hero-ctas,
  .gb-hero-stats,
  .gb-search,
  .gb-search-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .gb-hero-h1,
  .gb-hero-sub,
  .gb-section-h2,
  .gb-section-lead {
    overflow-wrap: anywhere;
  }

  .gb-hero-ctas .gb-btn-gold,
  .gb-hero-ctas .gb-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .gb-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gb-stat-cell {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .gb-stat-cell:last-child {
    border-bottom: 0;
  }

  .gb-stat-lbl {
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  #gb-cookie-banner {
    padding: 0.625rem 0.75rem !important;
  }

  #gb-cookie-banner > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  #gb-cookie-banner p {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }

  #gb-cookie-banner div[style*="flex-shrink"] {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.625rem !important;
  }

  #gb-cookie-banner button {
    width: 100% !important;
    min-height: 36px;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }
}

@media (max-width: 640px) {
  .gb-nav,
  .gb-hero,
  .gb-search,
  .gb-section,
  .gb-footer,
  #gb-cookie-banner {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .gb-nav-inner,
  .gb-hero-body,
  .gb-section-wrap,
  .gb-footer-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .gb-nav-inner {
    gap: 0.75rem;
  }

  .gb-nav-right-controls {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .gb-hero-left,
  .gb-hero-h1,
  .gb-hero-sub,
  .gb-hero-ctas,
  .gb-hero-stats,
  .gb-search-inner,
  .gb-cards-grid,
  .gb-features-grid {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .gb-hero-h1 {
    font-size: clamp(2.7rem, 14vw, 3.35rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  .gb-hero-sub {
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .gb-search {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #gb-cookie-banner {
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 640px) {
  .gb-nav,
  .gb-hero,
  .gb-search,
  .gb-section,
  .gb-footer,
  #gb-cookie-banner {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gb-nav-inner,
  .gb-hero-body,
  .gb-section-wrap,
  .gb-footer-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gb-hero-left,
  .gb-hero-h1,
  .gb-hero-sub,
  .gb-hero-ctas,
  .gb-hero-stats,
  .gb-search-inner,
  .gb-cards-grid,
  .gb-features-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gb-hero-body,
  .gb-search,
  .gb-section-wrap,
  .gb-footer-wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .gb-hero-h1 {
    font-size: 2.85rem !important;
  }
}

/* AcreTrust premium landing page
-------------------------------------------------------------- */
.king-premium-home {
  --king-ink: #06030d;
  --king-panel: rgba(13, 8, 28, 0.78);
  --king-line: rgba(255, 236, 179, 0.16);
  --king-soft: rgba(255, 255, 255, 0.055);
  --king-emerald: #2DD4BF;
  --king-ivory: #FFF8E7;
  background:
    linear-gradient(180deg, #06030D 0%, #0B0618 44%, #07030F 100%);
}

.king-premium-home .gb-nav.scrolled,
.king-premium-home .gb-nav.solid {
  background: rgba(6, 3, 13, 0.88);
  border-color: rgba(255, 236, 179, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.king-premium-home .gb-hero {
  min-height: 100vh;
  background: #06030D;
}

.king-premium-home .gb-hero-bg img {
  opacity: 0.3;
  filter: saturate(1.1) contrast(1.08) brightness(0.62);
  object-position: center;
  transform: scale(1.02);
}

.king-premium-home .gb-hero-bg-overlay {
  background:
    linear-gradient(90deg, rgba(6, 3, 13, 0.98) 0%, rgba(9, 4, 20, 0.9) 42%, rgba(9, 4, 18, 0.6) 100%),
    linear-gradient(180deg, rgba(6, 3, 13, 0.52) 0%, rgba(6, 3, 13, 0.96) 100%);
}

.king-premium-home .gb-hero-glow {
  display: none;
}

.king-premium-home .gb-hero-body {
  max-width: 1360px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 4.5rem;
  padding: 6.25rem 1.75rem 4.5rem;
}

.king-premium-home .gb-hero-badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
  color: var(--king-ivory);
  border-color: rgba(255, 213, 79, 0.34);
  background: rgba(255, 213, 79, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.king-premium-home .gb-hero-h1 {
  max-width: 820px;
  font-size: 5.45rem;
  line-height: 0.96;
  letter-spacing: 0;
  color: #FFF9EC;
  text-wrap: balance;
}

.king-premium-home .gb-hero-h1 em {
  color: var(--gold);
  text-shadow: 0 0 34px rgba(255, 213, 79, 0.16);
}

.king-premium-home .gb-hero-sub {
  max-width: 620px;
  font-size: 1.13rem;
  color: rgba(245, 240, 255, 0.78);
}

.king-premium-home .gb-btn-gold {
  background: linear-gradient(135deg, #FFE082 0%, #FFD54F 50%, #C9963A 100%);
  color: #130B22;
  box-shadow: 0 16px 40px rgba(255, 213, 79, 0.18);
}

.king-premium-home .gb-btn-ghost {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFF8E7;
}

.king-premium-home .gb-hero-stats {
  width: 100%;
  max-width: 650px;
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.14);
  background: rgba(11, 6, 24, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.king-premium-home .gb-stat-cell {
  padding: 1rem 1.25rem;
}

.king-premium-home .gb-stat-num,
.king-premium-home .gb-hero-card-name,
.king-premium-home .gb-section-h2,
.king-premium-home .gb-feature-h3,
.king-premium-home .gb-cta-h2 {
  letter-spacing: 0;
}

.king-premium-home .gb-stat-lbl,
.king-premium-home .gb-eyebrow,
.king-premium-home .gb-metric-lbl,
.king-premium-home .gb-hero-card-tag,
.king-premium-home .gb-card-meta-lbl,
.king-premium-home .gb-card-val-lbl {
  letter-spacing: 0;
}

.king-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  max-width: 650px;
  margin-top: 1rem;
}

.king-hero-signals span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 236, 179, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
  color: rgba(255, 248, 231, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
}

.king-hero-signals [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--king-emerald);
}

.king-premium-home .gb-hero-card {
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.2);
  background: rgba(13, 8, 28, 0.9);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

.king-premium-home .gb-hero-card-img {
  height: 275px;
}

.king-premium-home .gb-hero-card-img::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 179, 0.72), transparent);
}

.king-premium-home .gb-metric {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 236, 179, 0.12);
}

.king-premium-home .gb-metric-val.positive,
.king-premium-home .gb-card-meta-val.positive,
.king-premium-home .gb-ticker-roi {
  color: var(--king-emerald);
}

.king-premium-home .gb-search {
  max-width: 1360px;
  padding-bottom: 3.75rem;
}

.king-premium-home .gb-search-inner {
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.18);
  background: rgba(13, 8, 28, 0.88);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.king-premium-home .gb-sf select,
.king-premium-home .gb-sf input {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.062);
}

.king-premium-home .gb-search-btn {
  border-radius: 8px;
  background: var(--king-ivory);
  color: #130B22;
}

.king-trust-rail {
  background: #080411;
  border-top: 1px solid rgba(255, 236, 179, 0.1);
  border-bottom: 1px solid rgba(255, 236, 179, 0.1);
}

.king-trust-rail__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.king-trust-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-right: 1px solid rgba(255, 236, 179, 0.11);
}

.king-trust-item:last-child {
  border-right: 0;
}

.king-trust-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--king-emerald);
  border: 1px solid rgba(45, 212, 191, 0.24);
}

.king-trust-icon [data-lucide] {
  width: 18px;
  height: 18px;
}

.king-trust-item h2 {
  margin: 0 0 0.35rem;
  color: #FFF8E7;
  font-size: 0.94rem;
  font-weight: 800;
}

.king-trust-item p {
  margin: 0;
  color: rgba(245, 240, 255, 0.65);
  font-size: 0.83rem;
  line-height: 1.5;
}

.king-premium-home .gb-ticker {
  background: #0B0618;
  border-color: rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-props-section {
  background:
    linear-gradient(180deg, #080411 0%, #0D081C 100%);
}

.king-premium-home .gb-props-head {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-card {
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.13);
  background: rgba(14, 9, 30, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.king-premium-home .gb-card-photo {
  height: 255px;
}

.king-premium-home .gb-card-photo img {
  filter: saturate(1.04) contrast(1.02);
}

.king-premium-home .gb-card-photo-overlay {
  background:
    linear-gradient(to top, rgba(7, 3, 15, 0.94) 0%, rgba(7, 3, 15, 0.1) 54%, rgba(7, 3, 15, 0.22) 100%);
}

.king-premium-home .gb-card-type,
.king-premium-home .gb-card-roi-pill {
  border-radius: 999px;
}

.king-premium-home .gb-card-meta {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.048);
  border-color: rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-card-invest {
  border-radius: 8px;
}

.king-premium-desk {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0D081C 0%, #06030D 100%);
  border-top: 1px solid rgba(255, 236, 179, 0.1);
  border-bottom: 1px solid rgba(255, 236, 179, 0.1);
}

.king-premium-desk__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.king-premium-copy .gb-section-h2 {
  max-width: 620px;
  font-size: 3.3rem;
}

.king-premium-copy .gb-section-lead {
  max-width: 600px;
}

.king-desk-stats {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 236, 179, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.king-desk-stats div {
  padding: 1rem;
  border-right: 1px solid rgba(255, 236, 179, 0.1);
}

.king-desk-stats div:last-child {
  border-right: 0;
}

.king-desk-stats strong {
  display: block;
  color: #FFF8E7;
  font-size: 1.38rem;
  line-height: 1.1;
}

.king-desk-stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(245, 240, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
}

.king-portfolio-collage {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.king-collage-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 236, 179, 0.16);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.king-collage-card:first-child {
  grid-row: 1 / span 2;
}

.king-collage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 3, 13, 0.08) 0%, rgba(6, 3, 13, 0.78) 100%);
}

.king-collage-card div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.king-collage-card p {
  margin: 0 0 0.35rem;
  color: var(--king-emerald);
  font-size: 0.78rem;
  font-weight: 800;
}

.king-collage-card h3 {
  margin: 0;
  max-width: 360px;
  color: #FFF8E7;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.king-premium-home .gb-features-section {
  background: #080411;
  border-color: rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-features-grid {
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.king-premium-home .gb-feature {
  border-color: rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-feature:hover {
  background: rgba(255, 255, 255, 0.045);
}

.king-premium-home .gb-feature-icon {
  border-radius: 8px;
  border-color: rgba(255, 236, 179, 0.16);
  background: rgba(255, 213, 79, 0.1);
}

.king-premium-home .gb-cta-section {
  background:
    linear-gradient(180deg, #080411 0%, #06030D 100%);
  border-top: 1px solid rgba(255, 236, 179, 0.1);
}

.king-premium-home .gb-cta-section::before {
  background: linear-gradient(90deg, transparent, rgba(255, 213, 79, 0.14), transparent);
  width: min(760px, calc(100% - 2rem));
  height: 1px;
  top: 2rem;
}

.king-premium-home .gb-cta-p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .king-premium-home .gb-hero-body,
  .king-premium-desk__grid {
    grid-template-columns: 1fr;
  }

  .king-premium-home .gb-hero-h1 {
    font-size: 4.45rem;
  }

  .king-premium-home .gb-hero-right {
    display: block;
    max-width: 520px;
  }

  .king-trust-rail__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .king-trust-item:nth-child(2) {
    border-right: 0;
  }

  .king-trust-item:nth-child(n+3) {
    border-top: 1px solid rgba(255, 236, 179, 0.1);
  }
}

@media (max-width: 768px) {
  .king-premium-home .gb-hero-body {
    padding-top: 4.25rem;
    padding-bottom: 2.6rem;
  }

  .king-premium-home .gb-hero-h1 {
    font-size: 3.45rem;
  }

  .king-premium-home .gb-hero-sub {
    font-size: 1rem;
  }

  .king-premium-home .gb-hero-right {
    display: none;
  }

  .king-trust-rail__inner {
    grid-template-columns: 1fr;
    padding: 0.5rem 1rem;
  }

  .king-trust-item {
    border-right: 0;
    border-top: 1px solid rgba(255, 236, 179, 0.1);
    padding: 1rem 0;
  }

  .king-trust-item:first-child {
    border-top: 0;
  }

  .king-premium-copy .gb-section-h2 {
    font-size: 2.45rem;
  }

  .king-portfolio-collage {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .king-collage-card,
  .king-collage-card:first-child {
    grid-row: auto;
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .king-premium-home .gb-hero-body,
  .king-trust-rail__inner,
  .king-premium-home .gb-section-wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .king-premium-home .gb-hero-left,
  .king-premium-home .gb-hero-h1,
  .king-premium-home .gb-hero-sub,
  .king-premium-home .gb-hero-ctas,
  .king-premium-home .gb-hero-stats,
  .king-premium-home .king-hero-signals,
  .king-premium-home .gb-search,
  .king-premium-home .gb-search-inner {
    width: min(100%, calc(100vw - 2rem)) !important;
    max-width: min(100%, calc(100vw - 2rem)) !important;
    min-width: 0 !important;
  }

  .king-premium-home .gb-hero-h1 {
    font-size: 2.42rem !important;
    line-height: 1.02 !important;
  }

  .king-premium-home .gb-hero-sub,
  .king-premium-home .gb-section-lead,
  .king-premium-home .gb-cta-p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .king-hero-signals {
    display: grid;
    grid-template-columns: 1fr;
  }

  .king-premium-home .gb-hero-ctas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .king-premium-home .gb-hero-ctas .gb-btn-gold,
  .king-premium-home .gb-hero-ctas .gb-btn-ghost {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal;
  }

  .king-hero-signals span {
    width: 100%;
    justify-content: center;
  }

  .king-desk-stats {
    grid-template-columns: 1fr;
  }

  .king-desk-stats div,
  .king-desk-stats div:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 236, 179, 0.1);
  }

  .king-desk-stats div:last-child {
    border-bottom: 0;
  }

  .king-premium-copy .gb-section-h2 {
    font-size: 2.12rem;
  }

  .king-collage-card h3 {
    font-size: 1.32rem;
  }
}

/* AcreTrust business landing page
-------------------------------------------------------------- */
.king-business-home {
  --biz-ink: #101418;
  --biz-muted: #5F6B75;
  --biz-soft: #F5F2EA;
  --biz-paper: #FFFFFF;
  --biz-line: #DDD6C8;
  --biz-gold: #B8822F;
  --biz-green: #157A4C;
  margin: 0;
  background: var(--biz-soft);
  color: var(--biz-ink);
}

.king-business-home .gb-nav.solid,
.king-business-home .gb-nav.scrolled {
  background: rgba(16, 20, 24, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(16, 20, 24, 0.18);
}

.king-business-home .gb-logo-prefix {
  color: #F5F2EA;
}

.king-business-home .gb-nav-sign-in {
  color: rgba(245, 242, 234, 0.82);
}

.king-business-home .gb-nav-cta {
  background: #F5F2EA;
  color: #101418;
  border-color: #F5F2EA;
}

.king-business-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.king-business-hero {
  min-height: min(560px, 68vh);
  padding: calc(68px + 2.6rem) 0 3rem;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}

.king-business-hero__inner {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.king-business-kicker,
.king-business-eyebrow {
  margin: 0 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--biz-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.king-business-kicker [data-lucide],
.king-business-eyebrow [data-lucide] {
  width: 16px;
  height: 16px;
}

.king-business-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", var(--sans), sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.king-business-hero__lead {
  max-width: 570px;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.62;
}

.king-business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.king-business-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.king-business-btn:hover {
  transform: translateY(-1px);
}

.king-business-btn [data-lucide],
.king-business-link [data-lucide],
.king-business-search button [data-lucide] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.king-business-btn--primary {
  background: var(--biz-gold);
  color: #FFFFFF;
  border-color: var(--biz-gold);
}

.king-business-btn--primary:hover {
  background: #A57229;
  border-color: #A57229;
}

.king-business-btn--secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.king-business-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.king-business-btn--light {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}

.king-business-hero__facts {
  max-width: 760px;
  margin: 2.7rem 0 0;
  padding: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.king-business-hero__facts div {
  padding: 0 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.king-business-hero__facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.king-business-hero__facts dt {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.king-business-hero__facts dd {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.king-business-risk-note {
  max-width: 670px;
  margin: 1rem 0 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.56);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.55;
}

.king-business-risk-note span {
  display: inline-block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.king-business-search {
  position: relative;
  z-index: 3;
  margin-top: -2.2rem;
  padding: 0 0 2rem;
}

.king-business-search__inner {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.8rem;
  align-items: end;
  background: #FFFFFF;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 20, 24, 0.12);
}

.king-business-search label {
  display: grid;
  gap: 0.42rem;
}

.king-business-search span {
  color: var(--biz-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.king-business-search select,
.king-business-search input {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF !important;
  color: var(--biz-ink) !important;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
}

.king-business-search select:focus,
.king-business-search input:focus {
  border-color: var(--biz-gold);
  box-shadow: 0 0 0 3px rgba(184, 130, 47, 0.12);
}

.king-business-search option {
  background: #FFFFFF;
  color: var(--biz-ink);
}

html[data-theme="dark"] body.king-business-home .king-business-search select,
html[data-theme="dark"] body.king-business-home .king-business-search textarea,
html[data-theme="dark"] body.king-business-home .king-business-search input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) {
  background-color: #FFFFFF !important;
  border-color: var(--biz-line) !important;
  color: var(--biz-ink) !important;
}

.king-business-search button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid #101418;
  border-radius: 8px;
  background: #101418;
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.king-business-trust {
  padding: 0 0 1.8rem;
}

.king-business-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.king-business-trust article {
  min-height: 122px;
  display: flex;
  gap: 0.78rem;
  padding: 1rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.king-business-trust article > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(184, 130, 47, 0.1);
  color: var(--biz-gold);
}

.king-business-trust [data-lucide] {
  width: 17px;
  height: 17px;
}

.king-business-trust h2 {
  margin: 0;
  color: var(--biz-ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.king-business-trust p {
  margin: 0.38rem 0 0;
  color: var(--biz-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.king-business-trust__hint {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  color: var(--biz-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.king-business-proof {
  padding: 1rem 0 4rem;
}

.king-business-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.king-business-proof article {
  padding: 1.35rem;
  border-left: 1px solid var(--biz-line);
}

.king-business-proof article:first-child {
  border-left: 0;
}

.king-business-proof strong {
  display: block;
  color: var(--biz-ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
}

.king-business-proof h2 {
  margin: 0.45rem 0 0;
  color: var(--biz-ink);
  font-size: 0.94rem;
  font-weight: 900;
}

.king-business-proof p,
.king-business-section__head p,
.king-business-steps p,
.king-business-cta p,
.king-business-empty p {
  color: var(--biz-muted);
  line-height: 1.65;
}

.king-business-proof p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
}

.king-business-section {
  padding: 2.4rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--biz-line);
}

.king-business-section--properties {
  background: var(--biz-soft);
}

.king-business-section__head {
  max-width: 680px;
  margin-bottom: 1.7rem;
}

.king-business-section__head--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.king-business-section__head h2,
.king-business-cta h2 {
  margin: 0;
  color: var(--biz-ink);
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.king-business-section__head p,
.king-business-cta p {
  max-width: 620px;
  margin: 0.8rem 0 0;
  font-size: 1rem;
}

.king-business-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.king-business-steps article {
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.king-business-steps span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(184, 130, 47, 0.1);
  color: var(--biz-gold);
}

.king-business-steps span [data-lucide] {
  width: 20px;
  height: 20px;
}

.king-business-steps h3,
.king-business-empty h3 {
  margin: 1.15rem 0 0;
  color: var(--biz-ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.king-business-steps p {
  margin: 0.55rem 0 0;
  font-size: 0.94rem;
}

.king-business-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--biz-ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.king-business-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.king-business-property-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.king-business-property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  text-decoration: none;
}

.king-business-property-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.king-business-property-card:hover .king-business-property-card__media img {
  transform: scale(1.03);
}

.king-business-property-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.08) 0%, rgba(16, 20, 24, 0.5) 100%);
}

.king-business-property-card__media span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(16, 20, 24, 0.72);
  color: #FFFFFF;
  font-size: 0.73rem;
  font-weight: 900;
}

.king-business-property-card__body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.king-business-property-card h3 {
  margin: 0;
  color: var(--biz-ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

.king-business-property-card__location {
  margin: 0.45rem 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--biz-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.king-business-property-card__location [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--biz-gold);
  flex: 0 0 auto;
}

.king-business-property-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0;
}

.king-business-property-card dl div {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.72rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #F8F6F0;
}

.king-business-property-card dt,
.king-business-property-card dd {
  margin: 0;
}

.king-business-property-card dt {
  color: var(--biz-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.king-business-property-card dd {
  color: var(--biz-ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
}

.king-business-property-card__bar {
  height: 4px;
  margin: 0.85rem 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: #E5DED2;
}

.king-business-property-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--biz-gold);
}

.king-business-property-card__note {
  margin: 0.75rem 0 0;
  color: var(--biz-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.king-business-property-card__link {
  min-height: 42px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid #101418;
  border-radius: 8px;
  background: #101418;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.king-business-property-card__link [data-lucide] {
  width: 15px;
  height: 15px;
}

.king-business-home .gb-card {
  border-radius: 8px;
  background: #FFFFFF;
  border-color: var(--biz-line);
  box-shadow: none;
}

.king-business-home .gb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 130, 47, 0.42);
  box-shadow: 0 18px 38px rgba(16, 20, 24, 0.1);
}

.king-business-home .gb-card-photo {
  aspect-ratio: 16 / 10;
}

.king-business-home .gb-card-photo img {
  filter: none;
}

.king-business-home .gb-card-title,
.king-business-home .gb-card-pct,
.king-business-home .gb-card-meta-val {
  color: var(--biz-ink);
}

.king-business-home .gb-card-title {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 900;
}

.king-business-home .gb-card-loc,
.king-business-home .gb-card-investors,
.king-business-home .gb-card-meta-lbl {
  color: var(--biz-muted);
}

.king-business-home .gb-card-bar,
.king-business-home .gb-card-meta-item {
  background: #F8F6F0;
  border-color: var(--biz-line);
}

.king-business-home .gb-card-meta-val.positive {
  color: var(--biz-green);
}

.king-business-home .gb-card-invest {
  border-radius: 8px;
  background: #101418;
  border-color: #101418;
  color: #FFFFFF;
}

.king-business-home .gb-card-invest:hover {
  background: #2A3035;
  border-color: #2A3035;
  color: #FFFFFF;
}

.king-business-empty {
  padding: 2rem;
  border: 1px solid var(--biz-line);
  border-radius: 8px;
  background: #FFFFFF;
}

.king-business-empty h3,
.king-business-empty p {
  margin-left: 0;
  margin-right: 0;
}

.king-business-cta {
  padding: 2.4rem 0;
  background: #101418;
  color: #FFFFFF;
}

.king-business-cta .king-business-eyebrow {
  color: #D5A451;
}

.king-business-cta h2 {
  color: #FFFFFF;
}

.king-business-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.king-business-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.king-business-cta .king-business-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.king-business-home .gb-footer {
  border-top: 0;
}

@media (max-width: 980px) {
  .king-business-hero {
    min-height: auto;
    padding-top: calc(68px + 3.25rem);
  }

  .king-business-search__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .king-business-search button {
    grid-column: 1 / -1;
  }

  .king-business-proof__grid,
  .king-business-steps,
  .king-business-trust__grid,
  .king-business-property-grid {
    grid-template-columns: 1fr;
  }

  .king-business-proof article,
  .king-business-proof article:first-child {
    border-left: 0;
    border-top: 1px solid var(--biz-line);
  }

  .king-business-proof article:first-child {
    border-top: 0;
  }

  .king-business-section__head--split,
  .king-business-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .king-business-wrap,
  .king-business-hero__inner,
  .king-business-search__inner {
    width: min(100%, calc(100vw - 2rem));
  }

  .king-business-hero {
    padding-top: calc(68px + 2.4rem);
    padding-bottom: 2rem;
    min-height: auto;
    background-position: center top;
  }

  .king-business-hero h1 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .king-business-hero__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-top: 0.85rem;
  }

  .king-business-actions,
  .king-business-cta .king-business-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .king-business-btn {
    width: 100%;
  }

  .king-business-hero .king-business-btn--secondary {
    display: none;
  }

  .king-business-risk-note {
    margin-top: 0.85rem;
    padding: 0.62rem 0.7rem;
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .king-business-hero__facts {
    display: none;
  }

  .king-business-search {
    margin-top: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .king-business-search__inner {
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .king-business-section,
  .king-business-cta {
    padding: 2.5rem 0;
  }

  .king-business-trust {
    padding-bottom: 2rem;
  }

  .king-business-trust article {
    min-height: 0;
  }

  .king-business-section__head h2,
  .king-business-cta h2 {
    font-size: 2.35rem;
  }
}
