/* Shared navigation; flags are images so they also render on Windows. */
.policy-header {
  display: flex;
  align-items: center;
  padding-inline: 24px;
}
.policy-header .brand {
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}
.site-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 80px;
  padding-block: 14px;
  background: #161a20;
  box-shadow: 0 0 0 100vmax #161a20;
  clip-path: inset(0 -100vmax);
  border-bottom: 1px solid #343d49;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.6px;
  padding: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand .brand-copy {
  color: #f4f5f7;
  font: inherit;
  margin: 0;
  letter-spacing: inherit;
}
.brand small {
  display: block;
  color: #aebaca;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 5px;
}
.languages {
  display: flex;
  align-items: center;
  gap: 8px;
}
.languages a,
.languages > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  padding: 10px;
  border: 1px solid #485466;
  border-radius: 6px;
}
.languages img {
  width: 28px;
  height: 19px;
  border-radius: 2px;
  object-fit: cover;
}
.languages [aria-current] {
  border: 2px solid #ff8759;
  background: #30221f;
}
.languages a:hover {
  background: #303a48;
}
.skip-link {
  position: fixed;
  z-index: 30;
}
[data-section-nav] a {
  text-decoration: none;
  border-left: 2px solid transparent;
  padding: 10px 14px;
  color: #bdc8d8;
}
[data-section-nav] a:hover,
[data-section-nav] a[aria-current] {
  color: #ffac88;
  background: #282025;
  border-color: #ff8759;
}
html {
  scroll-padding-top: 110px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    flex-wrap: nowrap;
    gap: 8px;
    padding-block: 12px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .languages {
    gap: 4px;
  }
  .languages a,
  .languages > span {
    width: 40px;
  }
  html {
    scroll-padding-top: 152px;
  }
}

/* Homepage keeps its RGB controls while giving the copy a readable measure. */
.home-content {
  min-width: 0;
}
.home-nav {
  position: fixed;
  top: 110px;
  left: 20px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  font-size: 14px;
}
.home-content .hero {
  background: #18202b;
  color: #f4f5f7;
}
.home-content .hero h1 {
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -2px;
  line-height: 1.06;
}
.home-content .hero h1 span {
  color: var(--accent-text, #ff8759);
}
.home-content .hero-bottom p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 46ch;
}
.home-content .hero-bottom .fineprint {
  font-size: 14px;
  color: #bdc8d8;
}
.home-content h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.15;
  letter-spacing: -1px;
}
.home-content .profile-copy h3 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}
.home-content p {
  line-height: 1.65;
}
.home-content .wrap {
  padding-inline: 32px;
}
.home-content .hero .button {
  background: #ff8759;
  color: #111;
}
.home-content .hero .install-menu {
  color: #f4f5f7;
}
.home-content .guide-action {
  display: inline-block;
  margin-top: 16px;
  font-size: 16px;
}
@media (min-width: 1100px) {
  .home-content {
    margin-left: 230px;
  }
}
@media (max-width: 1099px) {
  .home-nav {
    position: sticky;
    top: 80px;
    left: auto;
    width: 100%;
    flex-direction: row;
    white-space: nowrap;
    overflow-x: auto;
    max-height: none;
    background: #161a20;
    padding: 8px 16px;
    z-index: 15;
  }
}
@media (max-width: 760px) {
  .home-nav {
    top: 76px;
    font-size: 13px;
    gap: 0;
  }
  .home-content .wrap {
    padding-inline: 20px;
  }
  .home-content .hero-bottom p {
    font-size: 18px;
  }
}
