/* =========================================================
   BAYTNA — style.css
   Dark, gold-accented, conversion-focused landing page
   ========================================================= */

/* ---------- Theme tokens ----------
   Light is the default. [data-theme="dark"] switches every token below. */
:root {
  color-scheme: light;
  --bg: #F6F5F1;
  --bg-2: #EFEDE7;
  --bg-3: #E8E5DD;
  --surface: #FFFFFF;
  --surface-rgb: 255, 255, 255;
  --img-fade: rgba(20, 24, 40, 0.22);
  --pm-fade: rgba(0, 0, 0, 0.5);
  --surface-2: #FAF9F6;
  --surface-3: #EFEDE7;
  --border: rgba(20, 24, 40, 0.08);
  --border-2: rgba(20, 24, 40, 0.15);
  --text: #141828;
  --text-2: #2F3548;
  --muted: #5D6476;
  --muted-2: #8C92A3;
  --gold: #B8912B;
  --gold-2: #D4AF37;
  --gold-3: #8E6F1C;
  --gold-rgb: 184, 145, 43;
  --on-gold: #1B1403;
  --gold-grad: linear-gradient(120deg, #C9A227 0%, #A8862A 50%, #7E6214 100%);
  --btn-grad: linear-gradient(135deg, #E6C65C 0%, #D4AF37 55%, #B8912B 100%);
  --num-grad: linear-gradient(120deg, #141828 0%, #8E6F1C 100%);
  --bar-grad: linear-gradient(90deg, #B8912B, #E6C65C);
  --fill-1: rgba(20, 24, 40, 0.035);
  --fill-2: rgba(20, 24, 40, 0.07);
  --track: rgba(20, 24, 40, 0.12);
  --line: rgba(20, 24, 40, 0.06);
  --glass: rgba(246, 245, 241, 0.86);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --overlay: rgba(20, 24, 40, 0.5);
  --shadow: 0 20px 50px rgba(20, 24, 40, 0.1);
  --shadow-lg: 0 30px 80px rgba(20, 24, 40, 0.16);
  --shadow-hover: 0 24px 50px rgba(20, 24, 40, 0.14);
  --map-shadow: drop-shadow(0 20px 30px rgba(20, 24, 40, 0.18));
  --map-land-1: #FFFFFF;
  --map-land-2: #ECE9E0;
  --map-sea-dot: rgba(59, 130, 246, 0.28);
  --map-gov: rgba(20, 24, 40, 0.2);
  --chart-grid: rgba(20, 24, 40, 0.08);
  --chart-label: #8C92A3;
  --scroll-thumb: #C9C6BC;
  --orb-1: #D4AF37; --orb-2: #60A5FA; --orb-3: #A78BFA;
  --orb-a1: 0.22; --orb-a2: 0.18; --orb-a3: 0.12;
  --footer-bg: linear-gradient(180deg, rgba(184, 145, 43, 0.08), rgba(184, 145, 43, 0.18));
  --footer-text: #141828;
  --footer-muted: #5D6476;
  --footer-border: rgba(20, 24, 40, 0.1);
  --footer-seg: rgba(20, 24, 40, 0.06);
  --footer-seg-active: #FFFFFF;
  --green: #16A34A;
  --red: #EF4444;
  --amber: #D97706;
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}
/* Dark palette — tokens are literal values so none can reference itself */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111419;
  --bg-2: #15191F;
  --bg-3: #0D1014;
  --surface: #1A1E26;
  --surface-rgb: 26, 30, 38;
  --img-fade: rgba(26, 30, 38, 0.85);
  --pm-fade: rgba(26, 30, 38, 0.92);
  --surface-2: #20252E;
  --surface-3: #2A3039;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #F3F4F6;
  --text-2: #D5D8DE;
  --muted: #A3A9B6;
  --muted-2: #737A88;
  --gold: #D4AF37;
  --gold-2: #F2CF6B;
  --gold-3: #B8912B;
  --gold-rgb: 212, 175, 55;
  --on-gold: #15120A;
  --gold-grad: linear-gradient(120deg, #F7DC8A 0%, #D4AF37 45%, #B8912B 100%);
  --btn-grad: linear-gradient(135deg, #F2CF6B 0%, #D4AF37 55%, #C9A227 100%);
  --num-grad: linear-gradient(120deg, #FFFFFF 0%, #F7DC8A 100%);
  --bar-grad: linear-gradient(90deg, #B8912B, #F2CF6B);
  --fill-1: rgba(255, 255, 255, 0.04);
  --fill-2: rgba(255, 255, 255, 0.08);
  --track: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.035);
  --glass: rgba(17, 20, 25, 0.82);
  --glass-strong: rgba(26, 30, 38, 0.96);
  --overlay: rgba(0, 0, 0, 0.72);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 28px 60px rgba(0, 0, 0, 0.5);
  --map-shadow: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  --map-land-1: #262C38;
  --map-land-2: #1A1E26;
  --map-sea-dot: rgba(96, 165, 250, 0.28);
  --map-gov: rgba(255, 255, 255, 0.16);
  --chart-grid: rgba(255, 255, 255, 0.06);
  --chart-label: #737A88;
  --scroll-thumb: #2A3039;
  --orb-1: #D4AF37; --orb-2: #2563EB; --orb-3: #7C3AED;
  --orb-a1: 0.16; --orb-a2: 0.16; --orb-a3: 0.1;
  --footer-bg: #0D1014;
  --footer-text: #F3F4F6;
  --footer-muted: #737A88;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-seg: rgba(255, 255, 255, 0.08);
  --footer-seg-active: rgba(255, 255, 255, 0.14);
  --green: #22C55E;
  --amber: #F59E0B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s, color 0.3s;
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: 0.25s; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; user-select: none; -webkit-user-select: none; }
/* labels, captions and headings are not meant to be selected or show a text caret */
label, output, .range-ends, .field-meta, .field-head, .modal-tabs, h1, h2, h3, h4, .ladder-head, .dash-head, .eyebrow, .section-head { user-select: none; -webkit-user-select: none; }
label { cursor: default; }
label[for], .toggle-field label, .switch { cursor: pointer; }
input, textarea { user-select: text; -webkit-user-select: text; } /* fields inside wrapping labels stay editable/selectable */
/* clickable non-button controls: no text caret or accidental selection */
.region-list li, .dash-item, .prop-img, .map-city, .fselect-list li, .nav-user-btn, .pm-thumbs, .seg { user-select: none; -webkit-user-select: none; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: rgba(var(--gold-rgb), 0.35); color: var(--text); }
[hidden] { display: none !important; }
:focus:not(:focus-visible) { outline: none; }
.btn:focus-visible, .chip:focus-visible, .presets button:focus-visible, .theme-toggle:focus-visible, .fselect-btn:focus-visible, .dash-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Page scrollbar */
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg-3); }
html::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 10px; border: 2px solid var(--bg-3); }
html::-webkit-scrollbar-thumb:hover { background: rgba(var(--gold-rgb), 0.55); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--bg-3); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.center { text-align: center; }
.gold-text { color: var(--gold) !important; }
.bg-darker { background: var(--bg-3); }
.up { color: var(--green); }

.gold-gradient {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Typography blocks ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; }
.section-header.center .eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--gold); }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-header p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn i { font-size: 0.9em; transition: transform 0.25s; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-gold {
  background: var(--btn-grad);
  color: var(--on-gold);
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(var(--gold-rgb), 0.42); }
.btn-outline { border-color: var(--border-2); color: var(--text); background: var(--fill-1); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); background: var(--fill-1); }
.btn.large { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn.block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.05) 50%, rgba(var(--gold-rgb), 0.14));
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
  font-size: 0.85rem;
  color: var(--muted);
  padding: 9px 0;
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.announce strong { color: var(--text); font-weight: 600; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.6); animation: ping 2s infinite; flex-shrink: 0; }
.announce-link { color: var(--gold); font-weight: 600; white-space: nowrap; }
.announce-link:hover { color: var(--gold-2); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.6); } 70% { box-shadow: 0 0 0 8px rgba(var(--gold-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); } }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--gold); font-size: 1.15rem; display: inline-flex; width: 44px; height: 44px; border-radius: 0; background: none; align-items: center; justify-content: center; border: none; }
.logo-icon img { width: 44px; height: 44px; display: block; object-fit: contain; }
.logo-dot { color: var(--gold); }
.logo-ar { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-left: 2px; padding-left: 10px; border-left: 1px solid var(--border-2); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); font-size: 0.93rem; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width 0.3s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-mobile-auth { display: none; }
.nav-mobile-head { display: none; }
.nav-mobile-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-mobile-user .avatar { width: 44px; height: 44px; font-size: 1rem; }
.nav-mobile-user .avatar.guest { background: var(--fill-2); color: var(--muted); font-size: 0.95rem; }
.nav-mobile-user strong { display: block; font-size: 1rem; line-height: 1.2; }
.nav-mobile-user span { font-size: 0.8rem; color: var(--muted); }
.nav-mobile-user span b { color: var(--gold); }
.nav-auth { display: flex; gap: 22px; align-items: center; }
.nav-auth .login-btn { color: var(--text); font-weight: 500; font-size: 0.93rem; }
.nav-auth .login-btn:hover { color: var(--gold); }
.nav-auth .btn-gold { padding: 10px 20px; }
/* Light / dark segmented control */
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--fill-2); border: 1px solid var(--border); border-radius: 999px; flex-shrink: 0; }
.seg button { width: 32px; height: 26px; border: none; border-radius: 999px; background: none; color: var(--muted); font-size: 0.78rem; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.seg button:hover { color: var(--text); }
.seg button.active { background: var(--surface); color: var(--gold); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.menu-theme { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 4px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.menu-theme > span { white-space: nowrap; }
.menu-theme span i { width: 16px; text-align: center; color: var(--gold); margin-right: 6px; }
.footer-theme { display: flex; align-items: center; gap: 10px; }
.footer-theme .seg { background: var(--footer-seg); border-color: var(--footer-border); }
.footer-theme .seg button { color: var(--footer-muted); }
.footer-theme .seg button.active { background: var(--footer-seg-active); color: var(--gold); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-2); border-radius: 8px; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: drift 20s ease-in-out infinite alternate; will-change: transform; }
.orb-1 { width: 560px; height: 560px; background: var(--orb-1); top: -200px; right: -120px; opacity: var(--orb-a1); }
.orb-2 { width: 460px; height: 460px; background: var(--orb-2); bottom: -160px; left: -140px; opacity: var(--orb-a2); animation-delay: -7s; }
.orb-3 { width: 320px; height: 320px; background: var(--orb-3); top: 45%; left: 42%; opacity: var(--orb-a3); animation-delay: -13s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 30px) scale(0.96); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--fill-1); border: 1px solid var(--border-2);
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 0.85rem; color: var(--muted); margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.pill #heroLiveCount { color: var(--text); font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.1; margin-bottom: 24px; font-weight: 700; max-width: 14ch; }
.hero .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 36px; max-width: 540px; line-height: 1.7; }
.cta-group { display: flex; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; margin-bottom: 44px; }
.trust-row i { margin-right: 7px; color: var(--gold); }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.hstat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--text); line-height: 1.1; margin-bottom: 4px; }
.hstat span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-visual { position: relative; }
.gold-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 380px; height: 380px; background: var(--gold); opacity: 0.12; filter: blur(90px); z-index: -1; pointer-events: none; }

