:root {
  --gbh-ink: #11294c;
  --gbh-text: #2b4265;
  --gbh-muted: #526a86;
  --gbh-blue: #0667e5;
  --gbh-blue-dark: #0557c2;
  --gbh-page: #f3f7fd;
  --gbh-card: #ffffff;
  --gbh-line: #dfe9f7;
  --gbh-shadow: 0 14px 38px rgba(49, 91, 143, 0.08);
  --gbh-radius: 22px;
}

body.gost-browser-home-experience {
  margin: 0;
  color: var(--gbh-text);
  background: var(--gbh-page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.gost-browser-home-experience * { box-sizing: border-box; }
body.gost-browser-home-experience a { text-underline-offset: 0.16em; }
body.gost-browser-home-experience :focus-visible {
  outline: 3px solid #0b2547;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffd36a;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  clip: auto !important;
  color: #fff;
  background: var(--gbh-ink);
}

.gbh-skip-link {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--gbh-ink);
}
.gbh-skip-link:focus { transform: translateY(0); }

.gbh-container {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.gbh-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--gbh-line);
  background: rgba(255, 255, 255, 0.98);
}

.gbh-header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 28px;
}

.gbh-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--gbh-ink);
  text-decoration: none;
}
.gbh-brand-mark { width: 44px; height: 48px; flex: none; }
.gbh-brand strong { display: block; font-size: 21px; line-height: 1.15; letter-spacing: -0.035em; }
.gbh-brand small { display: block; margin-top: 3px; color: #526a86; font-size: 11px; }

.gbh-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(13px, 1.45vw, 24px);
  margin-left: auto;
}
.gbh-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #435979;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.gbh-nav a:hover, .gbh-nav a.is-active { color: var(--gbh-blue); }
.gbh-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--gbh-blue);
  content: "";
}

