/* SIMSAR_TERMS_OF_USE_V1 */

#page-terms {
  --terms-navy: #12213a;
  --terms-text: #33445d;
  --terms-muted: #728096;
  --terms-line: #e7ecf2;
  --terms-soft: #f7f9fc;
  --terms-orange: #f58220;
  --terms-green: #1f9d64;
  color: var(--terms-text);
}

#page-terms.simsar-terms-page {
  padding-bottom: 34px;
}

#page-terms .simsar-terms-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 44px;
  margin-bottom: 24px;
  border: 1px solid #e6ebf1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(245,130,32,.13), transparent 29%),
    linear-gradient(135deg, #fff 0%, #fbfcff 60%, #fff8f2 100%);
  box-shadow: 0 12px 34px rgba(18,33,58,.07);
}

#page-terms .simsar-terms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #e96f0c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#page-terms .simsar-terms-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--terms-orange);
  box-shadow: 0 0 0 5px rgba(245,130,32,.11);
}

#page-terms .simsar-terms-hero h1 {
  margin: 0;
  color: var(--terms-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

#page-terms .simsar-terms-lead {
  max-width: 780px;
  margin: 14px 0 0;
  color: #617087;
  font-size: 15px;
  line-height: 1.75;
}

#page-terms .simsar-terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

#page-terms .simsar-terms-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e3e9f0;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #5f6f86;
  font-size: 11.5px;
  font-weight: 750;
}

#page-terms .simsar-terms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

#page-terms .simsar-terms-btn {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #dce3eb;
  border-radius: 11px;
  background: #fff;
  color: #34445b;
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  cursor: pointer;
  transition: .16s ease;
}

#page-terms .simsar-terms-btn:hover {
  transform: translateY(-1px);
  border-color: #cbd5e0;
  box-shadow: 0 7px 18px rgba(18,33,58,.08);
}

#page-terms .simsar-terms-btn.primary {
  border-color: var(--terms-orange);
  background: linear-gradient(180deg, #fb942e 0%, #f47b12 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(245,130,32,.21);
}

#page-terms .simsar-terms-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 24px;
}

#page-terms .simsar-terms-highlight {
  padding: 18px;
  border: 1px solid var(--terms-line);
  border-radius: 16px;
  background: #fff;
}

#page-terms .simsar-terms-highlight-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 10px;
  background: #fff5eb;
  color: #e96f0c;
  font-size: 16px;
  font-weight: 900;
}

#page-terms .simsar-terms-highlight strong {
  display: block;
  color: var(--terms-navy);
  font-size: 13.5px;
}

#page-terms .simsar-terms-highlight p {
  margin: 6px 0 0;
  color: var(--terms-muted);
  font-size: 11.5px;
  line-height: 1.6;
}

#page-terms .simsar-terms-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

#page-terms .simsar-terms-toc {
  position: sticky;
  top: 18px;
  padding: 16px;
  border: 1px solid var(--terms-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18,33,58,.045);
}

#page-terms .simsar-terms-toc h3 {
  margin: 0 0 10px;
  color: var(--terms-navy);
  font-size: 12.5px;
}

#page-terms .simsar-terms-toc button {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #66758a;
  text-align: left;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#page-terms .simsar-terms-toc button:hover {
  background: #f6f8fb;
  color: #26364f;
}

#page-terms .simsar-terms-content {
  min-width: 0;
}

#page-terms .simsar-terms-intro,
#page-terms .simsar-terms-section,
#page-terms .simsar-terms-contact {
  padding: 24px 26px;
  margin-bottom: 14px;
  border: 1px solid var(--terms-line);
  border-radius: 17px;
  background: #fff;
}

#page-terms .simsar-terms-intro {
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
}

#page-terms .simsar-terms-section h2,
#page-terms .simsar-terms-intro h2,
#page-terms .simsar-terms-contact h2 {
  margin: 0 0 10px;
  color: var(--terms-navy);
  font-size: 18px;
  letter-spacing: -.015em;
}

#page-terms .simsar-terms-section p,
#page-terms .simsar-terms-intro p,
#page-terms .simsar-terms-contact p {
  margin: 0 0 10px;
  color: #526279;
  font-size: 13px;
  line-height: 1.78;
}

#page-terms .simsar-terms-section p:last-child,
#page-terms .simsar-terms-intro p:last-child,
#page-terms .simsar-terms-contact p:last-child {
  margin-bottom: 0;
}

#page-terms .simsar-terms-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #526279;
}

#page-terms .simsar-terms-section li {
  margin: 7px 0;
  padding-left: 3px;
  font-size: 13px;
  line-height: 1.65;
}

#page-terms .simsar-terms-note {
  margin-top: 16px;
  padding: 13px 14px;
  border-left: 3px solid var(--terms-orange);
  border-radius: 8px;
  background: #fff8f1;
  color: #6b5a4b;
  font-size: 11.8px;
  line-height: 1.65;
}

#page-terms .simsar-terms-contact {
  border-color: #dce9e2;
  background: linear-gradient(180deg, #fbfffc 0%, #fff 100%);
}

#page-terms .simsar-terms-contact h2 {
  color: #176b49;
}

#page-terms .simsar-terms-legal-note {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  background: #f8fafc;
  color: #758297;
  font-size: 10.8px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  #page-terms .simsar-terms-hero {
    padding: 30px 26px;
    border-radius: 19px;
  }

  #page-terms .simsar-terms-highlights {
    grid-template-columns: 1fr;
  }

  #page-terms .simsar-terms-layout {
    grid-template-columns: 1fr;
  }

  #page-terms .simsar-terms-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px;
  }

  #page-terms .simsar-terms-toc h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  #page-terms.simsar-terms-page {
    padding-bottom: 20px;
  }

  #page-terms .simsar-terms-hero {
    padding: 24px 18px;
    margin-bottom: 15px;
  }

  #page-terms .simsar-terms-lead {
    font-size: 13px;
  }

  #page-terms .simsar-terms-meta {
    gap: 7px;
  }

  #page-terms .simsar-terms-chip {
    font-size: 10.5px;
  }

  #page-terms .simsar-terms-intro,
  #page-terms .simsar-terms-section,
  #page-terms .simsar-terms-contact {
    padding: 19px 17px;
    border-radius: 14px;
  }

  #page-terms .simsar-terms-toc {
    grid-template-columns: 1fr;
  }

  #page-terms .simsar-terms-toc h3 {
    grid-column: auto;
  }
}
