:root {
  color-scheme: dark;
  --bg: #080809;
  --bg-soft: #101012;
  --panel: #151517;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f2;
  --muted: #a8a7a0;
  --dim: #686862;
  --accent: #ff5638;
  --cyan: #ff5638;
  --gold: #ff8a72;
  --focus: #ff5638;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 92px 92px;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.12), var(--bg) 78%),
    linear-gradient(135deg, rgba(255, 86, 56, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(255, 86, 56, 0.08), transparent 42%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.landing-shell {
  width: min(100%, 1180px);
  min-height: 68vh;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: grid;
  align-items: center;
}

.landing-hero {
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.landing-hero h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.brand-link:hover,
.footer-logo:hover {
  color: var(--cyan);
}

.back-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.back-link:hover {
  color: #ffffff;
}

.legal-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
}

.legal-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.legal-content {
  max-width: 820px;
}

.legal-content .eyebrow {
  color: var(--dim);
}

.legal-content h1 {
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.legal-intro {
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.legal-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

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

.legal-section a {
  color: var(--cyan);
  text-underline-offset: 4px;
}

.entity-block {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #000000;
}

.footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 64px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr) minmax(180px, 1fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 25rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-brand .footer-tagline {
  color: var(--dim);
  font-size: 0.8rem;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: #bdbdb7;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-contact {
  margin-top: 32px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--dim);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .landing-shell {
    min-height: 58vh;
    padding-top: 72px;
  }

  .landing-hero h1,
  .legal-content h1 {
    font-size: 3.2rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .landing-hero h1,
  .legal-content h1 {
    font-size: 2.6rem;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }
}
