@import url('/css/mobile-android.css');
/* SiteLine Design System — "Job site confidence"
   Single source of truth. Mirrors VitalCoach structure.
   Brand: Home Depot Orange #F96302 + dark slate #0C1219 (updated 2026-04-25).
*/

:root {
  /* Dark-mode-first tokens (landing page is dark) */
  --sl-bg: #0C1219;
  --sl-bg-elev: #1A2332;
  --sl-surface: #1A2332;
  --sl-surface-2: #243042;
  --sl-ink: #E2E8F0;
  --sl-ink-2: #CBD5E1;
  --sl-ink-3: #94A3B8;
  --sl-ink-4: #64748B;
  --sl-line: rgba(226,232,240,0.08);
  --sl-line-2: rgba(226,232,240,0.14);

  /* Accents — contractor orange (Home Depot-style) */
  --sl-primary: #F96302;
  --sl-primary-dark: #C24B00;
  --sl-orange: #F96302;
  --sl-orange-ink: #FFFFFF;
  --sl-orange-dark: #C24B00;
  --sl-accent: #00E87A;
  --sl-steel: #0F172A;
  --sl-steel-soft: #1E293B;
  --sl-amber: #FCD34D;
  --sl-success: #00E87A;

  /* BizBot parent */
  --bizbot-green: #00E87A;

  /* Type */
  --sl-font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sl-font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sl-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Radii */
  --sl-r-sm: 8px;
  --sl-r: 14px;
  --sl-r-lg: 20px;
  --sl-r-xl: 28px;

  /* Shadow */
  --sl-shadow-sm: 0 2px 8px rgba(0,0,0,0.24);
  --sl-shadow: 0 8px 24px rgba(0,0,0,0.32);
  --sl-shadow-orange: 0 8px 20px rgba(249,99,2,0.40);

  /* Layout */
  --sl-container: 1100px;
}

/* Light override (app pages that need white bg) */
[data-theme="light"] {
  --sl-bg: #FFFFFF;
  --sl-bg-elev: #FFFFFF;
  --sl-surface: #F7F9FB;
  --sl-surface-2: #EFF2F6;
  --sl-ink: #0F172A;
  --sl-ink-2: #1E293B;
  --sl-ink-3: #5A6B7D;
  --sl-ink-4: #9AA5B1;
  --sl-line: rgba(15,23,42,0.08);
  --sl-line-2: rgba(15,23,42,0.14);
  --sl-shadow-sm: 0 2px 8px rgba(28,43,58,0.06);
  --sl-shadow: 0 8px 24px rgba(28,43,58,0.08);
}

