@font-face {
  font-family: "Inter";
  src: url("./assets/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.045);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: #000;
}

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

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 max(32px, calc((100% - 1200px) / 2));
  background: #000;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 740;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: 26px;
  height: 22px;
  object-fit: contain;
}

.login-button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.login-button {
  color: #000;
  background: #fff;
}

.primary-action {
  min-width: 132px;
  color: #000;
  background: #fff;
}

.login-button:hover,
.primary-action:hover {
  color: #000;
  background: #e9e9e9;
  transform: translateY(-1px);
}

.hero {
  display: flex;
  width: min(1200px, calc(100% - 64px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 100px 0 64px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

h1 {
  max-width: 760px;
  margin: 0 0 32px;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: 0;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 22px 0 34px;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.legal-links a:hover {
  color: #fff;
}

.legal-page {
  min-height: 100vh;
  color: var(--text);
  background: #000;
}

.legal-shell {
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
  padding: 60px 0 96px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 760;
}

.legal-nav a:hover {
  color: #fff;
}

.legal-card {
  padding: 52px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.legal-card h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: 20px;
  line-height: 1.22;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-note {
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff !important;
  background: var(--panel);
}

@media (max-width: 720px) {
  .hero,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 64px 0 76px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }
}
