/* ============================================================
   FARA Estate Community Portal — Design System
   Local CSS only. No CDN fonts or frameworks required.
   ============================================================ */

:root {
  --color-primary: #1B4D3E;
  --color-primary-hover: #153D32;
  --color-primary-soft: #E8F0ED;
  --color-primary-muted: #2A6B56;
  --color-accent: #C4A46A;
  --color-accent-soft: #F5EDDC;
  --color-bg: #F7F4EF;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1EEE8;
  --color-border: #E5E0D8;
  --color-border-strong: #D4CDC2;
  --color-text: #1C1917;
  --color-text-muted: #57534E;
  --color-text-subtle: #78716C;
  --color-danger: #B91C1C;
  --color-danger-soft: #FEF2F2;
  --color-success: #047857;
  --color-success-soft: #ECFDF5;
  --color-warning: #B45309;
  --color-warning-soft: #FFFBEB;
  --color-info: #0369A1;
  --color-info-soft: #F0F9FF;
  --color-admin: #1C1917;
  --color-admin-surface: #292524;

  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  --font-display: var(--font-sans);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 12px 32px rgba(28, 25, 23, 0.08);

  --focus-ring: 0 0 0 3px rgba(27, 77, 62, 0.28);
  --sidebar-width: 260px;
  --topbar-height: 56px;
  --bottom-nav-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);

  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: inline-block; max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; color: var(--color-text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
[x-cloak], [hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- App shell ---------- */
.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg);
}
.app-shell--admin { background: #F5F5F4; }

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  z-index: 40;
  display: none;
  flex-direction: column;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: calc(var(--safe-top) + var(--space-4)) var(--space-3) var(--space-4);
}
.app-sidebar--admin {
  background: var(--color-admin);
  border-right-color: #292524;
  color: #E7E5E4;
}
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: calc(var(--topbar-height) + var(--safe-top));
  padding: var(--safe-top) var(--space-4) 0;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.app-shell--admin .app-topbar {
  background: rgba(245, 245, 244, 0.92);
}
.app-content {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) calc(var(--bottom-nav-height) + var(--safe-bottom) + var(--space-8));
}
.app-content--wide { max-width: 1280px; }
.app-content--bare {
  max-width: none;
  padding: 0;
  margin: 0;
}
.app-footer {
  margin-top: auto;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
  .app-sidebar { display: flex; }
  .app-main { margin-left: var(--sidebar-width); }
  .app-topbar { display: none; }
  .app-topbar--admin-mobile { display: none; }
  .app-content {
    padding: var(--space-8) var(--space-8) var(--space-12);
  }
  .app-bottom-nav { display: none !important; }
}