/* Base */
* { box-sizing: border-box; }
html { color: var(--sl-ink); background: var(--sl-bg); }
html, body {
  margin: 0; padding: 0;
  font-family: var(--sl-font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Type utilities */
.sl-display {
  font-family: var(--sl-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.sl-mono { font-family: var(--sl-font-mono); font-feature-settings: 'ss01' 1, 'ss02' 1; }
.sl-eyebrow {
  font-family: var(--sl-font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sl-ink-3);
}

/* Container */
.sl-container { width: 100%; max-width: var(--sl-container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.sl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: none; cursor: pointer;
  font-family: var(--sl-font-sans); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  transition: transform 0.12s, background 0.12s, box-shadow 0.12s;
  text-decoration: none;
}
.sl-btn:active { transform: scale(0.97); }
.sl-btn-primary { background: var(--sl-orange); color: var(--sl-orange-ink); }
.sl-btn-primary:hover { background: var(--sl-orange-dark); box-shadow: var(--sl-shadow-orange); }
.sl-btn-dark { background: var(--sl-steel); color: #FFFFFF; }
.sl-btn-dark:hover { background: #000814; }
.sl-btn-ghost { background: transparent; color: var(--sl-ink); border: 1px solid var(--sl-line-2); }
.sl-btn-ghost:hover { background: var(--sl-line); border-color: var(--sl-orange); color: var(--sl-orange); }
.sl-btn-sm { padding: 10px 16px; font-size: 13px; }

/* Cards / chips / pills */
.sl-card { background: var(--sl-bg-elev); border-radius: var(--sl-r-lg); border: 1px solid var(--sl-line); box-shadow: var(--sl-shadow-sm); }
.sl-pro-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--sl-steel); color: var(--sl-accent);
  font-family: var(--sl-font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; padding: 3px 7px; border-radius: 4px; text-transform: uppercase;
}
.sl-free-pill {
  display: inline-flex; align-items: center;
  background: var(--sl-line); color: var(--sl-ink-3);
  font-family: var(--sl-font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; padding: 3px 7px; border-radius: 4px; text-transform: uppercase;
}
.sl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--sl-surface); color: var(--sl-ink-2);
  font-size: 12px; font-weight: 500; border: 1px solid var(--sl-line);
}
.sl-chip--solid { background: var(--sl-steel); color: #FFFFFF; border-color: transparent; }
.sl-chip--orange { background: var(--sl-orange); color: var(--sl-orange-ink); border-color: transparent; }

.sl-progress { height: 6px; background: var(--sl-line); border-radius: 999px; overflow: hidden; }
.sl-progress > span { display: block; height: 100%; background: var(--sl-orange); border-radius: inherit; }

/* ===== NAV ===== */
.sl-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,18,25,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--sl-primary);
}
.sl-nav-inner {
  max-width: var(--sl-container);
  margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sl-nav-logo {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--sl-ink);
  font-family: var(--sl-font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em;
}
.sl-nav-logo .accent { color: var(--sl-orange); }
.sl-nav-links { display: flex; align-items: center; gap: 22px; }
.sl-nav-links a { color: var(--sl-ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.sl-nav-links a:hover { color: var(--sl-orange); }
.sl-nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 768px) {
  .sl-nav-links, .sl-nav-cta { display: none; }
}
/* Mobile: pin the injected hamburger (mobile-nav.js appends .bb-burger as a sibling of
   .sl-nav-inner) to the header's RIGHT instead of letting it stack below the logo, which
   was doubling the header height (Steve 2026-06-20). .sl-nav is position:sticky, so the
   absolute burger anchors to it; out of flow → header collapses to the single logo row. */
@media (max-width: 767px) {
  .sl-nav .bb-burger {
    position: absolute;
    top: 50%;
    right: max(16px, env(safe-area-inset-right));
    transform: translateY(-50%);
  }
}

/* ===== HERO (dark slate with amber accent) ===== */
.sl-hero {
  background: linear-gradient(145deg, #050B12 0%, #0C1219 40%, #1A2332 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
/* Orange glow rays */
.sl-hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -10%;
  width: 900px; height: 900px;
  transform: translateY(-50%);
  background: repeating-conic-gradient(
    rgba(249,99,2,0.06) 0deg 9deg,
    transparent 9deg 18deg
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.sl-hero-blob {
  position: absolute;
  top: -160px; right: -140px;
  width: 480px; height: 480px;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
  opacity: 1;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}
.sl-hero-inner { position: relative; z-index: 2; max-width: var(--sl-container); margin: 0 auto; padding: 0 24px; }
.sl-hero-kicker {
  font-family: var(--sl-font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.sl-hero h1 {
  font-family: var(--sl-font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 0.98;
  margin: 18px 0 0;
}
/* Orange accent on dark — readable contrast */
.sl-hero h1 .accent { color: #F96302; }
.sl-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 18px; line-height: 1.5;
  max-width: 540px; margin-top: 22px;
}
.sl-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.sl-hero .sl-btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.25); }
.sl-hero .sl-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
.sl-hero-micro {
  font-size: 11px; color: rgba(255,255,255,0.55);
  margin-top: 14px; font-family: var(--sl-font-mono); letter-spacing: 0.06em;
}

/* ===== STAT STRIP ===== */
.sl-stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: var(--sl-container);
  margin: -40px auto 0; padding: 0 24px;
  position: relative; z-index: 3;
}
.sl-stat {
  background: var(--sl-surface-2);
  border: 1px solid var(--sl-line);
  border-top: 3px solid var(--sl-steel);
  padding: 18px 20px;
  border-radius: var(--sl-r);
  box-shadow: var(--sl-shadow-sm);
}
.sl-stat:nth-child(1) { border-top-color: var(--sl-orange); }
.sl-stat:nth-child(2) { border-top-color: var(--sl-accent); }
.sl-stat:nth-child(3) { border-top-color: var(--sl-amber); }
.sl-stat:nth-child(4) { border-top-color: var(--sl-success); }
.sl-stat-n {
  font-family: var(--sl-font-display);
  font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.sl-stat-l { font-size: 12px; color: var(--sl-ink-3); margin-top: 6px; line-height: 1.35; }
@media (max-width: 768px) {
  .sl-stat-strip { grid-template-columns: 1fr 1fr; }
}

/* ===== SECTIONS ===== */
.sl-section { max-width: var(--sl-container); margin: 0 auto; padding: 72px 24px; }
.sl-section-gray { background: var(--sl-surface-2); }
.sl-section-gray-inner { max-width: var(--sl-container); margin: 0 auto; padding: 72px 24px; }
.sl-section h2, .sl-section-gray-inner h2 {
  font-family: var(--sl-font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.sl-section h2 .accent, .sl-section-gray-inner h2 .accent { color: var(--sl-orange); }

/* PAIN GRID */
.sl-pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.sl-pain {
  padding: 18px 20px; background: var(--sl-bg-elev);
  border: 1px solid var(--sl-line); border-radius: var(--sl-r);
}
.sl-pain-before {
  font-size: 13px; color: var(--sl-ink-3);
  text-decoration: line-through; text-decoration-color: var(--sl-orange);
  margin-bottom: 8px;
}
.sl-pain-after { font-size: 15px; font-weight: 600; line-height: 1.4; }
@media (max-width: 768px) { .sl-pain-grid { grid-template-columns: 1fr; } }

/* FEATURE GRID */
.sl-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.sl-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px;
  background: var(--sl-bg-elev); border: 1px solid var(--sl-line);
  border-radius: var(--sl-r);
  transition: border-color 0.12s, transform 0.12s, box-shadow 0.12s;
}
.sl-feature:hover { border-color: var(--sl-orange); transform: translateY(-2px); box-shadow: var(--sl-shadow); }
.sl-feature-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--sl-steel); color: var(--sl-orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; font-weight: 700;
}
.sl-feature-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.sl-feature-desc { font-size: 13px; color: var(--sl-ink-3); margin-top: 4px; line-height: 1.4; }
@media (max-width: 768px) { .sl-feature-grid { grid-template-columns: 1fr; } }

/* PRICING */
.sl-pricing {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 14px;
}
.sl-plan {
  border: 1px solid var(--sl-line); border-radius: var(--sl-r-lg);
  padding: 28px 26px; background: var(--sl-surface);
  position: relative; display: flex; flex-direction: column;
}
.sl-plan.pro {
  background: linear-gradient(145deg, #1A2332, #243042);
  color: #FFFFFF;
  border-color: var(--sl-primary);
  border-width: 2px;
  transform: scale(1.02);
}
.sl-plan-name {
  font-family: var(--sl-font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sl-ink-3);
}
.sl-plan.pro .sl-plan-name { color: var(--sl-orange); }
.sl-plan-price {
  font-family: var(--sl-font-display);
  font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  margin-top: 6px;
}
.sl-plan-price span {
  font-size: 14px; color: var(--sl-ink-3);
  font-weight: 500; letter-spacing: 0;
}
.sl-plan.pro .sl-plan-price span { color: rgba(255,255,255,0.55); }
.sl-plan ul {
  margin: 18px 0 24px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.sl-plan li {
  font-size: 14px; line-height: 1.4;
  padding-left: 20px; position: relative;
}
.sl-plan li::before {
  content: ''; position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border-radius: 2px; background: var(--sl-steel);
}
.sl-plan.pro li::before { background: var(--sl-orange); }
.sl-plan-best {
  position: absolute; top: -10px; right: 18px;
  background: var(--sl-orange); color: var(--sl-orange-ink);
  font-family: var(--sl-font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase;
}
.sl-plan .sl-btn { width: 100%; }
@media (max-width: 900px) {
  .sl-pricing { grid-template-columns: 1fr; }
  .sl-plan.pro { transform: none; }
}

/* QUOTES */
.sl-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sl-q {
  padding: 22px 24px; background: var(--sl-bg-elev);
  border-radius: var(--sl-r); border-left: 4px solid var(--sl-orange);
}
.sl-q-text { font-size: 15px; font-style: italic; line-height: 1.5; color: var(--sl-ink); }
.sl-q-who {
  font-size: 11px; color: var(--sl-ink-3); margin-top: 12px;
  font-family: var(--sl-font-mono); letter-spacing: 0.06em;
}
@media (max-width: 768px) { .sl-quote-grid { grid-template-columns: 1fr; } }

/* FAQ */
.sl-faq { display: flex; flex-direction: column; gap: 10px; }
.sl-faq details {
  background: var(--sl-bg-elev); border: 1px solid var(--sl-line);
  border-radius: var(--sl-r); padding: 18px 22px;
}
.sl-faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.sl-faq details[open] summary { margin-bottom: 10px; }
.sl-faq p { color: var(--sl-ink-3); font-size: 14px; line-height: 1.5; margin: 0; }

/* HOW IT WORKS */
.sl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.sl-step { position: relative; padding: 28px 24px; background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: var(--sl-r-lg); }
.sl-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sl-primary); color: #fff;
  font-family: var(--sl-font-display); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sl-step-title { font-family: var(--sl-font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.sl-step-body { font-size: 14px; color: var(--sl-ink-3); line-height: 1.55; }
.sl-step-connector {
  position: absolute; top: 40px; right: -13px;
  width: 26px; height: 2px; background: var(--sl-primary); z-index: 1;
}
@media (max-width: 768px) {
  .sl-steps { grid-template-columns: 1fr; }
  .sl-step-connector { display: none; }
}

/* FOOTER */
.sl-footer {
  border-top: 1px solid var(--sl-line);
  margin-top: 48px;
  padding: 36px 24px;
  background: var(--sl-bg);
}
.sl-footer-inner {
  max-width: var(--sl-container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.sl-footer-brand { font-family: var(--sl-font-display); font-weight: 700; font-size: 15px; }
.sl-footer-meta { font-size: 12px; color: var(--sl-ink-3); margin-top: 4px; }
.sl-footer-meta a { color: var(--sl-accent); text-decoration: none; }
.sl-footer-meta a:hover { text-decoration: underline; }
.sl-footer-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* AUTH (login/signup) */
.sl-auth-wrap {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background: var(--sl-surface);
}
.sl-auth-card {
  width: 100%; max-width: 420px;
  background: var(--sl-bg-elev);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-r-lg);
  padding: 36px 32px;
  box-shadow: var(--sl-shadow);
}
.sl-auth-card h1 {
  font-family: var(--sl-font-display);
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.sl-auth-card p.sl-auth-sub { color: var(--sl-ink-3); margin: 0 0 24px; font-size: 14px; }
.sl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sl-field label {
  font-family: var(--sl-font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--sl-ink-3);
}
.sl-field input, .sl-field select, .sl-field textarea {
  font-family: var(--sl-font-sans);
  padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--sl-line-2); border-radius: var(--sl-r-sm);
  background: var(--sl-bg-elev); color: var(--sl-ink);
  outline: none; transition: border-color 0.12s;
}
.sl-field input:focus, .sl-field select:focus, .sl-field textarea:focus {
  border-color: var(--sl-orange);
}
.sl-auth-card .sl-btn { width: 100%; padding: 14px; font-size: 15px; }
.sl-auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--sl-ink-3); }
.sl-auth-foot a { color: var(--sl-orange); font-weight: 600; text-decoration: none; }
.sl-auth-foot a:hover { text-decoration: underline; }

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 900px) {
  .sl-hero { padding: 56px 0 72px; }
  .sl-hero-blob {
    width: 260px; height: 260px;
    top: -120px; right: -100px;
    opacity: 0.55;
  }
  .sl-hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .sl-hero-sub { font-size: 16px; }
}

@media (max-width: 640px) {
  .sl-nav-inner { padding: 0 16px; }
  .sl-nav-links { display: none; }
  .sl-hero { padding: 44px 0 56px; }
  .sl-hero-inner { padding: 0 20px; }
  .sl-hero-blob {
    width: 200px; height: 200px;
    top: -90px; right: -80px;
    opacity: 0.45;
  }
  .sl-hero h1 { font-size: clamp(32px, 10vw, 44px); line-height: 1.02; }
  .sl-hero-sub { font-size: 15px; max-width: 100%; }
  .sl-hero-ctas { flex-direction: column; align-items: stretch; }
  .sl-hero-ctas .sl-btn { width: 100%; justify-content: center; }
  .sl-plan { padding: 24px 20px; }
  .sl-quote-grid, .sl-pricing { grid-template-columns: 1fr; gap: 16px; }
  .sl-footer-inner { flex-direction: column; align-items: flex-start; }
  .sl-auth-card { padding: 28px 22px; border-radius: var(--sl-r); }
  .sl-auth-card h1 { font-size: 26px; }
}

@media (max-width: 430px) {
  .sl-nav-inner { padding: 0 14px; height: 58px; }
  .sl-nav-logo { font-size: 17px; }
  .sl-hero { padding: 36px 0 48px; }
  .sl-hero-blob {
    width: 160px; height: 160px;
    top: -70px; right: -60px;
    opacity: 0.38;
  }
  .sl-hero h1 { font-size: clamp(28px, 10vw, 38px); }
  .sl-hero-kicker { font-size: 11px; letter-spacing: 0.12em; }
  .sl-hero-sub { font-size: 14.5px; line-height: 1.5; margin-top: 16px; }
  .sl-btn { padding: 12px 16px; font-size: 14px; }
  .sl-btn-sm { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 375px) {
  .sl-hero { padding: 28px 0 40px; }
  .sl-hero-blob {
    width: 120px; height: 120px;
    top: -50px; right: -40px;
    opacity: 0.30;
  }
  .sl-hero h1 { font-size: clamp(24px, 9vw, 32px); }
  .sl-hero-sub { font-size: 14px; }
  .sl-auth-card { padding: 22px 18px; }
  .sl-auth-card h1 { font-size: 22px; }
  .sl-field input, .sl-field select, .sl-field textarea { font-size: 16px; }
}

@supports (padding: max(0px)) {
  .sl-nav-inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .sl-footer { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
}

html { overflow-x: clip; }
.sl-hero, .sl-hero-inner { max-width: 100vw; }

@media (max-width: 768px) {
  .sl-btn, .sl-nav-links a, .sl-footer-meta a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ===== ITER: A11y, SEO trust, sticky CTA, skip link ===== */
.sl-skip { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--sl-orange); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; text-decoration: none; }
.sl-skip:focus { left: 0; outline: 3px solid #fff; }

*:focus-visible { outline: 3px solid var(--sl-orange); outline-offset: 2px; border-radius: 4px; }
.sl-btn:focus-visible { outline: 3px solid var(--sl-orange); outline-offset: 3px; }

/* Trust strip */
.sl-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: var(--sl-container); margin: 36px auto 0; padding: 0 24px; }
.sl-trust-item { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--sl-bg-elev); border: 1px solid var(--sl-line); border-radius: var(--sl-r); box-shadow: var(--sl-shadow-sm); }
.sl-trust-icon { width: 32px; height: 32px; border-radius: 8px; background: #FFF1E8; color: var(--sl-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; font-weight: 700; }
.sl-trust-text { font-size: 13px; font-weight: 600; color: var(--sl-ink-2); line-height: 1.3; }
@media (max-width: 900px) { .sl-trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .sl-trust-strip { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.sl-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--sl-line-2);
  padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -4px 16px rgba(28,43,58,0.08);
}
.sl-sticky-cta .sl-btn { width: 100%; padding: 14px; font-size: 15px; }
@media (max-width: 768px) { .sl-sticky-cta { display: block; } body { padding-bottom: 72px; } }

/* Visually-hidden for a11y labels */
.sl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* FAQ (extended) */
.sl-faq summary::marker { color: var(--sl-orange); }
.sl-faq summary:focus-visible { outline: 3px solid var(--sl-orange); outline-offset: 3px; }

/* Demo video placeholder */
.sl-demo-video { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--sl-steel), var(--sl-steel-soft)); border-radius: var(--sl-r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; margin: 24px 0; }
.sl-demo-video-play { width: 72px; height: 72px; border-radius: 50%; background: var(--sl-orange); display: flex; align-items: center; justify-content: center; box-shadow: var(--sl-shadow-orange); }
.sl-demo-video-play::after { content: ''; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.sl-demo-video-label { position: absolute; bottom: 16px; left: 20px; font-family: var(--sl-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Ensure enough contrast on hero sub */
.sl-hero-sub, .hero p { color: rgba(255,255,255,0.92); }


/* ===== SL-APP v1 (shared app utilities, appended 2026-04-23) ===== */

/* Toast */
#sl-toast-host { position: fixed; top: 70px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: calc(100vw - 32px); }
.sl-toast { pointer-events: auto; background: var(--sl-steel); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; min-width: 220px; }
.sl-toast.is-in { opacity: 1; transform: translateY(0); }
.sl-toast--success { background: #059669; }
.sl-toast--error { background: #DC2626; }
.sl-toast--info { background: var(--sl-steel); }
@media (max-width: 600px) { #sl-toast-host { top: 66px; left: 8px; right: 8px; } .sl-toast { width: 100%; } }

/* Modal */
.sl-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; z-index: 9998; opacity: 0; transition: opacity .2s; padding: 16px; }
.sl-modal-overlay.is-in { opacity: 1; }
.sl-modal { background: #fff; border-radius: 16px; padding: 24px; max-width: 440px; width: 100%; box-shadow: 0 24px 64px rgba(0,0,0,.25); }
.sl-modal h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--sl-ink); }
.sl-modal p { font-size: 14px; color: var(--sl-ink-2); line-height: 1.5; margin: 0 0 20px; }
.sl-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sl-modal-actions button { padding: 10px 18px; border-radius: 10px; border: 1px solid var(--sl-line-2); background: #fff; color: var(--sl-ink); font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; }
.sl-modal-actions .sl-modal-ok { background: var(--sl-orange); color: #fff; border-color: var(--sl-orange); }
.sl-modal-actions .sl-modal-ok.is-danger { background: #DC2626; border-color: #DC2626; }
.sl-modal-actions .sl-modal-ok:hover { background: var(--sl-orange-dark); }

/* Keyboard shortcut table */
.sl-kbd-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.sl-kbd-table td { padding: 8px 6px; border-bottom: 1px solid var(--sl-line); font-size: 13px; color: var(--sl-ink-2); }
.sl-kbd-table td:first-child { white-space: nowrap; }
kbd { display: inline-block; padding: 2px 8px; border: 1px solid var(--sl-line-2); border-bottom-width: 2px; border-radius: 6px; background: #F3F4F6; font-family: var(--sl-font-mono); font-size: 11px; color: var(--sl-ink); }

/* Offline bar */
#sl-offline-bar { position: fixed; bottom: 72px; left: 0; right: 0; background: #B45309; color: #fff; padding: 10px 14px; text-align: center; font-size: 13px; font-weight: 600; z-index: 95; box-shadow: 0 -2px 8px rgba(0,0,0,.12); }
@media (min-width: 768px) { #sl-offline-bar { bottom: 0; } }

/* Save indicator */
.sl-save-indicator { font-size: 12px; font-weight: 600; color: var(--sl-ink-3); padding: 4px 10px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.sl-save-indicator.is-saving { color: #B45309; }
.sl-save-indicator.is-saving::before { content: ''; width: 8px; height: 8px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: sl-spin .7s linear infinite; }
.sl-save-indicator.is-saved { color: #059669; }
.sl-save-indicator.is-saved::before { content: '✓'; font-weight: 800; }
.sl-save-indicator.is-error { color: #DC2626; }
@keyframes sl-spin { to { transform: rotate(360deg); } }

/* Empty states */
.sl-empty { text-align: center; padding: 48px 24px; color: var(--sl-ink-3); }
.sl-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: .6; }
.sl-empty-title { font-size: 17px; font-weight: 700; color: var(--sl-ink); margin-bottom: 6px; }
.sl-empty-body { font-size: 14px; line-height: 1.5; max-width: 320px; margin: 0 auto 18px; }
.sl-empty .sl-btn, .sl-empty button { margin: 0 auto; }

/* Skeleton loaders */
.sl-skel { background: linear-gradient(90deg, #F3F4F6 0%, #E5E7EB 50%, #F3F4F6 100%); background-size: 200% 100%; animation: sl-shimmer 1.2s infinite; border-radius: 6px; color: transparent; }
@keyframes sl-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Keyboard hint chip */
.sl-kbd-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sl-ink-3); margin-left: 6px; }

/* Print polish (estimates, change orders, invoices) */
@media print {
  body { background: #fff !important; padding: 0 !important; }
  .topbar, .bottom-nav, .sl-sticky-cta, #sl-toast-host, .sl-modal-overlay,
  #sl-offline-bar, .no-print, [data-no-print], button:not(.do-print),
  .upgrade-banner, .welcome-banner, .chat-widget, #chat-widget { display: none !important; }
  main, .main, .container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .card, .estimate, .change-order, .print-card { box-shadow: none !important; border: 1px solid #E5E7EB !important; page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
  tr, li { page-break-inside: avoid; }
  @page { margin: 0.6in; }
}

/* Mobile job-site polish: bigger tap targets, high-contrast focus */
@media (max-width: 768px) {
  button, a.sl-btn, .sl-btn, input[type="button"], input[type="submit"] { min-height: 48px; }
  input, select, textarea { font-size: 16px !important; /* prevent iOS zoom */ }
}

/* Safe-area padding for notched phones on bottom nav */
.bottom-nav, .sl-bottom-nav { padding-bottom: env(safe-area-inset-bottom); }

/* Progress bar utility */
.sl-progress { width: 100%; height: 6px; background: var(--sl-line); border-radius: 999px; overflow: hidden; }
.sl-progress > span { display: block; height: 100%; background: var(--sl-orange); transition: width .3s ease; }

/* Badge variants */
.sl-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.sl-pill--new { background: #FFF1E8; color: var(--sl-orange); }
.sl-pill--ok { background: #ECFDF5; color: #059669; }
.sl-pill--warn { background: #FEF3C7; color: #B45309; }
.sl-pill--danger { background: #FEE2E2; color: #DC2626; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Focus-visible for keyboard users */
:focus-visible { outline: 3px solid var(--sl-orange) !important; outline-offset: 2px; border-radius: 4px; }

/* sl-app utility row */
.sl-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--sl-line); position: sticky; top: 56px; z-index: 90; }
.sl-toolbar button, .sl-toolbar .sl-btn { min-height: 40px; padding: 8px 14px; font-size: 13px; border-radius: 8px; border: 1px solid var(--sl-line-2); background: #fff; color: var(--sl-ink); font-weight: 600; cursor: pointer; }
.sl-toolbar button:hover { border-color: var(--sl-orange); color: var(--sl-orange); }
.sl-toolbar button.is-primary { background: var(--sl-orange); color: #fff; border-color: var(--sl-orange); }

/* ===== ITER 2026-04-23 marketing: mobile tightening + conversion polish (APPEND ONLY) ===== */
@media (max-width: 640px) {
  .sl-trust-strip { margin: 24px auto 0; gap: 8px; padding: 0 16px; }
  .sl-trust-item { padding: 12px 14px; }
  .sl-trust-icon { width: 28px; height: 28px; font-size: 14px; }
  .sl-trust-text { font-size: 12.5px; }
  .sl-pain { padding: 16px 16px; }
  .sl-pain-after { font-size: 14px; }
  .sl-faq details { padding: 14px 18px; }
  .sl-faq summary { font-size: 15px; }
}
@media (max-width: 430px) {
  .sl-sticky-cta { padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .sl-sticky-cta .sl-btn { padding: 12px; font-size: 14px; }
}
@media (max-width: 375px) {
  .sl-trust-strip { padding: 0 14px; }
  .sl-pain-grid { gap: 10px; }
}
/* WCAG 2.3.3 reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.sl-chip:focus-visible { outline: 3px solid var(--sl-orange); outline-offset: 2px; }
button.sl-chip { font-family: inherit; cursor: pointer; }

/* ===== DEMO PAGE: Two-view mockup (laptop + phone), appended 2026-04-24 =====
   Mirrors VitalCoach demo.html structure. SiteLine-namespaced (sl-pd-*, sl-cd-*) so it
   never collides with VitalCoach (.pd-* / .cd-*). Brand: orange #F96302 + steel #1C2B3A. */

/* Section + intro */
.sl-pd-section{max-width:1100px;margin:0 auto;padding:64px 24px 0}
.sl-pd-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:5px 14px;border-radius:50px;margin-bottom:16px;color:#F96302;background:rgba(249,99,2,0.1);border:1px solid rgba(249,99,2,0.35)}
.sl-pd-h2{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:900;letter-spacing:-.03em;margin-bottom:8px;text-align:center;color:#1C2B3A}
.sl-pd-sub{font-size:1rem;line-height:1.55;margin-bottom:36px;text-align:center;max-width:620px;margin-left:auto;margin-right:auto;color:#6B7280}
.sl-pd-grid{display:grid;grid-template-columns:1fr 320px 1fr;gap:48px;align-items:center;margin-top:24px}
@media(max-width:900px){.sl-pd-grid{grid-template-columns:1fr;gap:32px}}
.sl-pd-side{font-size:.92rem;line-height:1.6;color:#3A3A3A}
.sl-pd-side h3{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#1C2B3A;margin-bottom:14px}
.sl-pd-side ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
.sl-pd-side li{display:flex;align-items:flex-start;gap:10px}
.sl-pd-chk{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px;font-weight:800;background:rgba(249,99,2,0.15);border:1px solid rgba(249,99,2,0.3);color:#F96302}
.sl-pd-side b{display:block;font-weight:800;color:#1C2B3A;margin-bottom:2px}

/* Phone (homeowner) */
.sl-pd-phone{position:relative;width:320px;height:660px;margin:0 auto;background:#0A0E1A;border-radius:48px;padding:10px;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 2px rgba(255,255,255,0.06) inset}
.sl-pd-phone::before{content:'';position:absolute;top:18px;left:50%;transform:translateX(-50%);width:96px;height:26px;background:#000;border-radius:14px;z-index:5}
.sl-pd-phone::after{content:'';position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:120px;height:4px;background:rgba(255,255,255,0.6);border-radius:2px;z-index:5}
.sl-pd-screen{position:relative;width:100%;height:100%;background:#0F1319;border-radius:38px;overflow:hidden;color:#F1F5F9;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.sl-pd-statusbar{position:absolute;top:0;left:0;right:0;height:48px;display:flex;align-items:center;justify-content:space-between;padding:14px 28px 0;font-size:13px;font-weight:700;z-index:3;color:#F1F5F9}
.sl-pd-time{font-variant-numeric:tabular-nums}
.sl-pd-icons{display:flex;gap:5px;align-items:center;font-size:11px;letter-spacing:1px}
.sl-pd-viewport{position:absolute;top:48px;left:0;right:0;bottom:62px;overflow:hidden}
.sl-pd-screen-page{position:absolute;inset:0;padding:14px 16px;overflow:hidden;opacity:0;transform:translateX(20px);transition:opacity .35s ease, transform .35s ease;pointer-events:none}
.sl-pd-screen-page.active{opacity:1;transform:translateX(0);pointer-events:auto}
.sl-pd-app-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.sl-pd-greet{font-size:11px;color:#94A3B8;font-weight:600;letter-spacing:0.04em}
.sl-pd-name{font-size:18px;font-weight:900;color:#fff;letter-spacing:-0.01em}
.sl-pd-accent{color:#F96302}
.sl-pd-avatar{width:34px;height:34px;border-radius:50%;background:#F96302;color:#fff;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sl-pd-h-back{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;font-weight:800;color:#fff}
.sl-pd-arrow{font-size:18px;color:#F96302}
.sl-pd-checkin-hdr{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.sl-pd-checkin-hdr .sl-pd-rav{width:38px;height:38px;font-size:14px}
.sl-pd-checkin-hdr h4{font-size:13px;font-weight:800;color:#fff}
.sl-pd-checkin-hdr p{font-size:9px;margin-top:1px}
.sl-pd-rav{width:28px;height:28px;border-radius:50%;background:rgba(249,99,2,0.15);color:#F96302;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid rgba(249,99,2,0.3)}
.sl-pd-tabbar{position:absolute;bottom:0;left:0;right:0;height:62px;background:rgba(15,19,25,0.96);border-top:1px solid rgba(255,255,255,0.06);display:flex;align-items:flex-start;justify-content:space-around;padding:8px 8px 0;z-index:4;backdrop-filter:blur(10px)}
.sl-pd-tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 2px;cursor:pointer;color:#64748B;transition:color .2s}
.sl-pd-tab.active{color:#F96302}
.sl-pd-tab-icon{font-size:17px;line-height:1}
.sl-pd-tab-lbl{font-size:8px;font-weight:700;letter-spacing:0.04em}
.sl-pd-dots{display:flex;gap:7px;justify-content:center;margin-top:18px}
.sl-pd-dot{width:8px;height:8px;border-radius:50%;background:rgba(28,43,58,0.18);cursor:pointer;transition:all .25s;border:none}
.sl-pd-dot.active{background:#1C2B3A;width:24px;border-radius:8px}
.sl-pd-cap{text-align:center;font-size:11px;color:#6B7280;margin-top:10px;font-weight:600}
.sl-pd-cta{display:block;text-decoration:none;border-radius:10px;padding:14px 24px;font-size:.95rem;font-weight:800;text-align:center;transition:opacity .2s;margin-top:24px;background:#F96302;color:#fff}
.sl-pd-cta:hover{opacity:.88}
.sl-pd-cta-sub{text-align:center;font-size:11px;margin-top:8px;color:#6B7280}
.sl-pd-divider{max-width:800px;margin:64px auto 0;padding:0 24px;display:flex;align-items:center;gap:16px}
.sl-pd-divider::before,.sl-pd-divider::after{content:'';flex:1;height:1px;background:rgba(28,43,58,0.08)}
.sl-pd-divider span{font-size:12px;white-space:nowrap;color:#6B7280;font-weight:600}

/* Laptop (contractor) */
.sl-cd-section{max-width:1180px;margin:0 auto;padding:32px 24px 0}
.sl-cd-laptop-wrap{margin:0 auto;max-width:920px;position:relative}
.sl-cd-laptop{position:relative;background:#1a1a1a;border-radius:14px 14px 6px 6px;padding:18px 18px 28px;box-shadow:0 30px 90px rgba(0,0,0,0.5),0 2px 0 rgba(255,255,255,0.04) inset}
.sl-cd-laptop::after{content:'';display:block;position:absolute;left:-3%;right:-3%;bottom:-12px;height:14px;background:linear-gradient(180deg,#2a2a2a,#0a0a0a);border-radius:0 0 14px 14px;box-shadow:0 8px 18px rgba(0,0,0,0.35)}
.sl-cd-laptop::before{content:'';position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);width:120px;height:6px;background:#0a0a0a;border-radius:0 0 6px 6px;z-index:2}
.sl-cd-browser{background:#0F1319;border-radius:8px;overflow:hidden;border:1px solid rgba(255,255,255,0.06)}
.sl-cd-browser-bar{display:flex;align-items:center;gap:10px;padding:9px 14px;background:#1A1F2E;border-bottom:1px solid rgba(255,255,255,0.06)}
.sl-cd-dot{width:11px;height:11px;border-radius:50%}
.sl-cd-dot.r{background:#FF5F57}.sl-cd-dot.y{background:#FEBC2E}.sl-cd-dot.g{background:#28C840}
.sl-cd-url{flex:1;background:#0F1319;border:1px solid rgba(255,255,255,0.05);border-radius:6px;padding:5px 12px;font-size:11px;color:#94A3B8;font-family:-apple-system,sans-serif}
.sl-cd-lock{color:#F96302;margin-right:6px}
.sl-cd-app{display:flex;height:540px;color:#F1F5F9;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
@media(max-width:768px){.sl-cd-app{height:auto;flex-direction:column}}
.sl-cd-sb{width:200px;background:#111827;border-right:1px solid rgba(255,255,255,0.06);padding:14px 10px;display:flex;flex-direction:column;flex-shrink:0}
@media(max-width:768px){.sl-cd-sb{width:100%;flex-direction:row;overflow-x:auto;padding:8px 10px}}
.sl-cd-sb-logo{font-size:14px;font-weight:900;color:#fff;padding:6px 10px 14px;border-bottom:1px solid rgba(255,255,255,0.05);margin-bottom:10px}
.sl-cd-sb-logo .a{color:#F96302}
.sl-cd-sb-lbl{font-size:8px;font-weight:800;letter-spacing:0.12em;text-transform:uppercase;color:#475569;padding:8px 10px 4px}
.sl-cd-nav{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:7px;color:#64748B;text-decoration:none;font-size:11px;font-weight:600;cursor:pointer;transition:all .15s;white-space:nowrap}
.sl-cd-nav.active{background:rgba(249,99,2,0.12);color:#fff;border:1px solid rgba(249,99,2,0.3)}
.sl-cd-nav-i{font-size:13px;width:14px;text-align:center;flex-shrink:0}
.sl-cd-main{flex:1;overflow-y:auto;background:#0F1319}
.sl-cd-top{padding:11px 18px;border-bottom:1px solid rgba(255,255,255,0.06);display:flex;justify-content:space-between;align-items:center;background:rgba(15,19,25,0.96)}
.sl-cd-top-title{font-size:13px;font-weight:800}
.sl-cd-btn-mini{background:#F96302;color:#fff;font-size:10px;font-weight:800;padding:5px 11px;border-radius:6px}
.sl-cd-pane{padding:0;display:none}
.sl-cd-pane.active{display:block}
.sl-cd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}
.sl-cd-stat{background:#1A1F2E;border:1px solid rgba(255,255,255,0.06);border-radius:8px;padding:10px 11px}
.sl-cd-stat.orange{border-color:rgba(249,99,2,0.3);background:rgba(249,99,2,0.05)}
.sl-cd-stat-i{font-size:11px;margin-bottom:3px}
.sl-cd-stat-v{font-size:18px;font-weight:900;line-height:1;color:#fff}
.sl-cd-stat.orange .sl-cd-stat-v{color:#F96302}
.sl-cd-stat-l{font-size:9px;color:#64748B;text-transform:uppercase;letter-spacing:0.05em;font-weight:700;margin-top:3px}
.sl-cd-sec{font-size:9px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;color:#94A3B8;margin:14px 0 8px;display:flex;justify-content:space-between}
.sl-cd-tbl{background:#1A1F2E;border:1px solid rgba(255,255,255,0.06);border-radius:8px;overflow:hidden}
.sl-cd-tbl-h{display:grid;grid-template-columns:1.4fr 1fr 1.7fr 70px;gap:8px;padding:8px 12px;border-bottom:1px solid rgba(255,255,255,0.06);background:#141920;font-size:8px;font-weight:800;letter-spacing:0.08em;color:#64748B;text-transform:uppercase}
.sl-cd-tbl-r{display:grid;grid-template-columns:1.4fr 1fr 1.7fr 70px;gap:8px;padding:9px 12px;align-items:center;border-bottom:1px solid rgba(255,255,255,0.05)}
.sl-cd-tbl-r:last-child{border-bottom:none}
.sl-cd-r-name{font-size:11px;font-weight:700;color:#fff}
.sl-cd-r-sub{font-size:9px;color:#64748B;margin-top:1px}
.sl-cd-r-meta{font-size:10px;color:#CBD5E1;font-variant-numeric:tabular-nums}
.sl-cd-mods{display:flex;gap:5px;flex-wrap:wrap}
.sl-cd-mod{font-size:8px;font-weight:700;padding:2px 6px;border-radius:50px;text-transform:uppercase;letter-spacing:0.04em}
.sl-cd-mod.on{background:rgba(249,99,2,0.18);color:#F96302}
.sl-cd-mod.off{background:rgba(255,255,255,0.04);color:#475569}
.sl-cd-mod.warn{background:rgba(249,115,22,0.18);color:#F97316}
.sl-cd-tag{font-size:9px;font-weight:800;padding:3px 8px;border-radius:50px;text-align:center;letter-spacing:0.04em}
.sl-cd-tag.go{background:rgba(249,99,2,0.18);color:#F96302}
.sl-cd-tag.due{background:rgba(249,115,22,0.18);color:#F97316}
.sl-cd-builder{display:grid;grid-template-columns:240px 1fr;gap:12px}
@media(max-width:768px){.sl-cd-builder{grid-template-columns:1fr}}
.sl-cd-pick{background:#1A1F2E;border:1px solid rgba(255,255,255,0.06);border-radius:8px;padding:10px}
.sl-cd-day{background:#1A1F2E;border:1px solid rgba(255,255,255,0.06);border-radius:8px;padding:10px;margin-bottom:8px}
.sl-cd-day-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.sl-cd-day-name{font-size:10px;font-weight:800;color:#F96302;letter-spacing:0.04em}
.sl-cd-day-actions{font-size:9px;color:#64748B}
.sl-cd-ex{display:grid;grid-template-columns:1.5fr 50px 50px 60px;gap:6px;padding:5px 0;font-size:10px;color:#CBD5E1;align-items:center;border-bottom:1px solid rgba(255,255,255,0.04)}
.sl-cd-ex:last-child{border-bottom:none}
.sl-cd-ex-input{font-size:9px;color:#94A3B8;background:rgba(255,255,255,0.03);padding:2px 5px;border-radius:4px;text-align:center}
.sl-cd-payout-h{background:linear-gradient(135deg,rgba(249,99,2,0.12),rgba(249,99,2,0.04));border:1px solid rgba(249,99,2,0.25);border-radius:10px;padding:14px;margin-bottom:12px}
.sl-cd-payout-bal{font-size:30px;font-weight:900;color:#F96302;line-height:1}
.sl-cd-payout-sub{font-size:11px;color:#CBD5E1;margin-top:5px}
.sl-cd-formgrp{margin-bottom:8px}
.sl-cd-formgrp label{display:block;font-size:8px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:#94A3B8;margin-bottom:4px}
.sl-cd-formgrp input{width:100%;background:#0F1319;border:1px solid rgba(255,255,255,0.08);border-radius:6px;padding:7px 10px;font-size:10px;color:#fff}
.sl-cd-cap{text-align:center;font-size:12px;color:#3A3A3A;margin-top:18px;font-weight:600}
.sl-cd-pane-dots{display:flex;gap:7px;justify-content:center;margin-top:14px}
.sl-cd-pane-dot{width:8px;height:8px;border-radius:50%;background:rgba(28,43,58,0.18);cursor:pointer;transition:all .25s;border:none}
.sl-cd-pane-dot.active{background:#1C2B3A;width:24px;border-radius:8px}
.sl-cd-bridge{max-width:920px;margin:36px auto 0;text-align:center;font-size:13px;color:#3A3A3A;font-weight:600;line-height:1.5}
.sl-cd-bridge-arrow{display:inline-block;font-size:24px;color:#F96302;margin:0 8px;animation:slbob 1.6s ease-in-out infinite}
@keyframes slbob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}

/* =====================================================================
   PREMIUM FINISH LAYER (2026-05-29) — finish-only, layout untouched.
   Lifts SiteLine surfaces to glass + gradient + sheen + glow using the
   canonical orange (#F96302) tokens. No padding/grid changes.
   ===================================================================== */

/* --- Hero: living orange atmosphere -------------------------------- */
.sl-hero::before { animation: sl-rays-spin 90s linear infinite; transform-origin: center; will-change: transform; }
@keyframes sl-rays-spin { to { transform: translateY(-50%) rotate(360deg); } }
/* repurpose the dark blob into a breathing orange aurora */
.sl-hero-blob {
  background: radial-gradient(circle at 50% 50%, rgba(249,99,2,0.34), rgba(249,99,2,0.06) 55%, transparent 72%);
  filter: blur(70px);
  animation: sl-aurora 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes sl-aurora {
  0%   { transform: translate(0,0) scale(1);      opacity: 0.85; }
  100% { transform: translate(-46px,40px) scale(1.18); opacity: 1; }
}
/* second cooler glow for depth, drawn behind content */
.sl-hero::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  left: -12%; bottom: -22%; width: 620px; height: 620px; border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(0,232,122,0.10), transparent 70%);
  filter: blur(60px);
  animation: sl-aurora2 18s ease-in-out infinite alternate;
}
@keyframes sl-aurora2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,-34px) scale(1.22); }
}
/* gradient-ink headline accent (richer than flat orange) */
.sl-hero h1 .accent {
  background: linear-gradient(120deg, #FF8A3D 0%, #F96302 55%, #FFB870 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #F96302;
}

/* --- Primary button: gradient + sheen sweep ------------------------ */
.sl-btn-primary {
  background: linear-gradient(135deg, #FF7A1F 0%, #F96302 52%, #E04E00 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(249,99,2,0.30);
  transition: transform .12s, box-shadow .2s, filter .2s;
}
.sl-btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .6s var(--sl-ease, cubic-bezier(.22,1,.36,1));
  pointer-events: none;
}
.sl-btn-primary:hover {
  background: linear-gradient(135deg, #FF7A1F 0%, #F96302 52%, #E04E00 100%);
  box-shadow: 0 10px 28px rgba(249,99,2,0.46); filter: saturate(1.08);
}
.sl-btn-primary:hover::after { transform: translateX(130%); }

/* --- Cards / features / pain: glass + hairline + glow lift --------- */
.sl-card, .sl-feature, .sl-pain {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) ,
    var(--sl-bg-elev);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .18s, transform .18s var(--sl-ease, cubic-bezier(.22,1,.36,1)), box-shadow .25s;
}
.sl-feature::before, .sl-pain::before, .sl-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(249,99,2,0.0));
  opacity: 0; transition: opacity .25s, background .25s;
}
.sl-feature:hover, .sl-pain:hover {
  transform: translateY(-4px);
  border-color: rgba(249,99,2,0.55);
  box-shadow: 0 16px 40px rgba(0,0,0,0.38), 0 0 0 1px rgba(249,99,2,0.12);
}
.sl-feature:hover::before, .sl-pain:hover::before {
  opacity: 1; background: linear-gradient(90deg, transparent, #F96302 50%, transparent);
}

/* gradient icon tile */
.sl-feature-icon {
  background: linear-gradient(140deg, #F96302, #C24B00);
  color: #fff; box-shadow: 0 6px 14px rgba(249,99,2,0.30);
  transition: transform .2s var(--sl-ease, cubic-bezier(.22,1,.36,1));
}
.sl-feature:hover .sl-feature-icon { transform: scale(1.08) rotate(-3deg); }

/* --- Stats: glass with luminous top accent ------------------------- */
.sl-stat {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), var(--sl-surface-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.30);
  transition: transform .2s var(--sl-ease, cubic-bezier(.22,1,.36,1)), box-shadow .25s;
}
.sl-stat:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.40); }
.sl-stat-n {
  background: linear-gradient(120deg, #fff 0%, #FFD7B8 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- Pro plan: glowing ring + animated sheen ---------------------- */
.sl-plan.pro {
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(249,99,2,0.25), 0 0 50px rgba(249,99,2,0.18);
}
.sl-plan.pro::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, rgba(249,99,2,0.18), transparent 60%);
}

/* --- Reduced-motion: kill all premium motion ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .sl-hero::before, .sl-hero-blob, .sl-hero::after { animation: none !important; }
  .sl-btn-primary::after { transition: none; }
  .sl-feature, .sl-pain, .sl-stat, .sl-feature-icon { transition: none; }
}

/* --- Focus-ring shape fix: pill buttons need a matching border-radius ---
   The global *:focus-visible sets border-radius:4px which looks square on
   the pill-shaped (.sl-btn, border-radius:999px) primary button. Override
   to match the button's own curvature so the focus ring tracks the shape. */
.sl-btn:focus-visible,
.sl-btn-primary:focus-visible,
.sl-btn-dark:focus-visible,
.sl-btn-ghost:focus-visible {
  border-radius: 999px;
}

/* --- Focus-ring shape fix: form controls and nav links (iter-3, additive)
   The global *:focus-visible applies border-radius:4px to every element,
   but .sl-field inputs/selects/textareas use --sl-r-sm (8px). Override the
   ring radius to track each control's own curvature so keyboard users see a
   tight, well-fitted outline instead of a mismatched square ring.
   Nav and footer links get a 6px radius which looks cleaner on inline text.
   No layout, padding, or color values changed — purely shape refinement. */
.sl-field input:focus-visible,
.sl-field select:focus-visible,
.sl-field textarea:focus-visible {
  border-radius: var(--sl-r-sm); /* 8px — matches the control's own radius */
  outline-offset: 2px;
}

.sl-nav-links a:focus-visible,
.sl-footer-meta a:focus-visible,
.sl-auth-foot a:focus-visible {
  border-radius: 6px;
  outline-offset: 3px;
}

/* --- Step cards: hover affordance (iter-2, additive only) -------------
   .sl-feature and .sl-pain received lift+glow in the premium finish layer
   above; .sl-step was missed. Add the same subtle affordance for visual
   consistency. transition added here; reduced-motion guard below. */
.sl-step {
  transition: border-color .18s, transform .18s var(--sl-ease, cubic-bezier(.22,1,.36,1)), box-shadow .25s;
}
.sl-step:hover {
  border-color: rgba(249,99,2,0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.34), 0 0 0 1px rgba(249,99,2,0.10);
}
@media (prefers-reduced-motion: reduce) {
  .sl-step { transition: none; }
  .sl-step:hover { transform: none; }
}

/* --- High-contrast & forced-colors support (iter-5, additive)
   WCAG 1.4.11 (Non-text Contrast) + Windows High Contrast / forced-colors mode.
   @media (prefers-contrast: more): tighten borders and text contrast for users
   who request higher contrast without full forced-colors (e.g. macOS "Increase
   Contrast", some Linux desktops).
   @media (forced-colors: active): respect the OS color palette (ButtonText,
   Highlight, etc.) so SiteLine controls stay usable in Windows High Contrast
   themes. Purely additive — no layout or token values changed.           --- */

@media (prefers-contrast: more) {
  /* Lift surface borders so cards/inputs are distinguishable */
  .sl-card, .sl-feature, .sl-pain, .sl-step {
    border-color: var(--sl-ink-2);
  }
  /* Primary button: add an inner inset ring for clarity */
  .sl-btn-primary {
    box-shadow: 0 0 0 2px var(--sl-primary-dark) inset;
  }
  /* Ghost button: heavier border */
  .sl-btn-ghost {
    border-color: var(--sl-ink-2);
  }
  /* Form fields: stronger border */
  .sl-field input,
  .sl-field select,
  .sl-field textarea {
    border-color: var(--sl-ink-2);
  }
  /* Ensure focus rings are extra visible */
  :focus-visible {
    outline-width: 4px !important;
  }
}

@media (forced-colors: active) {
  /* Restore explicit backgrounds/colors that forced-colors strips */
  .sl-btn-primary,
  .sl-btn-dark,
  .sl-btn-ghost {
    border: 2px solid ButtonText;
    forced-color-adjust: none;
    /* Keep brand orange where the OS lets us; if stripped, ButtonFace renders */
  }
  /* Pro pill + free pill: ensure readable in forced-color themes */
  .sl-pro-pill,
  .sl-free-pill,
  .sl-plan-best {
    forced-color-adjust: none;
    border: 1px solid ButtonText;
  }
  /* Nav accent line */
  .sl-nav { border-bottom-color: ButtonText; }
  /* Focus ring: use OS Highlight color for maximum legibility */
  :focus-visible {
    outline-color: Highlight !important;
    outline-width: 3px !important;
  }
}

/* --- SiteLine print supplement (iter-4, additive)
   The generic @media print block above hides .topbar/.bottom-nav etc.
   but misses SiteLine-namespaced chrome. When a contractor prints an
   estimate, invoice, or tool result, this ensures the sticky nav,
   sidebar, footer, and CTAs are stripped so only the content prints.
   Purely additive — does not change any existing selector. ----------- */
@media print {
  .sl-nav, .sl-footer, .sl-side,
  .sl-sticky-cta, .sl-trust-strip,
  .sl-hero-ctas, .sl-plan-best,
  .sl-orbit-companion, #orbit-companion,
  .bb-burger, .bb-mobile-menu { display: none !important; }

  .sl-plan { box-shadow: none !important; border: 1px solid #E5E7EB !important; transform: none !important; }
  .sl-card, .sl-feature, .sl-step, .sl-q { box-shadow: none !important; }
  .sl-hero { padding: 24px 0 !important; background: #fff !important; color: #0F172A !important; }
  .sl-hero h1 .accent { -webkit-text-fill-color: #F96302 !important; color: #F96302 !important; }
}
