/* ============================================================
   Tradies Bio® — Workwear Design System
   Charcoal #2D2D2D | Safety Orange #FF6600 | White #FFFFFF
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal:    #2D2D2D;
  --orange:      #FF6600;
  --orange-dark: #CC5200;
  --white:       #FFFFFF;
  --grey-light:  #F5F5F5;
  --grey-mid:    #E0E0E0;
  --grey-text:   #6C757D;
  --green:       #28A745;
  --amber:       #FFC107;
  --red:         #DC3545;
  --radius:      6px;
  --shadow:      0 2px 8px rgba(0,0,0,0.12);
  --transition:  0.18s ease;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--grey-light);
  color: var(--charcoal);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* ---- Header ---- */
.site-header {
  background: var(--charcoal);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.logo-link sup { font-size: 0.6em; }
.logo-link:hover { text-decoration: none; color: var(--orange); opacity: 0.9; }

.site-id-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(247, 95, 7, 0.15);
  border: 1px solid rgba(247, 95, 7, 0.45);
  color: #f75f07;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2em 0.55em;
  border-radius: 4px;
  margin-left: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Auth nav (unauthenticated header) ---- */
.auth-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.auth-nav a { color: var(--white); font-size: 0.9rem; font-weight: 500; }
.auth-nav a:hover { color: var(--orange); text-decoration: none; }

/* ── Hamburger ────────────────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── App Layout ───────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  position: relative;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 150;
  transition: transform 0.26s cubic-bezier(.4,0,.2,1);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 140;
}
.sidebar-overlay.active { display: block; }

/* ── Sidebar identity block ── */
.sidebar-identity {
  padding: 1.1rem 1.1rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-trade-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-trade-type {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  margin: 0.1rem 0 0.35rem;
}
.sidebar-bio-link {
  font-size: 0.72rem;
  color: #888;
  text-decoration: none;
  word-break: break-all;
}
.sidebar-bio-link:hover { color: var(--orange); }

/* ── Sidebar sections ── */
.sidebar-section {
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-section:last-of-type { border-bottom: none; flex: 1; }

.sidebar-section-title {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #666;
  text-transform: uppercase;
  padding: 0 1.1rem 0.45rem;
}

/* ── NSW Safety Pack section title ── */
.sl-nsw-title {
  color: #f75f07;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ── HSEQ accordion toggles inside NSW Safety Pack ── */
.sl-hseq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  padding: 0.5rem 1.1rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f75f07;
  text-align: left;
  transition: background 0.15s;
  margin: 0;
}
.sl-hseq-toggle:first-of-type { border-top: none; }
.sl-hseq-toggle:hover { background: rgba(247,95,7,0.08); }
.sl-hseq-arrow {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  transition: transform 0.2s;
  display: inline-block;
  line-height: 1;
}
.sl-hseq-toggle.sl-hseq-open .sl-hseq-arrow { transform: rotate(90deg); }
.sl-hseq-body { padding-bottom: 2px; }
.sl-soon-dim { opacity: 0.45; pointer-events: none; font-size: 0.75rem; padding: 0.25rem 1.1rem 0.35rem 2rem; color: #999; font-style: italic; display: block; }

/* ── System Testing section ── */
.sidebar-testing-section .sidebar-section-title {
  color: #2ecc71;
}
.sidebar-testing-section .sidebar-link { border-left: 2px solid transparent; }
.sidebar-testing-section .sidebar-link:hover,
.sidebar-testing-section .sidebar-link.active {
  border-left-color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
}
.sidebar-link-testlab .sl-label {
  font-weight: 700;
}
.sl-testlab-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #2ecc71;
  color: #1a1a1a;
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
}

/* ── Admin section accent ── */
.sidebar-admin-section .sidebar-section-title {
  color: var(--orange);
}
.sidebar-admin-section .sidebar-link { border-left: 2px solid transparent; }
.sidebar-admin-section .sidebar-link:hover,
.sidebar-admin-section .sidebar-link.active {
  border-left-color: var(--orange);
}

/* ── Frontier & Pioneering dropdown section ── */
.sl-frontier-details {
  list-style: none;
}
.sl-frontier-details summary { list-style: none; }
.sl-frontier-details summary::-webkit-details-marker { display: none; }

.sl-frontier-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  user-select: none;
}
.sl-frontier-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f75f07;
  text-transform: uppercase;
}
.sl-frontier-arrow {
  font-size: 1rem;
  font-weight: 400;
  color: #f75f07;
  transition: transform 0.2s;
  display: inline-block;
  line-height: 1;
}
.sl-frontier-details[open] .sl-frontier-arrow {
  transform: rotate(90deg);
}
.sl-frontier-body {
  padding-bottom: 2px;
}
.sidebar-link-frontier {
  border-left: 2px solid transparent;
  font-size: 0.84rem;
}
.sidebar-link-frontier:hover,
.sidebar-link-frontier.active {
  border-left-color: #f75f07;
  background: rgba(247, 95, 7, 0.08);
}

/* ── Sidebar links ── */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 1.1rem;
  color: #c0c0c0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  min-height: 44px;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  text-decoration: none;
  border-left-color: rgba(255,102,0,0.45);
}
.sidebar-link.active {
  background: rgba(255,102,0,0.13);
  color: var(--white);
  border-left-color: var(--orange);
  font-weight: 600;
}
.sidebar-link-logout { color: #888; }
.sidebar-link-logout:hover { color: #ff6b6b; border-left-color: #ff6b6b; }
.sidebar-link-soon { opacity: 0.55; cursor: default; pointer-events: none; }
.sidebar-sub { padding-left: 2.4rem; font-size: 0.82rem; min-height: 38px; color: #999; }
.sidebar-sub:hover { color: var(--white); }
.sidebar-sub.active { color: var(--white); }

.sl-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1; }
.sl-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-ext { font-size: 0.72rem; color: #666; flex-shrink: 0; }

.sl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
  min-width: 20px;
}
.sl-unread { background: var(--orange); color: var(--white); }
.sl-soon   { background: rgba(255,255,255,0.12); color: #999; letter-spacing: 0.04em; }

/* ── Sidebar footer ── */
.sidebar-footer {
  padding: 0.9rem 1.1rem;
  font-size: 0.72rem;
  color: #555;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}
.sidebar-footer sup { font-size: 0.6em; }

/* ── Main content ── */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 1.75rem 0 2.5rem;
  overflow-x: hidden;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: #aaa;
  text-align: center;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
.site-footer a { color: var(--orange); }
.site-footer strong { color: var(--white); }

/* ── Mobile sidebar (hidden by default, overlay when open) ── */
@media (max-width: 899px) {
  .site-header { z-index: 200; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    transform: translateX(-280px);
    padding-top: 56px;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.35); }
  .hamburger { display: flex; }
}

/* ── Desktop sidebar (always visible) ── */
@media (min-width: 900px) {
  .hamburger { display: none; }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    transform: none !important;
  }
  .app-layout { align-items: flex-start; }
}

/* ---- Alerts ---- */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.93rem;
  border-left: 4px solid transparent;
}
.alert-success { background: #d4edda; color: #155724; border-color: var(--green); }
.alert-danger  { background: #f8d7da; color: #721c24; border-color: var(--red); }
.alert-info    { background: #fff3cd; color: #856404; border-color: var(--orange); }
.alert-warning { background: #fff3cd; color: #856404; border-color: var(--amber); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), opacity var(--transition), border-color var(--transition);
  min-height: 48px;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn-orange  { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-dark    { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-dark:hover { background: #444; border-color: #444; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-danger  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { background: #b02a37; border-color: #b02a37; color: var(--white); }
.btn-sm      { padding: 0.35rem 0.8rem; font-size: 0.85rem; min-height: 38px; }
.btn-lg      { padding: 0.85rem 1.75rem; font-size: 1.05rem; min-height: 52px; }
.btn-full    { width: 100%; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-title .icon { font-size: 1.2rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}
.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,102,0,0.12);
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C757D' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.form-hint { font-size: 0.8rem; color: var(--grey-text); margin-top: 0.25rem; }
.required { color: var(--red); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---- Auth Pages ---- */
.auth-wrapper {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 480px;
}
.auth-card h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.25rem;
}
.auth-card .auth-sub {
  color: var(--grey-text);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.88rem; color: var(--grey-text); }

/* ---- Dashboard ---- */
.dashboard-header {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.dashboard-header h1 { font-size: 1.4rem; color: var(--orange); margin-bottom: 0.2rem; font-weight: 800; }
.dashboard-header .subtitle { color: #bbb; font-size: 0.88rem; }
.dashboard-header .profile-url {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(255,102,0,0.15);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--orange);
  word-break: break-all;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.14); text-decoration: none; }
.stat-card .stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-card .stat-label { font-size: 0.75rem; color: var(--grey-text); margin-top: 0.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.stat-card .stat-sub { font-size: 0.72rem; color: var(--grey-text); margin-top: 0.1rem; }

.nav-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* ── Facebook Community Strip — dashboard ──────────────────────── */
.fb-community-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #1877F2;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.fb-community-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.fb-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  flex-shrink: 0;
}
.fb-community-text { min-width: 0; }
.fb-community-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.fb-community-title sup { font-size: 0.6em; }
.fb-community-sub {
  font-size: 0.8rem;
  color: #cfe3ff;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-follow-btn {
  background: #fff !important;
  color: #1877F2 !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  border-radius: 99px !important;
  padding: 0.55rem 1.1rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  border: none !important;
}
.fb-follow-btn:hover {
  background: #e8f0fe !important;
  color: #1877F2 !important;
}
@media (max-width: 480px) {
  .fb-community-strip { flex-direction: column; align-items: flex-start; }
  .fb-community-sub { white-space: normal; }
  .fb-follow-btn { width: 100%; text-align: center; }
}

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.badge-green  { background: #d4edda; color: #155724; border: 1px solid var(--green); }
.badge-amber  { background: #fff3cd; color: #856404; border: 1px solid var(--amber); }
.badge-red    { background: #f8d7da; color: #721c24; border: 1px solid var(--red); }
.badge-grey   { background: #e9ecef; color: var(--grey-text); border: 1px solid #ccc; }
.badge-unread { background: var(--orange); color: var(--white); border-radius: 20px; padding: 0.12rem 0.5rem; font-size: 0.72rem; font-weight: 700; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead tr { background: var(--charcoal); color: var(--white); }
thead th { padding: 0.75rem 1rem; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--grey-mid); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--grey-light); }
tbody td { padding: 0.7rem 1rem; font-size: 0.88rem; vertical-align: middle; }
.actions-cell { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }

/* ---- Vault Upload Form ---- */
.upload-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.upload-form h2 { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 1rem; }

/* ---- Public Bio Page ---- */
.bio-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  background: var(--white);
  min-height: 100vh;
}
.bio-logo { text-align: center; margin-bottom: 1rem; }
.bio-logo img { max-width: 120px; max-height: 120px; border-radius: 12px; object-fit: contain; }
.bio-logo-placeholder {
  width: 80px; height: 80px;
  background: var(--orange); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); font-weight: 800;
}
.bio-name { font-size: 1.65rem; font-weight: 800; color: var(--charcoal); text-align: center; margin-bottom: 0.25rem; }
.bio-trade { font-size: 1rem; color: var(--grey-text); text-align: center; margin-bottom: 0.25rem; }
.bio-abn { font-size: 0.85rem; color: var(--grey-text); text-align: center; margin-bottom: 0.25rem; }
.bio-abn-name { font-size: 0.82rem; color: var(--grey-text); text-align: center; margin-bottom: 1.1rem; font-style: italic; }
.bio-abn-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #e8f5ee;
  color: #1a7a3a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #b6dfca;
  vertical-align: middle;
  white-space: nowrap;
  margin-left: 0.3rem;
}

.bio-actions { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.75rem; }
.bio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
  padding: 0.9rem 1rem;
  -webkit-tap-highlight-color: transparent;
}
.bio-btn:hover { opacity: 0.88; text-decoration: none; }
.bio-btn:active { transform: scale(0.98); }
.bio-btn-call   { background: var(--orange); color: var(--white); }
.bio-btn-sms    { background: var(--charcoal); color: var(--white); }
.bio-btn-email  { background: #17a2b8; color: var(--white); }
.bio-btn-review { background: var(--green); color: var(--white); }
.bio-btn-vcard  { background: var(--grey-mid); color: var(--charcoal); }
.bio-btn-icon   { font-size: 1.2rem; }

.bio-divider { border: none; border-top: 2px solid var(--grey-mid); margin: 1.25rem 0; }

.bio-enquiry-form h2 { font-size: 1.2rem; font-weight: 800; color: var(--charcoal); margin-bottom: 1rem; text-align: center; }
.bio-footer { text-align: center; padding-top: 1.5rem; font-size: 0.78rem; color: var(--grey-text); border-top: 1px solid var(--grey-mid); margin-top: 1.75rem; }
.bio-footer a { color: var(--orange); }
.bio-verified { font-style: italic; margin-top: 0.25rem; }

/* ---- Bio referral strip ---- */
.bio-referral {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border-radius: 14px;
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem 1.15rem;
  border: none;
  box-shadow: 0 4px 20px rgba(2,132,199,0.28);
}
.bio-referral-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bae6fd;
  margin-bottom: 0.55rem;
}
.bio-referral-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.bio-referral-text {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bio-referral-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.bio-referral-text span {
  font-size: 0.78rem;
  color: #e0f2fe;
  line-height: 1.5;
}
.bio-referral-text .bio-referral-free {
  font-weight: 900;
  color: #fff;
}
.bio-referral-text .bio-referral-tc {
  font-size: 0.68rem;
  color: #bae6fd;
  margin-top: 2px;
}
.bio-referral-text sup { font-size: 0.6em; }
.bio-referral-btn {
  display: inline-block;
  background: #f75f07;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.bio-referral-btn:hover { background: #d44e00; color: #fff; transform: translateY(-1px); }
@media (max-width: 420px) {
  .bio-referral-inner { flex-direction: column; align-items: flex-start; }
  .bio-referral-btn { width: 100%; text-align: center; }
}

/* ---- Enquiries ---- */
.enquiry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
  border-left: 4px solid var(--grey-mid);
}
.enquiry-card.unread { border-left-color: var(--orange); }
.enquiry-card .enq-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.enquiry-card .enq-name { font-weight: 700; font-size: 0.98rem; }
.enquiry-card .enq-date { font-size: 0.78rem; color: var(--grey-text); white-space: nowrap; }
.enquiry-card .enq-contact { font-size: 0.83rem; color: var(--grey-text); margin-bottom: 0.4rem; }
.enquiry-card .enq-message { font-size: 0.9rem; color: var(--charcoal); background: var(--grey-light); border-radius: 4px; padding: 0.55rem 0.75rem; }

/* ---- Page Headers ---- */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--orange); margin-bottom: 0.15rem; }
.page-header p { color: var(--grey-text); font-size: 0.88rem; }
.page-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--grey-text); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.empty-state p { font-size: 0.93rem; }

/* ---- Section Title ---- */
.section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

/* ---- Compliance Health Bar ---- */
.health-bar-track {
  height: 12px;
  background: var(--grey-mid);
  border-radius: 20px;
  overflow: hidden;
}
.health-bar-fill {
  height: 100%;
  border-radius: 20px;
  transition: width 0.6s ease;
  min-width: 4px;
}
.health-full { background: var(--green); }
.health-mid  { background: var(--amber); }
.health-low  { background: var(--red); }

/* ---- Smart Reminders ---- */
.reminder-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-mid);
}
.reminder-row:last-child { border-bottom: none; }
.reminder-icon { font-size: 1.1rem; flex-shrink: 0; }
.reminder-body { flex: 1; min-width: 0; }
.reminder-body strong { font-size: 0.9rem; display: block; }
.reminder-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.1rem;
}
.urgency-expired  .reminder-label,
span.urgency-expired  { color: var(--red); }
.urgency-critical .reminder-label,
span.urgency-critical { color: #cc5200; }
.urgency-soon     .reminder-label,
span.urgency-soon     { color: #856404; }

/* ---- Info / DNS box ---- */
.info-box {
  background: #f0f7ff;
  border: 1px solid #bee3f8;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  color: #2b6cb0;
}
.info-box ol { padding-left: 1.25rem; margin-top: 0.5rem; }
.info-box li { margin-bottom: 0.3rem; }

/* ---- Code inline ---- */
code {
  background: var(--charcoal);
  color: var(--orange);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  font-size: 0.87em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---- Education Tips ---- */
.edu-tip {
  background: #F3F4F6;
  border: 1.5px solid #D1D5DB;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.edu-tip summary {
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.edu-tip summary::-webkit-details-marker { display: none; }
.edu-toggle {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--grey-text);
  margin-left: auto;
}
.edu-tip ul {
  margin: 0.5rem 0 0.6rem;
  padding-left: 1.2rem;
  color: var(--grey-text);
  line-height: 1.7;
}
.edu-tip li { margin-bottom: 0.2rem; }
.edu-tip-bio-link {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.edu-tip-bio-link:hover { background: #d94e00; color: #fff !important; }

/* ---- Pins Card ---- */
.pin-card {
  background: #FFFEF0;
  border: 1px solid #E5DF9A;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.pin-header { margin-bottom: 0.85rem; }
.pin-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  display: block;
}
.pin-subtitle {
  font-size: 0.82rem;
  color: var(--grey-text);
  display: block;
  margin-top: 0.2rem;
}
.pin-text {
  font-size: 0.93rem;
  color: var(--charcoal);
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.pin-textarea {
  width: 100%;
  background: #FFFEF5;
  border: 1px solid #D6CF80;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--charcoal);
  line-height: 1.75;
  resize: vertical;
  min-height: 110px;
  box-sizing: border-box;
}
.pin-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,102,0,0.12);
}

/* ---- Document Cards (vault) ---- */
.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--grey-mid);
}
.doc-card:has(.badge-red)   { border-left-color: var(--red); }
.doc-card:has(.badge-amber) { border-left-color: var(--amber); }
.doc-card:has(.badge-green) { border-left-color: var(--green); }
.doc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.doc-type-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.doc-filename {
  font-size: 0.82rem;
  color: var(--grey-text);
  word-break: break-word;
  margin-bottom: 0.15rem;
}
.doc-expiry {
  font-size: 0.82rem;
  color: var(--grey-text);
}
.doc-note-display {
  background: #FFFEF0;
  border: 1px solid #E5DF9A;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  margin: 0.6rem 0;
  font-size: 0.85rem;
}
.doc-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.doc-actions .btn { flex: 1; min-width: 80px; text-align: center; }
.doc-note-toggle {
  margin-top: 0.85rem;
  border-top: 1px solid var(--grey-mid);
  padding-top: 0.75rem;
}
.doc-note-toggle summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  user-select: none;
  min-height: 36px;
}
.doc-note-toggle summary::-webkit-details-marker { display: none; }

/* ---- Compliance Checklist Grid ---- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.checklist-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--grey-mid);
}
.chip-ok      { border-left-color: var(--green); }
.chip-warn    { border-left-color: var(--amber); }
.chip-missing { border-left-color: var(--grey-mid); color: var(--grey-text); }

/* ---- Tip Box (Share page) ---- */
.tip-box {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.6;
}
.tip-box p { margin-bottom: 0.45rem; }
.tip-box p:last-child { margin-bottom: 0; }

/* ---- Share grid ---- */
.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* ---- Enquiry action buttons ---- */
.btn-copilot-enq {
  background: #2D2D2D;
  color: #f75f07;
  border: 1.5px solid #f75f07;
  font-weight: 700;
}
.btn-copilot-enq:hover,
.btn-copilot-enq:active {
  background: #f75f07;
  color: #fff;
  border-color: #f75f07;
}

.enq-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}
.enq-actions .btn { flex: 1; min-width: 90px; text-align: center; white-space: nowrap; }
.enq-actions .btn-copilot-enq { flex: 0 0 100%; }

/* ---- Fat finger: bump btn-sm ---- */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  min-height: 44px;
}

/* ---- Credential Category Sections ---- */
.cat-section {
  margin-bottom: 1.5rem;
}
.cat-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  padding: 0.5rem 0 0.6rem;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Document card extras (reference + validity) ---- */
.doc-ref {
  font-size: 0.88rem;
  color: var(--charcoal);
  margin: 0.2rem 0;
  font-weight: 500;
}
.doc-validity {
  font-size: 0.82rem;
  color: var(--grey-text);
  margin-top: 0.15rem;
}

/* ============================================================
   AI CO-PILOT CARD
   ============================================================ */

.copilot-card {
  position: relative;
  background: var(--charcoal);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  overflow: hidden;
}

/* subtle orange glow stripe along top */
.copilot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ff9340, var(--orange));
}

