/* ============================================
   TERMS & CONDITIONS - page-specific styles
============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  background: #f5f4f0;
  color: var(--color-text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- Page Transition Curtain ---- */
#pg-transition {
  position: fixed;
  inset: 0;
  background: #0a1428;
  z-index: 99998;
  transform: translateY(0);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

#pg-transition.is-gone {
  transform: translateY(-100%);
  pointer-events: none;
}

.pg-transition__logo {
  width: clamp(100px, 14vw, 160px);
}

/* ---- Home Button ---- */
.home-btn-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) var(--container-pad);
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 2rem;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
  text-decoration: none;
}

.home-btn:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(252, 175, 23, 0.35);
}

.home-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-btn:hover svg {
  transform: translateX(-3px);
}

/* ---- Hero Banner ---- */
.tc-hero {
  position: relative;
  background: #0a1428;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) var(--container-pad) clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.tc-hero::before,
.tc-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.tc-hero::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 175, 23, 0.10) 0%, transparent 70%);
  top: -180px;
  left: -120px;
}

.tc-hero::after {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(30, 80, 200, 0.18) 0%, transparent 70%);
  bottom: -140px;
  right: -80px;
}

.tc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.tc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.tc-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.tc-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.tc-hero__title span {
  color: var(--color-primary);
}

.tc-hero__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.tc-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.tc-hero__meta-dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* ---- Main Content Area ---- */
.tc-content {
  background: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) var(--container-pad);
}

.tc-content__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ---- Intro paragraph ---- */
.tc-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  color: #444;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 2.5rem;
}

/* ---- Section Block ---- */
.tc-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid #f0f0f0;
}

.tc-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tc-section__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tc-section__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #0a0a0a;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.tc-section__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tc-section__body {
  padding-left: calc(40px + 1.25rem);
}

.tc-section__body p {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.85;
  color: #555;
  margin-bottom: 0.85rem;
}

.tc-section__body p:last-child {
  margin-bottom: 0;
}

/* ---- Highlight block (for limitation / indemnification) ---- */
.tc-highlight {
  background: #fdf9ee;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.4rem;
  margin-top: 0.5rem;
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.85;
  color: #444;
}

/* ---- Lists inside sections ---- */
.tc-list {
  list-style: none;
  margin: 0.6rem 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  color: #555;
  line-height: 1.75;
}

.tc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-primary);
  margin-top: 0.55em;
}

/* ---- Jurisdiction box ---- */
.tc-jurisdiction-box {
  background: #f9f8f5;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.tc-jurisdiction-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.tc-jurisdiction-box__text {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  color: #444;
  line-height: 1.75;
}

.tc-jurisdiction-box__text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.3rem;
}

/* ---- Contact Box ---- */
.tc-contact-box {
  background: linear-gradient(135deg, #0a1428 0%, #0e2050 100%);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(252, 175, 23, 0.18);
  position: relative;
  overflow: hidden;
}

.tc-contact-box::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(252, 175, 23, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tc-contact-box__title {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.tc-contact-box__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tc-contact-box__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.tc-contact-box__label {
  color: var(--color-primary);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 52px;
}

.tc-contact-box__link {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.tc-contact-box__link:hover {
  color: var(--color-primary);
}

/* ---- Acknowledgement strip ---- */
.tc-acknowledge {
  background: #f9f8f5;
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 12px 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  text-align: center;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-dark); }
::selection { background: var(--color-primary); color: #0a0a0a; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .tc-section__body {
    padding-left: 0;
  }

  .tc-section__header {
    flex-wrap: wrap;
  }

  .tc-contact-box__item {
    flex-direction: column;
    gap: 0.2rem;
  }
}
