@import url('wix-fonts.css');

.page-terms-site {
  font-family: var(--wix-font-body);
  font-weight: 400;
}

.page-terms-site .main-nav a {
  font-family: Arial, Helvetica, var(--wix-font-body), sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-terms-site .footer-brand p,
.page-terms-site .footer-col a,
.page-terms-site .footer-bottom {
  font-family: var(--wix-font-body);
}

/* ============ HERO ============ */
.terms-hero {
  padding: 48px 24px 0;
  background: #fff;
}

.terms-hero-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}

.terms-hero-frame img {
  width: 100%;
  height: clamp(240px, 28vw, 352px);
  object-fit: cover;
  display: block;
}

.terms-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.terms-hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 24px;
}

.terms-hero-title h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0;
}

/* ============ CONTENT ============ */
.terms-content {
  padding: 48px 24px 80px;
  background: #fff;
}

.terms-content-inner {
  max-width: 795px;
  margin: 0 auto;
}

.terms-content-inner h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--black);
  margin: 48px 0 18px;
  text-align: left;
}

.terms-content-inner h2:first-child {
  margin-top: 0;
  font-size: 25px;
}

.terms-content-inner p {
  font-family: var(--wix-font-body);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 18px;
}

.terms-content-inner p:last-child {
  margin-bottom: 0;
}

/* ============ CONNECT ============ */
.terms-connect {
  margin-top: 56px;
  padding-top: 8px;
}

.terms-connect h2 {
  font-size: 25px;
  margin-top: 0;
}

.terms-connect-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.terms-connect-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.terms-connect-socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .terms-hero {
    padding-top: 32px;
  }

  .terms-content {
    padding: 36px 24px 64px;
  }

  .terms-content-inner h2 {
    font-size: 24px;
    margin-top: 36px;
  }

  .terms-content-inner h2:first-child {
    font-size: 22px;
  }

  .terms-content-inner p {
    font-size: 16px;
  }
}
