/* ============================================================
   TERMS & CONDITIONS PAGE
   ============================================================ */

body { padding-top: 90px; }
@media (max-width: 768px) { body { padding-top: 76px; } }

/* ── HERO ── */
.terms-hero {
  background-color: var(--clr-navy);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4rem, 9vw, 6.5rem);
}

.terms-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent, transparent 80px,
    rgba(255,255,255,0.015) 80px,
    rgba(255,255,255,0.015) 82px
  );
  pointer-events: none;
}

.terms-hero::after {
  content: '';
  position: absolute;
  left: calc(var(--gutter) - 1px);
  top: 0; bottom: 0;
  width: 3px;
  background: var(--clr-red);
  opacity: 0.7;
}

.terms-hero__clip {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--clr-grey);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  pointer-events: none;
}

.terms-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.terms-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--clr-white);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-5);
}

.terms-hero__sub {
  font-size: var(--text-lg);
  color: var(--clr-muted);
  line-height: 1.55;
  margin: 0;
}
.terms-hero__sub a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.terms-hero__sub a:hover { color: var(--clr-white); }

/* ── BODY ── */
.terms-body { background: var(--clr-grey); }

.terms-content {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.terms-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid rgba(12,18,58,0.09);
}
.terms-item:last-child { border-bottom: none; }

.terms-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-red);
  opacity: 0.5;
  line-height: 1.3;
  padding-top: 2px;
}

.terms-text h2 {
  font-size: var(--text-xl);
  color: var(--clr-navy);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}

.terms-text p {
  font-size: var(--text-base);
  color: #444;
  line-height: 1.75;
  margin: 0;
}

.terms-text a { color: var(--clr-red); text-decoration: underline; }
.terms-text a:hover { color: var(--clr-red-dk); }

.terms-footer-note {
  max-width: 780px;
  margin: var(--sp-10) auto 0;
  padding: var(--sp-6) var(--sp-7);
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--clr-red);
}
.terms-footer-note p {
  font-size: var(--text-sm);
  color: #555;
  margin: 0;
  line-height: 1.65;
}
.terms-footer-note a { color: var(--clr-red); }

@media (max-width: 600px) {
  .terms-item { grid-template-columns: 36px 1fr; gap: var(--sp-4); }
  .terms-num { font-size: var(--text-lg); }
  .terms-text h2 { font-size: var(--text-lg); }
}
