/* Brand surfaces shared by the public site and the working application. */
@media screen {
  :root {
    --bf-night: #102043;
    --bf-blue: #304fc8;
    --bf-mist: #eef2fa;
    --bf-paper: #fff;
    --bf-ink: #152442;
    --bf-secondary: #495c79;
    --bf-edge: #c8d3e5;
    --bf-glow: #b2c7ff;
  }
  body.public-home {
    color-scheme: light;
    --page: var(--bf-mist);
    --surface: var(--bf-paper);
    --surface-raised: #f4f6fb;
    --text: var(--bf-ink);
    --muted: var(--bf-secondary);
    --quiet: #50617c;
    --line: var(--bf-edge);
    --accent: var(--bf-blue);
    --accent-hover: #203cab;
    --accent-ink: white;
  }
  .public-home :is(.hero,.site-header,.cta) {
    --text: white;
    --muted: #dee6f8;
    --quiet: #c0cde4;
    --accent: var(--bf-glow);
    --accent-hover: white;
    --surface: #23365a;
    --line: #627495;
    --accent-ink: var(--bf-night);
    color: var(--text);
    background-color: var(--bf-night);
  }
  .public-home .hero {
    background: radial-gradient(ellipse at 82% 40%, #354f91, transparent 56%), var(--bf-night);
    padding-block: clamp(48px,6vw,92px);
  }
  .public-home .hero h1 { font-size: clamp(2.7rem,5.9vw,5.35rem); line-height: 1.01; }
  .public-home .hero h1 em { color: var(--bf-glow); }
  .public-home .preview { background: #13264b; border-color: #6177a4; border-radius: 20px; box-shadow: 0 20px 54px #060f284d; }
  .public-home .map { margin-inline: 0; border: 0; border-radius: 0; }
  .public-home .map img { width: 100%; display: block; aspect-ratio: 1.85; object-fit: cover; }
  .public-home :is(.map-label,.float-tag) { background: var(--bf-night); color: white; border-color: #879cc7; }
  .public-home .preview-stats b { color: white; }
  .public-home .strip { background: white; color: var(--bf-secondary); }
  .public-home .eyebrow { letter-spacing: .1em; }
  .public-home .feature { background: white; border: 1px solid var(--bf-edge); border-radius: 16px; box-shadow: 0 6px 22px #15244209; }
  .public-home .feature .num { color: var(--bf-blue); }
  .public-home .workflow { background: #e3eaf7; }
  .public-home .step b { background: var(--bf-blue); color: white; }
  .public-home .phone { border-color: var(--bf-night); }
  .public-home .cta { background: linear-gradient(110deg,var(--bf-night),#293f77); border-radius: 20px; }
  .public-home .button { border-radius: 10px; }
  .public-home .product-video { background: white; }
  #app {
    --fl-ink: var(--bf-ink);
    --fl-muted: var(--bf-secondary);
    --fl-line: var(--bf-edge);
    --fl-accent: var(--bf-blue);
    --fl-selected: #e4ebff;
  }
  #app .layout .next-rail { background: linear-gradient(160deg,#203661,var(--bf-night) 58%); }
  #app .layout .workspace { background: var(--bf-mist); }
  #app #content .shop-quick-filters button[aria-pressed=true] { background: var(--bf-blue); }
  #app #content .product-card { border-color: var(--bf-edge); }
  @media (prefers-reduced-motion: no-preference) {
    .public-home .button, #app .next-rail a, #app #content button { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
    .public-home .button:hover { box-shadow: 0 3px 13px #22356829; }
  }
  @media (max-width: 700px) {
    .public-home .site-nav { align-items: flex-start; }
    .public-home .site-nav nav { width: 100%; }
    .public-home .site-nav nav a { padding-block: 7px; }
    .public-home .hero-grid > *, .public-home .section-heading { min-width: 0; }
    .public-home .hero h1 { overflow-wrap: break-word; }
  }
}
@font-face {
  font-family: "Baufaden Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@media screen {
  .public-home { font-family: "Baufaden Inter", system-ui, sans-serif; }
  .public-home .section-heading h2 { text-wrap: balance; }
  .public-home .section-heading { padding-left: 1.1rem; border-left: 3px solid var(--bf-blue); }
  #app .next-rail .next-nav-link.active, #app .next-rail .next-nav-group.current > .next-nav-group-toggle {
    background: #304984; box-shadow: inset 3px 0 var(--bf-glow); color: white;
  }
  #app #content :is(button.primary,.pc-primary,.fb-primary), #editor button.primary, #app .login-shell .login-form button.primary {
    background-color: var(--bf-blue); background-image: none; border-color: var(--bf-blue); color: white;
  }
  #app #content .desk-header { background: linear-gradient(105deg,var(--bf-night),#253d79); }
  #app #content .desk-header button.primary { background: white; color: var(--bf-night); }
  #app #content :is(.shop-filter-panel,.fb-field-card,.pc-metric,.product-card) { box-shadow: 0 3px 14px #162d550c; }
  #app .login-shell .login-form-wrap { background: var(--bf-mist); }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes bf-view-enter { from { opacity: .75; } to { opacity: 1; } }
    #app #content > :is(.page-head,.desk-header,.shop-page,.pc-workspace,.fb-workspace) { animation: bf-view-enter .2s ease-out; }
  }
}
