:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f6368;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: bold;
  unicode-bidi: isolate;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: bold;
  unicode-bidi: isolate;
}

body.page-home {
  --accent: #ffffff;
  --link: #1a0dab;
  --hero-image: url("assets/home-hero.jpg");
  font-family: Georgia, "Times New Roman", serif;
}

body.page-legal {
  --accent: #ffffff;
  --link: #1a73e8;
  --hero-image-legal: url("assets/legal-hero.png");
  font-family: "Lato", Arial, sans-serif;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(1px);
}

.topbar__inner {
  width: calc(100% - 64px);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.brand__text {
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.page-legal .brand__text {
  font-weight: 400;
}

.brand__dot {
  font-weight: 400;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.nav__link {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 2px;
  border-radius: 0;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #fff;
  outline: none;
}

.nav__link--active {
  color: #fff;
  font-weight: 700;
}

.search-button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.search-button svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero--home {
  min-height: 610px;
  background:
    linear-gradient(rgba(36, 27, 29, 0.52), rgba(36, 27, 29, 0.52)),
    var(--hero-image) center/cover no-repeat,
    #3a2f31;
}

.hero--legal {
  min-height: 360px;
  background:
    linear-gradient(rgba(28, 37, 45, 0.36), rgba(28, 37, 45, 0.36)),
    var(--hero-image-legal) center/cover no-repeat,
    #26313a;
}

.hero__content {
  position: relative;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 148px 0 108px;
  text-align: center;
  color: #fff;
}

.hero__content--compact {
  padding: 108px 0 54px;
}

.hero__eyebrow {
  margin: 20px 0 0;
  font-size: 0.98rem;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0.98;
}

.hero h1 {
  color: #fff;
  line-height: 0.98;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
}

.page-home .hero h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  font-weight: 400;
}

.page-legal .hero h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.6rem, 7vw, 5.9rem);
  font-weight: 400;
}

.content-wrap {
  padding: 52px 0 88px;
}

.content-shell {
  width: min(1700px, calc(100% - 96px));
  margin: 0 auto;
  background: var(--surface);
  padding: 0;
}

.content-shell--home {
  width: min(1700px, calc(100% - 176px));
}

.section h2,
.legal-section h2 {
  color: #111111;
  line-height: 1.2;
}

.section p,
.legal-section p,
.list li,
.effective-date {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.56;
  color: var(--text);
}

.section p + p,
.legal-section p + p {
  margin-top: 22px;
}

.list {
  margin: 0;
  padding-left: 34px;
}

.list li + li {
  margin-top: 12px;
}

.legal-doc {
  width: min(1700px, calc(100% - 180px));
}

.effective-date {
  margin-bottom: 34px;
  color: #111111;
  font-size: 1.02rem;
}

.section,
.legal-section {
  padding-top: 0;
  border-top: 0;
}

.section + .section {
  margin-top: 34px;
}

.legal-section + .legal-section {
  margin-top: 22px;
}

.page-home .section h2 {
  font-family: Merriweather, Georgia, serif;
  font-weight: 700;
}

.page-home .section p,
.page-home .list li {
  font-family: Merriweather, Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.58;
}

.page-legal .legal-doc {
  font-family: Arial, Helvetica, sans-serif;
}

.page-legal .legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
}

.page-legal .legal-section p,
.page-legal .effective-date {
  font-size: 1rem;
  line-height: 1.58;
  }

.page-legal .legal-section p strong {
  font-weight: 700;
}

@media (max-width: 640px) {
  .topbar__inner {
    width: calc(100% - 28px);
    min-height: 58px;
    padding: 6px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }

  .brand {
  }

  .brand__text {
    font-size: 0.98rem;
  }

  .hero__content {
    width: calc(100% - 28px);
    padding: 108px 0 70px;
  }

  .hero__content--compact {
    padding: 92px 0 50px;
  }

  .content-wrap {
    padding: 44px 0 64px;
  }

  .content-shell,
  .content-shell--home,
  .legal-doc {
    width: calc(100% - 36px);
  }

  .hero--home {
    min-height: 430px;
  }

  .hero--legal {
    min-height: 280px;
  }

  .page-home .hero h1,
  .page-legal .hero h1 {
    line-height: 1.02;
  }
}