/* Sidebar internals */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
}
.sidebar-brand:hover { background: var(--color-surface-2); }
.app-sidebar--admin .sidebar-brand:hover { background: rgba(255,255,255,0.06); }
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}
.sidebar-label {
  margin: var(--space-4) var(--space-3) var(--space-2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
}
.app-sidebar--admin .sidebar-label { color: #A8A29E; }
.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.nav-link:hover { background: var(--color-surface-2); color: var(--color-text); }
.nav-link.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 600;
}
.nav-link.is-active svg { opacity: 1; }
.app-sidebar--admin .nav-link { color: #A8A29E; }
.app-sidebar--admin .nav-link:hover { background: rgba(255,255,255,0.06); color: #FAFAF9; }
.app-sidebar--admin .nav-link.is-active {
  background: rgba(196, 164, 106, 0.18);
  color: #F5EDDC;
}
.sidebar-account {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.app-sidebar--admin .sidebar-account { border-top-color: #44403C; }
.account-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  text-align: left;
}
.account-btn:hover { background: var(--color-surface-2); }
.app-sidebar--admin .account-btn:hover { background: rgba(255,255,255,0.06); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 650;
  flex-shrink: 0;
}
.avatar--sm { width: 28px; height: 28px; font-size: 0.75rem; }
.account-meta { min-width: 0; flex: 1; }
.account-meta strong {
  display: block;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-transform: capitalize;
}
.app-sidebar--admin .account-meta span { color: #A8A29E; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(28, 25, 23, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  width: min(300px, 88vw);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: calc(var(--safe-top) + var(--space-4)) var(--space-3) calc(var(--safe-bottom) + var(--space-4));
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer--admin {
  background: var(--color-admin);
  color: #E7E5E4;
  border-right-color: #292524;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.icon-btn:hover { background: var(--color-surface-2); color: var(--color-text); }

/* Bottom navigation */
.app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  min-height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding: var(--space-1) var(--space-2) calc(var(--safe-bottom) + var(--space-1));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(28, 25, 23, 0.04);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: var(--space-1);
  border-radius: var(--radius-md);
  font-size: 0.68rem;
  font-weight: 550;
  color: var(--color-text-subtle);
}
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item.is-active { color: var(--color-primary); }
.bottom-nav-item:hover { color: var(--color-primary); background: var(--color-primary-soft); }

/* Dropdown menus */
.menu { position: relative; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 60;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: var(--space-1);
}
.menu-panel.hidden { display: none; }
.menu-panel a, .menu-panel button {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-text);
  text-align: left;
}
.menu-panel a:hover, .menu-panel button:hover { background: var(--color-surface-2); }
.menu-panel .danger { color: var(--color-danger); }
.menu-panel .danger:hover { background: var(--color-danger-soft); }
.menu-header {
  padding: var(--space-3) var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-1);
}
.menu-header strong { display: block; font-size: 0.9rem; }
.menu-header span { font-size: 0.75rem; color: var(--color-text-subtle); text-transform: capitalize; }

/* ---------- Components ---------- */
.fara-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
}
.fara-stat {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fara-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fara-card > .fara-card-body { background: transparent; height: 100%; }
.fara-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.fara-btn:hover { transform: translateY(-1px); }
.fara-btn:disabled, .fara-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
  transform: none;
}
.fara-btn-solid {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.25);
}
.fara-btn-solid:hover { background: var(--color-primary-hover); }
.fara-btn-ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.fara-btn-ghost:hover { background: var(--color-surface-2); border-color: var(--color-border-strong); }
.fara-btn-outline {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.fara-btn-outline:hover { background: var(--color-surface-2); }
.fara-btn-dark { background: var(--color-text); color: #fff; }
.fara-btn-dark:hover { background: #292524; }
.fara-btn-danger {
  background: var(--color-danger);
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}
.fara-btn-danger:hover { background: #991B1B; }
.fara-btn-accent {
  background: var(--color-accent);
  color: #1C1917;
}
.fara-btn-accent:hover { background: #B89455; }
.fara-btn-sm { min-height: 36px; padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.fara-btn-block, .fara-btn.w-full { width: 100%; }

.fara-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fara-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}
.fara-input.is-invalid { border-color: var(--color-danger); }
.fara-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
textarea.fara-input { min-height: 6rem; line-height: 1.55; resize: vertical; }
select.fara-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2378716C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}
.input-wrap { position: relative; }
.input-wrap .input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-subtle);
  pointer-events: none;
}
.input-wrap .fara-input.has-icon { padding-left: 2.5rem; }
.input-wrap .fara-input.has-toggle { padding-right: 2.75rem; }
.password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-text-subtle);
}
.password-toggle:hover { background: var(--color-surface-2); color: var(--color-text); }

.fara-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  text-transform: capitalize;
}
.fara-pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.75;
}
.fara-pill-emerald { background: var(--color-success-soft); color: var(--color-success); border-color: #A7F3D0; }
.fara-pill-amber { background: var(--color-warning-soft); color: var(--color-warning); border-color: #FCD34D; }
.fara-pill-rose { background: var(--color-danger-soft); color: var(--color-danger); border-color: #FECDD3; }
.fara-pill-sky { background: var(--color-info-soft); color: var(--color-info); border-color: #BAE6FD; }
.fara-pill-indigo { background: #EEF2FF; color: #4338CA; border-color: #C7D2FE; }
.fara-pill-slate { background: var(--color-surface-2); color: var(--color-text-muted); border-color: var(--color-border); }

.fara-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.88rem;
  line-height: 1.5;
}
.fara-alert-success { background: var(--color-success-soft); color: #065F46; border-color: #A7F3D0; }
.fara-alert-error { background: var(--color-danger-soft); color: #9F1239; border-color: #FECDD3; }
.fara-alert-warning { background: var(--color-warning-soft); color: #92400E; border-color: #FCD34D; }
.fara-alert-info { background: var(--color-info-soft); color: #075985; border-color: #BAE6FD; }

.fara-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.fara-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.875rem; }
.fara-table thead { background: var(--color-surface-2); }
.fara-table thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.fara-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
}
.fara-table tbody tr:last-child td { border-bottom: 0; }
.fara-table tbody tr:hover { background: rgba(247, 244, 239, 0.7); }
.fara-table .num,
.fara-table th.num,
.fara-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .fara-table-cards thead { display: none; }
  .fara-table-cards,
  .fara-table-cards tbody,
  .fara-table-cards tr,
  .fara-table-cards td {
    display: block;
    width: 100%;
  }
  .fara-table-cards tr {
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }
  .fara-table-cards tr:last-child { border-bottom: 0; }
  .fara-table-cards td {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 0.35rem 0;
    border-bottom: 0;
    text-align: right;
  }
  .fara-table-cards td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    text-align: left;
    flex-shrink: 0;
  }
  .fara-table-cards .num { text-align: right; }
}

.fara-link { color: var(--color-primary); font-weight: 550; }
.fara-link:hover { color: var(--color-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.fara-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}
.fara-tab, .fara-tabs a {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.fara-tab:hover, .fara-tabs a:hover { color: var(--color-text); }
.fara-tab-active, .fara-tabs a.active, .fara-tabs a.fara-tab-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}
.fara-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--color-text-subtle);
  font-size: 0.9rem;
}
.fara-brand-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0F2E25 0%, var(--color-primary) 55%, #2A6B56 100%);
  color: #fff;
}
.fara-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(196, 164, 106, 0.28), transparent 42%),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}
.page-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
@media (min-width: 640px) {
  .page-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.page-header h1 {
  margin-top: 0.25rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.page-header p.sub {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  line-height: 1.6;
}
.page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  flex-shrink: 0;
}

.fara-rise {
  opacity: 0;
  transform: translateY(12px);
  animation: faraRise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes faraRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fara-rise { opacity: 1; transform: none; animation: none; }
}

/* Admin chrome */
.admin-chrome {
  background: linear-gradient(160deg, #1C1917 0%, #292524 100%);
  color: #E7E5E4;
  border-bottom: 1px solid #44403C;
}
.admin-chrome-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) var(--space-4);
}
.admin-chrome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.admin-chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(196, 164, 106, 0.2);
  color: #F5EDDC;
  border: 1px solid rgba(196, 164, 106, 0.35);
}
.admin-chrome-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.admin-user-chip {
  font-size: 0.8rem;
  color: #A8A29E;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-back-btn {
  background: rgba(255,255,255,0.08) !important;
  color: #FAFAF9 !important;
  border-color: rgba(255,255,255,0.12) !important;
}
.admin-back-btn:hover {
  background: rgba(255,255,255,0.14) !important;
}
.admin-chrome-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.admin-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: #A8A29E;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.admin-nav-pill:hover {
  background: rgba(255,255,255,0.06);
  color: #FAFAF9;
}
.admin-nav-pill.is-active {
  background: #FAFAF9;
  color: #1C1917;
  font-weight: 600;
}

