/* ========================================
   TERMS PAGE — Monochrome, Glassy, Readable
   ======================================== */

/* Page container spacing */
.terms-page .terms-container{
  padding: 84px 0 90px; /* breathing room above/below */
}

/* Card */
.terms-card{
  padding: 36px 36px 28px;
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-medium);

  /* contain blending/compositing layers so text paints once */
  isolation: isolate;
}

/* ===== Force SOLID headings on this page (no gradients/glow) ===== */
.terms-page .terms-card h1,
.terms-page .terms-card h2,
.terms-page .terms-card h3,
.terms-page .terms-card h4,
.terms-page .terms-card h5,
.terms-page .terms-card h6{
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: var(--white) !important;
  text-shadow: none !important;
}

/* Header */
.page-header{ margin-bottom: 24px; }
.page-header h1{ margin-bottom: .5rem; }
.page-header .subtitle{
  color: var(--light-grey);
  max-width: 900px;
  margin: 0 0 .75rem 0;        /* ensure space below */
  line-height: 1.55;
}

/* Sections */
.terms-section{
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.12);
}

/* Headings inside sections */
.terms-section h2{
  font-size: 1.6rem;
  margin-bottom: .6rem;
}
.terms-section h3{
  font-size: 1.05rem;
  margin: .85rem 0 .45rem;
  color: var(--white);              /* stays solid */
  text-shadow: none;
}

/* Body text & lists */
.terms-section p{ color: var(--light-grey); }
.terms-section ul{
  margin: .45rem 0 0;
  padding-left: 1.15rem;
  color: var(--light-grey);
}
.terms-section li{
  margin: .4rem 0;
  position: relative;
  list-style: none;
  padding-left: .6rem;
}
.terms-section li::before{
  content: "•";
  position: absolute;
  left: -1.05rem;
  color: var(--silver);
  font-weight: 700;
}

/* GDPR grid */
.gdpr-rights{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 10px;
  margin: 10px 0 6px;
}
.gdpr-item{
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-medium);
  padding: .75rem .9rem;
  background: rgba(255,255,255,.03);
  color: var(--light-grey);
}

/* Links in text blocks */
.contact-gdpr a,
.alt-dispute a{ color: var(--silver); }
.alt-dispute ul{ padding-left: 1.15rem; }

/* Contact block */
.contact-block p{ color: var(--light-grey); }

/* Footer row under content */
.meta-row{
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.last-updated{
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-medium);
  padding: .6rem .9rem;
  color: var(--silver);
  font-size: .9rem;
}

/* Small button variant */
.btn-secondary.small{
  background: transparent;
  color: var(--light-grey);
  border: 2px solid var(--medium-grey);
  padding: .5rem .8rem;
  border-radius: var(--border-radius-small);
  font-size: .9rem;
  transition: var(--transition-medium);
}
.btn-secondary.small:hover{
  color: #fff;
  border-color: var(--silver);
  box-shadow: var(--shadow-white);
}

/* Subtle page background vignette to improve contrast (desktop only) */
@media (min-width: 1025px){
  .terms-page .terms-container::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
      radial-gradient(60% 40% at 50% 100%, rgba(255,255,255,.04), transparent 60%);
    pointer-events:none; z-index:-1;
  }
}

/* Responsive tweaks */
@media (max-width: 1024px){
  .terms-card{ padding: 28px; }
  .page-header .subtitle{ max-width: 100%; }
}
@media (max-width: 768px){
  .terms-card{ padding: 22px; }
  .terms-section h2{ font-size: 1.45rem; }
}
@media (max-width: 480px){
  .terms-card{ padding: 18px; }
  .terms-section h2{ font-size: 1.35rem; }
}
