
:root {
  --blue: #00aeff;
  --navy: #020b15;
  --border: rgba(0, 160, 255, .35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--navy);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVIGATION */

.site-header {
  position: relative;
  z-index: 5;
  min-height: 90px;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #020b15;
  border-bottom: 1px solid rgba(0,160,255,.18);
}

.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo span {
  font-family: Georgia, serif;
  font-size: 30px;
  letter-spacing: 8px;
}

.logo small {
  color: var(--blue);
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 2.6px;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--blue);
}

.join-btn {
  background: linear-gradient(110deg,#00baff,#087aff);
  padding: 15px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(0,153,255,.3);
}

/* FULL PAGE BACKGROUND */

.terms-page {
  position: relative;
  isolation: isolate;
  background-color: #020b15;
}

.terms-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

 background-image:
    linear-gradient(
        to bottom,
        rgba(0, 7, 18, 0.05) 0%,
        rgba(0, 7, 18, 0.12) 22%,
        rgba(0, 7, 18, 0.75) 55%,
        #020b15 100%
    ),
    url("images/terms-bg.png");

  background-size: 100% 100%, cover;
  background-position: center, center top;
  background-repeat: no-repeat;
}

/* HERO */

.terms-hero {
  max-width: 1200px;
  margin: auto;
  min-height: 305px;
  padding: 44px 25px 20px;
}

.eyebrow {
  color: var(--blue);
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 22px;
}

.terms-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 72px);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -2px;
}

.terms-hero h1 span {
  color: var(--blue);
}

.hero-description {
  color: #c2d6e9;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 20px;
}

/* TERMS PANEL */

.terms-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 18px;
}

.terms-panel {
  background: rgba(1,13,26,.95);
  border: 1px solid rgba(0,160,255,.45);
  border-radius: 12px;
  padding: 3px 26px;
  box-shadow: 0 20px 65px rgba(0,0,0,.25);
}

.terms-row {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  align-items: start;
  gap: 24px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--border);
}

.terms-row:last-child {
  border-bottom: none;
}

.terms-icon {
  width: 62px;
  height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg,#073456,#03182d);
  border: 1px solid rgba(0,160,255,.4);
  border-radius: 13px;
  color: var(--blue);
  font-size: 37px;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.terms-row h2 {
  margin: 1px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.terms-row p {
  margin: 0 0 4px;
  color: #bfd2e5;
  font-size: 14px;
  line-height: 1.48;
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 14px;
}

.updated {
  margin: 10px 6px 0;
  color: #a7bacc;
  font-size: 13px;
}

/* FOOTER */

.premium-footer {
  padding: 32px 6% 20px;
  background: #020b15;
  border-top: 1px solid #0089d5;
}

.footer-grid {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr .9fr .9fr 1.25fr;
  gap: 30px;
}

.footer-column {
  padding-left: 30px;
  border-left: 1px solid var(--border);
}

.footer-brand p,
.footer-column p {
  color: #b9cfe1;
  font-size: 14px;
  line-height: 1.65;
}

.footer-column h3 {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 2px;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 43px;
  height: 2px;
  margin-top: 12px;
  background: var(--blue);
}

.footer-column > a:not(.footer-contact) {
  display: block;
  color: #b9cfe1;
  font-size: 14px;
  margin-bottom: 9px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: #9cc9ea;
  font-size: 12px;
}

.footer-contact {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 20px;
  border-radius: 8px;
  background: linear-gradient(110deg,#00baff,#087aff);
  font-size: 14px;
  font-weight: bold;
}

.footer-bottom {
  max-width: 1400px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid #14517a;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a9bed1;
  font-size: 13px;
}

/* TABLET */

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    padding: 18px 5%;
  }

  .logo span {
    font-size: 23px;
    letter-spacing: 5px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .join-btn {
    padding: 12px 14px;
    font-size: 12px;
  }

  .terms-page::before {
    background-size: 100% 100%, auto 650px;
  }

  .terms-hero {
    min-height: 320px;
    padding: 55px 20px 20px;
  }

  .terms-hero h1 {
    font-size: clamp(39px, 9vw, 54px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-description br {
    display: none;
  }

  .terms-content {
    padding: 0 12px 22px;
  }

  .terms-panel {
    padding: 4px 12px;
  }

  .terms-row {
    grid-template-columns: 46px minmax(0,1fr);
    gap: 13px;
    padding: 20px 0;
  }

  .terms-icon {
    width: 44px;
    height: 44px;
    font-size: 27px;
  }

  .terms-row h2 {
    font-size: 16px;
  }

  .terms-row p {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column {
    padding-left: 0;
    border-left: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* FIT TERMS BACKGROUND AT THE TOP */

.terms-page::before {
    background-size: 100% 100%, 100% auto !important;
    background-position: center, center top !important;
    background-repeat: no-repeat !important;
}