/* ============================================================
   Vexu Rano — Terms page styles
   Scoped to .terms-page and page-owned components only.
   ============================================================ */

.terms-page {
  --terms-column-max: 800px;
  --terms-gutter: 5vw;
  --terms-section-gap: clamp(3rem, 6vw, 6rem);
  --terms-heading-color: #d6bd7a;
  --terms-body-color: #ded2c1;
  --terms-accent: #a51d32;
  --terms-accent-hover: #c44545;
  --terms-brass: #c4a76b;
  --terms-bg-base: #101010;
  --terms-bg-surface: #181818;
  --terms-bg-casino: #260d14;
}

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

/* Hero */
.terms-hero {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  background-color: var(--terms-bg-base);
  border-block-end: 1px solid rgba(196, 167, 107, 0.3);
}

.terms-hero__inner {
  max-width: var(--terms-column-max);
  margin-inline: auto;
  padding-inline: var(--terms-gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.terms-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terms-heading-color);
  margin: 0;
}

.terms-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: #f5eee3;
  margin: 0;
}

.terms-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--terms-body-color);
  max-width: 680px;
  margin: 0;
}

.terms-hero__effective {
  font-size: 1rem;
  color: #aaa092;
  margin: 0;
}

.terms-hero__effective strong {
  color: var(--terms-heading-color);
  font-weight: 700;
}

/* Sections */
.terms-section {
  padding-block: var(--terms-section-gap);
  background-color: var(--terms-bg-base);
}

.terms-section--surface {
  background-color: var(--terms-bg-surface);
}

.terms-section--casino {
  background-color: var(--terms-bg-casino);
  padding-block: calc(var(--terms-section-gap) + 1rem);
}

.terms-section--effective {
  background-color: var(--terms-bg-base);
  border-block-start: 1px solid rgba(196, 167, 107, 0.3);
}

.terms-section__inner {
  max-width: var(--terms-column-max);
  margin-inline: auto;
  padding-inline: var(--terms-gutter);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.terms-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.terms-section__number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terms-heading-color);
}

.terms-section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  font-weight: 600;
  color: var(--terms-heading-color);
  margin: 0;
}

.terms-section__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.terms-section__body h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  color: #f5eee3;
  margin: 0;
}

.terms-section__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--terms-body-color);
  margin: 0;
  max-width: 65ch;
}

.terms-section__body p strong {
  color: #f5eee3;
  font-weight: 700;
}

.terms-section__body a {
  color: var(--terms-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-section__body a:hover {
  color: var(--terms-accent-hover);
  text-decoration: underline;
  text-decoration-color: var(--terms-brass);
  text-underline-offset: 3px;
}

.terms-section__body a:focus-visible {
  outline: 2px solid var(--terms-heading-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lists */
.terms-list {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 65ch;
}

.terms-list li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--terms-body-color);
  margin: 0;
}

.terms-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--terms-brass);
}

.terms-list li strong {
  color: #f5eee3;
  font-weight: 700;
}

.terms-list li a {
  color: var(--terms-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-list li a:hover {
  color: var(--terms-accent-hover);
  text-decoration: underline;
  text-decoration-color: var(--terms-brass);
  text-underline-offset: 3px;
}

/* Effective date section emphasis */
.terms-section--effective .terms-section__body p strong {
  color: var(--terms-heading-color);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .terms-hero__lead {
    font-size: 1rem;
  }

  .terms-section__inner {
    gap: 1.5rem;
  }

  .terms-section__body {
    gap: 1.25rem;
  }

  .terms-list {
    gap: 0.65rem;
  }
}

@media (max-width: 420px) {
  .terms-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .terms-section__header h2 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .terms-section__body h3 {
    font-size: clamp(1.15rem, 6vw, 1.35rem);
  }
}
