/* Instant pre-paint 68px ecosystem header + Studio-Paper canvas before React mounts (CSP-safe) */
html[data-theme="dark"] body {
  background-color: #070A17;
  color: #F2F5FF;
}
.c-boot-shell {
  min-height: 100vh;
  background: #F5F7FB;
  color: #0B1026;
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[data-theme="dark"] .c-boot-shell {
  background: #070A17;
  color: #F2F5FF;
}
.c-boot-hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #FFFFFF;
  border-bottom: 1px solid #E3E6F0;
}
html[data-theme="dark"] .c-boot-hdr {
  background: #111834;
  border-bottom-color: #2A3663;
}
.c-boot-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}
.c-boot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: "Geologica", "Golos Text", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.c-boot-brand svg { width: 30px; height: 30px; display: block; flex: none; }
.c-boot-nav { display: none; }
.c-boot-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  white-space: nowrap;
}
.c-boot-phone, .c-boot-lang, .c-boot-login { display: none; }
.c-boot-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #858EAB;
  background: #FFFFFF;
  color: #0B1026;
  box-sizing: border-box;
}
html[data-theme="dark"] .c-boot-icon-btn {
  border-color: #6473AE;
  background: #0E142B;
  color: #F2F5FF;
}
.c-boot-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #2F46FF;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
@media (min-width: 960px) {
  .c-boot-row { padding: 8px 32px; gap: 16px; }
  .c-boot-brand { gap: 12px; }
  .c-boot-nav { display: flex; align-items: center; gap: 4px; }
  .c-boot-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #4A5170;
    text-decoration: none;
  }
  html[data-theme="dark"] .c-boot-nav a { color: #D5DDF5; }
  .c-boot-nav a.is-cur { background: #E9ECFF; color: #1F2FB8; font-weight: 600; }
  html[data-theme="dark"] .c-boot-nav a.is-cur { background: #1E295E; color: #8EA0FF; }
  .c-boot-icon-btn { width: 40px; height: 40px; }
  .c-boot-burger { display: none; }
  .c-boot-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 40px;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #858EAB;
    background: #F5F7FB;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
  }
  html[data-theme="dark"] .c-boot-lang {
    border-color: #6473AE;
    background: #090D1E;
  }
  .c-boot-lang span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    min-width: 34px;
    padding: 0 8px;
    border-radius: 8px;
    color: #4A5170;
  }
  html[data-theme="dark"] .c-boot-lang span { color: #9AA6CB; }
  .c-boot-lang span.is-on { background: #2F46FF; color: #FFFFFF; }
  .c-boot-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #858EAB;
    background: #FFFFFF;
    color: #0B1026;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
  }
  html[data-theme="dark"] .c-boot-login {
    border-color: #6473AE;
    background: #0E142B;
    color: #F2F5FF;
  }
  .c-boot-wa { min-height: 40px; padding: 0 12px; }
}
@media (min-width: 1180px) {
  .c-boot-row { gap: 24px; }
  .c-boot-nav a { padding: 0 12px; }
  .c-boot-actions { gap: 12px; }
  .c-boot-login { min-width: 96px; padding: 0 16px; }
  .c-boot-wa { padding: 0 16px; }
}
@media (min-width: 1260px) {
  .c-boot-phone {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #4A5170;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  html[data-theme="dark"] .c-boot-phone { color: #9AA6CB; }
}
