:root {
  --page-bg: #0a0b0b;
  --page-panel: #111312;
  --page-panel-soft: #171917;
  --page-border: rgba(241, 244, 237, 0.14);
  --page-text: #f4f5ef;
  --page-muted: #a7ada5;
  --page-accent: #facc15;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  color: var(--page-text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--page-bg);
  background-size: 72px 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.top-navigation {
  min-height: 82px;
  margin: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--page-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--page-text);
  text-decoration: none;
}

.brand-icon {
  display: none;
}

.brand-copy {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}

.brand-copy::before {
  order: 2;
  width: 28px;
  height: 2px;
  background: var(--page-accent);
  content: "";
}

.brand-copy strong {
  order: 1;
  color: var(--page-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-copy span {
  order: 3;
  margin: 0;
  color: var(--page-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.navigation-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.navigation-link {
  padding: 9px 0;
  color: var(--page-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.navigation-link:hover,
.brand:hover {
  color: var(--page-accent);
}

a:focus-visible {
  outline: 3px solid var(--page-accent);
  outline-offset: 4px;
}

.page-header {
  max-width: 850px;
  margin: 0 0 54px;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--page-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: var(--page-accent);
  content: "";
}

h1 {
  margin: 0;
  color: var(--page-text);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--page-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
}

.effective-date {
  display: inline-block;
  margin-top: 22px;
  padding: 0;
  color: #d4d7d0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 750 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terms-card,
.policy-card,
.support-card {
  overflow: visible;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--page-border);
  border-radius: 0;
  box-shadow: none;
}

.terms-section,
.policy-section,
.support-section {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--page-border);
}

.terms-section h2,
.policy-section h2,
.support-section h2 {
  margin: 0 0 13px;
  color: var(--page-text);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.terms-section p,
.policy-section p,
.support-section p {
  max-width: 830px;
  margin: 0;
  color: #c7cbc3;
  font-size: 14px;
  line-height: 1.72;
}

.terms-section p + p,
.policy-section p + p,
.support-section p + p {
  margin-top: 13px;
}

.policy-section ul {
  max-width: 830px;
  margin: 15px 0 0;
  padding-left: 20px;
  color: #c7cbc3;
  font-size: 14px;
}

.policy-section li + li {
  margin-top: 9px;
}

.contact-box {
  max-width: 830px;
  margin-top: 18px;
  padding: 18px;
  background: var(--page-panel);
  border: 1px solid var(--page-border);
  border-radius: 0;
}

.contact-button {
  width: min(100%, 520px);
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #090a09;
  background: var(--page-accent);
  border: 1px solid var(--page-accent);
  border-radius: 0;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.contact-button:hover {
  background: #ffe15b;
}

.contact-button small {
  color: #36330e;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.arrow {
  font-size: 22px;
}

footer {
  padding: 30px 0 0;
  color: #737970;
  font-size: 11px;
  text-align: left;
}

@media (min-width: 760px) {
  .terms-section,
  .policy-section,
  .support-section {
    display: grid;
    grid-template-columns: minmax(250px, 0.44fr) minmax(0, 1fr);
    column-gap: clamp(42px, 7vw, 90px);
  }

  .terms-section h2,
  .policy-section h2,
  .support-section h2 {
    grid-column: 1;
    grid-row: 1 / span 10;
  }

  .terms-section > :not(h2),
  .policy-section > :not(h2),
  .support-section > :not(h2) {
    grid-column: 2;
  }
}

@media (max-width: 650px) {
  .page-shell {
    width: min(100% - 28px, 1080px);
  }

  .top-navigation {
    min-height: 72px;
    margin-bottom: 54px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy::before {
    width: 22px;
  }

  .navigation-links {
    gap: 16px;
  }

  .navigation-link {
    padding: 8px 0;
    font-size: 12px;
  }

  .page-header {
    margin-bottom: 40px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .terms-section,
  .policy-section,
  .support-section {
    padding: 26px 0 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
