/* TrueSignal Portal — brand-aligned dark theme */

/* ---------- Design tokens ---------- */
:root {
  --ts-green:       #1e8a5a;
  --ts-green-hover: #166b46;
  --ts-accent:      #3ddc84;
  --bg:             #0c0e10;
  --surface:        #111417;
  --surface-2:      #181c20;
  --border:         rgba(255, 255, 255, 0.07);
  --border-strong:  rgba(255, 255, 255, 0.12);
  --text-primary:   #f0f2f5;
  --text-secondary: rgba(240, 242, 245, 0.55);
  --text-muted:     rgba(240, 242, 245, 0.35);
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

@keyframes spin { to { transform: rotate(360deg); } }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 14, 16, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 28px; width: auto; display: block; }

.btn-logout {
  font-size: 0.82rem;
  font-family: var(--sans);
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.btn-logout:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* ---------- Main ---------- */
.main-content {
  padding: 0 1.5rem;
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Auth / Profile card ---------- */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  max-width: 460px;
  margin: 2.75rem auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

/* ---------- Dashboard card ---------- */
.dashboard {
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  max-width: 660px;
  margin: 2.75rem auto;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255,255,255,0.04) inset;
}

h1 { margin: 0 0 0.25rem; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.subtitle { color: var(--text-secondary); margin: 0 0 1.75rem; font-size: 0.92rem; }

/* ---------- Form elements ---------- */
label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

input, select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #2c3440;
  color: var(--text-primary);
  font-size: 0.93rem;
  font-family: var(--sans);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(240,242,245,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

select option {
  background: #2c3440;
  color: var(--text-primary);
}

input:focus, select:focus {
  border-color: var(--ts-green);
  box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.18);
}
input:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  background: #232a33;
}

/* ---------- Buttons ---------- */
.btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: none;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--ts-green);
  color: #fff;
}
.btn-primary:hover { background: var(--ts-green-hover); }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  margin-top: 0.75rem;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }

.btn-google {
  background: #fff;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 500;
}
.btn-google:hover { background: #f3f3f3; }

/* ---------- Loading ---------- */
.btn.loading, .btn-img.loading {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

/* ---------- Full-page overlay ---------- */
.page-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 16, 0.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(2px);
}
.page-overlay.active { display: flex; }
.page-overlay-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 2.5px solid rgba(30, 138, 90, 0.2);
  border-top-color: var(--ts-green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.page-overlay-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--sans);
}

/* ---------- Divider / toggles ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--text-muted);
  margin: 1.25rem 0;
  font-size: 0.82rem;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-toggle { text-align: center; margin-top: 1.1rem; font-size: 0.85rem; color: var(--text-secondary); }
.auth-toggle a { color: var(--ts-accent); text-decoration: none; font-weight: 500; }
.auth-toggle a:hover { text-decoration: underline; }

/* ---------- Alerts ---------- */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.alert-error {
  background: rgba(220, 60, 60, 0.1);
  color: #f5b5b5;
  border: 1px solid rgba(220, 60, 60, 0.25);
}
.alert-success {
  background: rgba(40, 180, 100, 0.1);
  color: #7ee8a2;
  border: 1px solid rgba(40, 180, 100, 0.25);
}