.copilot-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}

.copilot-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.copilot-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.copilot-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.copilot-title sup { font-size: 0.6em; }

.copilot-tagline {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 0.2rem;
}

.copilot-intro {
  font-size: 0.92rem;
  color: #c8c8c8;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.copilot-intro strong { color: var(--white); }

.copilot-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.copilot-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255,255,255,0.05);
  border-radius: 7px;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--orange);
}

.copilot-feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.copilot-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.copilot-feature-desc {
  font-size: 0.85rem;
  color: #b0b0b0;
  line-height: 1.6;
}

.copilot-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.9rem;
}

.copilot-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #888;
}

.copilot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: copilot-pulse 2s ease-in-out infinite;
}

@keyframes copilot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}

/* ============================================================
   RESPONSIVE — mobile-first
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  html { font-size: 16px; } /* never shrink below 16px */

  .container { padding: 0 0.85rem; }
  .main-content { padding: 1.25rem 0 2rem; }

  /* Header */
  .logo-link { font-size: 1.15rem; }
  .auth-nav { gap: 0.6rem; }
  .auth-nav a { font-size: 0.82rem; }

  /* Auth */
  .auth-card { padding: 1.5rem 1.1rem; margin: 0 0.25rem; }
  .auth-card h1 { font-size: 1.4rem; }

  /* Forms — single column on mobile */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Dashboard */
  .dashboard-header { padding: 1.1rem; }
  .dashboard-header h1 { font-size: 1.2rem; }
  .dashboard-header .profile-url { font-size: 0.78rem; word-break: break-all; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .stat-card { padding: 0.9rem 0.6rem; }
  .stat-card .stat-number { font-size: 1.6rem; }
  .nav-actions { grid-template-columns: 1fr 1fr; }
  .nav-actions .btn { font-size: 0.85rem; padding: 0.65rem 0.5rem; min-height: 48px; }

  /* Tables — horizontal scroll */
  .table-wrap { border-radius: 0; box-shadow: none; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  thead th, tbody td { padding: 0.55rem 0.6rem; font-size: 0.8rem; }
  .actions-cell { flex-direction: column; gap: 0.3rem; }
  .actions-cell .btn { width: 100%; font-size: 0.78rem; min-height: 38px; }

  /* Page headers */
  .page-header-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .page-header h1 { font-size: 1.2rem; }

  /* Upload form */
  .upload-form { padding: 1rem; }
  .upload-form h2 { font-size: 1rem; }

  /* Category tabs — 2×2 grid on small phones */
  .cat-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .cat-tab { flex: unset; font-size: 0.82rem; padding: 0.6rem 0.5rem; min-height: 44px; white-space: normal; line-height: 1.3; }

  /* Doc cards */
  .doc-card { padding: 0.9rem 1rem; }
  .doc-card-header { flex-wrap: wrap; }
  .doc-actions { gap: 0.45rem; }
  .doc-actions .btn { min-height: 44px; }

  /* Enquiry action buttons */
  .enq-actions { gap: 0.45rem; }
  .enq-actions .btn { min-height: 44px; }

  /* Cards */
  .card { padding: 1.1rem; }

  /* Copilot card */
  .copilot-card { padding: 1.25rem 1.1rem; }
  .copilot-title { font-size: 1.1rem; }
  .copilot-feature { padding: 0.75rem 0.85rem; }

  /* Share page grid */
  .share-grid { grid-template-columns: 1fr !important; }

  /* Bio page */
  .bio-page { padding: 1.25rem 0.85rem 2rem; }
  .bio-name { font-size: 1.4rem; }
  .bio-btn { font-size: 0.95rem; min-height: 50px; }

  /* Reminder rows */
  .reminder-row { gap: 0.55rem; }

  /* Prevent any element causing horizontal overflow */
  body { overflow-x: hidden; }
}

/* Small mobile */
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-actions { grid-template-columns: 1fr; }
  .logo-link { font-size: 1rem; }
  .cat-tabs { grid-template-columns: 1fr 1fr; }
  .cat-tab { font-size: 0.78rem; padding: 0.55rem 0.4rem; }
  .stat-card .stat-number { font-size: 1.4rem; }
  .stat-card .stat-label { font-size: 0.68rem; }
  .page-header h1 { font-size: 1.1rem; }
  .btn-lg { font-size: 0.95rem; padding: 0.8rem 1rem; }
}

