:root {
  --bg: #FAF8F5;
  --bg-soft: #F3EFE9;
  --surface: #FFFFFF;
  --surface-2: #FCFBF9;
  --text: #0D3B31;
  --muted: #5E726C;
  --line: #DCE5E0;
  --line-strong: #C8D8D1;
  --sidebar: #0D3B31;
  --sidebar-2: #124A3E;
  --sidebar-soft: rgba(255,255,255,.06);
  --brand: #F59E0B;
  --brand-2: #D97706;
  --brand-dark: #0D3B31;
  --brand-glow: rgba(245,158,11,.22);
  --brand-soft: rgba(245,158,11,.14);
  --brand-soft-2: rgba(245,158,11,.08);
  --teal-soft: rgba(13,59,49,.08);
  --danger: #DC2626;
  --warning: #F59E0B;
  --shadow: 0 10px 30px rgba(13, 59, 49, .06);
  --shadow-lg: 0 20px 50px rgba(13, 59, 49, .12);
  --radius: 18px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); margin: 0; }
a { color: var(--text); }
a:hover { color: #B45309; }
.app-body { min-height: 100vh; }
.app-shell { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar, .sidebar-offcanvas {
  width: 280px;
  background: linear-gradient(180deg, var(--sidebar-2) 0%, var(--sidebar) 100%);
  color: #E7EFEC;
  flex-shrink: 0;
}
.sidebar { position: sticky; top: 0; height: 100vh; flex-direction: column; border-right: 1px solid rgba(255,255,255,.06); }
.sidebar-offcanvas { background: linear-gradient(180deg, var(--sidebar-2) 0%, var(--sidebar) 100%); color: #E7EFEC; }
.sidebar-brand { padding: 28px 24px 20px; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #0D3B31; font-size: 1.2rem; box-shadow: 0 8px 24px rgba(245,158,11,.25); overflow: hidden; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
img.brand-mark { display: inline-block; object-fit: cover; padding: 0; }
.brand-name { display: block; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.brand-sub { display: block; font-size: .75rem; color: rgba(231,239,236,.68); font-weight: 500; margin-top: 2px; }
.sidebar-nav { padding: 8px 14px 16px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(231,239,236,.22) transparent; }
.sidebar-nav::-webkit-scrollbar { width: 8px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(231,239,236,.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(245,158,11,.45); border: 2px solid transparent; background-clip: padding-box; }
.sidebar-offcanvas .offcanvas-body { scrollbar-width: thin; scrollbar-color: rgba(231,239,236,.22) transparent; }
.sidebar-offcanvas .offcanvas-body::-webkit-scrollbar { width: 8px; }
.sidebar-offcanvas .offcanvas-body::-webkit-scrollbar-track { background: transparent; }
.sidebar-offcanvas .offcanvas-body::-webkit-scrollbar-thumb { background: rgba(231,239,236,.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.sidebar-offcanvas .offcanvas-body::-webkit-scrollbar-thumb:hover { background: rgba(245,158,11,.45); border: 2px solid transparent; background-clip: padding-box; }
.nav-section { padding: 16px 12px 8px; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(231,239,236,.52); font-weight: 700; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: rgba(231,239,236,.82); text-decoration: none; font-weight: 600; font-size: .92rem; margin-bottom: 2px; transition: all .18s ease; position: relative; }
.sidebar-link i { font-size: 1rem; width: 20px; text-align: center; color: rgba(231,239,236,.72); }
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }
.sidebar-link:hover i { color: #fff; }
.sidebar-link.active { background: linear-gradient(90deg, rgba(245,158,11,.22), rgba(245,158,11,.08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(245,158,11,.2); }
.sidebar-link.active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 4px; background: var(--brand); }
.sidebar-link.active i { color: var(--brand); }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.dealer-chip { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.dealer-avatar, .topbar-avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #FBBF24); color: #0D3B31; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0; }
.dealer-name { font-weight: 700; font-size: .88rem; color: #fff; line-height: 1.2; }
.dealer-office { font-size: .75rem; color: rgba(231,239,236,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.btn-outline-light-subtle { color: #E7EFEC; border: 1px solid rgba(255,255,255,.14); background: transparent; }
.btn-outline-light-subtle:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-logout { background: rgba(220,38,38,.14); color: #FCA5A5; border: 1px solid rgba(220,38,38,.22); font-weight: 600; }
.btn-logout:hover { background: rgba(220,38,38,.22); color: #fff; }

/* Main */
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; background: rgba(250,248,245,.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(220,229,224,.8); }
.topbar-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.topbar-sub { font-size: .8rem; color: var(--muted); margin-top: 3px; font-weight: 500; }
.topbar-user { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 10px 6px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.topbar-user:hover { background: #fff; border-color: var(--line-strong); }
.topbar-user-name { display: block; font-size: .82rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.topbar-user-office { display: block; font-size: .72rem; color: var(--muted); }
.topbar-user-menu { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.9); cursor: pointer; transition: all .15s ease; }
.topbar-user-menu:hover, .topbar-user-menu:focus, .topbar-user-menu.show { border-color: rgba(13,59,49,.22); box-shadow: 0 8px 24px rgba(13,59,49,.08); background: #fff; outline: none; }
.topbar-user-caret { font-size: .72rem; color: var(--muted); margin-left: 2px; }
.user-dropdown-menu { min-width: 230px; border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin-top: 8px !important; }
.user-dropdown-head { padding: 10px 12px; }
.user-dropdown-menu .dropdown-item { border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: .88rem; color: var(--text); }
.user-dropdown-menu .dropdown-item:hover, .user-dropdown-menu .dropdown-item:focus { background: rgba(13,59,49,.06); color: var(--brand); }
.user-dropdown-menu .dropdown-item-danger { color: #B91C1C; width: 100%; text-align: left; border: 0; background: transparent; }
.user-dropdown-menu .dropdown-item-danger:hover, .user-dropdown-menu .dropdown-item-danger:focus { background: rgba(220,38,38,.08); color: #991B1B; }
.btn-icon { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.btn-icon:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.content-area { padding: 28px; width: 100%; max-width: 1800px; }

/* Surfaces */
.card, .surface-card { background: var(--surface); border: 1px solid rgba(220,229,224,.85); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { overflow: hidden; }
.card-body { padding: 24px; }
.page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.page-header h3, .page-header h1 { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.page-header .subtext { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* Buttons */
.btn { border-radius: 12px; font-weight: 650; padding: .58rem 1rem; font-size: .9rem; }
.btn-sm { padding: .42rem .75rem; font-size: .8rem; border-radius: 10px; }
.btn-primary, .btn-brand { background: linear-gradient(135deg, var(--brand), #FBBF24); border: none; color: #0D3B31; box-shadow: 0 8px 20px rgba(245,158,11,.28); }
.btn-primary:hover, .btn-brand:hover, .btn-primary:focus, .btn-brand:focus { background: linear-gradient(135deg, #F59E0B, var(--brand-2)); color: #0D3B31; box-shadow: 0 10px 24px rgba(245,158,11,.34); }
.btn-primary:active, .btn-brand:active { color: #0D3B31 !important; }
.btn-outline-primary { color: var(--text); border-color: rgba(245,158,11,.5); background: rgba(245,158,11,.03); }
.btn-outline-primary:hover { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.55); color: var(--text); }
.btn-outline-secondary { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn-outline-secondary:hover { background: var(--bg-soft); color: var(--text); border-color: #B5C9C1; }
.btn-outline-danger { border-color: rgba(220,38,38,.3); color: var(--danger); }
.btn-outline-danger:hover { background: rgba(220,38,38,.08); color: var(--danger); }
.btn-brand-soft { background: var(--brand-soft); color: var(--text); border: 1px solid rgba(245,158,11,.2); }
.btn-brand-soft:hover { background: rgba(245,158,11,.2); color: var(--text); }

/* Forms */
.form-label { font-weight: 650; font-size: .85rem; color: var(--text); margin-bottom: .45rem; }
.form-control, .form-select { border-radius: 12px; border: 1px solid var(--line); padding: .65rem .9rem; font-size: .92rem; background-color: #FDFCFB; color: var(--text); }
.form-control:focus, .form-select:focus { border-color: rgba(245,158,11,.55); box-shadow: 0 0 0 4px rgba(245,158,11,.14); background: #fff; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(245,158,11,.14); border-color: rgba(245,158,11,.55); }
.input-group-text { border-radius: 12px; border-color: var(--line); background: var(--bg-soft); color: var(--text); }

/* Tables */
.table-responsive { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(220,229,224,.85); overflow: auto; }
.table { margin: 0; --bs-table-bg: transparent; color: var(--text); }
.table thead th { background: #F4F1EC; color: var(--text); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 750; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tbody td { padding: 14px 16px; border-bottom: 1px solid #EBE7E1; font-size: .9rem; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table-hover tbody tr:hover { background: #FBFAF7; }
.table-sm thead th, .table-sm tbody td { padding: 10px 12px; }

/* Badges / stats */
.badge { font-weight: 650; border-radius: 8px; padding: .45em .65em; }
.badge-role, .badge-soft { background: var(--brand-soft); color: var(--text); border: 1px solid rgba(245,158,11,.18); }
.badge.text-bg-success { background: rgba(13,59,49,.12) !important; color: var(--text) !important; }
.badge.text-bg-secondary { background: #EBE7E1 !important; color: var(--text) !important; }
.stat-card { border: 1px solid rgba(220,229,224,.85); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; overflow: hidden; position: relative; }
.stat-card::after { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle, rgba(245,158,11,.14), transparent 70%); pointer-events: none; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card .card-body { padding: 22px; }
.stat-card .stat-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 10px; color: var(--text); }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--text); font-size: 1.2rem; }

/* Alerts */
.alert-modern { border: 0; border-radius: 14px; padding: 14px 16px; font-weight: 550; }
.alert-modern.alert-success { background: rgba(13,59,49,.1); color: var(--text); }
.alert-modern.alert-danger { background: rgba(220,38,38,.1); color: #991B1B; }
.alert-modern.alert-info { background: rgba(13,59,49,.08); color: var(--text); }
.alert-modern.alert-warning { background: rgba(245,158,11,.14); color: #92400E; }

/* Match */
.match-card { border-left: 4px solid var(--brand) !important; }
.match-panel { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: linear-gradient(180deg, #fff, #FDFCFB); }
.small-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 750; margin-bottom: 2px; }
.form-section-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.form-section-title::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); display: inline-block; }

/* Auth */
.auth-body { min-height: 100vh; background: radial-gradient(ellipse at top, rgba(245,158,11,.12), transparent 45%), linear-gradient(180deg, #124A3E 0%, var(--sidebar) 100%); }
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-wrap { width: 100%; max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.auth-hero { color: #fff; padding: 40px; border-radius: 28px; background: linear-gradient(160deg, rgba(245,158,11,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; min-height: 560px; }
.auth-hero .brand-mark { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 16px; margin-bottom: 24px; }
.auth-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 16px; }
.auth-hero p { color: rgba(231,239,236,.78); font-size: 1rem; line-height: 1.7; max-width: 48ch; }
.auth-feature { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.auth-feature i { color: var(--brand); font-size: 1.1rem; margin-top: 2px; }
.auth-feature strong { display: block; font-size: .92rem; color: #fff; }
.auth-feature span { font-size: .82rem; color: rgba(231,239,236,.66); }
.auth-card { background: #fff; border-radius: 28px; padding: 40px; box-shadow: 0 30px 80px rgba(13,59,49,.25); border: 1px solid rgba(255,255,255,.5); }
.auth-card h2, .auth-card h3 { font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; color: var(--text); }
.auth-card .sub { color: var(--muted); margin-bottom: 28px; }

/* Detail */
.detail-dl dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding-top: 10px; }
.detail-dl dd { padding-top: 10px; font-weight: 550; margin-bottom: 0; border-bottom: 1px solid #EBE7E1; padding-bottom: 10px; color: var(--text); }
.detail-dl dt:nth-last-child(2), .detail-dl dd:last-child { border-bottom: 0; padding-bottom: 0; }

.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 14px; }

@media (max-width: 991.98px) {
  .topbar { padding: 16px 18px; }
  .content-area { padding: 18px; }
  .page-header h3, .page-header h1 { font-size: 1.45rem; }
  .auth-wrap { grid-template-columns: 1fr; max-width: 640px; }
  .auth-hero { min-height: auto; padding: 32px; }
  .auth-card { padding: 28px; }
}
@media (max-width: 575.98px) {
  .card-body { padding: 18px; }
  .stat-card .stat-value { font-size: 1.7rem; }
}

/* Listing cards */
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1399.98px) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .listing-grid { grid-template-columns: 1fr; } }
.record-card { background: var(--surface); border: 1px solid rgba(220,229,224,.85); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; }
.record-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,.35); }
.record-card-head { padding: 20px 20px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.record-card-id { font-size: .72rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.record-card-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 0; line-height: 1.3; }
.record-card-sub { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.record-card-body { padding: 16px 20px 20px; flex: 1; }
.record-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.meta-item { min-width: 0; }
.meta-label { display: block; font-size: .69rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 750; margin-bottom: 3px; }
.meta-value { font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.35; word-break: break-word; }
.meta-value.muted { color: #5E726C; font-weight: 550; }
.record-card-footer { padding: 16px 20px; border-top: 1px solid #EBE7E1; background: #FDFCFB; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.record-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.record-card-actions .btn { padding: .38rem .72rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: .35rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 750; }
.status-on { background: var(--brand-soft); color: var(--text); }
.status-off { background: #EBE7E1; color: var(--muted); }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.listing-empty { grid-column: 1 / -1; }
.compact-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg,#fff,#FDFCFB); }
.settings-list { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow: auto; padding-right: 2px; }
.settings-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #FDFCFB; }
.settings-item-title { font-weight: 700; font-size: .9rem; color: var(--text); }
.settings-item-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.listing-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1199.98px){ .listing-grid-2{ grid-template-columns:1fr; } }

/* ===== Public / Landing ===== */
.public-body { background: var(--bg); }
.public-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.88); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border-bottom: 1px solid #0F4237; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px rgba(13,59,49,.04); }
.public-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 12px 0; }
.public-brand { gap: 12px; flex-shrink: 0; }
.public-brand .brand-mark { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 8px 24px rgba(13,59,49,.12); }
.public-brand .brand-name { font-size: 1.35rem; font-weight: 800; color: var(--sidebar); letter-spacing: -.03em; line-height: 1.05; }
.public-brand .brand-sub { font-size: .68rem; font-weight: 700; color: #5B7069; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.public-nav-links { display: flex; align-items: center; justify-content: center; gap: 0; flex: 1; }
.public-nav-link { position: relative; display: inline-flex; align-items: center; padding: 9px 10px; color: #415B54; text-decoration: none; font-weight: 650; font-size: .84rem; border-radius: 10px; transition: color .18s ease, background-color .18s ease; white-space: nowrap; }
.public-nav-link::after { content:''; position:absolute; left:10px; right:10px; bottom:5px; height:2px; border-radius:2px; background: linear-gradient(90deg, var(--brand), #E08A00); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.public-nav-link:hover, .public-nav-link.active { color: var(--sidebar); background: rgba(13,59,49,.04); }
.public-nav-link:hover::after, .public-nav-link.active::after { transform: scaleX(1); }
.public-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.public-nav-btn { padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: .88rem; box-shadow: none; }
.public-nav-btn.btn-primary { box-shadow: 0 8px 20px rgba(245,158,11,.28); }
.public-nav-btn.btn-primary:hover { box-shadow: 0 10px 24px rgba(245,158,11,.34); }
.public-nav-btn-login { border-color: rgba(13,59,49,.2); color: var(--sidebar); background: transparent; }
.public-nav-btn-login:hover { background: rgba(13,59,49,.04); border-color: rgba(13,59,49,.3); color: var(--sidebar); }
.public-nav-toggle { width: 44px; height: 44px; border: 1px solid rgba(13,59,49,.12); border-radius: 12px; background: #fff; color: var(--sidebar); align-items: center; justify-content: center; font-size: 1.45rem; line-height: 1; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.public-nav-toggle:hover { background: rgba(13,59,49,.04); border-color: rgba(13,59,49,.2); }
.public-nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }

.public-mobile-nav { width: min(360px, 92vw); border-right: 1px solid rgba(13,59,49,.08); }
.public-mobile-nav .offcanvas-header { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.public-mobile-nav .offcanvas-body { padding: 20px; display: flex; flex-direction: column; }
.public-mobile-nav .brand-name { color: var(--sidebar); font-size: 1.25rem; }
.public-mobile-nav .brand-sub { color: #5B7069; letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; }
.public-mobile-links { display: flex; flex-direction: column; gap: 4px; }
.public-mobile-divider { height: 1px; background: var(--line); margin: 10px 4px; }
.public-mobile-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 650; font-size: .95rem; transition: background .18s ease, color .18s ease; }
.public-mobile-link i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(13,59,49,.05); color: var(--sidebar); font-size: 1rem; flex-shrink: 0; }
.public-mobile-link:hover { background: rgba(13,59,49,.04); color: var(--sidebar); }
.public-mobile-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.public-mobile-actions .btn { padding: 12px 16px; border-radius: 12px; font-weight: 700; }

@media (max-width: 991.98px) {
  .public-nav-inner { min-height: 70px; }
}
@media (max-width: 575.98px) {
  .public-nav-inner { min-height: 64px; gap: 12px; padding: 10px 0; }
  .public-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .public-brand .brand-name { font-size: 1.2rem; }
  .public-brand .brand-sub { font-size: .62rem; }
  .public-nav-toggle { width: 40px; height: 40px; border-radius: 10px; }
}
.text-brand { color: #B45309; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: .4rem .8rem; border-radius: 999px; background: var(--brand-soft); color: var(--text); font-weight: 700; font-size: .78rem; margin-bottom: 18px; border: 1px solid rgba(245,158,11,.18); }
.landing-eyebrow.on-teal { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.landing-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; color: var(--text); margin-bottom: 20px; }
.landing-lead { font-size: 1.08rem; color: var(--muted); line-height: 1.75; max-width: 640px; }
.landing-trust { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.landing-trust i { color: var(--brand); margin-right: 4px; }

/* Hero - 30% teal via visual panel */
.landing-hero { position: relative; padding: 72px 0 64px; background: linear-gradient(180deg, #F7F4EF 0%, var(--bg) 100%); overflow: clip; }
.landing-hero::after { content:''; position:absolute; top:0; right:0; bottom:0; width:32%; background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); border-radius: 40px 0 0 40px; pointer-events:none; }
.landing-hero .container { position: relative; z-index: 1; }
.hero-visual { position: relative; padding: 18px; }
.hero-visual::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(18,74,62,.98), rgba(13,59,49,.98)); border-radius: 32px; box-shadow: 0 24px 60px rgba(13,59,49,.28); }
.hero-visual > * { position: relative; z-index: 1; }
.workflow-panel { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 24px; box-shadow: 0 24px 60px rgba(13,59,49,.16); overflow: hidden; }
.workflow-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 24px 18px; background: linear-gradient(180deg, #FDFCFB 0%, #F7F4EF 100%); border-bottom: 1px solid var(--line); }
.workflow-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.workflow-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.workflow-status { display: inline-flex; align-items: center; gap: 6px; padding: .4rem .68rem; border-radius: 999px; background: rgba(13,59,49,.07); color: var(--brand); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.workflow-dot { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,.16); }
.workflow-list { list-style: none; margin: 0; padding: 8px 18px; }
.workflow-step { display: flex; align-items: flex-start; gap: 14px; padding: 14px 6px; }
.workflow-step + .workflow-step { border-top: 1px solid var(--line); }
.workflow-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(13,59,49,.07); color: var(--brand); font-size: 1.08rem; }
.workflow-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.workflow-step-title { font-size: .9rem; font-weight: 800; color: var(--text); }
.workflow-step-text { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.workflow-step-num { margin-left: auto; padding-top: 2px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: #B9CCC4; }
.workflow-foot { display: flex; align-items: center; gap: 8px; padding: 13px 24px 15px; background: #F7F4EF; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 600; }
.workflow-foot i { color: var(--brand); }

/* Privacy preview - shared vs hidden */
.privacy-preview-card { padding: clamp(20px, 3vw, 28px); border-radius: 24px; box-shadow: 0 18px 44px rgba(13,59,49,.08); }
.privacy-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.privacy-preview-title { margin: 4px 0 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--text); }
.privacy-preview-group { padding: 14px 16px; border-radius: 16px; background: #F7F4EF; border: 1px solid var(--line); }
.privacy-preview-group + .privacy-preview-group { margin-top: 12px; }
.privacy-preview-hidden { background: #FDFCFB; }
.privacy-preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .78rem; font-weight: 800; color: var(--text); }
.privacy-preview-label i { color: #16A34A; }
.privacy-preview-hidden .privacy-preview-label i { color: #DC2626; }
.privacy-preview-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-preview-chips span { display: inline-flex; padding: .35rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--muted); }
.privacy-preview-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.privacy-preview-note i { color: var(--brand); margin-top: 1px; }

/* Landing property showcase carousel */
.landing-showcase { padding: 22px 0 2px; background: #F7F4EF; }
.showcase-carousel { position: relative; height: clamp(300px, 40vw, 500px); border-radius: 28px; overflow: hidden; background: var(--sidebar); box-shadow: 0 24px 60px rgba(13,59,49,.18); }
.showcase-carousel .carousel-inner,
.showcase-carousel .carousel-item { height: 100%; }
.showcase-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,59,49,0) 0%, rgba(13,59,49,.06) 40%, rgba(13,59,49,.42) 72%, rgba(13,59,49,.86) 100%); pointer-events: none; }
.showcase-caption { display: block; position: absolute; left: clamp(20px, 4vw, 48px); right: auto; top: auto; bottom: clamp(22px, 3.4vw, 40px); max-width: min(600px, 72%); padding: 0; text-align: left; }
.showcase-tag { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; background: rgba(245,158,11,.96); color: #0D3B31; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.showcase-title { margin: 0 0 8px; color: #fff; font-size: clamp(1.35rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.showcase-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(255,255,255,.92); font-size: .86rem; font-weight: 600; }
.showcase-meta span { display: inline-flex; align-items: center; gap: 6px; }
.showcase-meta i { color: #FBBF24; }
.showcase-indicators { position: absolute; top: clamp(16px, 2.4vw, 24px); right: clamp(20px, 4vw, 48px); bottom: auto; left: auto; z-index: 3; display: flex; justify-content: flex-end; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 999px; background: rgba(13,59,49,.44); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.showcase-indicators [data-bs-target] { width: 26px; height: 4px; margin: 0; border-radius: 999px; background: rgba(255,255,255,.5); border: 0; opacity: 1; transition: width .25s ease, background .25s ease; }
.showcase-indicators .active { width: 44px; background: var(--brand); }
.showcase-indicators [data-bs-target]:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.showcase-arrow { position: absolute; top: 50%; bottom: auto; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 1.3rem; opacity: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.showcase-arrow:hover, .showcase-arrow:focus-visible { background: var(--brand); border-color: var(--brand); color: #0D3B31; }
.showcase-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.showcase-arrow.carousel-control-prev { left: clamp(14px, 2.2vw, 26px); }
.showcase-arrow.carousel-control-next { right: clamp(14px, 2.2vw, 26px); }
.showcase-arrow i { line-height: 1; }

/* Capability bar */
.landing-capabilities { padding: 8px 0 0; background: var(--bg); }
.capability-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-radius: 24px; background: linear-gradient(135deg, #124A3E 0%, var(--sidebar) 100%); box-shadow: 0 18px 40px rgba(13,59,49,.16); overflow: hidden; }
.capability-item { position: relative; display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 22px 20px; }
.capability-item + .capability-item::before { content: ''; position: absolute; top: 22%; bottom: 22%; left: 0; width: 1px; background: rgba(255,255,255,.14); }
.capability-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(245,158,11,.16); color: #FCD34D; font-size: 1rem; }
.capability-copy { min-width: 0; }
.capability-title { color: #fff; font-size: .9rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.capability-text { margin-top: 3px; color: rgba(231,239,236,.72); font-size: .8rem; line-height: 1.45; }

/* Sections */
.landing-section { position: relative; padding: 80px 0; background: var(--bg); }
.landing-section-soft { background: linear-gradient(180deg, #F3EFE9, var(--bg)); }
.landing-section-teal { background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); color: #fff; }
.section-head { margin-bottom: 40px; position: relative; }
.section-head h2, .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); margin-bottom: 12px; }
.section-head p { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1rem; }
.landing-section-teal .section-head h2, .landing-section-teal .section-title { color: #fff; }
.landing-section-teal .section-head p, .landing-section-teal .text-on-teal-muted { color: rgba(231,239,236,.8); }
.landing-section-teal .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }

/* Teal header band for light sections */
.section-band { position: relative; padding-top: 0; }
.section-band::before { content:''; position:absolute; top:0; left:0; right:0; height: 220px; background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); }
.section-band > .container { position: relative; z-index: 1; }
.section-band .section-head { padding-top: 56px; }
.section-band .section-head h2 { color: #fff; }
.section-band .section-head p { color: rgba(231,239,236,.8); }
.section-band .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }

/* Cards */
.feature-card, .module-card, .step-card { background: #fff; border: 1px solid rgba(220,229,224,.85); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; height: 100%; }
.feature-card:hover, .module-card:hover, .step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon, .module-icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--text); font-size: 1.35rem; margin-bottom: 18px; }
.feature-card h3, .step-card h3, .module-card .fw-bold { font-weight: 800; margin-bottom: 10px; letter-spacing: -.02em; color: var(--text); }
.feature-card h3, .step-card h3 { font-size: 1.25rem; }
.feature-card p, .step-card p, .module-card .small { color: var(--muted); margin: 0; line-height: 1.7; font-size: .94rem; }
.step-num { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #FBBF24); color: #0D3B31; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 8px 20px rgba(245,158,11,.25); }

/* Privacy teal panel */
.privacy-teal-panel { background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); color: #fff; border-radius: 28px; padding: 36px; height: 100%; box-shadow: 0 20px 50px rgba(13,59,49,.18); }
.privacy-teal-panel .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.privacy-teal-panel .section-title { color: #fff; }
.privacy-teal-panel p, .privacy-teal-panel .privacy-item { color: rgba(231,239,236,.84); }
.privacy-teal-panel .privacy-item strong { color: #fff; }
.privacy-teal-panel .privacy-item i { color: var(--brand); }
.privacy-teal-panel .privacy-item .privacy-icon-hidden { color: #FCA5A5; }
.privacy-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.privacy-item { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.privacy-item i { font-size: 1.1rem; margin-top: 2px; }

/* FAQ */
.faq-shell { background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); padding: 28px; border-radius: 28px; box-shadow: 0 20px 50px rgba(13,59,49,.16); }
.faq-item { border: 1px solid rgba(220,229,224,.85) !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item .accordion-button { font-weight: 700; color: var(--text); background: #fff; box-shadow: none; padding: 18px 20px; }
.faq-item .accordion-button:not(.collapsed) { color: var(--text); background: rgba(245,158,11,.08); }
.faq-item .accordion-button:focus { box-shadow: 0 0 0 4px rgba(245,158,11,.14); border-color: rgba(245,158,11,.35); }
.faq-item .accordion-body { padding: 0 20px 20px; color: var(--muted); }

/* CTA & footer */
.landing-cta { padding: 24px 0 72px; background: var(--bg); }
.cta-box { background: linear-gradient(135deg, #124A3E, var(--sidebar)); color: #fff; border-radius: 28px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 20px 50px rgba(13,59,49,.2); border: 1px solid rgba(255,255,255,.06); }
.cta-box h2 { font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; color: #fff; }
.cta-box p { margin: 0; color: rgba(231,239,236,.84); }
.public-footer { position: relative; overflow: hidden; background: linear-gradient(145deg, #0B3128 0%, var(--sidebar) 52%, #08271E 100%); color: #fff; padding: 0; border-top: 1px solid rgba(255,255,255,.07); }
.public-footer::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; pointer-events: none; }
.public-footer::after { content:''; position:absolute; top:0; left:10%; right:10%; height:1px; background:linear-gradient(90deg, transparent, rgba(245,158,11,.55), transparent); pointer-events:none; }
.footer-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.footer-glow-one { width: 460px; height: 460px; top: -260px; right: -90px; background: radial-gradient(circle, rgba(245,158,11,.16), transparent 68%); }
.footer-glow-two { width: 380px; height: 380px; bottom: -230px; left: -115px; background: radial-gradient(circle, rgba(18,74,62,.85), transparent 70%); }
.footer-inner { position: relative; z-index: 1; }

.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 0 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top > div { max-width: 720px; }
.footer-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgba(245,158,11,.13); border: 1px solid rgba(245,158,11,.24); color: #FDE68A; font-weight: 700; font-size: .76rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer-top h3 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 10px; color: #fff; }
.footer-top p { color: rgba(231,239,236,.76); margin: 0; line-height: 1.7; font-size: .96rem; max-width: 640px; }
.btn-footer { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 20px; background: #fff; color: var(--sidebar); font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,.14); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.btn-footer:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.2); background: var(--brand); color: var(--sidebar); border-color: var(--brand); }

.footer-main { padding: 38px 0 30px; }
.footer-brand .brand-link { color: #fff; }
.footer-brand .brand-mark { background: #fff; }
.footer-about { color: rgba(231,239,236,.74); font-size: .88rem; line-height: 1.75; max-width: 350px; margin-bottom: 14px; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); color: rgba(231,239,236,.82); font-size: .76rem; font-weight: 600; }
.footer-trust i { color: #FBBF24; }
.footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.footer-social-link { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(231,239,236,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .95rem; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.footer-social-link:hover { transform: translateY(-2px); background: rgba(245,158,11,.18); border-color: rgba(245,158,11,.38); color: #fff; }
.footer-col { height: 100%; }
.footer-title { position: relative; padding-left: 12px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; color: #FDE68A; margin-bottom: 14px; }
.footer-title::before { content:''; position:absolute; left:0; top:2px; bottom:2px; width:3px; border-radius:2px; background:linear-gradient(180deg, #FBBF24, #E08A00); }
.footer-link { position: relative; display: block; width: fit-content; color: rgba(231,239,236,.78); text-decoration: none; font-size: .88rem; margin-bottom: 8px; transition: color .16s ease, transform .16s ease; }
.footer-link::after { content:''; position:absolute; left:0; right:100%; bottom:-2px; height:1px; background:#FBBF24; transition:right .18s ease; pointer-events:none; }
.footer-col .footer-link:last-child { margin-bottom: 0; }
.footer-link:hover { color: #fff; transform: translateX(3px); }
.footer-link:hover::after { right: 0; }
.footer-ayat { position: relative; text-align: center; padding: 26px 12px 14px; font-family: 'Amiri', 'Noto Naskh Arabic', serif; font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.55; color: #FFF8E7; text-shadow: 0 2px 16px rgba(245,158,11,.14); }
.footer-ayat::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:62%; max-width:460px; height:1px; background:linear-gradient(90deg, transparent, rgba(245,158,11,.46), transparent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 0 14px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(231,239,236,.6); font-size: .82rem; }
.footer-credit { color: rgba(231,239,236,.58); text-align: right; }
.btn-footer:focus-visible, .footer-link:focus-visible, .footer-social-link:focus-visible { outline: 2px solid #FBBF24; outline-offset: 3px; }

@media (min-width: 992px) {
  .footer-main > [class*="col-"] + [class*="col-"] { border-left: 1px solid rgba(255,255,255,.075); padding-left: 30px; }
}
@media (max-width: 991.98px) {
  .footer-top { padding: 40px 0 30px; }
  .footer-main { padding: 32px 0 24px; }
}
@media (max-width: 767.98px) {
  .public-footer::before { background-size: 18px 18px; }
  .footer-glow-one { width: 300px; height: 300px; top: -160px; right: -60px; }
  .footer-glow-two { width: 270px; height: 270px; bottom: -150px; left: -70px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 34px 0 26px; }
  .footer-top h3 { font-size: clamp(1.45rem, 5vw, 2rem); }
  .footer-top p { font-size: .9rem; }
  .btn-footer { width: 100%; }
  .footer-main { padding: 28px 0 20px; }
  .footer-social { margin-top: 16px; }
  .footer-ayat { padding: 22px 12px 12px; font-size: clamp(1.45rem, 5.5vw, 2.1rem); line-height: 1.65; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-credit { text-align: left; }
}
@media (max-width: 575.98px) {
  .footer-kicker { font-size: .72rem; }
  .footer-top h3 { font-size: 1.5rem; }
  .footer-about { font-size: .84rem; }
  .footer-title { font-size: .72rem; }
  .footer-link { font-size: .85rem; }
  .footer-ayat { padding: 22px 4px 12px; line-height: 1.7; }
  .footer-bottom { font-size: .78rem; }
}

@media (max-width: 991.98px) {
  .landing-hero::after { width: 100%; height: 34%; top: auto; bottom: 0; border-radius: 32px 32px 0 0; }
  .landing-hero { padding-bottom: 48px; }
  .hero-visual { margin-top: 8px; }
  .section-band::before { height: 190px; }
  .showcase-carousel { height: clamp(280px, 52vw, 440px); border-radius: 24px; }
  .capability-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-item { padding: 20px; }
  .capability-item + .capability-item::before { display: none; }
  .capability-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .capability-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 767.98px) {
  .cta-box { flex-direction: column; align-items: flex-start; }
  .workflow-head { padding: 18px 20px 14px; }
  .workflow-list { padding: 6px 14px; }
  .workflow-step { padding: 12px 2px; gap: 12px; }
  .workflow-icon { width: 36px; height: 36px; font-size: 1rem; }
  .workflow-foot { padding: 12px 20px; }
  .privacy-preview-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .showcase-carousel { height: clamp(280px, 66vw, 400px); border-radius: 20px; }
  .showcase-caption { left: clamp(16px, 4vw, 24px); right: clamp(16px, 4vw, 24px); bottom: 28px; max-width: none; }
  .showcase-title { font-size: 1.3rem; }
  .showcase-meta { gap: 6px 14px; font-size: .8rem; }
  .showcase-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .showcase-indicators { top: 14px; right: 14px; padding: 7px 10px; gap: 6px; }
  .showcase-indicators [data-bs-target] { width: 20px; height: 4px; }
  .showcase-indicators .active { width: 34px; }
}
@media (max-width: 575.98px) {
  .landing-hero { padding: 48px 0 40px; }
  .landing-hero::after { height: 30%; }
  .hero-visual { padding: 12px; }
  .cta-box { padding: 28px; }
  .privacy-teal-panel, .faq-shell { padding: 22px; }
  .workflow-head { padding: 16px; }
  .workflow-list { padding: 4px 10px; }
  .workflow-step { padding: 12px 2px; }
  .workflow-step-num { display: none; }
  .workflow-step-title { font-size: .86rem; }
  .workflow-step-text { font-size: .77rem; }
  .workflow-foot { padding: 11px 16px; font-size: .72rem; }
  .privacy-preview-card { padding: 18px; }
  .privacy-preview-chips span { font-size: .7rem; }
  .landing-capabilities { padding-top: 4px; }
  .capability-bar { grid-template-columns: 1fr; border-radius: 20px; }
  .capability-item { align-items: center; padding: 15px 18px; }
  .capability-item:nth-child(even) { border-left: 0; }
  .capability-item:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.14); }
  .capability-icon { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
  .capability-title { font-size: .88rem; }
  .capability-text { font-size: .78rem; }
  .landing-showcase { padding-top: 14px; }
  .showcase-carousel { height: 330px; }
  .showcase-caption { bottom: 24px; }
  .showcase-tag { margin-bottom: 8px; font-size: .68rem; }
  .showcase-title { font-size: 1.18rem; }
  .showcase-meta span { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-carousel.carousel-fade .carousel-item { transition: none; }
  .showcase-indicators [data-bs-target], .showcase-arrow { transition: none; }
}

/* Admin */
.admin-table-wrap { overflow-x: auto; }
.table-admin { width: 100%; font-size: .88rem; }
.table-admin th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 750; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FDFCFB; white-space: nowrap; }
.table-admin td { padding: 12px 14px; border-bottom: 1px solid #EBE7E1; vertical-align: middle; color: var(--text); }
.table-admin tr:last-child td { border-bottom: none; }
.table-admin tr:hover td { background: #FBFAF7; }
.pill { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.pill-active { background: var(--brand-soft); color: var(--text); }
.pill-disabled { background: #FEE2E2; color: #B91C1C; }
.pill-admin { background: rgba(13,59,49,.12); color: var(--text); }
.pill-dealer { background: rgba(245,158,11,.12); color: var(--text); }
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; background: var(--bg-soft); padding: .2rem .45rem; border-radius: 6px; color: var(--text); word-break: break-all; border: 1px solid var(--line); }
.db-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 991.98px) { .db-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575.98px) { .db-grid { grid-template-columns: 1fr; } }
.perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; }
@media (max-width: 767.98px) { .perm-grid { grid-template-columns: 1fr; } }
.perm-item { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #FDFCFB; }
.perm-item label { font-size: .84rem; font-weight: 600; color: var(--text); cursor: pointer; }
.perm-item .small { font-size: .74rem; }

/* Utility / tokenized replacements for inline styles */
.panel-soft { background: var(--bg-soft); border: 1px solid var(--line); }
.panel-accent { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.18); }
.panel-accent .small-label, .panel-accent .text-accent { color: var(--text); }
.text-accent { color: #B45309 !important; }
.icon-danger-soft { background: rgba(220,38,38,.1) !important; color: var(--danger) !important; }
.stat-icon-sm { width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; border-radius: 16px; }
.brand-mark-sm { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
.compact-stat { font-size: .95rem; }
.compact-stat-lg { font-size: 1.5rem; }
.table-cell-trunc { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.switch-lg { width: 3em; height: 1.5em; }
.footer-link-inline { color: rgba(231,239,236,.76); text-decoration: none; font-size: .9rem; }
.footer-link-inline:hover { color: #fff; }

/* Soft-delete / audit */
.row-archived td { opacity: .72; background: #FFF8F8; }
.row-archived:hover td { opacity: 1; }
.audit-details { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; color: var(--muted); }
.filter-bar .form-label { font-size: .76rem; margin-bottom: .3rem; }

/* App/dealer/admin footer uses the full public footer with layout spacing added */
.app-footer { margin-top: auto; border-top: 1px solid rgba(15,66,55,.12); }

/* Mobile bottom nav */
.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: flex; align-items: stretch; justify-content: space-around; gap: 4px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(220,229,224,.9); box-shadow: 0 -8px 24px rgba(13,59,49,.06); }
.mobile-bottom-nav-item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; border-radius: 14px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 700; line-height: 1.1; transition: color .18s ease, background .18s ease, transform .18s ease; position: relative; }
.mobile-bottom-nav-item i { font-size: 1.25rem; line-height: 1; }
.mobile-bottom-nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mobile-bottom-nav-item:hover { color: var(--text); background: rgba(13,59,49,.04); }
.mobile-bottom-nav-item.active { color: var(--sidebar); background: rgba(245,158,11,.12); }
.mobile-bottom-nav-item.active i { color: #B45309; }
.mobile-bottom-nav-item.active::after { content:''; position:absolute; top:4px; left:50%; width:28px; height:3px; border-radius:999px; background: var(--brand); transform: translateX(-50%); }
@media (max-width: 767.98px) {
  body.has-mobile-bottom-nav { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-mobile-bottom-nav .public-footer { padding-bottom: 8px; }
}

/* Support chat */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1080; }
.chat-fab { width: 58px; height: 58px; border-radius: 50%; border: none; background: linear-gradient(135deg, #124A3E, var(--sidebar)); color: #fff; box-shadow: 0 14px 34px rgba(13,59,49,.28); display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(13,59,49,.34); color: #fff; }
.chat-fab:focus-visible { outline: 3px solid rgba(245,158,11,.35); outline-offset: 2px; }
.chat-fab-badge { position: absolute; top: -4px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 800; line-height: 22px; text-align: center; border: 2px solid #fff; }
.chat-fab-badge[hidden] { display: none !important; }
.chat-popup { position: absolute; right: 0; bottom: 74px; width: min(360px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 110px)); background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 20px; box-shadow: 0 24px 60px rgba(13,59,49,.22); overflow: hidden; display: flex; flex-direction: column; }
.chat-popup[hidden] { display: none !important; }
.chat-popup-head { padding: 16px 18px; background: linear-gradient(135deg, #124A3E, var(--sidebar)); color: #fff; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chat-popup-title { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.chat-popup-sub { font-size: .78rem; color: rgba(231,239,236,.82); margin-top: 2px; }
.chat-popup-body { padding: 14px; overflow-y: auto; background: linear-gradient(180deg, #FBFAF7 0%, #F3EFE9 100%); min-height: 260px; max-height: 340px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { color: var(--muted); font-size: .88rem; text-align: center; padding: 28px 10px; }
.chat-bubble { max-width: 88%; padding: 10px 12px; border-radius: 16px; font-size: .9rem; line-height: 1.45; box-shadow: 0 2px 8px rgba(13,59,49,.04); white-space: pre-wrap; word-break: break-word; }
.chat-bubble.mine { align-self: flex-end; background: linear-gradient(135deg, #124A3E, #0D3B31); color: #fff; border-bottom-right-radius: 6px; }
.chat-bubble.theirs { align-self: flex-start; background: #fff; color: var(--text); border: 1px solid rgba(220,229,224,.9); border-bottom-left-radius: 6px; }
.chat-bubble-meta { font-size: .7rem; margin-bottom: 4px; opacity: .78; font-weight: 700; }
.chat-bubble.mine .chat-bubble-meta { color: rgba(231,239,236,.9); }
.chat-bubble.theirs .chat-bubble-meta { color: var(--muted); }
.chat-bubble-time { font-size: .68rem; margin-top: 4px; opacity: .72; text-align: right; }
.chat-popup-form { padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-popup-form textarea { resize: none; font-size: .9rem; border-radius: 12px; }
.chat-popup-form textarea:focus { border-color: rgba(245,158,11,.45); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.chat-popup-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.chat-popup-actions .btn { border-radius: 10px; font-weight: 700; }
.chat-status-error { color: var(--danger) !important; }

/* Admin chat */
.admin-chat-tabs { gap: 6px; }
.admin-chat-tabs .nav-link { padding: 8px 14px; border-radius: 10px; border: 1px solid transparent; color: var(--muted); font-weight: 700; font-size: .86rem; }
.admin-chat-tabs .nav-link:hover { color: var(--text); background: rgba(13,59,49,.05); }
.admin-chat-tabs .nav-link.active { background: var(--sidebar); color: #fff; }
.row-unread td { background: rgba(245,158,11,.06); }
.chat-thread { max-height: min(58vh, 560px); overflow-y: auto; padding: 4px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #FBFAF7 0%, #F3EFE9 100%); border-radius: 14px; }
.chat-msg { max-width: min(720px, 92%); padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(220,229,224,.85); background: #fff; }
.chat-msg-admin { align-self: flex-end; background: rgba(13,59,49,.04); border-color: rgba(13,59,49,.12); }
.chat-msg-dealer { align-self: flex-start; }
.chat-msg-meta { font-size: .74rem; color: var(--muted); margin-bottom: 6px; }
.chat-msg-body { white-space: pre-wrap; word-break: break-word; font-size: .93rem; color: var(--text); }

/* Guest support chat on Help Centre */
.guest-chat-section { padding: 10px 0 28px; background: var(--bg); }
.guest-chat-shell { position: relative; overflow: hidden; padding: 10px; border-radius: 30px; background: linear-gradient(155deg, #124A3E 0%, var(--sidebar) 100%); box-shadow: 0 22px 55px rgba(13,59,49,.18); }
.guest-chat-shell::before { content: ''; position: absolute; top: -150px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.2), transparent 68%); pointer-events: none; }
.guest-chat-shell .row { position: relative; z-index: 1; }
.guest-chat-intro { height: 100%; padding: 38px 34px; color: #fff; }
.guest-chat-intro .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.guest-chat-intro h2 { margin: 14px 0 12px; font-size: clamp(1.75rem, 3.4vw, 2.45rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; color: #fff; max-width: 420px; }
.guest-chat-intro > p { margin: 0 0 22px; color: rgba(231,239,236,.82); font-size: .93rem; line-height: 1.7; max-width: 430px; }
.guest-chat-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guest-chat-points li { display: flex; align-items: flex-start; gap: 10px; color: rgba(231,239,236,.88); font-size: .88rem; line-height: 1.55; }
.guest-chat-points i { flex: 0 0 auto; color: #FCD34D; margin-top: 2px; }
.guest-chat-safety { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(231,239,236,.76); font-size: .78rem; line-height: 1.55; }
.guest-chat-safety i { color: #FCD34D; margin-top: 1px; }
.guest-chat-card { height: 100%; margin: 10px; padding: 22px; display: flex; flex-direction: column; border-radius: 22px; background: #FBFAF7; box-shadow: 0 12px 35px rgba(0,0,0,.12); }
.guest-chat-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.guest-chat-card-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.guest-chat-card-sub { margin-top: 2px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.guest-chat-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: .34rem .62rem; border-radius: 999px; background: rgba(22,163,74,.1); color: #15803D; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.guest-chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,.14); }
.guest-chat-messages { min-height: 250px; max-height: 340px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 16px; }
.guest-chat-messages .chat-empty { margin: auto; }
.guest-chat-form { margin-top: 14px; }
.guest-chat-name-row { margin-bottom: 10px; }
.guest-chat-name-row label { display: block; margin-bottom: 5px; color: var(--text); font-size: .78rem; font-weight: 700; }
.guest-chat-name-row label span { color: var(--muted); font-weight: 600; }
.guest-chat-name-row .form-control { max-width: 340px; border-radius: 10px; padding: 9px 11px; font-size: .88rem; }
.guest-chat-form textarea { resize: vertical; min-height: 78px; border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.guest-chat-form .form-control:focus { border-color: rgba(245,158,11,.45); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.guest-chat-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.guest-chat-form-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.guest-chat-status-text { flex: 1 1 170px; min-height: 1.2em; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.guest-chat-status-text.is-error { color: var(--danger); font-weight: 600; }
.guest-chat-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.guest-chat-count { color: var(--muted); font-size: .74rem; white-space: nowrap; }
.guest-chat-actions .btn { border-radius: 10px; font-weight: 700; }

@media (max-width: 991.98px) {
  .guest-chat-intro { padding: 30px 26px; }
  .guest-chat-card { margin: 0 10px 10px; }
}

@media (max-width: 767.98px) {
  body.has-mobile-bottom-nav .chat-widget { right: 12px; bottom: calc(12px + 76px + env(safe-area-inset-bottom, 0px)); }
  body.has-mobile-bottom-nav .chat-popup { bottom: 70px; max-height: calc(100vh - 170px - env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 575.98px) {
  .chat-widget { right: 12px; bottom: 12px; }
  body.has-mobile-bottom-nav .chat-widget { bottom: calc(12px + 76px + env(safe-area-inset-bottom, 0px)); }
  .chat-popup { width: calc(100vw - 24px); bottom: 70px; max-height: calc(100vh - 100px); }
  body.has-mobile-bottom-nav .chat-popup { max-height: calc(100vh - 170px - env(safe-area-inset-bottom, 0px)); }
  .chat-popup-body { min-height: 220px; }
  .guest-chat-section { padding: 6px 0 22px; }
  .guest-chat-shell { padding: 6px; border-radius: 22px; }
  .guest-chat-intro { padding: 24px 18px; }
  .guest-chat-intro h2 { font-size: 1.7rem; }
  .guest-chat-card { margin: 0 4px 4px; padding: 16px; border-radius: 18px; }
  .guest-chat-card-head { flex-wrap: wrap; }
  .guest-chat-messages { min-height: 220px; max-height: 310px; padding: 10px; }
  .guest-chat-name-row .form-control { max-width: none; }
  .guest-chat-actions { width: 100%; justify-content: space-between; }
  .guest-chat-actions .btn { flex: 1 1 auto; }
}

/* ===== Public content pages ===== */
.content-hero { position: relative; padding: 72px 0 60px; background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); color: #fff; overflow: hidden; }
.content-hero::after { content:''; position:absolute; top:-120px; right:-90px; width:360px; height:360px; border-radius:50%; background: rgba(245,158,11,.10); pointer-events:none; }
.content-hero .container { position: relative; z-index: 1; }
.content-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; margin-bottom: 20px; max-width: 820px; color: #fff; }
.content-hero-compact { padding: 56px 0 48px; }
.content-hero-compact h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.content-hero .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.content-lead { font-size: 1.05rem; color: rgba(231,239,236,.86); line-height: 1.75; max-width: 760px; }
.content-hero-compact .content-lead { max-width: 860px; }
.content-updated { display: inline-block; margin-top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: rgba(231,239,236,.82); }
.content-hero-card { background: rgba(255,255,255,.97); color: var(--text); border-radius: 26px; padding: 30px; box-shadow: 0 22px 55px rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.4); }
.content-hero-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--text); font-size: 1.4rem; margin-bottom: 16px; }
.content-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.content-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--brand-soft-2); border: 1px solid rgba(245,158,11,.18); color: var(--text); font-size: .76rem; font-weight: 700; }
.content-pill i { color: #B45309; }
.content-support-note { display: inline-flex; align-items: center; margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(231,239,236,.86); font-size: .86rem; }

.content-card { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.content-card h2, .content-card h5, .content-card h6 { color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.content-card p { color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.content-card p + p { margin-top: 12px; }
.policy-card + .policy-card { margin-top: 16px; }
.policy-card h2, .policy-card h5 { margin-bottom: 10px; font-size: 1.05rem; }
.terms-notice { border-left: 4px solid var(--brand-2); background: linear-gradient(135deg, #FFF9F0, #FFFDF9); }
.terms-notice h2 { margin-bottom: 10px; font-size: 1.1rem; }
.content-list-card { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.content-list-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #EFEAE4; }
.content-list-item:first-of-type { padding-top: 0; }
.content-list-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.content-list-item i { font-size: 1.05rem; color: var(--brand); margin-top: 2px; }
.content-list-item strong { font-size: .92rem; color: var(--text); }
.content-side-card { position: sticky; top: 92px; background: linear-gradient(160deg, #FDFCFB, #F5F1EB); border: 1px solid rgba(220,229,224,.9); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.content-side-card h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.content-side-card h5 { font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.content-side-card h6 { font-weight: 800; }
.content-divider { height: 1px; background: var(--line); margin: 18px 0; }
.content-cta { padding: 24px 0 72px; background: var(--bg); }

.explore-card { display: block; background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 20px; padding: 26px; color: var(--text); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,.42); color: var(--text); }
.explore-card h3 { font-weight: 800; letter-spacing: -.02em; color: var(--text); font-size: 1.25rem; }
.explore-card p { color: var(--muted); line-height: 1.7; font-size: .92rem; }
.explore-link { display: inline-flex; align-items: center; color: #B45309; font-weight: 800; font-size: .85rem; }
.explore-card:hover .explore-link i { transform: translateX(3px); }
.explore-link i { transition: transform .18s ease; }

.contact-form-shell { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.contact-form-shell .form-label { font-weight: 700; font-size: .86rem; }
.contact-form-shell .form-control { border-radius: 12px; padding: 11px 13px; }
.contact-form-shell .form-control:focus { border-color: rgba(245,158,11,.45); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.form-error { font-weight: 600; color: var(--danger); font-size: .78rem; }
.contact-security-note { display: flex; gap: 8px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; background: var(--teal-soft); border: 1px solid rgba(13,59,49,.1); color: var(--muted); font-size: .82rem; }
.contact-message-body { white-space: pre-wrap; word-break: break-word; line-height: 1.75; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }

.start-step-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.start-step-head h5 { margin: 0 0 2px; font-size: 1.05rem; }
.start-step-list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.75; font-size: .9rem; }
.start-step-list li + li { margin-top: 6px; }
.help-group { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.help-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.help-group-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.help-group-head .feature-icon { margin-bottom: 0; }

/* Admin contact inbox */
.mini-stat { background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.mini-stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.mini-stat-value { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.mini-stat-warning { border-color: rgba(245,158,11,.36); background: rgba(245,158,11,.06); }

@media (max-width: 991.98px) {
  .content-side-card { position: static; }
}
@media (max-width: 575.98px) {
  .content-hero, .content-hero-compact { padding: 48px 0 40px; }
  .content-hero-card, .content-list-card, .content-side-card, .contact-form-shell, .help-group { padding: 20px; }
  .content-cta { padding-bottom: 48px; }
}

/* ===== Mobile app-like responsive pass ===== */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; height: auto; }

@media (max-width: 767.98px) {
  .app-main { min-width: 0; }
  .topbar { padding: 12px 14px; gap: 10px; }
  .topbar-title { font-size: 1.1rem; line-height: 1.2; }
  .topbar-sub { font-size: .72rem; margin-top: 2px; display: none; }
  .topbar .btn-icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); }
  .topbar .btn-icon:hover { background: var(--bg-soft); }
  .topbar-user-menu { padding: 4px 8px 4px 4px; gap: 6px; border-radius: 12px; }
  .topbar-avatar, .dealer-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: .85rem; }
  .content-area { padding: 14px; }
  .page-header { gap: 12px; margin-bottom: 18px; }
  .page-header h3, .page-header h1 { font-size: 1.35rem; }
  .page-header .subtext { font-size: .85rem; }
  .page-header > div:last-child, .page-header .d-flex.gap-2, .page-header .d-flex.gap-2.flex-wrap { width: 100%; }
  .page-header .btn { flex: 1 1 auto; }

  .card { border-radius: 16px; }
  .card-header { padding: 14px 16px; }
  .card-body { padding: 16px; }
  .stat-card .stat-value { font-size: 1.7rem; }
  .stat-card .stat-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }

  .filter-bar .row.g-2 > [class*="col-"],
  .filter-bar .row.g-3 > [class*="col-"] { width: 100%; }
  .filter-bar .btn, .filter-bar .form-control, .filter-bar .form-select { width: 100%; }

  .table { font-size: .84rem; }
  .table thead th, .table tbody td { padding: 10px 12px; white-space: nowrap; }
  .table-responsive, .card-body:has(.table), .card-body:has(.table-responsive), .card:has(> table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .card-body .table, .card > .table, .table-responsive > .table { min-width: 620px; margin-bottom: 0; }

  .btn-group { flex-wrap: wrap; }
  .modal-dialog { margin: .75rem; }
  .modal-content { border-radius: 16px; }
  .modal-body, .modal-header, .modal-footer { padding-left: 16px; padding-right: 16px; }

  .auth-shell { padding: 20px 14px 24px; align-items: flex-start; min-height: calc(100vh - 76px - env(safe-area-inset-bottom, 0px)); }
  .auth-card { border-radius: 20px; }
  .auth-card .card-body { padding: 22px 18px; }

  .public-nav-inner { min-height: 64px; gap: 12px; }
  .public-nav .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
  .public-nav .brand-name { font-size: 1.1rem; }
  .public-nav .brand-sub { font-size: .68rem; }
  .public-nav-actions { gap: 8px; }
  .public-nav-toggle { width: 40px; height: 40px; border-radius: 12px; }
  .public-mobile-nav { width: min(320px, 86vw); }
  .public-mobile-nav .offcanvas-header { padding: 18px 18px 14px; }
  .public-mobile-nav .offcanvas-body { padding: 0 18px 24px; }

  .content-hero, .content-hero-compact { padding: 44px 0 36px; }
  .content-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 14px; }
  .content-lead { font-size: .98rem; line-height: 1.65; }
  .content-hero-card { padding: 22px; border-radius: 20px; }
  .content-card, .content-list-card, .content-side-card, .contact-form-shell, .help-group { padding: 20px; border-radius: 18px; }

  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-lead { font-size: 1rem; }
  .section-head h2, .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .page-hero { padding: 42px 0 34px; }

  .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr 1fr; }
  .match-header { flex-direction: column; align-items: stretch; }
  .match-score { text-align: left; }
}

@media (max-width: 575.98px) {
  .topbar { padding: 10px 12px; }
  .content-area { padding: 12px; }
  .page-header .btn { width: 100%; }
  .page-header > div:last-child { flex-direction: column; align-items: stretch; }
  .stat-card .stat-value { font-size: 1.55rem; }
  .db-grid { grid-template-columns: 1fr; }
  .auth-shell { padding: 16px 12px 20px; min-height: calc(100vh - 76px - env(safe-area-inset-bottom, 0px)); }
  .public-nav .brand-sub { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .mobile-bottom-nav-item { font-size: .64rem; padding: 7px 2px; }
  .mobile-bottom-nav-item i { font-size: 1.2rem; }
}

/* ===== Public announcement banners ===== */
.banner-strip { position: relative; z-index: 1031; background: #0B3128; border-bottom: 1px solid rgba(255,255,255,.08); }
.banner-strip-inner { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; padding-bottom: 6px; }
.public-banner { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 13px; border-radius: 10px; background: rgba(255,255,255,.97); border: 1px solid rgba(220,229,224,.9); border-left: 4px solid var(--brand); box-shadow: 0 6px 18px rgba(0,0,0,.08); font-size: .86rem; }
.public-banner-success { border-left-color: #15803D; }
.public-banner-warning { border-left-color: #D97706; }
.public-banner-danger { border-left-color: var(--danger); }
.public-banner-icon { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--brand-soft); color: var(--text); }
.public-banner-success .public-banner-icon { background: rgba(21,128,61,.1); color: #166534; }
.public-banner-warning .public-banner-icon { background: rgba(217,119,6,.12); color: #92400E; }
.public-banner-danger .public-banner-icon { background: rgba(220,38,38,.1); color: #B91C1C; }
.public-banner-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.public-banner-title { color: var(--text); font-weight: 800; }
.public-banner-message { color: var(--muted); overflow-wrap: anywhere; }
.public-banner-link { margin-left: auto; flex-shrink: 0; color: #B45309; font-weight: 800; text-decoration: none; white-space: nowrap; }
.public-banner-link:hover { color: var(--text); text-decoration: underline; }

/* ===== Admin control centre and diagnostics ===== */
.metric-card .card-body { padding: 18px; }
.stat-value-sm { font-size: 1.55rem; }
.metric-info .stat-icon, .health-card.health-ok .stat-icon { background: rgba(13,59,49,.08); color: var(--text); }
.metric-success .stat-icon { background: rgba(21,128,61,.1); color: #166534; }
.metric-danger .stat-icon { background: rgba(220,38,38,.1); color: #B91C1C; }
.metric-warning .stat-icon { background: rgba(217,119,6,.13); color: #92400E; }
.metric-primary .stat-icon { background: var(--brand-soft); color: var(--text); }

.control-centre { border: 1px solid rgba(220,229,224,.85); border-radius: var(--radius); background: linear-gradient(180deg, #FFFFFF, #FCFBF9); padding: 20px; box-shadow: var(--shadow); }
.control-centre-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.control-card { display: block; color: var(--text); text-decoration: none; }
.control-card:hover { color: var(--text); text-decoration: none; }
.control-card .card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.control-card:hover .card { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,.38); }
.control-card-title { font-size: .94rem; letter-spacing: -.01em; }
.control-card-link { margin-top: 14px; color: #B45309; font-size: .76rem; font-weight: 800; }

.activity-chart { display: flex; align-items: stretch; gap: 6px; min-height: 170px; overflow-x: auto; padding-bottom: 4px; }
.activity-chart-col { flex: 1 0 12px; min-width: 12px; display: flex; flex-direction: column; align-items: center; }
.activity-chart-bar-wrap { width: 100%; height: 130px; display: flex; align-items: flex-end; background: linear-gradient(180deg, #F7F4EF, #FDFCFB); border-radius: 8px; overflow: hidden; }
.activity-chart-bar { width: 100%; background: linear-gradient(180deg, var(--brand), #E08A00); border-radius: 6px 6px 0 0; min-height: 2px; }
.activity-chart-label { margin-top: 6px; font-size: .62rem; color: var(--muted); white-space: nowrap; }
.activity-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: .74rem; color: var(--muted); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.legend-success { background: #15803D; }
.legend-danger { background: var(--danger); }
.legend-brand { background: var(--brand); }
.legend-muted { background: #94A3B8; }

.health-check { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.health-check-icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--teal-soft); color: var(--text); }
.health-check-ok .health-check-icon { background: rgba(21,128,61,.1); color: #166534; }
.health-check-warning .health-check-icon { background: rgba(217,119,6,.12); color: #92400E; }
.health-check-danger .health-check-icon { background: rgba(220,38,38,.1); color: #B91C1C; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.detail-grid > div { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.detail-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; color: var(--muted); }
.detail-value { display: block; margin-top: 3px; font-size: .86rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.backup-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface-2); }
.word-break { overflow-wrap: anywhere; }

.security-day-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; }
.security-day { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.security-day-value { font-size: .8rem; font-weight: 800; color: var(--text); }
.security-day-bar { width: 100%; height: 90px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #F7F4EF, #FDFCFB); }
.security-day-bar span { display: block; width: 100%; background: linear-gradient(180deg, #DC2626, #F59E0B); border-radius: 8px 8px 0 0; }
.security-day-label { font-size: .7rem; color: var(--muted); white-space: nowrap; }

.settings-form { border-top: 1px solid var(--line); padding-top: 8px; }
.setting-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0 16px; }
.settings-form-actions { border-top: 1px solid var(--line); padding-top: 16px; }
.settings-effect-list { display: flex; flex-direction: column; gap: 10px; }
.settings-effect { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text); }
.settings-effect i { color: #15803D; margin-top: 2px; flex-shrink: 0; }

.banner-tone-chip { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--teal-soft); color: var(--text); }
.banner-tone-success { background: rgba(21,128,61,.12); color: #166534; }
.banner-tone-warning { background: rgba(217,119,6,.13); color: #92400E; }
.banner-tone-danger { background: rgba(220,38,38,.1); color: #B91C1C; }
.table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 190px; }

@media (max-width: 991.98px) {
  .control-centre { padding: 16px; }
  .activity-chart-bar-wrap { height: 110px; }
  .activity-chart { min-height: 150px; }
  .security-day-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
  .banner-strip-inner { padding-left: 12px; padding-right: 12px; }
  .public-banner { align-items: flex-start; }
  .public-banner-link { margin-left: 36px; }
  .health-check { grid-template-columns: auto minmax(0,1fr); }
  .health-check > span:last-child { grid-column: 2; justify-self: start; }
  .table-actions .btn { flex: 1 1 auto; }
  .admin-table-wrap .table-admin { min-width: 720px; }
  .setting-toggle-row { align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .public-banner-copy { display: block; }
  .public-banner-title, .public-banner-message { display: block; }
  .public-banner-link { margin-left: 36px; }
  .activity-chart-col { flex-basis: 16px; }
  .activity-chart-label { font-size: .58rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .security-day-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .control-card-title { font-size: .88rem; }
  .admin-table-wrap .table-admin { min-width: 820px; }
}

/* ===== Shared list pagination ===== */
.list-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.list-pager-summary { min-width: 0; color: var(--muted); font-size: .82rem; }
.list-pager-summary strong { color: var(--text); }
.list-pager-pagecount { display: inline-block; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); white-space: nowrap; }
.list-pager-nav { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.list-pager-nav .pagination { flex-wrap: nowrap; gap: 4px; }
.list-pager-nav .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: .82rem; font-weight: 750; line-height: 1; }
.list-pager-nav .page-link:hover { border-color: rgba(245,158,11,.55); background: var(--brand-soft); color: var(--text); }
.list-pager-nav .page-item.active .page-link { border-color: var(--brand); background: var(--brand); color: #1F2937; }
.list-pager-nav .page-item.disabled .page-link { background: var(--surface-2); color: #94A3B8; opacity: 1; }
.list-pager-nav .page-link:focus-visible { outline: 3px solid rgba(245,158,11,.35); outline-offset: 2px; }

@media (max-width: 575.98px) {
  .list-pager { align-items: stretch; gap: 10px; }
  .list-pager-summary { width: 100%; }
  .list-pager-pagecount { display: block; margin: 3px 0 0; padding-left: 0; border-left: 0; }
  .list-pager-nav { width: 100%; }
  .list-pager-nav .pagination { width: 100%; justify-content: space-between; }
  .list-pager-nav .page-item:not(:first-child):not(:last-child) { display: none; }
  .list-pager-nav .page-link { min-width: 40px; height: 38px; }
}

/* ===== About page ===== */
.about-hero { padding: 84px 0 68px; }
.about-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; opacity: .55; pointer-events: none; }
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 { max-width: 660px; }
.about-hero .text-brand { color: #FCD34D; }
.about-hero-lead { max-width: 620px; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.about-hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: rgba(231,239,236,.78); font-size: .84rem; font-weight: 600; }
.about-hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.about-hero-note i { color: #FCD34D; }

.about-hero-panel { background: rgba(255,255,255,.97); color: var(--text); border-radius: 26px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.5); }
.about-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.about-panel-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B45309; margin-bottom: 4px; }
.about-panel-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--text); }
.about-panel-badge { flex: 0 0 auto; display: inline-flex; align-items: center; padding: .34rem .65rem; border-radius: 999px; background: rgba(245,158,11,.1); color: #B45309; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.about-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.about-module { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 14px; background: #F7F4EF; border: 1px solid var(--line); }
.about-module i { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(13,59,49,.07); color: var(--brand); font-size: .9rem; }
.about-module span { font-size: .82rem; font-weight: 700; line-height: 1.25; color: var(--text); overflow-wrap: anywhere; }
.about-panel-foot { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.55; }
.about-panel-foot i { color: var(--brand); margin-top: 1px; }

.about-story { padding: 84px 0; }
.about-story-copy p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; max-width: 560px; }
.about-story-quote { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); box-shadow: var(--shadow); color: var(--text); font-weight: 700; line-height: 1.55; }
.about-story-quote i { color: var(--brand); font-size: 1.2rem; line-height: 1; margin-top: 2px; }
.about-pillars { display: flex; flex-direction: column; gap: 14px; }
.about-pillar { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 20px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.about-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,.35); }
.about-pillar-num { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(13,59,49,.07); color: #92400E; font-size: .84rem; font-weight: 800; letter-spacing: .03em; }
.about-pillar-body { min-width: 0; }
.about-pillar-body h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.about-pillar-body h3 i { color: var(--brand); font-size: 1rem; }
.about-pillar-body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.about-band { position: relative; padding: 72px 0; background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); color: #fff; overflow: hidden; }
.about-band::after { content: ''; position: absolute; top: -140px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.2), transparent 68%); pointer-events: none; }
.about-band .container { position: relative; z-index: 1; }
.about-band .section-head { margin-bottom: 32px; }
.about-band .section-head h2 { color: #fff; }
.about-band .section-head p { color: rgba(231,239,236,.8); }
.about-band .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.about-band-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.about-band-item { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.about-band-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(245,158,11,.16); color: #FCD34D; font-size: 1.05rem; margin-bottom: 14px; }
.about-band-item h3 { margin: 0 0 6px; font-size: .98rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.about-band-item p { margin: 0; color: rgba(231,239,236,.72); font-size: .85rem; line-height: 1.6; }

.about-workflow { padding: 84px 0 72px; }
.about-flow-panel { height: 100%; padding: 32px; border-radius: 26px; background: linear-gradient(160deg, #124A3E 0%, var(--sidebar) 100%); color: #fff; box-shadow: 0 20px 50px rgba(13,59,49,.18); }
.about-flow-panel .landing-eyebrow { background: rgba(245,158,11,.18); color: #FDE68A; border-color: rgba(245,158,11,.28); }
.about-flow-panel h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.about-flow-panel > p { margin-bottom: 24px; color: rgba(231,239,236,.8); font-size: .92rem; line-height: 1.65; }
.about-flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-flow-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.about-flow-step-num { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #0D3B31; font-size: .9rem; font-weight: 800; }
.about-flow-step h3 { margin: 0 0 3px; font-size: .94rem; font-weight: 800; color: #fff; }
.about-flow-step p { margin: 0; color: rgba(231,239,236,.74); font-size: .82rem; line-height: 1.55; }

.about-scope-card { height: 100%; padding: 32px; background: #fff; border: 1px solid rgba(220,229,224,.9); border-radius: 26px; box-shadow: var(--shadow); }
.about-scope-card h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.about-scope-card > p { margin-bottom: 18px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.about-scope-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.about-scope-chips span { display: inline-flex; align-items: center; gap: 6px; padding: .42rem .72rem; border-radius: 999px; background: var(--brand-soft-2); border: 1px solid rgba(245,158,11,.2); color: var(--text); font-size: .76rem; font-weight: 700; }
.about-scope-chips i { color: #B45309; }
.about-scope-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.about-scope-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.about-scope-list i { flex: 0 0 auto; color: #16A34A; margin-top: 2px; }
.about-scope-list strong { color: var(--text); }

@media (max-width: 991.98px) {
  .about-hero { padding: 68px 0 56px; }
  .about-band-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-flow-panel, .about-scope-card { padding: 26px; }
}
@media (max-width: 767.98px) {
  .about-hero { padding: 52px 0 44px; }
  .about-hero-actions .btn { flex: 1 1 auto; }
  .about-story { padding: 60px 0; }
  .about-band { padding: 56px 0; }
  .about-band-grid { grid-template-columns: 1fr; }
  .about-workflow { padding: 60px 0 52px; }
  .about-pillar { padding: 18px; gap: 12px; }
  .about-pillar-num { width: 40px; height: 40px; border-radius: 12px; font-size: .78rem; }
  .about-flow-panel, .about-scope-card { padding: 24px; border-radius: 22px; }
}
@media (max-width: 575.98px) {
  .about-hero-panel { padding: 20px; border-radius: 20px; }
  .about-panel-head { flex-wrap: wrap; }
  .about-module { padding: 10px; gap: 8px; }
  .about-module i { width: 27px; height: 27px; border-radius: 8px; font-size: .82rem; }
  .about-module span { font-size: .78rem; }
  .about-story-quote { padding: 16px; }
  .about-flow-panel, .about-scope-card { padding: 20px; border-radius: 20px; }
  .about-flow-step { padding: 14px; }
}