/* ---------- Connected banner ---------- */
.connect-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(30, 138, 90, 0.1);
  border: 1px solid rgba(30, 138, 90, 0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(61, 220, 132, 0.9);
  line-height: 1.5;
}
.connect-success-banner strong { color: var(--ts-accent); }
.connect-success-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--ts-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* ---------- Dashboard body ---------- */
.dashboard-intro {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.dashboard-intro p { margin: 0 0 0.75rem; }
.dashboard-intro p:last-child { margin-bottom: 0; }
.dashboard-intro strong { color: var(--text-primary); }

.dashboard-help {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
.dashboard-help a { color: var(--ts-accent); text-decoration: none; }
.dashboard-help a:hover { text-decoration: underline; }

/* ---------- CRM list ---------- */
.crm-list { margin: 0.5rem 0 0; }
.crm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.crm-row:last-child { border-bottom: none; }
.crm-row .btn { width: auto; margin-top: 0; flex-shrink: 0; min-width: 9rem; }

/* Official Intuit "Connect to QuickBooks" image button */
.btn-img {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.btn-img .c2qb-img {
  height: 36px;
  width: auto;
  max-width: 200px;
  display: block;
}

.crm-info { display: flex; flex-direction: column; gap: 0.25rem; }
.crm-name { font-weight: 600; font-size: 0.95rem; }
.crm-status { font-size: 0.8rem; color: var(--text-muted); }
.crm-status.connected { color: var(--ts-accent); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 2.5rem 1rem;
  line-height: 1.8;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-secondary); }

/* ============================================================
   SPLIT LAYOUT — auth pages (login / profile / verify)
   ============================================================ */

body.auth-page .site-header  { display: none; }
body.auth-page .main-content { padding: 0; }
body.auth-page .site-footer  { display: none; }
body.auth-page               { background: var(--bg); }

.split-layout {
  display: flex;
  min-height: 100vh;
}

/* ---- Left panel (dark, brand) ---- */
.split-left {
  width: 42%;
  flex-shrink: 0;
  background: #0d1117;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.75rem;
  position: relative;
  overflow: hidden;
}

.split-left-logo {
  display: block;
  margin-bottom: 3rem;
}
.split-left-logo img { height: 26px; width: auto; }

.split-left-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.split-left-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.split-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: auto; padding-top: 2rem; }
.split-feature  { display: flex; align-items: flex-start; gap: 0.85rem; }
.split-feature-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: rgba(30, 138, 90, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.split-feature-icon svg { width: 1rem; height: 1rem; color: var(--ts-accent); }
.split-feature-body {}
.split-feature-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.2rem;
}
.split-feature-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* decorative green glow bottom-left */
.split-left::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(30,138,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Right panel (light, form) ---- */
.split-right {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  overflow-y: auto;
}

.split-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Light-panel typography */
.split-right h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}
.split-right .subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 1.75rem;
}