/* ============================================================
   SOCIAL ICONS — footer (business) & public bio (tradie)
   ============================================================ */

/* Footer business social icons */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #888;
  transition: color 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-social-icon:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* Public bio tradie social icons */
.bio-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.bio-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f5f5f5;
  border-radius: 50%;
  color: #444;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.bio-social-icon svg {
  width: 22px;
  height: 22px;
}

.bio-social-icon:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

/* Hero */
.lp-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* ── FREE Pilot Promo starburst ───────────────────────────────────────── */
.lp-free-burst {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 120px;
  height: 120px;
  background: #dc2626;
  clip-path: polygon(
    50% 0%, 56% 19%, 68% 6%, 66% 26%, 82% 16%, 74% 35%,
    93% 32%, 80% 47%, 98% 52%, 82% 60%, 95% 72%, 76% 72%,
    84% 91%, 65% 83%, 63% 100%, 50% 88%, 37% 100%, 35% 83%,
    16% 91%, 24% 72%, 5% 72%, 18% 60%, 2% 52%, 20% 47%,
    7% 32%, 26% 35%, 18% 16%, 34% 26%, 32% 6%, 44% 19%
  );
  color: #fff;
  z-index: 10;
  margin: 0.75rem auto;
  animation: burst-pop 2.5s ease-in-out infinite;
  cursor: default;
}
@media (min-width: 641px) {
  .lp-free-burst {
    position: absolute;
    top: 3.75rem;
    right: 1.25rem;
    margin: 0;
    width: 130px;
    height: 130px;
  }
}
.lp-free-burst-word {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.lp-free-burst-sub {
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
  text-transform: uppercase;
  opacity: 0.93;
}
@keyframes burst-pop {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.07) rotate(4deg); }
}
.lp-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.lp-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.lp-for-tradies {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.lp-headline {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.lp-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.lp-tagline {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.lp-cta-row {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* Sections */
.lp-section {
  padding: 3.5rem 1.25rem;
}

.lp-section-dark {
  background: var(--charcoal);
}

.lp-section-video {
  background: #f9f6f2;
}

.lp-container {
  max-width: 860px;
  margin: 0 auto;
}

.lp-container-narrow {
  max-width: 780px;
  margin: 0 auto;
}

/* Video eyebrow label */
.lp-video-eyebrow {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

/* Responsive 16:9 iframe wrapper */
.lp-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.18);
  margin-bottom: 2rem;
}
.lp-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.lp-video-cta {
  text-align: center;
}

/* Billboard / vehicle video section */
.lp-section-billboard {
  background: #fff;
  border-top: 4px solid var(--orange);
}

.lp-billboard-tagline {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}

/* Dark background video section variant */
.lp-section-video-dark {
  background: var(--charcoal);
}

/* ── AI Co-Pilot Landing Section ─────────────────────────────────────── */
.lp-section-copilot {
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.lp-section-copilot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #ff9340, var(--orange));
}

.lp-section-copilot::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #ff9340, var(--orange));
}

.lp-copilot-new-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
}

.lp-copilot-new-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.lp-sub-white {
  color: #aaa;
}

.lp-copilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.lp-copilot-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.4rem 1.25rem;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.lp-copilot-card:hover {
  background: rgba(247,95,7,0.07);
  border-color: rgba(247,95,7,0.35);
}

.lp-copilot-card-highlight {
  background: rgba(247,95,7,0.08);
  border-color: rgba(247,95,7,0.3);
}

.lp-copilot-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.lp-copilot-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.lp-copilot-card-desc {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.65;
}

.lp-copilot-live-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
}

