:root {
  --bg: #050505;
  --text: #f5f5f2;
  --muted: rgba(245, 245, 242, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #3177cc;
  --surface: rgba(8, 8, 8, 0.44);
  --surface-strong: rgba(8, 8, 8, 0.58);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 1.35rem 0;
}

.nav-wrap {
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.58);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 8.5rem;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-nav a,
.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.72);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.nav-toggle {
  display: none;
}

.page-hero {
  position: relative;
  min-height: auto;
  padding: 8.8rem 0 2.4rem;
}

.page-hero__background,
.page-hero__grid,
.page-hero__glow {
  position: absolute;
  inset: 0;
}

.page-hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.24;
}

.page-hero__glow {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.36) 0%, rgba(5, 5, 5, 0.72) 100%),
    radial-gradient(circle at 18% 18%, rgba(49, 119, 204, 0.12), transparent 20%);
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-inner {
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
}

.page-section-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
}

.page-heading {
  position: relative;
  z-index: 1;
  max-width: 58rem;
}

.section-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(191, 208, 225, 0.8);
}

.page-heading p {
  margin: 0 0 1rem;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(245, 245, 242, 0.76);
}

.legal-document-header {
  position: relative;
  z-index: 1;
  padding-top: 1.45rem;
}

.legal-document-header .section-kicker {
  margin-bottom: 1.75rem;
}

.legal-document {
  display: grid;
  gap: 2.35rem;
  max-width: 70rem;
}

.legal-document__section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
}

.legal-document__section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-document__section h2 {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-document__section h3 {
  margin: 1.4rem 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.86);
}

.legal-document__section p {
  margin: 0 0 1rem;
  max-width: 60rem;
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(245, 245, 242, 0.72);
}

.legal-document__section ul {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.legal-document__section li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(245, 245, 242, 0.72);
}

.legal-document__section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.88rem;
  width: 0.4rem;
  height: 1px;
  background: rgba(49, 119, 204, 0.76);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
}

.footer-brand img,
.footer-logo {
  width: 5.4rem;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(245, 245, 242, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
}

.footer-links a,
.footer-meta span {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.7);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  color: rgba(245, 245, 242, 0.82);
  background: rgba(8, 8, 8, 0.38);
}

.footer-social svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.landing__background,
.landing__image,
.landing__overlay,
.landing__grid {
  position: absolute;
  inset: 0;
}

.landing__image {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.16)),
    url("assets/hero.png") center center / cover no-repeat;
  transform: scale(1.03);
}

.landing__overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.6) 52%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.4) 42%, rgba(5, 5, 5, 0.8) 100%);
}

.landing__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.28;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.2rem;
  padding: 4.8rem 0 1.3rem;
}

.hero__brand img {
  width: min(20rem, 45vw);
  height: auto;
  object-fit: contain;
}

.hero__content {
  max-width: 56rem;
  margin-top: 5.2rem;
  padding: 1.9rem 2rem 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.06));
  backdrop-filter: blur(8px);
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(191, 208, 225, 0.78);
}

.hero__subtitle {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.02rem, 1.52vw, 1.24rem);
  line-height: 1.72;
  color: rgba(245, 245, 242, 0.82);
  text-wrap: pretty;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.8);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
}

.footer__brand img {
  width: 5.4rem;
  height: auto;
  object-fit: contain;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
}

.footer__links a,
.footer__meta span {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.7);
}

.footer__links a {
  transition: color 0.3s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--text);
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  color: rgba(245, 245, 242, 0.82);
  background: rgba(8, 8, 8, 0.38);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.footer__social svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.footer__social:hover,
.footer__social:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(49, 119, 204, 0.44);
  background: rgba(49, 119, 204, 0.08);
  color: var(--text);
}

@media (max-width: 980px) {
  body {
    overflow: auto;
  }

  .hero {
    gap: 1.8rem;
    justify-content: flex-start;
    padding: 2rem 0;
  }

  .hero__content {
    margin-top: 3.4rem;
    max-width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer__links {
    justify-content: start;
  }

  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: calc(100% - 1.5rem);
  }

  .nav-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .footer-links,
  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.page-shell {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero {
    width: calc(100% - 1.5rem);
    padding: 1.35rem 0 1.5rem;
    gap: 1.4rem;
  }

  .hero__brand img {
    width: min(15rem, 48vw);
  }

  .hero__subtitle {
    line-height: 1.7;
  }

  .hero__content {
    margin-top: 2.2rem;
    padding: 1.35rem 1rem 1.15rem;
  }

  .hero__facts {
    gap: 0.6rem;
  }

  .hero__facts span {
    width: 100%;
    justify-content: center;
  }

  .footer {
    gap: 1rem;
  }

  .footer__meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .site-header {
    padding: 0.9rem 0;
  }

  .nav-wrap {
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
  }

  .brand img {
    width: 7.2rem;
  }

  .site-nav {
    gap: 0.7rem 1rem;
  }

  .page-hero {
    padding-top: 7.3rem;
    padding-bottom: 1.8rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .page-heading p,
  .legal-document__section p,
  .legal-document__section li {
    font-size: 0.94rem;
    line-height: 1.78;
  }
}
