/* ================================================================
   FlightHub – Terms page styles
   ================================================================ */

/* Reset body flex gap set in styles.css */
body {
  gap: 0;
  align-items: flex-start;
}

.site-footer {
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
}

.terms-header {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 40px 48px;
}

.terms-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
}

.terms-header__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.terms-header__back:hover { opacity: 1; }

.terms-header__back-arrow {
  font-size: 18px;
  line-height: 1;
}

.terms-header__logo {
  display: block;
  width: 200px;
  height: auto;
}

.terms-main {
  max-width: var(--max-w);
  width: 100%;
  padding: 48px 48px;
  margin: 0 auto;
  flex: 1;
}

.terms-title {
  font-family: var(--font-akira);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

.terms-preamble {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 48px;
  line-height: 1.5;
}

.terms-section {
  margin-bottom: 36px;
}

.terms-section__title {
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: clamp(14px, 1.5vw, 20px);
  color: var(--white);
  margin-bottom: 12px;
}

.terms-section p {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.6;
}

/* Readable links on the dark page (default blue is near-invisible here). */
.terms-preamble a,
.terms-main a {
  color: var(--fh-blue);
  text-decoration: underline;
}
.terms-preamble a:hover,
.terms-main a:focus-visible,
.terms-main a:hover {
  color: var(--white);
}

@media (max-width: 700px) {
  .terms-header { padding: 28px 20px; }
  .terms-header__inner { max-width: 100%; }
  .terms-header__logo { width: 150px; }
  .terms-main { padding: 32px 20px; }
  .terms-header__back { font-size: 14px; }
}