/* Light-panel form elements */
.split-right label {
  color: #374151;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0.85rem 0 0.3rem;
}
.split-right input,
.split-right select {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.split-right input::placeholder { color: #9ca3af; }
.split-right input:focus,
.split-right select:focus {
  border-color: var(--ts-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.12);
}
.split-right input:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}
.split-right select option { background: #fff; color: #111827; }

/* Light-panel buttons */
.split-right .btn-primary {
  background: var(--ts-green);
  color: #fff;
}
.split-right .btn-primary:hover { background: var(--ts-green-hover); }

.split-right .btn-google {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.split-right .btn-google:hover { background: #f9fafb; }

.split-right .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}
.split-right .btn-secondary:hover { background: #e9eaec; }

/* Light-panel divider */
.split-right .divider {
  color: #9ca3af;
}
.split-right .divider::before,
.split-right .divider::after {
  background: #e5e7eb;
}

/* Light-panel toggle / alert */
.split-right .auth-toggle { color: #6b7280; }
.split-right .auth-toggle a { color: var(--ts-green); }
.split-right .alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* ── Back button (auth method chooser) ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 1.25rem;
  color: #6b7280;
  font-size: 0.85rem;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-back:hover { color: #374151; }
.btn-back svg { flex-shrink: 0; }

/* ── Email chooser button (icon + text) ── */
.btn-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

/* Footer strip inside split-right */
.split-footer {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 2rem;
  line-height: 1.8;
}
.split-footer a { color: #9ca3af; text-decoration: none; }
.split-footer a:hover { color: #6b7280; }

/* ---- Responsive: collapse left panel below 768px ---- */
@media (max-width: 768px) {
  .split-left  { display: none; }
  .split-right { padding: 2rem 1.5rem; }
}

/* ---------- QuickBooks Disconnected page ---------- */
.disconnected-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.disconnected-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #f87171;
  margin-bottom: 1.5rem;
}

.disconnected-page h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.disconnected-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

.disconnected-implications,
.disconnected-steps {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.disconnected-implications h2,
.disconnected-steps h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.disconnected-implications ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.disconnected-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.disconnected-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ts-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.disconnected-steps li > div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.disconnected-steps li > div p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disconnected-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
}

/* ============================================================
   SEARCHABLE INDUSTRY COMBOBOX
   ============================================================ */

.industry-combo { position: relative; }

.industry-combo-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.industry-combo-search {
  width: 100%;
  padding: 0.6rem 2rem 0.6rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  color: #111827;
  cursor: pointer;
  box-sizing: border-box;
}

.industry-combo-search:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

.industry-combo-caret {
  position: absolute;
  right: 0.65rem;
  pointer-events: none;
  color: #9ca3af;
}

.industry-combo-list {
  display: none;
  position: absolute;
  z-index: 200;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}

.industry-combo-option {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}

.industry-combo-option:hover,
.industry-combo-option.is-focused { background: #f3f4f6; }

.industry-combo-option.is-selected {
  background: #eef2ff;
  color: #4338ca;
  font-weight: 500;
}


/* ============================================================
   LEARN MORE / LANDING PAGE  (/quickbooks)
   ============================================================ */

body.lm-page .main-content {
  padding: 0;
  display: block;
  min-height: auto;
}

.lm-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Hero ── */
.lm-hero {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, rgba(30,138,90,0.07) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.lm-hero-inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.lm-hero-text { flex: 1; }

.lm-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(30,138,90,0.12);
  color: var(--ts-accent);
  border: 1px solid rgba(30,138,90,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lm-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 1.1rem;
}

.lm-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.lm-hero-ctas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ts-green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-cta:hover  { background: var(--ts-green-hover); }
.btn-cta:active { transform: scale(0.98); }

/* TrustRecord sample card */
.lm-trust-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.lm-trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.lm-trust-verified {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--ts-accent);
  font-weight: 600;
}
.lm-trust-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lm-trust-biz {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.lm-trust-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lm-metric { display: flex; flex-direction: column; gap: 0.2rem; }
.lm-metric-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.lm-metric-label { font-size: 0.72rem; color: var(--text-muted); }
.lm-trust-source {
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

/* ── Sections ── */
.lm-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.lm-section-alt { background: var(--surface); }
.lm-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ts-accent);
  margin: 0 0 0.5rem;
}
.lm-section-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 2.5rem;
}
.lm-body-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: -1.5rem 0 2.5rem;
}

/* ── Before / After ── */
.lm-before-after {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.lm-before-after-arrow {
  font-size: 1.5rem;
  color: var(--ts-accent);
  margin-top: 4rem;
  flex-shrink: 0;
}
.lm-ai-box {
  flex: 1;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid var(--border-strong);
}
.lm-ai-bad  { background: rgba(220,38,38,0.05); border-color: rgba(220,38,38,0.2); }
.lm-ai-good { background: rgba(30,138,90,0.05); border-color: rgba(30,138,90,0.25); }
.lm-ai-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.lm-ai-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.lm-ai-list li {
  font-size: 0.87rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lm-unknown {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(220,38,38,0.12);
  color: #f87171;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
}
.lm-known {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
}
.lm-verified-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(30,138,90,0.18);
  color: var(--ts-accent);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
}
.lm-ai-verdict {
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1rem;
}
.lm-ai-verdict.bad  { color: #f87171; }
.lm-ai-verdict.good { color: var(--ts-accent); }

/* ── Steps ── */
.lm-steps { display: flex; align-items: flex-start; }
.lm-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lm-step-divider {
  width: 2rem;
  flex-shrink: 0;
  height: 1px;
  background: var(--border-strong);
  margin-top: 1.2rem;
}
.lm-step-num {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(30,138,90,0.15);
  color: var(--ts-accent);
  border: 1px solid rgba(30,138,90,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lm-step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.4rem;
}
.lm-step-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}
.lm-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lm-step-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}

/* ── Feature cards ── */
.lm-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.lm-feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.5rem;
}
.lm-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(30,138,90,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--ts-accent);
}
.lm-feature-icon svg { width: 1.1rem; height: 1.1rem; }
.lm-feature-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.4rem;
}
.lm-feature-card p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Security grid ── */
.lm-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.lm-security-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.lm-security-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(30,138,90,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-accent);
}
.lm-security-icon svg { width: 1.1rem; height: 1.1rem; }
.lm-security-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}
.lm-security-item p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Industries ── */
.lm-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.lm-industry-tag {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.lm-industry-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── CTA strip ── */
.lm-cta-strip {
  border-bottom: none;
  background: linear-gradient(180deg, rgba(30,138,90,0.06) 0%, transparent 100%);
  border-top: 1px solid rgba(30,138,90,0.15);
}
.lm-cta-headline {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}
.lm-cta-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
}
.lm-cta-contact {
  margin: 1.25rem 0 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.lm-cta-contact a { color: var(--ts-accent); text-decoration: none; }
.lm-cta-contact a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .lm-hero-inner { flex-direction: column; }
  .lm-trust-card { width: 100%; max-width: 340px; }
  .lm-before-after { flex-direction: column; }
  .lm-before-after-arrow { display: none; }
  .lm-steps { flex-direction: column; gap: 2rem; }
  .lm-step-divider { display: none; }
  .lm-features { grid-template-columns: 1fr 1fr; }
  .lm-security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lm-features { grid-template-columns: 1fr; }
  .lm-section { padding: 3rem 0; }
}

.disconnected-help {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.disconnected-help a { color: var(--ts-accent); text-decoration: none; }
.disconnected-help a:hover { text-decoration: underline; }
