:root {
  --color-black: #000;
  --color-white: #fff;
  --color-muted: #b4b4b4;
  --color-soft: #dedede;
  --color-panel: rgba(16, 16, 16, 0.74);
  --color-line: rgba(255, 255, 255, 0.18);
  --color-orange: #e95c0c;
  --color-orange-light: #f09d4b;
  --gradient-bcube: linear-gradient(55.61deg, #fd280a 8.79%, #f85921 48.23%, #f09d4b 90.67%);
  --font-sans: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-copy: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-height: 100px;
  --page-x: clamp(24px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-black);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-copy);
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  background: var(--color-orange);
  color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--color-orange-light);
}

a:focus-visible {
  outline: 2px solid var(--color-orange-light);
  outline-offset: 4px;
}

img,
video {
  display: block;
  max-width: 100%;
}

.background-video,
.background-poster {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-video {
  opacity: 0.45;
}

.background-poster {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, #000 100%), url("/assets/bcube-share-image.jpg") center / cover no-repeat;
}

.media-shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(233, 92, 12, 0.22), rgba(0, 0, 0, 0) 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 34%, #000 100%);
}

.site-shell {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  padding: 20px var(--page-x);
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(160px, 42vw);
}

.brand img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.courtesy-main {
  flex: 1;
  width: 100%;
  padding: calc(var(--header-height) + 34px) var(--page-x) 72px;
}

.hero {
  display: grid;
  width: min(1240px, 100%);
  min-height: calc(100vh - var(--header-height) - 190px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1 {
  display: inline-block;
  max-width: 980px;
  margin: 0;
  background: var(--gradient-bcube);
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  font-size: clamp(52px, 8.4vw, 118px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 1.02;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--color-soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.52;
}

.lead strong {
  color: var(--color-white);
  font-weight: 700;
}

.contact-panel {
  padding: 32px 0 0;
  border-top: 1px solid var(--color-line);
}

.contact-panel h2,
.social-block h2 {
  margin: 0 0 20px;
  color: var(--color-white);
  font-family: var(--font-copy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-item {
  display: grid;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  gap: 5px;
}

.contact-item:first-child {
  border-top: 0;
}

.contact-label {
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-value {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.social-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--color-line);
}

.social-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--color-muted);
  font-family: var(--font-copy);
  font-size: 16px;
  line-height: 1.4;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.social-links a {
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--color-orange-light);
}

.site-footer {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 22px var(--page-x);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.site-footer__inner {
  display: grid;
  width: min(1280px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 18px 42px;
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer a.footer-email {
  color: var(--color-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  background:
    radial-gradient(circle at 76% 4%, rgba(233, 92, 12, 0.2), rgba(0, 0, 0, 0) 28%),
    linear-gradient(180deg, #000 0%, #101010 36%, #000 100%);
}

.legal-main {
  flex: 1;
  width: 100%;
  padding: calc(var(--header-height) + 54px) var(--page-x) 80px;
}

.legal-hero {
  width: min(1040px, 100%);
  margin: 0 auto 54px;
}

.legal-hero h1 {
  font-size: clamp(42px, 6.5vw, 86px);
}

.legal-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--color-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.legal-content {
  width: min(1040px, 100%);
  margin: 0 auto;
  color: #f4f4f4;
}

.legal-content p,
.legal-content li,
.legal-content td {
  color: #f4f4f4;
  font-size: 16px;
  line-height: 1.72;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(240, 157, 75, 0.72);
  text-underline-offset: 3px;
}

.legal-content h3 {
  margin: 42px 0 14px;
  color: var(--color-orange);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.legal-content h4 {
  margin: 28px 0 12px;
  color: var(--color-orange-light);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-content table {
  width: 100%;
  margin: 28px 0 30px;
  border-collapse: collapse;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.legal-content tr + tr {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content td {
  padding: 13px 16px;
  vertical-align: top;
}

.legal-content tr:first-child td {
  color: var(--color-orange-light);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  :root {
    --header-height: 88px;
  }

  .site-header {
    min-height: var(--header-height);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand img {
    height: 52px;
  }

  .courtesy-main {
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
  }

  .contact-panel {
    padding-top: 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --page-x: 20px;
  }

  .media-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 38%, #000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62));
  }

  .courtesy-main,
  .legal-main {
    padding-bottom: 56px;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 15vw, 68px);
    line-height: 1.02;
  }

  .hero h1 {
    font-size: clamp(39px, 11.2vw, 50px);
    line-height: 1.04;
  }

  .lead,
  .legal-lead {
    font-size: 17px;
  }

  .contact-value {
    font-size: 20px;
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 13px;
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .background-video {
    display: none;
  }
}