/* Featured card (hero) */
.asset-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--gold-rgb), 0.08);
}
.asset-card .card-image-container { position: relative; height: 220px; }
.asset-card .card-image-container img { width: 100%; height: 100%; object-fit: cover; }
.asset-card .card-image-container::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--img-fade)); }
.asset-card .card-content { padding: 22px 24px 24px; }
.asset-card .card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.asset-card .card-header h3 { font-size: 1.35rem; margin: 2px 0 4px; }
.code { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.location { color: var(--muted); font-size: 0.86rem; }
.location i { color: var(--gold); margin-right: 5px; }
.yield-pill { background: rgba(var(--gold-rgb), 0.12); border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 12px; padding: 8px 12px; text-align: center; flex-shrink: 0; }
.yield-pill strong { display: block; color: var(--gold); font-size: 1.25rem; line-height: 1; font-family: var(--font-head); }
.yield-pill span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.metric { display: flex; flex-direction: column; background: var(--fill-1); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.metric .label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.metric .value { font-size: 1.02rem; font-weight: 600; }
.progress { height: 7px; background: var(--fill-2); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.progress-bar { height: 100%; background: var(--bar-grad); border-radius: 10px; width: 0; transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.progress-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: shimmer 2.4s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.funding-status { display: flex; justify-content: space-between; font-size: 0.83rem; color: var(--muted); margin-bottom: 18px; }
.funding-status b { color: var(--text); font-weight: 600; }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 11px; border-radius: 7px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(8px);
}
.badge i { font-size: 0.5rem; }
.badge.open { background: rgba(255, 255, 255, 0.94); color: #15803D; }
.badge.open i { color: #22C55E; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.badge.hot { background: linear-gradient(135deg, #F7D354, #D9B339); color: #1B1403; }
.badge.funded { background: rgba(34, 197, 94, 0.92); color: #052E16; }
.badge.soon { background: rgba(11, 15, 25, 0.75); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.closes-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(11, 15, 25, 0.7); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; padding: 6px 10px; border-radius: 7px; font-size: 0.72rem; font-weight: 600; backdrop-filter: blur(8px); display: inline-flex; gap: 6px; align-items: center; }
.closes-badge i { color: var(--gold); }
.closes-badge span { font-variant-numeric: tabular-nums; }

.mini-calc { background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08), rgba(var(--gold-rgb), 0.03)); border: 1px solid rgba(var(--gold-rgb), 0.25); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.mini-calc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 0.82rem; color: var(--muted); }
.mini-calc-head strong { font-size: 1.15rem; color: var(--text); font-family: var(--font-head); }
.mini-calc-out { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mini-calc-out > div { display: flex; align-items: baseline; gap: 5px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.mini-calc-out strong { font-size: 1.15rem; color: var(--text); font-family: var(--font-head); }

.float-card {
  position: absolute; background: var(--glass-strong); border: 1px solid var(--border-2); border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: 0.85rem; z-index: 3;
}
.float-card strong { display: block; color: var(--text); font-size: 0.86rem; }
.float-card span { color: var(--muted); font-size: 0.78rem; }
.float-card > i { color: var(--green); font-size: 1.3rem; }
.fc-1 { top: 118px; left: -50px; }
.fc-2 { top: 172px; right: -46px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--btn-grad); color: var(--on-gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* ---------- Ticker ---------- */
.ticker { position: relative; display: flex; align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; height: 50px; }
.ticker-label { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; background: var(--bg-2); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); border-right: 1px solid var(--border); flex-shrink: 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; padding-left: 24px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 0.86rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ticker-item b { color: var(--text); font-weight: 600; }
.ticker-item .amt { color: var(--gold); font-weight: 700; }
.ticker-item .t { color: var(--muted-2); font-size: 0.75rem; }
.ticker-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Marketplace ---------- */
.market-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--fill-1); border: 1px solid var(--border-2); color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; transition: 0.25s; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.active { background: rgba(var(--gold-rgb), 0.14); border-color: var(--gold); color: var(--gold); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.chip .dot.green { background: #22C55E; box-shadow: 0 0 8px #22C55E; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
select, .sort select {
  background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 38px 10px 14px; font-size: 0.9rem;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; outline: none;
}
select:focus { border-color: var(--gold); }

/* Custom dropdown (replaces native <select> pickers so the open list matches the theme everywhere) */
.fselect { position: relative; display: inline-block; }
.fselect-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; padding: 0; margin: 0; }
.fselect-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 14px; font-size: 0.92rem; font-family: inherit; cursor: pointer; text-align: left; transition: 0.2s; }
.fselect-btn i { font-size: 0.68rem; color: var(--muted); transition: transform 0.2s; }
.fselect-btn:hover { border-color: var(--muted-2); }
.fselect.open .fselect-btn, .fselect-btn:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15); outline: none; }
.fselect.open .fselect-btn i { transform: rotate(180deg); }
.fselect-list { position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%; z-index: 60; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px; box-shadow: var(--shadow-lg); animation: popIn 0.18s ease; max-height: 280px; overflow-y: auto; }
.fselect.up .fselect-list { top: auto; bottom: calc(100% + 6px); }
.fselect-list li { padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; white-space: nowrap; }
.fselect-list li:hover, .fselect-list li.focus { background: var(--fill-2); }
.fselect-list li[aria-selected="true"] { background: rgba(var(--gold-rgb), 0.12); color: var(--gold); font-weight: 600; }
.fselect-list li[aria-selected="true"]::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7rem; }
.sort .fselect-btn { min-width: 190px; }
.join-form .fselect, .modal-form .fselect { width: 100%; }
.join-form .fselect-btn, .modal-form .fselect-btn { padding: 13px 14px; font-size: 0.95rem; }

.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prop-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.prop-card:hover { transform: translateY(-8px); border-color: rgba(var(--gold-rgb), 0.45); box-shadow: var(--shadow-hover), 0 0 0 1px rgba(var(--gold-rgb), 0.12); }
.prop-card.flash, .calc-results.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.5); } }
.prop-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.prop-card:hover .prop-img img { transform: scale(1.07); }
.prop-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, var(--img-fade)); }
.type-tag { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-size: 0.72rem; color: #fff; background: rgba(11, 15, 25, 0.6); border: 1px solid rgba(255, 255, 255, 0.15); padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(6px); display: inline-flex; gap: 6px; align-items: center; }
.type-tag i { color: var(--gold); }
.closes { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 0.72rem; font-weight: 600; color: #fff; background: rgba(11, 15, 25, 0.7); border: 1px solid rgba(255, 255, 255, 0.15); padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.closes i { color: var(--gold); margin-right: 4px; }
.ring { width: 14px; height: 14px; margin-right: 5px; vertical-align: -3px; flex-shrink: 0; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 4; }
.ring-fill { fill: none; stroke: #E6C65C; stroke-width: 4; stroke-linecap: round; }
.closes-badge .ring { margin-right: 6px; }
.prop-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.prop-head h3 { font-size: 1.2rem; margin: 2px 0 4px; }
.prop-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.prop-metrics div { background: var(--fill-1); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; }
.prop-metrics span { display: block; font-size: 0.64rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.prop-metrics strong { font-size: 0.95rem; font-weight: 600; }
.funding-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.funding-row b { color: var(--text); font-weight: 600; }
.prop-foot { font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; margin-top: auto; }
.prop-foot i { color: var(--gold); }
.prop-foot .left { color: var(--amber); font-weight: 600; }
.prop-actions { display: flex; gap: 10px; }
.prop-actions .btn-gold { flex: 1; }
.prop-card.funded .btn-gold { background: var(--surface-3); color: var(--text); box-shadow: none; }
.prop-card.funded .progress-bar { background: linear-gradient(90deg, #16A34A, #4ADE80); }
.market-more { text-align: center; margin-top: 40px; }
.market-more p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.market-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border-2); border-radius: var(--radius); }

/* ---------- Map section ---------- */
.map-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.map-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.map-text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }
.region-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.region-list li.empty { opacity: 0.6; }
.region-list li.empty b { color: var(--muted); font-weight: 500; }
.region-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name yield" "count yield"; gap: 2px 12px; align-items: center; padding: 14px 18px; background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; transition: 0.25s; cursor: pointer; }
.region-list li:hover, .region-list li.active { border-color: rgba(var(--gold-rgb), 0.45); background: rgba(var(--gold-rgb), 0.06); }
.region-list li strong { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.region-list li strong i { color: var(--gold); width: 16px; }
.region-list li strong { grid-area: name; }
.region-list li span { grid-area: count; font-size: 0.78rem; color: var(--muted); }
.region-list li b { grid-area: yield; align-self: center; }
.region-list li b { color: var(--gold); font-size: 0.95rem; }
.map-wrap { position: relative; display: flex; justify-content: center; }
#lebanonMap { width: 100%; max-width: 440px; height: auto; filter: var(--map-shadow); overflow: visible; }
#landGrad stop:first-child { stop-color: var(--map-land-1); }
#landGrad stop:last-child { stop-color: var(--map-land-2); }
.map-sea-dot { fill: var(--map-sea-dot); }
.map-sea { opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse at 45% 50%, #000 35%, transparent 75%); mask-image: radial-gradient(ellipse at 45% 50%, #000 35%, transparent 75%); }
.map-land-glow { fill: none; stroke: rgba(var(--gold-rgb), 0.35); stroke-width: 10; filter: blur(7px); }
.map-land { fill: url(#landGrad); }
.map-outline { fill: none; stroke: rgba(var(--gold-rgb), 0.85); stroke-width: 1.3; stroke-linejoin: round; }
.map-gov { fill: rgba(255, 255, 255, 0); stroke: var(--map-gov); stroke-width: 0.8; stroke-dasharray: 2.5 2; stroke-linejoin: round; cursor: pointer; transition: fill 0.25s, stroke 0.25s; }
.map-gov:hover, .map-gov.hl { fill: rgba(var(--gold-rgb), 0.16); stroke: rgba(var(--gold-rgb), 0.6); }
.map-gov-label { font-family: var(--font-body); font-size: 6.2px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; fill: var(--muted); pointer-events: none; paint-order: stroke; stroke: var(--map-land-1); stroke-width: 2.2px; stroke-linejoin: round; opacity: 0.9; }
.map-city { cursor: pointer; transition: opacity 0.25s; }
.map-city.dim-group { opacity: 0.25; }
.map-dot { fill: var(--gold); stroke: var(--surface); stroke-width: 1.2; }
.map-dot-halo { fill: rgba(var(--gold-rgb), 0.12); transition: fill 0.2s; }
.map-city:hover .map-dot-halo { fill: rgba(var(--gold-rgb), 0.3); }
.map-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.6; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.map-label { font-family: var(--font-body); font-size: 8px; font-weight: 600; fill: var(--text); pointer-events: none; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.map-compass circle { fill: var(--fill-1); stroke: var(--border-2); stroke-width: 0.8; }
.map-compass path { fill: var(--gold); }
.map-compass text { font-family: var(--font-body); font-size: 7px; font-weight: 700; fill: var(--muted); }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-tip { position: absolute; pointer-events: none; background: var(--glass-strong); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 14px; font-size: 0.82rem; box-shadow: var(--shadow); opacity: 0; transition: opacity 0.2s; transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; z-index: 5; }
.map-tip.show { opacity: 1; }
.map-tip b { display: block; color: var(--text); }
.map-tip span { color: var(--gold); }

/* ---------- Calculator ---------- */
.calculator { background: var(--bg-2); }
.calculator::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.5), transparent); }
.calc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.calc-inputs { display: flex; flex-direction: column; justify-content: space-between; }
.calc-note { padding: 16px 18px; border-radius: 12px; background: var(--fill-1); border: 1px dashed var(--border); font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.calc-note-head { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.calc-note-head i { color: var(--gold); }
.calc-note ul { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.calc-note b { color: var(--text); font-weight: 600; }
.preset-chip { display: flex; align-items: center; gap: 10px; background: rgba(var(--gold-rgb), 0.1); border: 1px solid rgba(var(--gold-rgb), 0.35); border-radius: 12px; padding: 8px 8px 8px 10px; margin-bottom: 24px; font-size: 0.82rem; color: var(--muted); animation: popIn 0.3s ease; }
.preset-chip img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.preset-chip span { flex: 1; line-height: 1.4; }
.preset-chip b { color: var(--text); }
.preset-chip button { background: none; border: none; color: var(--muted); width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; transition: 0.2s; }
.preset-chip button:hover { color: var(--text); background: var(--fill-2); }
.field { margin-bottom: 30px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field-head label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.field-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.field-head label { margin: 0; }
.field-head output { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.field-meta { font-size: 0.8rem; color: var(--muted); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.field-meta b { color: var(--gold); }
#calcProperty { width: 100%; }
.amount-input { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px; padding: 0 12px; font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.amount-input input { width: 100px; background: none; border: none; color: var(--gold); font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; padding: 8px 4px; outline: none; -moz-appearance: textfield; }
.amount-input input::-webkit-outer-spin-button, .amount-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.amount-input:focus-within { border-color: var(--gold); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; margin: 8px 0;
  background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--track) var(--p, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.15), 0 4px 12px rgba(0, 0, 0, 0.25); transition: box-shadow 0.2s, transform 0.2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.15); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(var(--gold-rgb), 0.22); transform: scale(1.08); }
.range-ends { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted-2); margin-top: 2px; }
.presets { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.presets button { background: var(--fill-1); border: 1px solid var(--border-2); color: var(--muted); padding: 6px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; transition: 0.2s; }
.presets button:hover { color: var(--text); border-color: var(--border-2); }
.presets button.active { background: rgba(var(--gold-rgb), 0.14); border-color: var(--gold); color: var(--gold); }
.toggle-field { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; }
.toggle-field > div > label { display: block; margin: 0 0 2px; }
.toggle-field small { color: var(--muted); font-size: 0.78rem; }
.switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--track); border-radius: 999px; transition: 0.3s; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::before { transform: translateX(22px); }

.calc-results { position: relative; overflow: hidden; }
.calc-results::before { content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; background: var(--gold); filter: blur(120px); opacity: 0.1; pointer-events: none; }
.result-hero { margin-bottom: 26px; position: relative; }
.result-hero > span { font-size: 0.85rem; color: var(--muted); }
.result-hero > span b { color: var(--text); }
.result-hero strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-delta { font-size: 0.9rem; color: var(--muted); }
.result-delta .up { font-weight: 700; background: rgba(34, 197, 94, 0.12); padding: 3px 8px; border-radius: 6px; }
.result-delta b { color: var(--text); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.rstat small { white-space: nowrap; }
.rstat { background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.rstat span { display: block; font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; white-space: nowrap; }
.rstat strong { display: block; font-size: 1.25rem; font-family: var(--font-head); line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.rstat small { font-size: 0.72rem; color: var(--muted-2); }
.chart-wrap { position: relative; height: 240px; margin-bottom: 10px; }
#calcChart { width: 100%; height: 100%; display: block; }
.chart-tip { position: absolute; top: 10px; pointer-events: none; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 8px 12px; font-size: 0.78rem; opacity: 0; transition: opacity 0.15s; transform: translateX(-50%); white-space: nowrap; box-shadow: var(--shadow); }
.chart-tip.show { opacity: 1; }
.chart-tip b { color: var(--gold); }
.chart-tip em { color: var(--muted); font-style: normal; }
.chart-legend { display: flex; gap: 20px; font-size: 0.78rem; color: var(--muted); margin-bottom: 18px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 18px; height: 3px; border-radius: 3px; display: inline-block; }
.lg.gold { background: var(--gold); }
.lg.grey { background: var(--muted-2); }
.compare { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); padding: 14px 16px; background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 18px; }
.compare b { color: var(--text); }
.badge-good { background: rgba(34, 197, 94, 0.12); color: var(--green); padding: 6px 12px; border-radius: 8px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.badge-good b { color: var(--green); }
.compare-rate { flex-basis: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; padding-top: 12px; margin-top: 2px; border-top: 1px dashed var(--border); }
.compare-rate label { font-size: 0.8rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.compare-rate output { font-family: var(--font-head); color: var(--gold); font-weight: 700; font-size: 1rem; min-width: 52px; text-align: right; }
.compare-rate small { grid-column: 1 / -1; font-size: 0.74rem; color: var(--muted-2); }
.compare-rate small i { color: var(--gold); margin-right: 4px; }
.disclaimer { font-size: 0.72rem; color: var(--muted-2); margin-top: 14px; line-height: 1.5; }
.ladder, .goals { margin-bottom: 18px; }
.ladder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ladder-head strong { font-size: 0.9rem; }
.ladder-head span { font-size: 0.76rem; color: var(--muted); }
.ladder-head span b { color: var(--gold); }
.ladder-rows { display: grid; gap: 8px; }
.ladder-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto auto; gap: 12px; align-items: center; width: 100%; background: var(--fill-1); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; color: var(--muted); font-size: 0.84rem; text-align: left; cursor: pointer; transition: 0.2s; font-family: inherit; }
.ladder-row:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.08); transform: translateX(2px); }
.ladder-row.static { grid-template-columns: 1fr; cursor: default; }
.ladder-row.static:hover { transform: none; border-color: var(--border); background: var(--fill-1); }
.ladder-row b { color: var(--text); }
.ladder-row .more { color: var(--green); font-weight: 600; white-space: nowrap; }
.ladder-row .go { color: var(--gold); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.goal-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.goal-chip { background: var(--fill-1); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; transition: 0.2s; font-family: inherit; }
.goal-chip strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--text); line-height: 1.2; }
.goal-chip strong small { font-family: var(--font-body); font-size: 0.7rem; color: var(--muted); font-weight: 500; margin-left: 2px; }
.goal-chip span { display: block; font-size: 0.74rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.goal-chip span b { color: var(--text); font-weight: 600; }
.goal-chip .alt { color: var(--gold); }
.goal-chip .alt b { color: var(--gold); }
.goal-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.goal-chip.done { border-color: rgba(var(--gold-rgb), 0.5); background: rgba(var(--gold-rgb), 0.1); }
.goal-chip.done span { color: var(--gold); font-weight: 600; }

/* ---------- Dashboard preview ---------- */
.dashboard-preview { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.dashboard-mockup { background: var(--bg); border: 1px solid var(--border-2); border-radius: 20px; display: flex; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--gold-rgb), 0.08); }
.dash-sidebar { width: 240px; background: var(--surface); padding: 24px 16px; border-right: 1px solid var(--border); flex-shrink: 0; }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 6px 10px 22px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.dash-user strong { display: block; font-size: 0.9rem; }
.dash-user span { font-size: 0.74rem; color: var(--muted); }
.dash-item { padding: 11px 14px; color: var(--muted); margin-bottom: 4px; border-radius: 9px; cursor: pointer; display: flex; align-items: center; gap: 12px; font-size: 0.88rem; transition: 0.2s; }
.dash-item i { width: 16px; text-align: center; }
.dash-item b { margin-left: auto; font-size: 0.72rem; background: var(--fill-2); padding: 2px 8px; border-radius: 6px; color: var(--text); font-weight: 600; }
.dash-item.active { background: rgba(var(--gold-rgb), 0.12); color: var(--gold); }
.dash-item:hover:not(.active) { background: var(--fill-1); color: var(--text); }
.dash-content { flex: 1; padding: 28px; min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); padding: 16px 18px; border-radius: 12px; }
.stat-box span { display: block; font-size: 0.74rem; color: var(--muted); margin-bottom: 6px; }
.stat-box strong { font-size: 1.35rem; font-family: var(--font-head); display: block; line-height: 1.1; margin-bottom: 4px; }
.stat-box small { font-size: 0.72rem; color: var(--muted-2); }
.dash-graph { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px 12px; margin-bottom: 22px; }
.dash-graph-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tabs button { background: none; border: none; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-family: inherit; color: var(--muted); cursor: pointer; transition: 0.2s; }
.dash-tabs button:hover { color: var(--text); background: var(--fill-2); }
.dash-tabs button.active { background: rgba(var(--gold-rgb), 0.15); color: var(--gold); font-weight: 600; }
#dashChart { width: 100%; height: 140px; display: block; }
.graph-labels { position: relative; height: 1.2em; font-size: 0.7rem; color: var(--muted-2); margin-top: 6px; }
.graph-labels span { position: absolute; top: 0; white-space: nowrap; }
.dash-holdings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.holding { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.holding img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.holding div { flex: 1; min-width: 0; }
.holding strong { display: block; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holding span { font-size: 0.72rem; color: var(--muted); }
.holding b { font-size: 0.88rem; color: var(--gold); }
.holding[data-open-prop], .hold-table .hp[data-open-prop] { cursor: pointer; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.holding[data-open-prop]:hover { border-color: var(--gold); transform: translateY(-1px); }
.hold-table .hp[data-open-prop]:hover strong { color: var(--gold); }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step-card { background: var(--surface); padding: 36px 26px 30px; border-radius: 16px; border: 1px solid var(--border); position: relative; transition: 0.3s; overflow: hidden; }
.step-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(var(--gold-rgb), 0.12), transparent 60%); opacity: 0; transition: 0.3s; }
.step-card:hover { transform: translateY(-6px); border-color: rgba(var(--gold-rgb), 0.5); }
.step-card:hover::before { opacity: 1; }
.step-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 2.4rem; color: var(--fill-2); font-weight: 800; line-height: 1; }
.icon-box { width: 56px; height: 56px; background: rgba(var(--gold-rgb), 0.12); color: var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 22px; border: 1px solid rgba(var(--gold-rgb), 0.25); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Why / features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px 28px; transition: 0.3s; }
.feature:hover { border-color: rgba(var(--gold-rgb), 0.45); transform: translateY(-4px); background: var(--surface-2); }
.feature i { font-size: 1.5rem; color: var(--gold); margin-bottom: 18px; display: block; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.92rem; }
.compare-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { color: var(--muted); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--muted); }
.compare-table td:not(.hl), .compare-table th:not(.hl) { color: var(--muted); }
.compare-table .hl { background: rgba(var(--gold-rgb), 0.08); color: var(--text); font-weight: 600; }
.compare-table th.hl { color: var(--gold); font-size: 0.95rem; text-transform: none; letter-spacing: 0; }
.compare-table th.hl i { margin-right: 6px; }
.compare-table .hl .fa-check { color: var(--green); margin-right: 6px; }
.compare-table .fa-xmark { color: var(--red); margin-right: 6px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px 28px; position: relative; transition: 0.3s; }
.testi:hover { transform: translateY(-4px); border-color: rgba(var(--gold-rgb), 0.4); }
.testi::before { content: "\201C"; position: absolute; top: 14px; right: 24px; font-family: var(--font-head); font-size: 4.5rem; color: rgba(var(--gold-rgb), 0.15); line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.testi p { color: var(--text-2); font-size: 0.98rem; line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who strong { display: block; font-size: 0.9rem; }
.testi-who span { font-size: 0.78rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-intro h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.faq-intro p { color: var(--muted); }
.faq-intro a { color: var(--gold); }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; transition: 0.3s; }
.faq-list details[open] { border-color: rgba(var(--gold-rgb), 0.4); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); font-weight: 300; transition: transform 0.3s; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid rgba(var(--gold-rgb), 0.35); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Join ---------- */
.join { padding-top: 40px; }
.join-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 28px; padding: 60px; box-shadow: var(--shadow-lg); }
.join-glow { position: absolute; top: -200px; left: -100px; width: 500px; height: 500px; background: var(--gold); filter: blur(140px); opacity: 0.12; pointer-events: none; }
.join-text { position: relative; }
.join-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 26px; }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.perks li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.98rem; }
.perks li b { color: var(--text); }
.perks li i { width: 36px; height: 36px; border-radius: 10px; background: rgba(var(--gold-rgb), 0.12); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(var(--gold-rgb), 0.25); }
.spots { font-size: 0.85rem; color: var(--muted); }
.spots b { color: var(--amber); }
.spots-bar { height: 8px; background: var(--fill-2); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.spots-bar div { height: 100%; background: var(--bar-grad); border-radius: 10px; transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.join-form { position: relative; background: var(--bg); border: 1px solid var(--border-2); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.join-form h3 { font-size: 1.35rem; margin-bottom: 4px; }
.join-form label, .modal-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.join-form input, .join-form select, .modal-form input, .modal-form select, #leadForm input {
  width: 100%; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 13px 14px; color: var(--text); font-size: 0.95rem; outline: none; transition: 0.2s;
}
.join-form input:focus, .modal-form input:focus, #leadForm input:focus, .join-form select:focus, .modal-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15); }
.join-form input.error, .modal-form input.error, #leadForm input.error { border-color: var(--red); animation: shake 0.3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.join-form small, .modal-form small { font-size: 0.74rem; color: var(--muted-2); text-align: center; }
.join-form small i, .modal-form small i { margin-right: 5px; }
.form-success { text-align: center; padding: 20px 0 8px; }
.form-success i { font-size: 2.8rem; color: var(--green); margin-bottom: 14px; display: block; animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.form-success h4 { font-size: 1.35rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 0.92rem; }
.join-form.done > *:not(.form-success) { display: none; }
.join-form.done .form-success { display: block; }

/* ---------- Footer ---------- */
footer { padding: 70px 0 32px; border-top: 1px solid rgba(var(--gold-rgb), 0.22); background: var(--footer-bg); color: var(--footer-text); }
footer .logo { color: var(--footer-text); }
footer .logo-ar { color: var(--footer-muted); border-color: var(--footer-border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid .brand p { color: var(--footer-muted); font-size: 0.9rem; margin: 18px 0 20px; max-width: 320px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--footer-text); margin-bottom: 16px; }
.footer-grid div > a { display: block; color: var(--footer-muted); font-size: 0.92rem; margin-bottom: 10px; }
.footer-grid div > a:hover { color: var(--gold); }
.footer-grid .brand > .logo { display: flex; font-size: 1.45rem; margin-bottom: 0; } /* the generic footer link rule above would otherwise flatten the logo */
.socials { display: flex; gap: 10px; }
.footer-grid .socials a { width: 38px; height: 38px; margin: 0; border-radius: 10px; border: 1px solid var(--footer-border); display: inline-flex; align-items: center; justify-content: center; color: var(--footer-muted); }
.footer-grid .socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-disclaimer { font-size: 0.74rem; color: var(--footer-muted); line-height: 1.6; padding-top: 28px; border-top: 1px solid var(--footer-border); margin-bottom: 22px; }
.footer-bottom { display: flex; justify-content: space-between; color: var(--footer-muted); font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 450; background: var(--glass-strong); border: 1px solid rgba(var(--gold-rgb), 0.35); border-radius: 16px; padding: 12px 14px 12px 18px; display: none; justify-content: space-between; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); transform: translateY(120%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta strong { display: block; font-size: 0.95rem; }
.sticky-cta span { font-size: 0.75rem; color: var(--muted); }
.sticky-cta .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Toasts ---------- */
.toast-wrap { position: fixed; left: 20px; bottom: 20px; z-index: 460; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--glass-strong); border: 1px solid var(--border-2); border-left: 3px solid var(--gold); border-radius: 14px; padding: 12px 40px 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); animation: toastIn 0.45s cubic-bezier(0.22, 1, 0.36, 1); min-width: 290px; max-width: 360px; position: relative; backdrop-filter: blur(10px); }
.toast.out { animation: toastOut 0.35s ease forwards; }
.toast img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.toast strong { display: block; font-size: 0.86rem; }
.toast span { font-size: 0.78rem; color: var(--muted); display: block; }
.toast span b { color: var(--gold); }
.toast .t { font-size: 0.7rem; color: var(--muted-2); margin-top: 2px; }
.toast button { position: absolute; top: 8px; right: 8px; background: none; border: none; color: var(--muted-2); font-size: 0.8rem; width: 24px; height: 24px; border-radius: 6px; }
.toast button:hover { background: var(--fill-2); color: var(--text); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-20px); } }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(8px); animation: fadeIn 0.25s; }
.modal-box { position: relative; background: var(--surface); border: 1px solid var(--border-2); border-radius: 22px; max-width: 500px; width: 100%; padding: 36px; animation: popIn 0.35s cubic-bezier(0.22, 1, 0.36, 1); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--gold-rgb), 0.1); }
.modal-box.wide { max-width: 860px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
/* Slim custom scrollbars. Chrome ignores ::-webkit-scrollbar when scrollbar-width is set,
   so the standard properties are applied only where the WebKit pseudo-elements don't exist. */
.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: transparent; margin: 24px 0; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(var(--gold-rgb), 0.45); border-radius: 6px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: rgba(var(--gold-rgb), 0.75); }
@supports not selector(::-webkit-scrollbar) {
  .modal-box { scrollbar-width: thin; scrollbar-color: rgba(var(--gold-rgb), 0.45) transparent; }
}
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--fill-2); border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 10px; font-size: 0.95rem; transition: 0.2s; }
.modal-close:hover { background: var(--track); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.modal-tabs button { flex: 1; background: none; border: none; color: var(--muted); padding: 10px; border-radius: 9px; font-weight: 600; font-size: 0.88rem; transition: 0.2s; }
.modal-tabs button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(20, 24, 40, 0.1); }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form h3 { font-size: 1.6rem; }
.modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.modal-form small a { color: var(--gold); }
.modal-success { text-align: center; padding: 10px 0; }
.success-ring { width: 76px; height: 76px; border-radius: 50%; background: rgba(34, 197, 94, 0.12); border: 2px solid var(--green); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; margin-bottom: 18px; animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.modal-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.modal-success p { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; }

/* Lead popup */
.lead-box { text-align: center; max-width: 460px; }
.lead-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(var(--gold-rgb), 0.12); border: 1px solid rgba(var(--gold-rgb), 0.3); color: var(--gold); font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.lead-box .eyebrow { justify-content: center; }
.lead-box .eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--gold); }
.lead-box h3 { font-size: 1.7rem; margin-bottom: 12px; }
.lead-box p { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
#leadForm { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.lead-box small { color: var(--muted-2); font-size: 0.74rem; }
.lead-box.done #leadForm, .lead-box.done > p, .lead-box.done > small { display: none; }

/* Property modal */
.pm-hero { position: relative; height: min(300px, 40vh); flex-shrink: 0; }
.pm-img { transition: opacity 0.25s; }
.pm-img.switching { opacity: 0; }
.pm-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(20, 24, 40, 0.45); color: #fff; backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; }
.pm-nav.prev { left: 16px; }
.pm-nav.next { right: 16px; }
.pm-nav:hover { background: rgba(var(--gold-rgb), 0.9); color: var(--on-gold); }
.pm-count { position: absolute; top: 16px; right: 62px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(20, 24, 40, 0.55); color: #fff; font-size: 0.74rem; font-weight: 600; backdrop-filter: blur(6px); }
.pm-thumbs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.pm-thumbs button { width: 72px; height: 52px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--fill-1); cursor: pointer; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.pm-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumbs button.active, .pm-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.prop-img .photos { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(20, 24, 40, 0.55); color: #fff; font-size: 0.7rem; font-weight: 600; backdrop-filter: blur(4px); }
.pm-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px 22px 0 0; }
.pm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 48%, var(--pm-fade) 100%); border-radius: 22px 22px 0 0; }
.pm-hero-text { position: absolute; left: 32px; right: 32px; bottom: 24px; z-index: 2; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 14px rgba(0, 0, 0, 0.35); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pm-hero-text h3 { font-size: 1.9rem; margin: 4px 0 4px; color: var(--gold-2); }
.pm-hero-text .code { color: rgba(255, 255, 255, 0.85); }
.pm-hero-text .location { color: rgba(255, 255, 255, 0.92); }
.pm-hero .yield-pill { background: rgba(20, 24, 40, 0.62); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); text-shadow: none; }
.pm-hero .yield-pill strong { color: #E6C65C; }
.pm-hero .yield-pill span { color: rgba(255, 255, 255, 0.82); }
.pm-body { padding: 28px 32px 32px; overflow-y: auto; flex: 1; min-height: 0; }
.pm-body::-webkit-scrollbar { width: 6px; }
.pm-body::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
.pm-body::-webkit-scrollbar-thumb { background: rgba(var(--gold-rgb), 0.45); border-radius: 6px; }
.pm-body::-webkit-scrollbar-thumb:hover { background: rgba(var(--gold-rgb), 0.75); }
@supports not selector(::-webkit-scrollbar) { .pm-body { scrollbar-width: thin; scrollbar-color: rgba(var(--gold-rgb), 0.45) transparent; } }
.pm-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.pm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.pm-grid div { background: var(--fill-1); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.pm-grid span { display: block; font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pm-grid strong { font-size: 1rem; }
.pm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.pm-list h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.pm-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pm-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-2); padding: 10px 12px; background: var(--fill-1); border: 1px solid var(--border); border-radius: 9px; }
.pm-list li i { color: var(--gold); width: 16px; text-align: center; }
.pm-list li .lock { margin-left: auto; color: var(--muted-2); font-size: 0.72rem; }
.pm-list li.doc { cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pm-list li.doc:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.06); }
.pm-list li .lock.dl { color: var(--gold); font-weight: 600; }
.pm-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pm-actions .btn-gold { flex: 1; }
.pm-actions .note { width: 100%; font-size: 0.74rem; color: var(--muted-2); }

/* Confetti */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1100; display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
  .fc-1 { left: -12px; }
  .fc-2 { right: -12px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: var(--bg); flex-direction: column; padding: 30px 24px; gap: 8px; z-index: 490; overflow-y: auto; }
  .nav-links.open a { font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav-links.open a::after { display: none; }
  .nav-mobile-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
  .nav-mobile-auth a { border-bottom: none !important; font-size: 1rem !important; padding: 14px !important; }
  .nav-auth .login-btn, .nav-auth .btn-gold { display: none; }
  .nav-auth .nav-user { display: none !important; }
  .nav-links.open .nav-mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
  .nav-links.open .nav-mobile-head .seg button { width: 38px; height: 32px; font-size: 0.9rem; }
  .nav-toggle { display: inline-flex; }
  .navbar { background: var(--glass-strong); border-bottom-color: var(--border); }
  .hero { padding: 50px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero h1 { max-width: none; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-group, .trust-row { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
  .hero-visual { max-width: 520px; margin: 20px auto 0; }
  .fc-1 { left: -6px; top: 104px; }
  .fc-2 { right: -6px; top: 160px; }
  .map-grid, .calc-grid, .faq-grid, .join-card { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .map-wrap { order: -1; }
  .dashboard-mockup { flex-direction: column; }
  .dash-sidebar { width: 100%; display: flex; gap: 6px; overflow-x: auto; padding: 14px; }
  .dash-user { display: none; }
  .dash-item { white-space: nowrap; margin: 0; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-holdings { grid-template-columns: 1fr; }
  .hold-table { display: block; overflow-x: auto; white-space: nowrap; }
  .join-card { padding: 40px 28px; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .announce-text { font-size: 0.78rem; }
  .logo-ar { display: none; }
  .market-grid { grid-template-columns: 1fr; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-chips { grid-template-columns: 1fr; }
  .ladder-row { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .pm-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-split { grid-template-columns: 1fr; }
  .pm-hero { height: min(270px, 40vh); }
  .pm-hero-text h3 { font-size: 1.45rem; }
  .pm-nav { display: none; } /* on phones: tap the photo or use the thumbnails */
  .pm-count { right: 58px; top: 14px; }
  .pm-thumbs button { width: 60px; height: 44px; }
  .pm-hero-text { left: 20px; right: 20px; flex-direction: column; align-items: flex-start; }
  .pm-body { padding: 22px 20px 24px; }
  .card { padding: 22px; }
  .modal-box { padding: 28px 22px; }
  .sticky-cta { display: flex; }
  .toast-wrap { left: 12px; right: 12px; bottom: 84px; }
  .toast { min-width: 0; max-width: none; }
  .float-card { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hstat strong { font-size: 1.4rem; }
  .asset-card .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .metric { padding: 8px; }
  .metric .value { font-size: 0.9rem; }
  .mini-calc-out { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 14px; }
  .market-toolbar { flex-direction: column; align-items: stretch; }
  .sort { justify-content: space-between; }
  .ticker-label { padding: 0 14px; }
  .join-card { padding: 32px 20px; border-radius: 20px; }
  .join-form { padding: 22px 18px; }
  .section-header h2 { font-size: 1.9rem; }
  .compare { flex-direction: column; align-items: flex-start; }
}


/* ---------- Accounts, auth state & live dashboard ---------- */
body.logged-in [data-auth="out"] { display: none !important; }
body:not(.logged-in) [data-auth="in"] { display: none !important; }
body.logged-in .sticky-cta { display: none !important; }
.nav-user { position: relative; }
.nav-user-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--fill-1); border: 1px solid var(--border-2); border-radius: 999px; padding: 4px 12px 4px 4px; color: var(--text); font-weight: 600; font-size: 0.9rem; font-family: inherit; cursor: pointer; transition: 0.2s; }
.nav-user-btn:hover, .nav-user.open .nav-user-btn { border-color: var(--gold); }
.nav-user-btn .avatar { width: 32px; height: 32px; font-size: 0.85rem; }
.nav-user-btn i { font-size: 0.7rem; color: var(--muted); transition: transform 0.2s; }
.nav-user.open .nav-user-btn i { transform: rotate(180deg); }
.nav-user-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); display: none; z-index: 70; animation: popIn 0.18s ease; }
.nav-user.open .nav-user-menu { display: block; }
.nav-user-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--text); font-size: 0.9rem; }
.nav-user-menu a i { width: 16px; text-align: center; color: var(--gold); }
.nav-user-menu a b { margin-left: auto; font-size: 0.78rem; color: var(--gold); }
.nav-user-menu a:hover { background: var(--fill-2); }
.nav-user-menu a[data-logout] { color: var(--muted); }
.nav-user-menu a[data-logout] i { color: var(--muted); }

.dash-demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: rgba(var(--gold-rgb), 0.08); border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 0.92rem; color: var(--muted); }
.dash-demo-bar > div { display: flex; align-items: center; gap: 12px; }
.dash-demo-bar > div > i { color: var(--gold); font-size: 1.3rem; }
.dash-demo-bar strong { color: var(--text); }
.dashboard-mockup { position: relative; }
.dash-overlay { position: absolute; inset: 0; z-index: 5; cursor: pointer; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: transparent; transition: background 0.25s; }
.dash-overlay span { opacity: 0; transform: translateY(6px); transition: 0.25s; background: var(--glass-strong); border: 1px solid rgba(var(--gold-rgb), 0.5); color: var(--text); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); display: inline-flex; gap: 10px; align-items: center; }
.dash-overlay span i { color: var(--gold); }
.dash-overlay:hover { background: rgba(var(--gold-rgb), 0.06); }
.dash-overlay:hover span { opacity: 1; transform: none; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-head h3 { font-size: 1.3rem; }
.dash-head .btn { padding: 9px 16px; font-size: 0.85rem; }
.dash-quick { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-quick .btn-ghost { font-size: 0.85rem; padding: 9px 14px; }
.dash-empty { text-align: center; padding: 40px 20px; color: var(--muted); border: 1px dashed var(--border-2); border-radius: 14px; }
.dash-empty i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display: block; }
.dash-empty strong { display: block; color: var(--text); margin-bottom: 6px; }
.dash-empty .btn { margin-top: 14px; }
.dash-chart-empty { display: flex; align-items: center; justify-content: center; height: 140px; color: var(--muted-2); font-size: 0.85rem; }
.wallet-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.04)); border: 1px solid rgba(var(--gold-rgb), 0.3); border-radius: 14px; padding: 22px 24px; margin-bottom: 20px; }
.wallet-hero span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wallet-hero strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1.1; margin-top: 4px; }
.wallet-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tx-list { display: flex; flex-direction: column; gap: 6px; }
.tx { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-size: 0.86rem; }
.tx .ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--fill-2); color: var(--muted); }
.tx .ic.in { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.tx .ic.rent { background: rgba(var(--gold-rgb), 0.14); color: var(--gold); }
.tx .ic.out { background: rgba(239, 68, 68, 0.1); color: var(--red); }
.tx strong { display: block; font-weight: 600; }
.tx span { color: var(--muted-2); font-size: 0.76rem; }
.tx b { font-family: var(--font-head); font-size: 1rem; white-space: nowrap; }
.tx b.plus { color: var(--green); }
.hold-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.hold-table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 10px 10px; font-weight: 600; }
.hold-table td { padding: 10px; border-top: 1px solid var(--border); vertical-align: middle; }
.hold-table .hp { display: flex; align-items: center; gap: 10px; }
.hold-table .hp img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.hold-table .hp strong { display: block; font-size: 0.88rem; }
.hold-table .hp span { font-size: 0.74rem; color: var(--muted); }
.hold-table td b { font-family: var(--font-head); font-size: 1rem; }
.hold-table .acts { display: flex; gap: 6px; justify-content: flex-end; }
.hold-table .acts .btn { padding: 7px 12px; font-size: 0.78rem; }
.dash-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.dash-totals div { background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.dash-totals span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.dash-totals strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; }
.dash-totals small { font-size: 0.74rem; color: var(--muted-2); }
.stmt-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 6px; font-size: 0.88rem; }
.stmt-row span { color: var(--muted); font-size: 0.78rem; }
.stmt-row b { font-family: var(--font-head); }
.listing { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 6px; font-size: 0.86rem; }
.listing span { color: var(--muted); font-size: 0.76rem; display: block; }
.listing b { font-family: var(--font-head); }
.dash-section-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 22px 0 10px; font-weight: 600; }
.form-error { color: var(--red); font-size: 0.82rem; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 8px; padding: 8px 12px; }
.form-error a { color: var(--gold); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Action modal (invest / deposit / withdraw / sell) */
.act-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 36px; }
.act-head img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.act-head h3 { font-size: 1.35rem; margin: 2px 0; }
.act-title { font-size: 1.5rem; margin-bottom: 6px; padding-right: 36px; }
.act-field { margin-bottom: 18px; }
.act-field > label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; background: var(--bg); margin-bottom: 10px; }
.stepper button { width: 46px; background: var(--fill-1); border: none; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--fill-2); }
.stepper input { flex: 1; text-align: center; background: none; border: none; color: var(--text); font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; padding: 10px; outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.act-summary { background: var(--fill-1); border: 1px solid var(--border); border-radius: 12px; padding: 6px 14px; margin-bottom: 16px; font-size: 0.88rem; }
.act-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.act-summary div:last-child { border-bottom: none; }
.act-summary div b { color: var(--text); }
.act-summary div.total b { font-family: var(--font-head); font-size: 1.15rem; }
.act-summary .strike { text-decoration: line-through; color: var(--muted-2); margin-right: 6px; }
.act-summary .warn { color: var(--amber); font-weight: 600; }
.amount-input.big { font-size: 1.6rem; padding: 4px 16px; margin-bottom: 14px; }
.amount-input.big input { font-size: 1.6rem; width: 100%; }
.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.method { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--fill-1); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 0.84rem; text-align: left; font-family: inherit; color: var(--text); transition: 0.2s; }
.method i { width: 30px; height: 30px; border-radius: 8px; background: var(--fill-2); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.method span { display: block; font-size: 0.72rem; color: var(--muted); }
.method.active { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.1); }
.act-note { font-size: 0.76rem; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
.act-success { text-align: center; padding: 8px 0; }
.act-success p { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }
.act-success .btn + .btn { margin-top: 8px; }
.toast.info { border-left-color: var(--green); }
.toast.info .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(34, 197, 94, 0.12); color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 640px) {
  .methods { grid-template-columns: 1fr; }
  .hold-table th:nth-child(3), .hold-table td:nth-child(3) { display: none; }
  .dash-demo-bar { flex-direction: column; align-items: stretch; }
  .nav-user-name { display: none; }
  .nav-user-btn { padding: 4px; gap: 4px; }
}
@media (max-width: 960px) { .dash-totals { grid-template-columns: repeat(2, 1fr); } }

/* Data-load failure notice (properties.json unreachable) */
.data-error { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; background: var(--fill-1); border: 1px solid var(--line); color: var(--text); line-height: 1.55; }
.data-error i { color: var(--amber); font-size: 22px; margin-top: 2px; }
.data-error strong { display: block; margin-bottom: 4px; }
.data-error span { color: var(--muted); font-size: 14px; }
.data-error code { background: var(--fill-2); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* ---- Preview labelling and waitlist ---- */
.announce.preview .announce-dot { background: var(--amber); animation: none; }
.demo-note { margin-top: 14px; font-size: 0.8rem; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.ticker-label.sample { color: var(--muted-2); }
.join-note { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.join-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-form label.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.8rem; line-height: 1.45; cursor: pointer; }
.join-form label.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; padding: 0; accent-color: var(--gold); }
.join-form label.consent a { color: var(--gold); }
.join-form label.consent.error span { color: var(--red); }
.join-form button[disabled] { opacity: 0.6; cursor: wait; }
