/* ===== Momentus Legal Styles (Azerbaycan / TR) ===== */
:root {
  --bg: #0e0e0f;
  --card: #151517;
  --text: #fcfcfd;
  --muted: #f4f2f2;
  --brand: #6ee7b7;
  --brand-2: #60a5fa;
  --border: #26262a;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif
}

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.lede {
  color: var(--muted);
  max-width: 64ch
}
p {
  color: white;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(14, 14, 15, .8);
  backdrop-filter: saturate(160%) blur(8px)
}

.brand {
  font-weight: 700;
  letter-spacing: .3px
}

.legal-nav {
  display: flex;
  gap: 16px
}

.legal-nav a[aria-current="page"] {
  color: var(--brand-2);
  font-weight: 600
}

.legal-main {
  display: grid;
  place-items: start;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px
}

.legal-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px
}

.legal-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin: .2em 0 .6em
}

.legal-article h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 1.2em 0 .5em
}

.legal-article ul,
.legal-article ol {
  padding-left: 22px
}

.legal-article li {
  margin: .25em 0
}

.legal-footer {
  max-width: 960px;
  margin: 24px auto 64px;
  padding: 0 20px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.footer-links {
  display: flex;
  gap: 16px
}

/* Thanks page */
.is-thanks .thanks-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px
}

.thanks-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  max-width: 720px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

.thanks-badge {
  width: 64px;
  height: auto;
  margin-bottom: 12px;
  filter: grayscale(100%) brightness(2)
}

.thanks-title {
  font-size: clamp(28px, 3.2vw, 42px);
  margin: .2em 0 .4em
}

.thanks-text {
  color: var(--muted);
  margin: 0 auto 16px;
  max-width: 60ch
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(110, 231, 183, .15), rgba(96, 165, 250, .15));
  color: var(--text)
}

.button.is-secondary {
  background: transparent
}

.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 10px 0 4px;
  flex-wrap: wrap
}

.thanks-small {
  font-size: 14px;
  color: var(--muted)
}

@media (max-width:640px) {
  .legal-article {
  
    padding: 20px;
      padding-top: 50px;
  }

  .legal-footer {
    flex-direction: column;
    gap: 8px
  }
}