.lp-copilot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: copilot-pulse 2s ease-in-out infinite;
}

/* ── AI Co-Pilot — "use every day" tag ─────────────────────────── */
.lp-copilot-everyday-tag {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin: 0 0 0.25rem;
}

/* ── Daily scenario section label ──────────────────────────────── */
.lp-copilot-daily-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 1.25rem;
}

.lp-copilot-daily-icon {
  font-size: 1rem;
}

/* ── Scenario cards grid ────────────────────────────────────────── */
.lp-copilot-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.lp-scenario-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s, background 0.2s;
}

.lp-scenario-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.14);
}

.lp-scenario-trade {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbb;
}

.lp-scenario-trade-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Chat bubbles */
.lp-scenario-bubble {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.lp-scenario-bubble-user {
  background: rgba(255,255,255,0.07);
  color: #ddd;
  font-style: italic;
  border-bottom-right-radius: 3px;
}

.lp-scenario-bubble-ai {
  background: rgba(247,95,7,0.12);
  border: 1px solid rgba(247,95,7,0.25);
  color: #ccc;
  border-bottom-left-radius: 3px;
  position: relative;
}

.lp-scenario-ai-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
  display: block;
}

/* ── "Everything your Co-Pilot can do" label ────────────────────── */
.lp-copilot-caps-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* "What's Included" — Co-Pilot highlight row */
.lp-include-copilot {
  background: rgba(247,95,7,0.07);
  border: 1px solid rgba(247,95,7,0.25);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  color: var(--charcoal);
  font-weight: 600;
}

.lp-new-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

@media (max-width: 700px) {
  .lp-copilot-grid { grid-template-columns: 1fr; }
  .lp-copilot-scenarios { grid-template-columns: 1fr; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .lp-copilot-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-copilot-scenarios { grid-template-columns: 1fr; }
}

.lp-video-eyebrow-white {
  color: var(--orange);
}

.lp-video-wrap-dark {
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}

.lp-section-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lp-title-white { color: #fff; }

.lp-section-sub {
  text-align: center;
  color: var(--grey-text);
  font-size: 0.97rem;
  margin-bottom: 2.25rem;
}

.lp-sub-white { color: #bbb; }

/* Four pillars */
.lp-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.lp-pillar {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 10px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
}

.lp-pillar:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

.lp-pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.65rem;
}

.lp-pillar h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

.lp-pillar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.75rem;
}

.lp-pillar p {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.55;
}

/* How it works steps */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 580px;
  margin: 0 auto;
}

.lp-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.lp-step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.lp-step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.lp-step-content p {
  font-size: 0.88rem;
  color: #bbb;
  line-height: 1.5;
}

/* Credentials / Vetting section */
.lp-credentials-section {
  background: #f9f9f7;
}

.lp-cred-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.lp-cred-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0 2rem;
}

.lp-cred-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lp-cred-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--charcoal);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.lp-cred-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.lp-cred-body p {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.lp-cred-badge {
  display: inline-block;
  background: #e8f5ee;
  color: #1a7a3a;
  border: 1px solid #b2dfca;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.lp-cred-checklist-wrap {
  background: var(--charcoal);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin: 0.5rem 0 2rem;
}

.lp-cred-checklist-title {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
}

.lp-cred-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.lp-cred-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-cred-checklist li:last-child {
  border-bottom: none;
}

.lp-cred-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.lp-cred-footer {
  text-align: center;
  padding-top: 1rem;
}

.lp-cred-footer-text {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Includes checklist */
.lp-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.lp-include-item {
  font-size: 0.93rem;
  color: var(--charcoal);
  font-weight: 500;
  padding: 0.4rem 0;
}

.lp-include-abn {
  color: #1a5c2e;
  font-weight: 600;
}

.lp-abn-badge {
  display: inline-block;
  background: #e8f5ee;
  color: #1a7a3a;
  border: 1px solid #b2dfca;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 0.3rem;
  letter-spacing: 0.02em;
}

/* Pricing card */
.lp-pricing-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0369a1 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(3,105,161,0.25), 0 2px 8px rgba(0,0,0,0.2);
  position: relative;
}
.lp-pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(14,165,233,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.lp-pricing-card .btn {
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  display: block;
}

.lp-pricing-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.lp-pricing-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lp-pricing-amount span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #aaa;
}

.lp-pricing-note {
  font-size: 0.83rem;
  color: #aaa;
  line-height: 1.5;
}

/* Footer note */
.lp-footer-note {
  background: #f5f5f5;
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  border-top: 1px solid var(--grey-mid);
}

/* ── YouTube Façade — thumbnail + play button, loads iframe on tap ── */
.yt-facade {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.yt-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity 0.2s;
}
.yt-facade:hover .yt-thumb { opacity: 0.8; }
.yt-play-btn {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s;
}
.yt-facade:hover .yt-play-btn { transform: scale(1.1); }
.yt-play-btn svg {
  width: 72px;
  height: 52px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
}

/* ── YouTube end-screen overlay ─────────────────────────────────── */
.yt-end-screen {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 20, 20, 0.96);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: yt-end-fade 0.35s ease;
}