.gbh-search {
  display: flex;
  flex: 0 1 250px;
  min-width: 190px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #7b92ad;
  border-radius: 17px;
  background: #f8fbff;
}
.gbh-search svg { width: 18px; fill: none; stroke: #86a0c4; stroke-width: 1.8; }
.gbh-search input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--gbh-text);
  background: transparent;
  font: inherit;
  font-size: 13px;
}
.gbh-search input::placeholder { color: #607590; }
.gbh-search button {
  display: grid;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  color: #6c8bb6;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.gbh-mobile-nav { display: none; }

.gbh-main { padding: 26px 0 54px; }
.gbh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: stretch;
}
.gbh-primary { min-width: 0; }

.gbh-hero {
  position: relative;
  min-height: 402px;
  overflow: hidden;
  border: 1px solid #d5e8fb;
  border-radius: 24px;
  background: #dcedff;
  box-shadow: var(--gbh-shadow);
}
.gbh-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gbh-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(223, 240, 255, 0.98) 0%, rgba(223, 240, 255, 0.94) 37%, rgba(223, 240, 255, 0.24) 64%, rgba(223, 240, 255, 0) 100%);
}
.gbh-hero-content {
  position: relative;
  z-index: 1;
  width: min(58%, 610px);
  padding: 30px 30px 28px;
}
.gbh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 27px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  color: #315f91;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}
.gbh-eyebrow span { color: var(--gbh-blue); font-size: 17px; }
.gbh-hero h1 {
  margin: 0;
  color: #102849;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.gbh-hero h1 span { color: #0e6feb; }
.gbh-hero-copy {
  max-width: 470px;
  margin: 22px 0 0;
  color: #526a86;
  font-size: 16px;
}
.gbh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  color: #486887;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}
.gbh-chips li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  color: var(--gbh-blue);
  background: rgba(255, 255, 255, 0.72);
  content: "✓";
}
.gbh-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
}
.gbh-button, .gbh-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: var(--gbh-blue);
  box-shadow: 0 9px 20px rgba(20, 120, 255, 0.25);
  font-weight: 750;
  text-decoration: none;
}
.gbh-button { min-height: 45px; padding: 0 18px; font-size: 13px; }
.gbh-button:hover, .gbh-download-button:hover { color: #fff; background: var(--gbh-blue-dark); }
.gbh-hero-actions span { color: #526a86; font-size: 11px; }

.gbh-downloads { padding: 24px 0 0; }
.gbh-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}
.gbh-section-heading h2 {
  margin: 0;
  color: var(--gbh-ink);
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.gbh-section-heading p { margin: 4px 0 0; color: var(--gbh-muted); font-size: 13px; }
.gbh-section-heading > a { flex: none; color: var(--gbh-blue); font-size: 12px; font-weight: 700; text-decoration: none; }

.gbh-download-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 11px;
}
.gbh-download-card {
  display: flex;
  min-height: 324px;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 11px 12px;
  border: 1px solid #edf2f9;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(47, 87, 137, 0.07);
  text-align: center;
}
.gbh-os-icon { display: grid; min-height: 56px; place-content: center; }
.gbh-os-windows {
  grid-template-columns: repeat(2, 23px);
  grid-template-rows: repeat(2, 23px);
  gap: 2px;
}
.gbh-os-windows span { display: block; background: #1397ef; }
.gbh-linux-symbol { font-size: 45px; line-height: 1; }
.gbh-apple-symbol { position: relative; color: #8da6c8; font-size: 64px; line-height: 0.7; }
.gbh-apple-symbol::before { position: absolute; top: -12px; left: 50%; font-size: 21px; content: "◆"; transform: rotate(-23deg) translateX(-50%); }
.gbh-download-card h3 { min-height: 39px; margin: 12px 0 4px; color: var(--gbh-ink); font-size: 13px; line-height: 1.25; }
.gbh-download-card p { min-height: 34px; margin: 0 0 14px; color: #526a86; font-size: 10px; }
.gbh-download-actions { display: grid; gap: 7px; margin-top: auto; }
.gbh-download-button { min-height: 38px; padding: 6px 8px; border: 2px solid var(--gbh-blue); border-radius: 999px; font-size: 10px; line-height: 1.2; text-align: center; }
.gbh-online-button { background: var(--gbh-blue); }
.gbh-offline-button { color: var(--gbh-blue); background: #fff; box-shadow: none; }
.gbh-offline-button:hover { color: #fff; background: var(--gbh-blue-dark); }
.gbh-card-guide { margin-top: 9px; color: #2364b8; font-size: 9px; font-weight: 700; }
.gbh-download-note { margin: 12px 0 0; color: #526a86; font-size: 10px; }
.gbh-download-note span { margin-right: 5px; color: var(--gbh-blue); }
.gbh-download-note a { color: var(--gbh-blue); font-weight: 700; }

.gbh-instructions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 14px 14px;
  border: 1px solid #e7edf6;
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--gbh-shadow);
}
.gbh-instructions-heading { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 11px; }
.gbh-instructions-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--gbh-ink); font-size: 21px; }
.gbh-book-icon { color: var(--gbh-blue); font-size: 27px; }
.gbh-instructions-heading a { color: var(--gbh-blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.gbh-instruction-list { display: grid; gap: 7px; overflow: auto; padding-right: 3px; scrollbar-color: #b8d4f8 transparent; scrollbar-width: thin; }
.gbh-instruction-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 12px;
  min-height: 72px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #edf2f9;
  border-radius: 14px;
  color: var(--gbh-text);
  background: #f7f9fd;
  text-decoration: none;
}
.gbh-instruction-card:hover { border-color: #bdd8fb; background: #fff; }
.gbh-instruction-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--gbh-blue);
  background: #e7f2ff;
}
.gbh-instruction-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.gbh-instruction-icon.is-violet { color: #765cff; background: #eeeaff; }
.gbh-instruction-icon.is-green { color: #0fa876; background: #e4f8f0; }
.gbh-instruction-icon.is-amber { color: #e69a10; background: #fff3db; }
.gbh-instruction-icon.is-rose { color: #e26179; background: #ffedf1; }
.gbh-instruction-copy { min-width: 0; }
.gbh-instruction-copy strong, .gbh-instruction-copy small { display: block; }
.gbh-instruction-copy strong { color: var(--gbh-ink); font-size: 12px; line-height: 1.3; }
.gbh-instruction-copy small { margin-top: 3px; color: #526a86; font-size: 9px; line-height: 1.35; }
.gbh-instruction-arrow { color: #6c91c2; font-size: 21px; }

.gbh-partner-banner {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 92px;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 24px;
  border: 1px dashed #bad7fb;
  border-radius: 17px;
  color: #466589;
  background: linear-gradient(110deg, #f8fbff, #edf6ff);
  text-decoration: none;
}
.gbh-partner-art { color: #7d9fc8; font-size: 39px; text-align: center; }
.gbh-partner-banner strong, .gbh-partner-banner small { display: block; }
.gbh-partner-banner strong { color: #274b78; font-size: 16px; }
.gbh-partner-banner small { margin-top: 2px; color: #526a86; font-size: 11px; }
.gbh-partner-cta { padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--gbh-blue); font-size: 11px; font-weight: 750; }

.gbh-info { padding-top: 30px; }
.gbh-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gbh-info-card {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1px 13px;
  min-height: 140px;
  padding: 18px;
  border: 1px solid #edf2f9;
  border-radius: 18px;
  color: var(--gbh-text);
  background: #fff;
  box-shadow: 0 6px 20px rgba(47, 87, 137, 0.06);
  text-decoration: none;
}
.gbh-info-card > span { grid-row: span 3; display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; color: var(--gbh-blue); background: #e6f2ff; font-size: 22px; font-style: normal; }
.gbh-info-card strong { align-self: end; color: var(--gbh-ink); font-size: 14px; }
.gbh-info-card small { color: #526a86; font-size: 11px; }
.gbh-info-card em { align-self: end; color: var(--gbh-blue); font-size: 11px; font-style: normal; font-weight: 700; }
.gbh-info-card.is-violet > span { color: #765cff; background: #eeeaff; }
.gbh-info-card.is-green > span { color: #0fa876; background: #e4f8f0; }
.gbh-info-card.is-blue > span { color: #2380ea; background: #e9f4ff; }

.gbh-footer { padding: 30px 0 20px; border-top: 1px solid var(--gbh-line); color: #526a86; background: #fff; }
.gbh-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.gbh-footer strong { color: var(--gbh-ink); font-size: 17px; }
.gbh-footer p { max-width: 600px; margin: 7px 0 0; font-size: 11px; }
.gbh-footer nav { display: flex; gap: 22px; }
.gbh-footer nav a { color: #526a86; font-size: 12px; text-decoration: none; }
.gbh-legal { width: min(1480px, calc(100% - 48px)); margin: 15px auto 0 !important; color: #526a86; font-size: 10px !important; }

@media (max-width: 1260px) {
  .gbh-header-inner { gap: 18px; }
  .gbh-nav { display: none; }
  .gbh-search { display: none; }
  .gbh-mobile-nav { display: block; position: relative; margin-left: auto; }
  .gbh-mobile-nav summary { display: inline-flex; min-height: 42px; align-items: center; padding: 0 15px; border: 1px solid #7b92ad; border-radius: 11px; color: var(--gbh-ink); background: #f7faff; font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
  .gbh-mobile-nav summary::-webkit-details-marker { display: none; }
  .gbh-mobile-nav[open] summary { color: #fff; background: var(--gbh-blue); }
  .gbh-mobile-nav nav { display: grid; position: absolute; z-index: 30; top: calc(100% + 9px); right: 0; width: min(270px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--gbh-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(35, 69, 112, 0.18); }
  .gbh-mobile-search { display: grid; position: absolute; z-index: 31; top: calc(100% + 19px); right: 10px; grid-template-columns: minmax(0, 1fr) 38px; width: min(250px, calc(100vw - 52px)); gap: 6px; }
  .gbh-mobile-search input { min-width: 0; min-height: 38px; padding: 7px 9px; border: 1px solid #7b92ad; border-radius: 9px; color: var(--gbh-text); background: #fff; font: inherit; font-size: 12px; }
  .gbh-mobile-search button { display: grid; min-width: 38px; min-height: 38px; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #fff; background: var(--gbh-blue); font-size: 17px; cursor: pointer; }
  .gbh-mobile-search + nav { padding-top: 57px; }
  .gbh-mobile-nav nav a { padding: 10px 11px; border-radius: 9px; color: #3e587a; font-size: 13px; font-weight: 650; text-decoration: none; }
  .gbh-mobile-nav nav a:hover,
  .gbh-mobile-nav nav a.is-active { color: var(--gbh-blue); background: #eef6ff; }
  .gbh-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .gbh-hero-content { width: 64%; }
  .gbh-download-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .gbh-container { width: min(100% - 32px, 820px); }
  .gbh-header-inner { min-height: 76px; }
  .gbh-layout { grid-template-columns: 1fr; }
  .gbh-instructions { min-height: auto; }
  .gbh-instruction-list { grid-template-columns: repeat(2, 1fr); }
  .gbh-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .gbh-container { width: min(100% - 24px, 560px); }
  .gbh-main { padding-top: 12px; }
  .gbh-brand-mark { width: 38px; height: 42px; }
  .gbh-brand strong { font-size: 18px; }
  .gbh-hero { min-height: 540px; }
  .gbh-hero-image { height: 52%; top: auto; object-position: 62% center; }
  .gbh-hero-shade { background: linear-gradient(180deg, rgba(223, 240, 255, 0.99) 0%, rgba(223, 240, 255, 0.98) 57%, rgba(223, 240, 255, 0.18) 78%, rgba(223, 240, 255, 0) 100%); }
  .gbh-hero-content { width: 100%; padding: 22px 20px; }
  .gbh-eyebrow { margin-bottom: 20px; font-size: 9px; }
  .gbh-hero h1 { font-size: 40px; }
  .gbh-hero-copy { font-size: 14px; }
  .gbh-hero-actions { align-items: flex-start; flex-direction: column; }
  .gbh-download-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gbh-download-card { min-height: 316px; }
  .gbh-section-heading { align-items: flex-start; }
  .gbh-section-heading h2 { font-size: 23px; }
  .gbh-instruction-list { grid-template-columns: 1fr; }
  .gbh-partner-banner { grid-template-columns: 42px 1fr; padding: 16px; }
  .gbh-partner-cta { grid-column: 1 / -1; text-align: center; }
  .gbh-info-grid { grid-template-columns: 1fr; }
  .gbh-footer-inner { flex-direction: column; }
  .gbh-footer nav { flex-wrap: wrap; }
}