/* Public nav / footer */
.public-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.public-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.public-nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.public-nav-links a:hover { color: var(--color-text); }
@media (min-width: 768px) {
  .public-nav-links { display: flex; }
}
.public-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-10) var(--space-4);
  margin-top: var(--space-12);
}
.public-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .public-footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* Auth split layout */
.auth-split {
  min-height: 100vh;
  display: grid;
}
@media (min-width: 1024px) {
  .auth-split { grid-template-columns: 1.05fr 1fr; }
}
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  background: var(--color-bg);
}
.auth-form-card { width: 100%; max-width: 420px; }

/* Dashboard widgets */
.dash-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .dash-grid--primary { grid-template-columns: 2fr 1fr; }
  .dash-grid--secondary { grid-template-columns: 2fr 1fr; }
}
.stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .stat-stack { grid-template-columns: 1fr; }
}
.quick-action {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color 0.15s, background 0.15s;
}
.quick-action:hover {
  border-color: var(--color-primary-muted);
  background: var(--color-primary-soft);
}
.quick-action-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* PWA install dialog */
.pwa-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(28, 25, 23, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-4);
  padding-bottom: calc(var(--space-4) + var(--safe-bottom));
}
@media (min-width: 640px) {
  .pwa-dialog-backdrop {
    align-items: center;
  }
}
.pwa-dialog {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
}
.pwa-dialog.hidden { display: none; }
.pwa-dialog-backdrop.hidden { display: none; }
.pwa-steps {
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pwa-step {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.pwa-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.install-entry.hidden { display: none !important; }

/* Issue priority radios — full-label hit target + live selected state */
.priority-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.priority-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.priority-choice span { pointer-events: none; }
.priority-choice:hover { border-color: var(--color-border-strong); }
.priority-choice.is-selected,
.priority-choice:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

/* Issue media capture */
.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.media-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.media-chip-remove {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-danger);
}
.media-chip-remove:hover { background: var(--color-danger-soft); }
.media-preview {
  width: 100%;
  max-height: 200px;
  border-radius: var(--radius-md);
  background: #000;
  margin-top: 0.5rem;
  object-fit: cover;
}
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.media-gallery a, .media-gallery video, .media-gallery img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.media-gallery video, .media-gallery img {
  max-height: 160px;
  object-fit: cover;
}
.media-hint {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* Landing helpers (restrained) */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) var(--space-4) var(--space-10);
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: var(--space-12); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: var(--space-4);
}
.hero .lead {
  margin-top: var(--space-4);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 34rem;
  line-height: 1.65;
}
.feature-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.feature-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}
.feature-card-head h3 {
  margin: 0;
  line-height: 1.3;
  min-width: 0;
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Spinner for form submit */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Utility compatibility layer ---------- */
.hidden { display: none !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.contents { display: contents; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.right-2\.5 { right: 0.625rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.min-w-filter { min-width: min(100%, 16rem); flex: 1 1 16rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-11 { padding-right: 2.75rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1.4; }
.text-sm { font-size: 0.875rem; line-height: 1.45; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-widest { letter-spacing: 0.12em; }
.leading-relaxed { line-height: 1.65; }
.leading-tight { line-height: 1.2; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.underline { text-decoration: underline; }
.antialiased { -webkit-font-smoothing: antialiased; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-slate-100, .border-slate-200 { border-color: var(--color-border); }
.border-rose-200 { border-color: #FECDD3; }
.border-brand-100, .border-brand-200, .border-brand-300 { border-color: #B7CFC5; }
.bg-white { background: #fff; }
.bg-slate-50, .bg-slate-100 { background: var(--color-bg); }
.bg-slate-900 { background: var(--color-text); color: #fff; }
.bg-brand-50 { background: var(--color-primary-soft); }
.bg-rose-50 { background: var(--color-danger-soft); }
.bg-amber-50 { background: var(--color-warning-soft); }
.bg-emerald-50 { background: var(--color-success-soft); }
.text-white { color: #fff; }
.text-slate-400 { color: #A8A29E; }
.text-slate-500 { color: var(--color-text-subtle); }
.text-slate-600 { color: var(--color-text-muted); }
.text-slate-700 { color: #44403C; }
.text-slate-800, .text-slate-900 { color: var(--color-text); }
.text-brand-700, .text-brand-800 { color: var(--color-primary); }
.text-rose-600, .text-rose-700, .text-rose-800 { color: var(--color-danger); }
.text-emerald-700 { color: var(--color-success); }
.text-amber-300 { color: #FCD34D; }
.text-amber-700 { color: var(--color-warning); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.ring-1 { box-shadow: 0 0 0 1px var(--color-border); }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.object-contain { object-fit: contain; }
.backdrop-blur, .backdrop-blur-lg { backdrop-filter: blur(12px); }
.transition { transition: all 0.15s ease; }
.hover\:bg-slate-50:hover { background: var(--color-surface-2); }
.hover\:bg-slate-100:hover { background: var(--color-surface-2); }
.hover\:bg-rose-50:hover { background: var(--color-danger-soft); }
.hover\:text-slate-900:hover { color: var(--color-text); }
.hover\:underline:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block; }
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:justify-between { justify-content: space-between; }
}
@media (min-width: 1280px) {
  .xl\:p-14 { padding: 3.5rem; }
  .xl\:text-5xl { font-size: 3rem; }
}

/* Brand colour aliases used in older markup */
.text-brand-600, .text-brand-500 { color: var(--color-primary-muted); }
.bg-brand-100 { background: #D5E5DF; }
.bg-brand-200\/70 { background: rgba(183, 207, 197, 0.7); }
.from-brand-500, .to-brand-800, .from-brand-700, .to-brand-900 {
  /* gradients reduced to solid primary for restraint */
}
.bg-gradient-to-br { background: var(--color-primary); }

/* Misc leftovers from previous landing */
.fara-blob, .fara-noise::before, .fara-grid, .fara-marquee, .fara-pulse::after { display: none !important; }
.fara-marquee-track { display: none; }