@keyframes yt-end-fade {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.yt-end-inner {
  text-align: center;
  padding: 1.75rem 2rem;
  color: #fff;
  max-width: 340px;
}

.yt-end-logo {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.yt-end-title {
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.yt-end-sub {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.yt-end-cta {
  display: inline-block;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.yt-end-dismiss {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: #555;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  transition: color 0.15s;
  font-family: inherit;
}
.yt-end-dismiss:hover { color: #999; }

/* Mobile landing page */
@media (max-width: 600px) {
  .lp-hero { padding: 3rem 1rem 2.5rem; }
  .lp-pillars { grid-template-columns: 1fr 1fr; }
  .lp-pricing-amount { font-size: 2.75rem; }

  /* Tighter section padding on phones */
  .lp-section { padding: 2.25rem 1rem; }

  /* Full-width CTA buttons — big tap target */
  .lp-cta-btn { width: 100%; text-align: center; display: block; }

  /* Billboard tagline — stack items on small screens */
  .lp-billboard-tagline {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.83rem;
    margin-bottom: 1.25rem;
  }

  /* Slightly smaller play button on phones */
  .yt-play-btn svg { width: 56px; height: 40px; }
}

@media (max-width: 400px) {
  .lp-pillars { grid-template-columns: 1fr; }
}

/* Pricing card additions */
.lp-pricing-free-badge {
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.lp-pricing-free-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 0.2rem;
}
.lp-pricing-free-period {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.1rem;
}
.lp-pricing-setup {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.lp-pricing-setup span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #aaa;
}
.lp-pricing-divider {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin: 0.4rem 0;
}
.lp-value-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* ── Feedback Widget ─────────────────────────────────────────────────────── */
#feedback-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#feedback-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,102,0,0.35);
  transition: background 0.18s, transform 0.18s;
}
#feedback-toggle:hover { background: #e55a00; transform: translateY(-2px); }
.feedback-panel {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  width: 320px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid #eee;
}
.feedback-panel.open { display: flex; }
.fp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal);
  color: #fff;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
}
.fp-header button {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.fp-header button:hover { color: #fff; }
.fp-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.fp-select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fafafa;
}
.fp-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
  box-sizing: border-box;
}
.fp-textarea:focus, .fp-select:focus { outline: 2px solid var(--orange); border-color: transparent; }
.fp-status { font-size: 0.82rem; color: var(--orange); margin: 0; min-height: 1.2em; text-align: center; }

/* ── Admin tables & communications ───────────────────────────────────────── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  background: #f5f5f5;
  color: #555;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #eee;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-link { color: var(--orange); font-weight: 600; text-decoration: none; }
.admin-link:hover { text-decoration: underline; }
.td-date { color: #888; font-size: 0.82rem; white-space: nowrap; }

.admin-stat-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.admin-stat {
  flex: 1;
  min-width: 100px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; color: #888; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

.email-type-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #555;
  border-radius: 12px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.comm-status {
  display: inline-block;
  border-radius: 10px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.comm-status-sent    { background: #e6f9ef; color: #1a7a44; }
.comm-status-pending { background: #fff8e1; color: #b8860b; }
.comm-status-failed  { background: #fde8e8; color: #c0392b; }

/* ── Quotes ──────────────────────────────────────────────────────────────── */
.quote-status {
  display: inline-block;
  border-radius: 10px;
  padding: 0.18rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.quote-status-draft    { background: #f0f0f0;  color: #666; }
.quote-status-sent     { background: #e0f0ff;  color: #1565c0; }
.quote-status-accepted { background: #e6f9ef;  color: #1a7a44; }
.quote-status-declined { background: #fde8e8;  color: #c0392b; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 [style*="grid-column:1/-1"] { grid-column: 1 / -1; }
}

.btn-remove-line {
  background: none;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: border-color 0.15s, color 0.15s;
}
.btn-remove-line:hover { border-color: #c0392b; color: #c0392b; }

.email-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.btn-email-action {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--charcoal);
  transition: background 0.15s, border-color 0.15s;
}
.btn-email-action:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Super Admin Delete Zone — full-width, impossible to miss ──────────── */
.tc-delete-zone {
  margin-top: 1rem;
  padding: 14px 16px 16px;
  background: #fff1f2;
  border: 2.5px solid #ef4444;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.tc-delete-label {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b91c1c;
  margin-bottom: 10px;
}
.tc-delete-big-btn {
  display: block;
  width: 100%;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.tc-delete-big-btn:hover { background: #b91c1c; }

.empty-state { text-align: center; color: #888; padding: 2.5rem; }
.card-title  { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin: 0 0 1rem; }

/* ── Feedback admin view ─────────────────────────────────────────────────── */
.feedback-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.feedback-tab {
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  background: #f0f0f0;
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s;
}
.feedback-tab:hover, .feedback-tab.active { background: var(--orange); color: #fff; }
.tab-count { display: inline-block; margin-left: 0.3rem; background: rgba(0,0,0,0.12); border-radius: 10px; padding: 0 0.45rem; font-size: 0.75rem; }
.tab-count-new { background: var(--orange); color: #fff; }
.feedback-tab.active .tab-count { background: rgba(255,255,255,0.3); }

.feedback-list { display: flex; flex-direction: column; gap: 1rem; }
.feedback-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.feedback-item-new         { border-left: 4px solid var(--orange); }
.feedback-item-in_progress { border-left: 4px solid #3b82f6; }
.feedback-item-done        { border-left: 4px solid #22c55e; opacity: 0.8; }
.feedback-item-wont_fix    { border-left: 4px solid #aaa; opacity: 0.7; }

.feedback-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}
.feedback-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}
.feedback-cat {
  display: inline-block;
  border-radius: 10px;
  padding: 0.15rem 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
}
.feedback-cat-bug     { background: #fde8e8; color: #c0392b; }
.feedback-cat-feature { background: #e8f0fe; color: #2563eb; }
.feedback-cat-general { background: #f0f0f0; color: #555; }
.feedback-author { font-weight: 600; color: var(--charcoal); }
.feedback-date   { color: #aaa; }
.feedback-page   { color: #aaa; font-style: italic; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-status-badge { flex-shrink: 0; border-radius: 10px; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 700; }
.status-new      { background: #fff3e0; color: #e65100; }
.status-progress { background: #e3f2fd; color: #1565c0; }
.status-done     { background: #e8f5e9; color: #2e7d32; }
.status-wontfix  { background: #f5f5f5; color: #757575; }

.feedback-item-message {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.feedback-admin-note {
  font-size: 0.82rem;
  color: #666;
  background: #f9f9f9;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}
.feedback-action-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
}
.feedback-status-select {
  padding: 0.35rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.82rem;
}
.feedback-note-input {
  flex: 1;
  min-width: 140px;
  padding: 0.35rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.82rem;
}
.btn.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.82rem; }
.dash-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--charcoal); color: #fff; }

/* ── Category tab picker (vault upload form) ─────────────────────────────── */
.cat-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.cat-tab {
  flex: 1 1 auto;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.cat-tab.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.doc-type-section {
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Vault page: business name header ───────────────────────────────────── */
.vault-business-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

/* ── Sidebar: NEW badge + co-pilot link highlight ───────────────────────── */
.sl-new {
  background: #16a34a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.sidebar-link-copilot { font-weight: 700; }

/* ── Dashboard Co-Pilot card: live state ────────────────────────────────── */
a.copilot-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
}
a.copilot-card:hover {
  box-shadow: 0 6px 28px rgba(255,102,0,0.18);
  transform: translateY(-2px);
}
.copilot-badge-live {
  background: #16a34a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.copilot-cta-row {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* ── AI Co-Pilot chat page ──────────────────────────────────────────────── */
.copilot-page {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 1rem;
}
.copilot-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.copilot-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0 0 0.15rem;
  line-height: 1.2;
}
.copilot-page-sub {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin: 0;
}

/* Chat window */
.chat-window {
  background: var(--grey-light);
  border-radius: 14px;
  padding: 1.1rem;
  min-height: 340px;
  max-height: 58vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  scroll-behavior: smooth;
}

/* Welcome state */
.chat-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.5rem 0.5rem;
  gap: 0.65rem;
}
.chat-welcome-icon { font-size: 2.5rem; line-height: 1; }
.chat-welcome-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal);
}
.chat-welcome-sub {
  font-size: 0.88rem;
  color: var(--grey-text);
  max-width: 420px;
  line-height: 1.5;
}
.chat-suggestions { width: 100%; margin-top: 0.5rem; }
.chat-suggestions-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin-bottom: 0.5rem;
}
.chat-chip {
  display: inline-block;
  margin: 0.25rem 0.2rem;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: left;
}
.chat-chip:hover {
  border-color: var(--orange);
  background: #fff7f0;
  color: var(--orange);
}

/* Message rows */
.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}
.chat-user { flex-direction: row-reverse; }
.chat-assistant { flex-direction: row; }

/* Chat bubbles */
.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 80%;
  word-break: break-word;
}
.chat-bubble-user {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble-assistant {
  background: #fff;
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow-x: auto;
}
.chat-bubble-assistant table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin: 0.75rem 0;
}
.chat-bubble-assistant table th {
  background: var(--charcoal);
  color: #fff;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chat-bubble-assistant table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  line-height: 1.5;
}
.chat-bubble-assistant table tr:last-child td { border-bottom: none; }
.chat-bubble-assistant table tr:nth-child(even) td { background: #fafafa; }
.chat-bubble-assistant table td:first-child { font-weight: 600; white-space: nowrap; }

/* Avatar */
.chat-avatar {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--charcoal);
  border-radius: 50%;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.1rem 0.75rem;
}
.chat-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  background: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.chat-typing-dots span {
  width: 7px;
  height: 7px;
  background: #aaa;
  border-radius: 50%;
  animation: typingPulse 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Input row */
.chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  transition: border-color 0.15s;
}
.chat-input-row:focus-within { border-color: var(--orange); }
.chat-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--charcoal);
  background: transparent;
  font-family: inherit;
  min-height: 24px;
  max-height: 130px;
  overflow-y: auto;
}
.chat-input::placeholder { color: #bbb; }
.chat-send-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--orange);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.12s;
}
.chat-send-btn:hover { background: #e55a00; transform: scale(1.06); }
.chat-send-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.chat-send-btn svg { width: 18px; height: 18px; }

/* Disclaimer */
.chat-disclaimer {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  margin: 0.65rem 0 0;
  line-height: 1.45;
}

/* Mobile chat */
@media (max-width: 600px) {
  .chat-bubble { max-width: 90%; font-size: 0.88rem; }
  .copilot-page-title { font-size: 1.1rem; }
  .chat-chip { font-size: 0.8rem; padding: 0.4rem 0.7rem; }

  /* Full-screen app feel on mobile */
  .page-copilot .site-footer { display: none !important; }

  .page-copilot .copilot-page {
    padding-bottom: 0;
  }

  .page-copilot .chat-window {
    max-height: calc(100dvh - 290px);
    min-height: 220px;
    padding: 0.85rem;
  }

  .page-copilot .chat-input-row {
    position: sticky;
    bottom: 0;
    z-index: 20;
    border-radius: 12px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }

  .page-copilot .chat-disclaimer {
    padding: 0.5rem 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* ── Dashboard Showcase ─────────────────────────────────────────────────── */
.lp-dashboard-showcase {
  background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.lp-showcase-heading {
  text-align: center;
  margin-bottom: 3rem;
}
/* Two-phone collage */
.lp-phones-duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.lp-phone-secondary {
  margin-top: 52px;
}
@media (max-width: 660px) {
  .lp-phone-secondary { display: none; }
  .lp-phones-duo { margin-bottom: 2.5rem; }
}
/* Feature cards grid below phones */
.lp-showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 780px) {
  .lp-showcase-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .lp-showcase-cards { grid-template-columns: 1fr; }
}
.lp-showcase-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  transition: background 0.2s;
}
.lp-showcase-card:hover {
  background: rgba(255,255,255,0.09);
}
.lp-showcase-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.lp-showcase-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}
.lp-showcase-card-desc {
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.55;
}
/* Larger single-phone variant — real screenshot inside */
.lp-phone-frame-large {
  width: 320px;
}
.lp-phone-screen-large {
  width: 304px;
  height: 600px;
  padding: 0;
  background: #000;
}
.lp-phone-screen-large img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 400px) {
  .lp-phone-frame-large { width: 280px; }
  .lp-phone-screen-large { width: 264px; height: 530px; }
}

/* Legacy grid — kept for graceful fallback */
.lp-dashboard-grid {
  display: block;
}
.lp-dashboard-copy { display: none; }

/* Phone frame */
.lp-phone-wrap {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.lp-phone-frame {
  width: 270px;
  background: #0f0f0f;
  border-radius: 42px;
  border: 6px solid #2a2a2a;
  padding: 18px 8px 22px;
  box-shadow:
    0 0 0 1px #3a3a3a,
    0 0 0 2px #111,
    0 40px 90px rgba(0,0,0,0.8),
    inset 0 0 0 1px #1e1e1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Side buttons */
.lp-phone-frame::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 80px;
  width: 3px;
  height: 28px;
  background: #2a2a2a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 36px 0 #2a2a2a, 0 68px 0 #2a2a2a;
}
.lp-phone-frame::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 110px;
  width: 3px;
  height: 44px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}

.lp-phone-notch {
  width: 90px;
  height: 24px;
  background: #0f0f0f;
  border-radius: 0 0 16px 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lp-phone-notch::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #222;
  border-radius: 50%;
  border: 1px solid #333;
}
.lp-phone-notch::after {
  content: '';
  width: 40px;
  height: 5px;
  background: #222;
  border-radius: 3px;
}

/* Screen viewport — clips the scaled inner content */
.lp-phone-screen {
  width: 254px;
  height: 500px;
  background: #f4f4f4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

/* Inner real dashboard at natural 390px width, scaled to fit 254px */
.lp-dash-inner {
  width: 390px;
  transform: scale(0.651);   /* 254/390 */
  transform-origin: top left;
  background: #f4f4f4;
  font-family: inherit;
}

.lp-phone-bar {
  width: 90px;
  height: 5px;
  background: #333;
  border-radius: 3px;
  margin-top: 14px;
}

/* Real site-header replica inside phone */
.lp-dash-real-header {
  background: var(--charcoal);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-dash-real-logo {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.lp-dash-real-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.lp-dash-real-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #999;
  border-radius: 1px;
}

/* Copy column */
.lp-dashboard-copy .lp-section-title {
  color: #fff;
  margin-top: 0.5rem;
}
.lp-dashboard-copy .lp-review-eyebrow {
  background: rgba(255,102,0,0.18);
  color: var(--orange);
}
.lp-dash-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lp-dash-feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.lp-dash-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.lp-dash-feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.15rem;
}
.lp-dash-feature-desc {
  font-size: 0.82rem;
  color: #aaa;
  line-height: 1.5;
}

/* ── Privacy Policy page ────────────────────────────────────────────────── */
.privacy-page {
  background: #f8f8f8;
  min-height: 80vh;
  padding: 3rem 1rem 4rem;
}
.privacy-container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
}
.privacy-header {
  background: var(--charcoal);
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 4px solid var(--orange);
}
.privacy-header h1 {
  color: #fff;
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
  font-weight: 900;
}
.privacy-updated {
  color: #aaa;
  font-size: 0.85rem;
  margin: 0;
}
.privacy-body {
  padding: 2.25rem 2.5rem 3rem;
  color: #333;
  line-height: 1.75;
  font-size: 0.95rem;
}
.privacy-body h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 2rem 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #f0f0f0;
}
.privacy-body h2:first-of-type { margin-top: 1rem; }
.privacy-body p { margin: 0 0 0.9rem; }
.privacy-body ul {
  margin: 0 0 0.9rem 1.25rem;
  padding: 0;
}
.privacy-body ul li { margin-bottom: 0.4rem; }
.privacy-body a { color: var(--orange); }
.privacy-body a:hover { text-decoration: underline; }
.privacy-notice {
  background: #fff8f4;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}
.privacy-contact {
  background: #f4f4f4;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}
.privacy-contact p { margin: 0.2rem 0; }
@media (max-width: 600px) {
  .privacy-header { padding: 1.75rem 1.25rem 1.5rem; }
  .privacy-body { padding: 1.5rem 1.25rem 2rem; }
  .privacy-header h1 { font-size: 1.45rem; }
}

/* ── Google Review Card section ─────────────────────────────────────────── */
.lp-review-card-section {
  background: #fff;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.lp-review-eyebrow {
  display: inline-block;
  background: #fff3e0;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}
.lp-orange-word { color: var(--orange); }
.lp-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .lp-review-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
.lp-review-col { display: flex; flex-direction: column; gap: 1.25rem; }
.lp-review-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.lp-review-img-tradie { border: 3px solid var(--orange); }
.lp-review-img-phone  { background: #f5f5f5; }
.lp-review-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.lp-review-insight {
  display: flex;
  gap: 0.85rem;
  background: #fff9f5;
  border: 1.5px solid #ffe0c2;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  align-items: flex-start;
}
.lp-review-insight-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.lp-review-insight p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.65;
}
.lp-review-insight strong { color: var(--charcoal); }
.lp-review-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lp-review-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.5;
}
.lp-review-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.lp-faq-section {
  background: linear-gradient(175deg, #f2f2ef 0%, #f8f7f4 50%, #fff9f5 100%);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
.faq-item {
  background: #ffffff;
  border: 1.5px solid #E2E5EC;
  border-left: 4px solid #E2E5EC;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.22s, border-color 0.22s, border-left-color 0.22s, transform 0.18s;
}
.faq-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
  border-color: #CDD1DB;
  border-left-color: #CDD1DB;
  transform: translateY(-2px);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: #FFD0B0;
  border-left-color: var(--orange);
  box-shadow: 0 6px 24px rgba(247,95,7,0.12), 0 2px 6px rgba(247,95,7,0.06);
  transform: translateY(0);
}
.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  text-align: left;
  padding: 1.35rem 1.4rem 1.35rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.faq-question:hover { background: #fdfcfb; }
.faq-question[aria-expanded="true"] {
  color: var(--orange);
  background: linear-gradient(90deg, #fff8f3 0%, #fffcfa 100%);
  border-bottom: 1.5px solid #FFE4CC;
}
.faq-num {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  line-height: 1.4;
  transition: background 0.18s;
}
.faq-question[aria-expanded="true"] .faq-num {
  background: var(--orange);
}
.faq-q-text {
  flex: 1;
  display: block;
}
.faq-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #F1F3F7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: background 0.18s, color 0.18s, transform 0.26s;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  background: #FFF0E5;
  color: var(--orange);
  transform: rotate(180deg);
}
.faq-answer {
  background: linear-gradient(180deg, #fff9f5 0%, #fffdf9 100%);
  padding: 1.25rem 1.4rem 1.35rem 1.25rem;
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.75;
  border-top: none;
}
.faq-answer p { margin: 0.65rem 0 0; }
.faq-answer p:first-child { margin-top: 0; }
.faq-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(247,95,7,0.3);
  transition: text-decoration-color 0.14s;
}
.faq-link:hover { text-decoration-color: var(--orange); }
@media (max-width: 600px) {
  .faq-question { padding: 1.1rem 1rem 1.1rem 1rem; font-size: 0.93rem; }
  .faq-answer { padding: 1rem 1rem 1.1rem 1rem; }
  .faq-num { font-size: 0.68rem; }
}

/* ── Co-Pilot teaser card ───────────────────────────────────────────────── */
.copilot-teaser-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.copilot-teaser-badge {
  display: inline-block;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.copilot-teaser-intro {
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.copilot-teaser-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 0.25rem;
}

/* ── Ideas Register — filter chips ─────────────────────────────────────── */
.ideas-filter-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}
.ideas-filter-group { display: flex; flex-direction: column; gap: 0.35rem; }
.ideas-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
}
.ideas-filter-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ideas-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.14s, background 0.14s, color 0.14s;
  white-space: nowrap;
}
.ideas-chip:hover { border-color: var(--orange); color: var(--orange); }
.ideas-chip-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.ideas-chip-active:hover { color: #fff; }
.ideas-chip-count {
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.ideas-tag-pill {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
}

/* ── Group Acknowledgement panel ────────────────────────────────────────── */
.group-ack-panel {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.group-ack-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.group-ack-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.group-ack-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 0.2rem;
}
.group-ack-sub {
  font-size: 0.82rem;
  color: #16a34a;
  line-height: 1.45;
}
.group-ack-textarea {
  width: 100%;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--charcoal);
  background: #fff;
  resize: vertical;
  box-sizing: border-box;
}
.group-ack-textarea:focus {
  outline: none;
  border-color: #16a34a;
}

/* ── Feedback action form: tag input ────────────────────────────────────── */
.feedback-tag-input {
  flex: 0 0 120px;
  padding: 0.35rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--charcoal);
}
.feedback-tag-input:focus {
  outline: none;
  border-color: var(--orange);
}

/* ── Co-Pilot toggle button (admin tradie list) ──────────────────────────── */
.copilot-toggle-btn {
  border: none;
  border-radius: 8px;
  padding: 0.28rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.copilot-toggle-btn:hover { opacity: 0.8; }
.copilot-toggle-on {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.copilot-toggle-off {
  background: var(--grey-light);
  color: #aaa;
  border: 1px solid var(--border);
}


/* ============================================================
   Resources — Blog & Conversations
   ============================================================ */

.res-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.res-hero {
  text-align: center;
  padding: 2.5rem 1rem 1.75rem;
}
.res-hero-conv { }

.res-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.res-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.res-sub {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 580px;
  margin: 0 auto;
}

/* Category pills */
.res-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.res-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--grey-mid);
  background: #fff;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}
.res-pill:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
.res-pill-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.res-pill-active:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.res-pill-active-conv { background: var(--orange); border-color: var(--orange); color: #fff; }
.res-pill-active-conv:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.res-pill-count {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0 0.4rem;
  font-size: 0.72rem;
}
.res-pill:not(.res-pill-active) .res-pill-count { background: var(--grey-mid); color: #666; }

/* Post cards grid */
.res-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.res-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.res-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--orange);
  text-decoration: none;
}

.res-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--grey-mid);
}

.res-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.res-card-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.res-tag-blog { background: #fff3e8; color: var(--orange); border: 1px solid #ffd0aa; }
.res-tag-conv { background: #e8f4ff; color: #1a6fc4; border: 1px solid #a8d4ff; }

.res-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.res-card-excerpt {
  font-size: 0.875rem;
  color: var(--grey-text);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.9rem;
}

.res-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #aaa;
  flex-wrap: wrap;
  margin-top: auto;
}

.res-meta-read {
  margin-left: auto;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
}
.res-read-conv { color: #1a6fc4; }

/* Empty state */
.res-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--grey-text);
  background: #fff;
  border-radius: 10px;
  border: 1px dashed var(--grey-mid);
}

/* ── Individual post page ─────────────────────────────────── */

.res-post-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.res-post-hero {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 12px 12px;
  margin-bottom: 2rem;
}

.res-post-container {
  padding-top: 1.5rem;
}

.res-back {
  font-size: 0.85rem;
  color: var(--grey-text);
  display: inline-block;
  margin-bottom: 0.25rem;
}
.res-back:hover { color: var(--orange); }

.res-post-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.25;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.res-post-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.res-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
}
.res-post-content h1,
.res-post-content h2,
.res-post-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}
.res-post-content h2 { font-size: 1.4rem; }
.res-post-content h3 { font-size: 1.15rem; }
.res-post-content p  { margin-bottom: 1.1rem; }
.res-post-content ul,
.res-post-content ol { margin: 0.75rem 0 1.1rem 1.5rem; }
.res-post-content li { margin-bottom: 0.4rem; }
.res-post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 0.75rem 1.25rem;
  background: #fff7f0;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-style: italic;
  color: #555;
}
.res-post-content a { color: var(--orange); }
.res-post-content strong { font-weight: 700; }
.res-post-content img { border-radius: 8px; margin: 1rem 0; }

.res-post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-mid);
}

/* ── Audio player block on conversation/blog posts ────────── */
.res-audio-player {
  background: #f8f4f1;
  border: 1px solid #f0e8e0;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}
.res-audio-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.res-audio-player audio {
  width: 100%;
  border-radius: 6px;
  outline: none;
}

/* ── Admin blog/conversation status badges ───────────────── */
.badge-status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-published { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-draft     { background: var(--grey-light); color: #aaa; border: 1px solid var(--grey-mid); }

/* ── AI Co-Pilot Minimal Section (Option A) ─────────────── */
.lp-cpmin-section {
  background: #111;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.lp-cpmin-headline {
  font-size: clamp(2.6rem, 8vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}
.lp-cpmin-sub {
  color: #aaa;
  font-size: 1.1rem;
  margin: 0 auto 3rem;
  max-width: 420px;
  line-height: 1.6;
}
.lp-cpmin-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.75rem;
}
.lp-cpmin-step {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
}
.lp-cpmin-step-done {
  border-color: rgba(247,95,7,0.35);
  background: rgba(247,95,7,0.06);
}
.lp-cpmin-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.lp-cpmin-step-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}
.lp-cpmin-step-desc {
  color: #888;
  font-size: 0.82rem;
  line-height: 1.6;
}
.lp-cpmin-arrow {
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 900;
  padding: 0 0.5rem;
  align-self: center;
  flex-shrink: 0;
  margin-top: -1rem;
}
.lp-cpmin-kicker {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.lp-cpmin-kicker strong { color: #fff; }
@media (max-width: 640px) {
  .lp-cpmin-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .lp-cpmin-step { max-width: 100%; width: 100%; }
  .lp-cpmin-arrow {
    transform: rotate(90deg);
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
  }
  .lp-cpmin-headline { font-size: 2.6rem; }
}

/* ── AI Co-Pilot Story Section (Landing Page) ────────────── */
.lp-copilot-story-section {
  background: #111;
  padding: 5rem 0;
}
.lp-copilot-story-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.lp-copilot-pulse {
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: copilot-pulse 1.8s ease-in-out infinite;
}
@keyframes copilot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.55); }
}
.lp-copilot-scenario {
  background: #1c1c1c;
  border: 1px solid rgba(247,95,7,0.28);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.lp-copilot-scenario-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.lp-copilot-scene-text {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.lp-copilot-chaos-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.lp-chaos-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(247,95,7,0.07);
  border: 1px solid rgba(247,95,7,0.22);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.lp-chaos-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.lp-chaos-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.lp-chaos-item span {
  color: #999;
  font-size: 0.85rem;
}
.lp-copilot-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.lp-copilot-divider-line {
  flex: 1;
  height: 1px;
}
.lp-copilot-divider-left  { background: linear-gradient(to right, transparent, rgba(247,95,7,0.5)); }
.lp-copilot-divider-right { background: linear-gradient(to left,  transparent, rgba(247,95,7,0.5)); }
.lp-copilot-divider-text {
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-align: center;
}
.lp-copilot-resolution {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lp-resolution-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.lp-res-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 0.15rem;
}
.lp-resolution-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.lp-resolution-item span {
  color: #999;
  font-size: 0.85rem;
}
.lp-copilot-payoff {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.lp-copilot-payoff p {
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.lp-copilot-payoff strong { color: #fff; }
.lp-copilot-ute-line {
  font-size: 1.35rem !important;
  color: #fff !important;
  line-height: 1.5 !important;
  margin-bottom: 1.75rem !important;
}
.lp-copilot-tagline-pill {
  display: inline-block;
  background: rgba(247,95,7,0.1);
  border: 1px solid rgba(247,95,7,0.35);
  color: var(--orange);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  line-height: 1.5;
  max-width: 480px;
}
/* "Never stop" moment inside scenario box */
.lp-copilot-never-stop {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
}
.lp-copilot-ns-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.lp-copilot-never-stop p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.lp-copilot-never-stop strong { color: #fff; }

/* "Never put the tools down" key message block */
.lp-copilot-keystroke {
  margin: 1.75rem 0 0.5rem;
}
.lp-copilot-keystroke-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: linear-gradient(135deg, rgba(247,95,7,0.12), rgba(247,95,7,0.04));
  border: 1px solid rgba(247,95,7,0.35);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}
.lp-copilot-ks-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.lp-copilot-keystroke-inner p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.lp-copilot-keystroke-inner strong {
  color: #fff;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .lp-copilot-story-section { padding: 3.5rem 0; }
  .lp-copilot-scenario { padding: 1.5rem; }
  .lp-copilot-divider-text { font-size: 0.82rem; white-space: normal; text-align: center; }
  .lp-copilot-ute-line { font-size: 1.15rem !important; }
  .lp-copilot-tagline-pill { font-size: 0.85rem; padding: 0.6rem 1.1rem; }
  .lp-copilot-keystroke-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ── Form helpers for admin edit pages ───────────────────── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .res-cards  { grid-template-columns: 1fr; }
  .res-post-title { font-size: 1.5rem; }
}

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────────────── */
.lp-announce-bar {
  background: #1a1a1a;
  border-bottom: 2px solid var(--orange);
  position: relative;
  z-index: 200;
}
.lp-announce-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.lp-announce-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(247,95,7,0.7);
  animation: lp-announce-pulse 1.8s ease-out infinite;
}
@keyframes lp-announce-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(247,95,7,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(247,95,7,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,95,7,0); }
}
.lp-announce-text {
  color: #d1d5db;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}
.lp-announce-text strong { color: #fff; }
.lp-announce-cta {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.lp-announce-cta:hover { text-decoration: underline; }
.lp-announce-dismiss {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.1rem;
  flex-shrink: 0;
  transition: color 0.15s;
}
.lp-announce-dismiss:hover { color: #fff; }
@media (max-width: 600px) {
  .lp-announce-inner { gap: 0.5rem; }
  .lp-announce-text  { font-size: 0.82rem; }
  .lp-announce-cta   { font-size: 0.82rem; }
}

/* ── HERO AI STRIP ────────────────────────────────────────────────── */
.lp-hero-ai-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(247,95,7,0.12);
  border: 1px solid rgba(247,95,7,0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  margin: 0.9rem 0 0;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-hero-ai-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: lp-announce-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
.lp-hero-ai-label {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lp-hero-ai-arrow {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.lp-hero-ai-arrow:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .lp-hero-ai-label { font-size: 0.82rem; }
}

/* ── CO-PILOT HAND IN A GLOVE NARRATIVE ───────────────────────────── */
.lp-copilot-glove {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(247,95,7,0.2);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.lp-copilot-glove-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
  text-align: center;
}
.lp-copilot-glove-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.lp-copilot-glove-scene p {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0 0 0.85rem;
}
.lp-copilot-glove-kicker {
  color: #fff !important;
  font-size: 1.05rem !important;
  margin-top: 0.5rem !important;
}
.lp-copilot-glove-bcc {
  background: rgba(247,95,7,0.1);
  border: 1px solid rgba(247,95,7,0.35);
  border-radius: 12px;
  padding: 1.5rem 1.4rem;
  text-align: center;
}
.lp-copilot-glove-bcc-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.lp-copilot-glove-bcc-icon {
  font-size: 2.25rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}
.lp-copilot-glove-bcc-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.lp-copilot-glove-bcc-body {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 0.65rem;
}
.lp-copilot-glove-bcc-body strong { color: #fff; }
@media (max-width: 720px) {
  .lp-copilot-glove-cols { grid-template-columns: 1fr; }
  .lp-copilot-glove { padding: 1.5rem 1.1rem; }
}

/* ── FOOTER NAV COLUMNS ───────────────────────────────────────────── */
.footer-nav-cols {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 1rem 1.5rem;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 110px;
}
.footer-nav-heading {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-nav-link {
  color: #9ca3af;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}
.footer-nav-link:hover { color: var(--orange); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 1.5rem;
}
@media (max-width: 480px) {
  .footer-nav-cols { gap: 2rem; }
  .footer-nav-col  { min-width: 90px; }
}

/* ── RESOURCES HUB PAGE ───────────────────────────────────────────── */
.res-hub-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.res-hub-header {
  text-align: center;
  margin-bottom: 3rem;
}
.res-hub-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.res-hub-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.res-hub-sub {
  font-size: 1rem;
  color: var(--grey-text);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.res-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.res-hub-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.res-hub-block:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); }
.res-hub-block-dark {
  background: var(--charcoal);
  border-color: transparent;
}
.res-hub-block-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.res-hub-block-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.res-hub-block-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}
.res-hub-block-desc {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.res-hub-recent {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.res-hub-recent-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.res-hub-recent-item:hover { background: #f3f4f6; }
.res-hub-recent-item-dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.res-hub-recent-item-dark:hover { background: rgba(255,255,255,0.12); }
.res-hub-recent-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.res-hub-recent-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
}
.res-hub-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  margin: 0 0.25rem;
}
.res-hub-block-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.15s;
}
.res-hub-block-cta:hover { gap: 0.55rem; }
.res-hub-block-cta-dark { color: var(--orange); }
.res-hub-empty-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  padding: 0.75rem 0;
  flex: 1;
}
.res-hub-bottom {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}
.res-hub-bottom p {
  font-size: 1rem;
  color: var(--grey-text);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
@media (max-width: 680px) {
  .res-hub-grid { grid-template-columns: 1fr; }
  .res-hub-wrap { padding: 2rem 1rem 3rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dashboard v2 — Big Four layout
   ═══════════════════════════════════════════════════════════════════════ */

/* Header */
.db2-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.75rem;
}
.db2-greeting {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.db2-share-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.db2-share-link:hover { text-decoration: underline; }

/* Smart Status Bar */
.db2-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.db2-status-green  { background: #d1fae5; color: #065f46; }
.db2-status-orange { background: #fff7ed; color: #92400e; border: 1.5px solid #fed7aa; }
.db2-status-red    { background: #fee2e2; color: #991b1b; border: 1.5px solid #fca5a5; }
.db2-status-blue   { background: #eff6ff; color: #1e40af; border: 1.5px solid #bfdbfe; }
.db2-status-link {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  color: inherit;
}
.db2-status-link:hover { opacity: 1; text-decoration: underline; }

/* Big Four Buttons */
.db2-big-four {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.db2-big-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 14px;
  padding: 1.1rem 0.75rem;
  text-decoration: none;
  text-align: center;
  min-height: 90px;
  position: relative;
  transition: transform 0.1s, box-shadow 0.1s;
}
.db2-big-btn:active { transform: scale(0.97); }
.db2-big-btn-dark  { background: var(--charcoal); color: #fff; }
.db2-big-btn-orange { background: var(--orange); color: #fff; }
.db2-big-icon { font-size: 1.6rem; line-height: 1; }
.db2-big-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.db2-big-badge {
  background: #fff;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.db2-big-btn-dark .db2-big-badge { color: var(--charcoal); }

/* Co-Pilot strip */
.db2-copilot-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: background 0.15s;
}
.db2-copilot-strip:hover { background: #1a1a1a; }
.db2-copilot-icon { font-size: 1.5rem; flex-shrink: 0; }
.db2-copilot-text { flex: 1; }
.db2-copilot-name { font-size: 0.88rem; font-weight: 800; color: #fff; }
.db2-copilot-name sup { font-size: 0.5em; vertical-align: super; }
.db2-copilot-sub  { font-size: 0.72rem; color: var(--orange); margin-top: 2px; }
.db2-copilot-arrow { font-size: 1.1rem; color: var(--orange); font-weight: 900; flex-shrink: 0; }

/* Quick Tasks */
.db2-quick-tasks { margin-bottom: 1rem; }
.db2-qt-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #888;
  margin-bottom: 0.45rem;
}
.db2-qt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}
.db2-qt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid rgba(247, 95, 7, 0.38);
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.25;
  min-height: 44px;
  transition: background 0.12s, border-color 0.12s;
}
.db2-qt-btn:hover, .db2-qt-btn:active {
  background: #f75f07;
  border-color: #f75f07;
  color: #fff;
}

/* ── After the Job — Big Four dashboard card ───────────────────────── */
.db2-after-job-card {
  background: var(--charcoal);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.db2-after-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem 0.5rem;
}
.db2-after-job-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
}
.db2-after-job-title sup { font-size: 0.55em; }
.db2-after-job-sub {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.15rem;
}
.db2-after-job-body {
  padding: 0 1.1rem 1rem;
}
.db2-after-job-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  color: #bbb;
}
.db2-after-job-num {
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}
.db2-after-job-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.db2-after-job-link-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #ccc;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db2-after-job-copy-btn {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.5rem 0.95rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.12s;
}
.db2-after-job-copy-btn:active { background: #d94e00; }
.db2-after-job-open {
  display: block;
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  text-align: right;
}
.db2-after-job-open:hover { color: var(--orange); }

/* Responsive */
@media (max-width: 360px) {
  .db2-qt-grid { grid-template-columns: 1fr 1fr; }
  .db2-greeting { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Sidebar v2 — no-emoji, collapsible Business Tools
   ═══════════════════════════════════════════════════════════════════════ */

/* Sidebar links without the sl-icon span now just need the label flush */
.sidebar-link .sl-label { flex: 1; }

/* Collapsible trigger button */
.sl-collapsible-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #888;
  padding: 0.55rem 0.75rem 0.3rem;
  border-radius: 0;
  font-family: inherit;
}
.sl-collapsible-trigger:hover { color: var(--orange); }
.sl-collapsible-trigger-orange { color: var(--orange) !important; }
.sl-collapsible-trigger-orange .sl-chevron { color: var(--orange); }
.sl-collapsible-trigger-blue { color: #0284c7 !important; }
.sl-collapsible-trigger-blue .sl-chevron { color: #0284c7; }
.sl-collapsible-trigger-blue:hover { color: #0369a1 !important; }
.sl-chevron {
  font-size: 1rem;
  font-weight: 400;
  transition: transform 0.2s;
  display: inline-block;
  color: #aaa;
}
.sl-collapsible-body { padding: 0; }

/* Feedback sidebar trigger inherits sidebar-link styles cleanly */
.sl-feedback-trigger {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ── Big Three layout ───────────────────────────────────────────────── */
.db2-big-three {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.db2-big-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.db2-big-btn-wide {
  flex-direction: row;
  justify-content: flex-start;
  min-height: 68px;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
}
.db2-big-btn-wide .db2-big-icon { font-size: 1.5rem; }
.db2-big-btn-wide .db2-big-label { font-size: 1rem; }
.db2-big-btn-wide .db2-big-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 3px 10px;
}

/* Co-Pilot big button — dark charcoal with orange accent */
.db2-big-btn-copilot {
  background: #1a1a1a;
  color: #f75f07;
  border: 2px solid #f75f07;
}
.db2-big-btn-copilot .db2-big-label { color: #f75f07; }
.db2-big-btn-copilot:active { background: #f75f07; color: #fff; }
.db2-big-btn-copilot:active .db2-big-label { color: #fff; }

/* ── More Features — compact 5 strip ─────────────────────────────── */
.db2-more-features {
  margin-bottom: 1.25rem;
}
.db2-more-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.db2-more-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.25rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.db2-more-btn:hover { background: #3a3a3a; color: #fff; text-decoration: none; }
.db2-more-btn:active { transform: scale(0.96); background: var(--orange); }
.db2-more-icon { font-size: 1.2rem; line-height: 1; }
.db2-more-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #ccc;
}
.db2-more-btn:active .db2-more-label { color: #fff; }

/* ── FAMILY TIME SECTION — @tradiesbio.aispeaking ─────────────────── */
.lp-familytime-section {
  background: linear-gradient(160deg, #0f1923 0%, #1a2535 50%, #0f1923 100%);
  padding: 5rem 0;
  text-align: center;
}

/* Images */
.lp-ft-images {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin: 0 auto 3rem;
  max-width: 900px;
}
.lp-ft-img-wrap {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.lp-ft-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Voice commands */
.lp-ft-commands {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(247,95,7,0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.75rem;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}
.lp-ft-cmd-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.lp-ft-cmd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.lp-ft-cmd-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: left;
}
.lp-ft-cmd-phrase {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f75f07;
  font-family: 'Courier New', Courier, monospace;
  margin-bottom: 0.35rem;
}
.lp-ft-cmd-result {
  font-size: 0.82rem;
  color: #c8d8ea;
  line-height: 1.5;
}
.lp-ft-android-note {
  font-size: 0.8rem;
  color: rgba(200,216,234,0.65);
  margin: 0;
}

/* YouTube / Instagram callout */
.lp-ft-youtube {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lp-ft-yt-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lp-ft-yt-handle {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}
.lp-ft-yt-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.lp-ft-yt-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.lp-ft-yt-desc {
  font-size: 0.9rem;
  color: #c8d8ea;
  line-height: 1.75;
  margin: 0;
}
.lp-ft-yt-series {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.lp-ft-yt-series-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(200,216,234,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lp-ft-yt-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #c8d8ea;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.lp-ft-yt-pill-orange {
  background: rgba(247,95,7,0.18);
  border-color: rgba(247,95,7,0.4);
  color: #f9a87d;
}
.lp-ft-yt-link {
  display: inline-block;
  background: #FF0000;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  transition: opacity 0.15s;
}
.lp-ft-yt-link:hover { opacity: 0.88; color: #fff; text-decoration: none; }
.lp-ft-ig-link {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

/* Closing tagline block */
.lp-ft-tagline-block {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lp-ft-tagline-icon {
  font-size: 2.25rem;
}
.lp-ft-tagline-quote {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  border: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-style: italic;
}
.lp-ft-tagline-sub {
  font-size: 0.88rem;
  color: rgba(200,216,234,0.65);
  margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .lp-ft-images {
    flex-direction: column;
  }
  .lp-ft-cmd-grid {
    grid-template-columns: 1fr;
  }
  .lp-ft-youtube {
    padding: 1.25rem 1.1rem;
  }
  .lp-ft-tagline-quote {
    font-size: 1.05rem;
  }
}
