/* Public layout styles: header + footer + simple page base.
   No utility frameworks (Tailwind) required. */

   :root {
    /* Accent green: growth, status-style highlights, contact icons ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â not main black/white UI. */
    --bk-green: #22c55e;
    --bk-red: #ef4444;
    --bk-dark-bg: #000000;
    --bk-dark-surface: #0a0a0a;
    --bk-light-bg: #fafafa;
    --bk-light-border: #e5e5e5;
  
    /* Neutral ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œslateÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â names kept for compatibility ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â values are true neutral / black, no blue. */
    --bk-slate-900: #000000;
    --bk-slate-800: #171717;
    --bk-slate-700: #404040;
    --bk-slate-600: #525252;
    --bk-slate-500: #737373;
    --bk-slate-400: #a3a3a3;
    --bk-slate-300: #d4d4d4;
    --bk-slate-200: #e5e5e5;
    --bk-slate-100: #f5f5f5;
    --bk-slate-50: #fafafa;
  
    --bk-zinc-300: #d4d4d4;
    --bk-zinc-400: #a3a3a3;
    --bk-zinc-500: #737373;
    --bk-zinc-700: #404040;
    --bk-zinc-800: #262626;
    --bk-zinc-900: #171717;
  
    --bk-white: #ffffff;
    --bk-black: #000000;
  
    --bk-shadow-soft-light: 0 8px 30px -4px rgba(0, 0, 0, 0.03);
    --bk-shadow-soft-dark: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  }
  
  html.dark {
    color-scheme: dark;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  /* Scrollbar (WebKit) */
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #52525b;
    border-radius: 20px;
  }
  html.dark ::-webkit-scrollbar-thumb {
    background-color: #3f3f46;
  }
  
  ::selection {
    background: var(--bk-black);
    color: var(--bk-white);
  }
  html.dark ::selection {
    background: var(--bk-white);
    color: var(--bk-black);
  }

  /* Touch / tap: no default blue flash or text selection on UI chrome */
  .public-root a,
  .public-root button,
  .public-root [role="button"],
  .public-root summary,
  .public-root label,
  .public-root img,
  .public-root svg,
  .public-root i {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  .public-root :is(.public-header, .public-footer, .public-mobile-menu) :is(a, button, span, i, img),
  .public-root :is(
    button,
    [role="button"],
    .public-header__brand,
    .public-header__nav-link,
    .public-header__cta,
    .public-header__theme-toggle,
    .public-header__menu-btn,
    .public-mobile-menu__link,
    .public-mobile-menu__cta-btn
  ) {
    -webkit-user-select: none;
    user-select: none;
  }
  .public-root :is(a, button, [role="button"], summary):focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
  }
  .public-root :is(.public-content-main, .public-simple-main) :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, pre) {
    -webkit-user-select: text;
    user-select: text;
  }
  
  body.public-root {
    margin: 0;
  }

  .public-root {
    background: var(--bk-light-bg);
    color: var(--bk-slate-900);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  html.dark .public-root {
    background: var(--bk-dark-bg);
    color: var(--bk-white);
  }
  
  /* Simple layout wrapper (login/register/404) */
  .public-simple-main {
    flex: 1;
    width: 100%;
    max-width: 36rem; /* approx max-w-lg */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 7rem; /* header offset */
    padding-bottom: 4rem;
  }
  @media (min-width: 640px) {
    .public-simple-main {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  /* CMS pages (privacy, terms, etc.) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â same width as header/footer */
  .public-content-main {
    flex: 1;
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 8rem 2rem 2rem 2rem;
    box-sizing: border-box;
  }
  .public-content-main:has(.public-form-page) {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .public-content-main:has(.public-form-page) .public-form-page__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  @media (min-width: 640px) {
    .public-content-main:has(.public-form-page) .public-form-page__inner {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .public-content-main:has(.public-form-page) .public-form-page__inner {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  @media (min-width: 640px) {
    .public-content-main {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .public-content-main {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  /* -------------------- Header -------------------- */
  .public-header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
  }
  
  .public-header__max {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
  }
  @media (min-width: 640px) {
    .public-header__max {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .public-header__max {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .public-header__pill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    box-shadow: var(--bk-shadow-soft-light);
  }
  html.dark .public-header__pill {
    background: rgba(18, 18, 20, 0.8);
    border-color: rgba(39, 39, 42, 0.9);
    box-shadow: var(--bk-shadow-soft-dark);
  }
  
  .public-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .public-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
  }
  @media (min-width: 640px) {
    .public-header__brand {
      gap: 0.75rem;
      flex: 0 1 auto;
    }
  }
  
  .public-header__brand-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No inset shadow: with overflow:hidden it draws a gray halo at corners in light mode. */
    box-shadow: none;
    isolation: isolate;
    transform: translateZ(0);
  }
  html.dark .public-header__brand-icon {
    background: var(--bk-white);
    box-shadow: none;
  }
  .public-header__brand-icon i {
    color: #fff;
    font-size: 1.125rem;
  }
  html.dark .public-header__brand-icon i {
    color: var(--bk-black);
  }

  .public-header__brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
  }
  
  .public-header__brand-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--bk-slate-900);
  }
  @media (min-width: 640px) {
    .public-header__brand-name {
      font-size: 1rem;
    }
  }

  html.dark .public-header__brand-name {
    color: var(--bk-white);
  }
  
  .public-header__nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
  }
  @media (min-width: 1024px) {
    .public-header__nav {
      display: flex;
    }
  }
  
  .public-header__nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--bk-slate-600);
    transition: color 0.2s ease, background-color 0.2s ease;
  }
  .public-header__nav-link:hover {
    color: var(--bk-slate-900);
  }
  html.dark .public-header__nav-link {
    color: var(--bk-zinc-300);
  }
  html.dark .public-header__nav-link:hover {
    color: var(--bk-white);
  }
  
  .public-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  @media (min-width: 640px) {
    .public-header__actions {
      gap: 0.75rem;
    }
  }
  
  .public-header__login-md {
    display: none;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--bk-slate-600);
    transition: color 0.2s ease;
  }
  .public-header__login-md:hover {
    color: var(--bk-slate-900);
  }
  @media (min-width: 768px) {
    .public-header__login-md {
      display: inline-flex;
    }
  }
  @media (min-width: 1024px) {
    .public-header__login-md {
      display: none;
    }
  }
  html.dark .public-header__login-md {
    color: var(--bk-zinc-300);
  }
  html.dark .public-header__login-md:hover {
    color: var(--bk-white);
  }
  
  .public-header__theme-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 1);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  .public-header__theme-toggle:hover {
    background: rgba(241, 245, 249, 1);
  }
  html.dark .public-header__theme-toggle {
    border-color: rgba(63, 63, 70, 1);
  }
  html.dark .public-header__theme-toggle:hover {
    background: rgba(39, 39, 42, 1);
  }
  
  .public-header__theme-icon {
    font-size: 1rem;
  }
  .public-header__theme-icon--sun {
    display: none;
  }
  html.dark .public-header__theme-icon--sun {
    display: inline-block;
  }
  html.dark .public-header__theme-icon--moon {
    display: none;
  }
  
  .public-header__cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    background: #000000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--bk-shadow-soft-light);
    transition: transform 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
  }
  .public-header__cta:hover {
    transform: scale(1.05);
  }
  @media (min-width: 640px) {
    .public-header__cta {
      display: inline-flex;
    }
  }
  html.dark .public-header__cta {
    background: var(--bk-white);
    color: var(--bk-slate-900);
  }
  html.dark .public-header__cta:hover {
    background: #e5e5e5;
  }
  
  .public-header__menu-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 1);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .public-header__menu-btn:hover {
    background: rgba(241, 245, 249, 1);
  }
  html.dark .public-header__menu-btn {
    border-color: rgba(63, 63, 70, 1);
  }
  html.dark .public-header__menu-btn:hover {
    background: rgba(39, 39, 42, 1);
  }
  @media (min-width: 1024px) {
    .public-header__menu-btn {
      display: none;
    }
  }
  
  .public-header__menu-icon {
    font-size: 1.125rem;
  }
  
  /* Mobile menu */
  .public-mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    z-index: 60;
  }
  @media (min-width: 1024px) {
    .public-mobile-menu {
      display: none;
    }
  }
  .public-mobile-menu--open {
    display: block;
  }
  
  .public-mobile-menu__panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 1.5rem;
    padding: 0.75rem;
    box-shadow: var(--bk-shadow-soft-light);
  }
  html.dark .public-mobile-menu__panel {
    background: rgba(18, 18, 20, 0.95);
    border-color: rgba(39, 39, 42, 1);
    box-shadow: var(--bk-shadow-soft-dark);
  }
  
  .public-mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .public-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--bk-slate-600);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .public-mobile-menu__link:hover {
    background: rgba(241, 245, 249, 1);
  }
  html.dark .public-mobile-menu__link {
    color: var(--bk-zinc-300);
  }
  html.dark .public-mobile-menu__link:hover {
    background: rgba(39, 39, 42, 0.5);
  }
  
  .public-mobile-menu__link i {
    color: var(--bk-slate-500);
    font-size: 1.125rem;
  }
  html.dark .public-mobile-menu__link i {
    color: var(--bk-zinc-400);
  }
  
  .public-mobile-menu__cta {
    padding-top: 0.5rem;
  }
  
  .public-mobile-menu__cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: #000000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--bk-shadow-soft-light);
  }
  html.dark .public-mobile-menu__cta-btn {
    background: var(--bk-white);
    color: var(--bk-slate-900);
  }
  
  /* -------------------- Footer -------------------- */
  .public-footer-wrap {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    background: var(--bk-light-bg);
    position: relative;
    z-index: 20;
  }
  html.dark .public-footer-wrap {
    background: var(--bk-dark-bg);
  }
  
  .public-footer__max {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  @media (min-width: 640px) {
    .public-footer__max {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .public-footer__max {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .public-footer {
    background: var(--bk-white);
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 2.5rem;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--bk-shadow-soft-light);
  }
  html.dark .public-footer {
    background: #0c0c0e;
    border-color: rgba(39, 39, 42, 0.8);
    box-shadow: var(--bk-shadow-soft-dark);
  }
  @media (min-width: 768px) {
    .public-footer {
      padding-left: 2.5rem;
      padding-right: 2.5rem;
    }
  }
  
  .public-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
  
  .public-footer__col--spacer {
    display: none;
  }
  @media (min-width: 768px) {
    .public-footer__grid {
      grid-template-columns: repeat(12, 1fr);
    }
    .public-footer__col--brand { grid-column: span 5; }
    .public-footer__col--quick { grid-column: span 3; }
    .public-footer__col--contact { grid-column: span 4; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--brand { grid-column: span 4; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--quick { grid-column: span 2; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--legal { grid-column: span 2; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--contact { grid-column: span 4; }
  }
  
  @media (min-width: 1024px) {
    .public-footer__grid { gap: 1.5rem; }
    .public-footer__col--brand { grid-column: span 4; }
    .public-footer__col--quick { grid-column: span 3; }
    .public-footer__col--contact { grid-column: span 3; }
    .public-footer__col--spacer { grid-column: span 2; display: block; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--spacer { display: none; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--brand { grid-column: span 4; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--quick { grid-column: span 2; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--legal { grid-column: span 2; }
    .public-footer__grid:has(.public-footer__col--legal) .public-footer__col--contact { grid-column: span 4; }
  }
  
  .public-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
  }
  
  .public-footer__brand-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    isolation: isolate;
    transform: translateZ(0);
  }
  html.dark .public-footer__brand-icon {
    background: var(--bk-white);
    box-shadow: none;
  }
  .public-footer__brand-icon i { color: #fff; font-size: 1.125rem; }
  html.dark .public-footer__brand-icon i { color: var(--bk-black); }

  .public-footer__brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
  }
  
  .public-footer__brand-name {
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
  }
  
  .public-footer__desc {
    color: var(--bk-slate-500);
    font-size: 14px;
    line-height: 1.6;
    max-width: 20rem;
    margin-bottom: 1.5rem;
  }
  html.dark .public-footer__desc { color: var(--bk-zinc-400); }
  
  .public-footer__social {
    display: flex;
    gap: 0.625rem;
  }
  .public-footer__social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: var(--bk-slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bk-slate-600);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .public-footer__social-link:hover {
    background: var(--bk-slate-900);
    color: #fff;
  }
  html.dark .public-footer__social-link {
    background: rgba(39, 39, 42, 0.5);
    color: var(--bk-zinc-300);
  }
  html.dark .public-footer__social-link:hover {
    background: #fff;
    color: var(--bk-slate-900);
  }
  .public-footer__social-link i { font-size: 1.125rem; }
  
  .public-footer__heading {
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 16px;
    color: var(--bk-slate-900);
  }
  html.dark .public-footer__heading { color: #fff; }
  
  .public-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--bk-slate-500);
  }
  html.dark .public-footer__list { color: var(--bk-zinc-400); }
  
  .public-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
  }
  
  .public-footer__contact-icon {
    color: var(--bk-green);
    font-size: 1rem;
  }
  
  .public-footer__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .public-footer__link:hover { color: var(--bk-slate-900); }
  html.dark .public-footer__link:hover { color: #fff; }
  
  .public-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
  }
  html.dark .public-footer__bottom { border-top-color: rgba(39, 39, 42, 0.8); }
  
  .public-footer__copyright {
    font-size: 13px;
    font-weight: 500;
    color: #a3a3a3;
  }
  html.dark .public-footer__copyright { color: var(--bk-zinc-500); }
  
  /* Scroll to top button */
  .public-scrolltop {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: var(--bk-slate-900);
    color: #fff;
    box-shadow: var(--bk-shadow-soft-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 70;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
  }
  html.dark .public-scrolltop {
    background: #fff;
    color: var(--bk-slate-900);
    box-shadow: var(--bk-shadow-soft-dark);
  }
  
  .public-scrolltop--hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
  }
  
  .public-scrolltop:not(.public-scrolltop--hidden):hover {
    background: rgba(15, 23, 42, 0.9);
  }
  html.dark .public-scrolltop:not(.public-scrolltop--hidden):hover {
    background: rgba(226, 232, 240, 0.9);
  }
  .public-scrolltop i { font-size: 1.25rem; }
  
  /* -------------------- 404 page -------------------- */
  .public-404 {
    text-align: center;
    padding-top: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 4rem;
  }
  
  .public-404__label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bk-slate-500);
    margin-bottom: 0.75rem;
  }
  html.dark .public-404__label { color: var(--bk-zinc-400); }
  
  .public-404__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bk-slate-900);
    margin-bottom: 0.75rem;
  }
  html.dark .public-404__title { color: #fff; }
  
  .public-404__text {
    color: var(--bk-slate-600);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }
  html.dark .public-404__text { color: var(--bk-zinc-400); }
  
  .public-404__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
  }
  @media (min-width: 640px) {
    .public-404__actions {
      flex-direction: row;
      gap: 0.75rem;
    }
  }
  
  .public-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }
  .public-404__btn:hover { transform: scale(1.02); }
  
  .public-404__btn--primary {
    background: var(--bk-slate-900);
    color: #fff;
  }
  html.dark .public-404__btn--primary {
    background: #fff;
    color: var(--bk-slate-900);
  }
  
  .public-404__btn--secondary {
    background: #fff;
    color: var(--bk-slate-900);
    border: 1px solid rgba(226, 232, 240, 1);
  }
  html.dark .public-404__btn--secondary {
    background: var(--bk-dark-surface);
    border-color: rgba(39, 39, 42, 1);
    color: #fff;
  }

  /* -------------------- CMS pages (privacy, terms, etc.) -------------------- */
  .public-site-page {
    width: 100%;
    min-width: 0;
  }

  .public-site-page__max {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
  }

  .public-site-page__header {
    margin-bottom: 0.25rem;
  }

  .public-site-page__effective {
    margin: 0 0 1.5rem;
    padding: 0;
  }

  .public-site-page__effective-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--bk-slate-200);
    background: var(--bk-slate-100);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--bk-slate-600);
  }
  html.dark .public-site-page__effective-badge {
    background: rgba(39, 39, 42, 0.55);
    border-color: rgba(63, 63, 70, 0.9);
    color: var(--bk-zinc-300);
  }

  .public-site-page__effective-badge time {
    font-weight: 600;
    color: var(--bk-slate-900);
  }
  html.dark .public-site-page__effective-badge time {
    color: #fafafa;
  }

  .public-site-page__body {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .public-site-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 13px;
    color: var(--bk-slate-500);
    margin-bottom: 1.5rem;
  }
  .public-site-page__breadcrumb a {
    color: inherit;
    text-decoration: none;
  }
  .public-site-page__breadcrumb a:hover {
    color: var(--bk-slate-900);
    text-decoration: underline;
  }
  html.dark .public-site-page__breadcrumb { color: var(--bk-zinc-400); }
  html.dark .public-site-page__breadcrumb a:hover { color: #fff; }

  .public-site-page__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bk-slate-900);
    margin-bottom: 1.5rem;
    line-height: 1.15;
  }
  @media (min-width: 768px) {
    .public-site-page__title {
      font-size: 1.875rem;
    }
  }
  html.dark .public-site-page__title { color: #fff; }

  .public-site-page__body.bk-rich-content {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--bk-slate-700);
    max-width: 100%;
  }
  html.dark .public-site-page__body.bk-rich-content {
    color: var(--bk-zinc-300);
  }

  .public-site-page__body.bk-rich-content img,
  .public-site-page__body.bk-rich-content video,
  .public-site-page__body.bk-rich-content iframe,
  .public-site-page__body.bk-rich-content table,
  .public-site-page__body.bk-rich-content pre {
    max-width: 100%;
  }

  .public-site-page__body.bk-rich-content img,
  .public-site-page__body.bk-rich-content video {
    height: auto;
  }

  .public-site-page__body.bk-rich-content pre {
    overflow-x: auto;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--bk-slate-100);
  }
  html.dark .public-site-page__body.bk-rich-content pre {
    background: rgba(39, 39, 42, 0.6);
  }

  .public-site-page__body.bk-rich-content .bk-rich-content-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .public-site-page__body.bk-rich-content > :first-child {
    margin-top: 0;
  }

  .public-site-page__body.bk-rich-content h1,
  .public-site-page__body.bk-rich-content h2,
  .public-site-page__body.bk-rich-content h3,
  .public-site-page__body.bk-rich-content h4,
  .public-site-page__body.bk-rich-content h5,
  .public-site-page__body.bk-rich-content h6 {
    color: var(--bk-slate-900);
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  html.dark .public-site-page__body.bk-rich-content h1,
  html.dark .public-site-page__body.bk-rich-content h2,
  html.dark .public-site-page__body.bk-rich-content h3,
  html.dark .public-site-page__body.bk-rich-content h4,
  html.dark .public-site-page__body.bk-rich-content h5,
  html.dark .public-site-page__body.bk-rich-content h6 {
    color: #fff;
  }

  .public-site-page__body.bk-rich-content h1 { font-size: 1.5rem; }
  .public-site-page__body.bk-rich-content h2 {font-size: 1.15rem;}
  .public-site-page__body.bk-rich-content h3 { font-size: 1.125rem; }
  .public-site-page__body.bk-rich-content h4 { font-size: 1.0625rem; }
  .public-site-page__body.bk-rich-content h5 { font-size: 1rem; }
  .public-site-page__body.bk-rich-content h6 { font-size: 1rem; }

  .public-site-page__body.bk-rich-content p,
  .public-site-page__body.bk-rich-content ul,
  .public-site-page__body.bk-rich-content ol,
  .public-site-page__body.bk-rich-content li {
    margin-bottom: 0.4rem;
    font-size: inherit;
    line-height: inherit;
  }

  .public-site-page__body.bk-rich-content > :last-child {
    margin-bottom: 0;
  }

  .public-site-page__body.bk-rich-content p:empty,
  .public-site-page__body.bk-rich-content p:has(> br:only-child),
  .public-site-page__body.bk-rich-content div:empty,
  .public-site-page__body.bk-rich-content div:has(> br:only-child) {
    display: none;
  }

  .public-site-page__body.bk-rich-content ul,
  .public-site-page__body.bk-rich-content ol {
    padding-left: 1.5rem;
  }

  .public-site-page__body.bk-rich-content a {
    color: var(--bk-slate-900);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  html.dark .public-site-page__body.bk-rich-content a {
    color: #fff;
  }

  .public-site-page__body.bk-rich-content blockquote {
    border-left: 3px solid var(--bk-slate-300);
    padding-left: 1rem;
    margin: 1.25rem 0;
    color: var(--bk-slate-600);
    font-size: inherit;
    line-height: inherit;
  }
  html.dark .public-site-page__body.bk-rich-content blockquote {
    border-left-color: var(--bk-zinc-600);
    color: var(--bk-zinc-400);
  }

  .public-site-page__body.bk-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .public-site-page__body.bk-rich-content th,
  .public-site-page__body.bk-rich-content td {
    border: 1px solid rgba(226, 232, 240, 1);
    padding: 0.5rem 0.75rem;
    text-align: left;
  }
  html.dark .public-site-page__body.bk-rich-content th,
  html.dark .public-site-page__body.bk-rich-content td {
    border-color: rgba(63, 63, 70, 1);
  }

  .bk-rich-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bk-slate-700);
    max-width: 100%;
  }
  html.dark .bk-rich-content {
    color: var(--bk-zinc-300);
  }