/* ===================================================================
   TANVIR AHMED - TERMS OF SERVICE STYLESHEET (terms.css)
   Pure White Minimalist Editorial Legal Document
   No Cards, No Boxes, No Borders, No Shadows, Zero Dividing Lines
   Natural, High-Readability Editorial Typography
   =================================================================== */

/* ----------------- 0. BASE & LAYOUT ----------------- */
html,
body.terms-page {
  background-color: #ffffff !important;
  color: #0a0f1d;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.terms-page * {
  box-sizing: border-box;
}

/* ----------------- 1. CONTAINER & WRAPPER ----------------- */
.terms-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 1.5rem clamp(4rem, 8vw, 6.5rem);
}

/* ----------------- 2. HEADER SECTION ----------------- */
.terms-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.terms-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  border: none !important;
}

.terms-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0a0f1d;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
}

.terms-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 0.04em;
}

.terms-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.terms-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

/* ----------------- 3. DOCUMENT SECTIONS (CARDLESS & BORDERLESS) ----------------- */
.terms-section {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  padding: 0;
  border: none !important;
  background: transparent !important;
}

.terms-section:last-of-type {
  margin-bottom: 0;
}

.terms-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.terms-section-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.terms-section-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0a0f1d;
  margin: 0;
  line-height: 1.25;
}

.terms-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}

.terms-body p {
  margin: 0 0 1.25rem 0;
}

.terms-body p:last-child {
  margin-bottom: 0;
}

.terms-body strong {
  color: #0a0f1d;
  font-weight: 700;
}

.terms-body em {
  color: #475569;
  font-style: italic;
}

.terms-body ul,
.terms-body ol {
  margin: 0 0 1.35rem 0;
  padding-left: 1.4rem;
}

.terms-body li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.terms-body li:last-child {
  margin-bottom: 0;
}

.terms-body a {
  color: #0a0f1d;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.terms-body a:hover {
  color: #515151;
}

/* Natural Service Items (Clean Text List, No Cards) */
.terms-service-list {
  list-style: none;
  padding: 0 !important;
  margin: 1.25rem 0 1.5rem 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.terms-service-item {
  padding-left: 0;
  margin: 0;
  line-height: 1.75;
}

.terms-service-item strong {
  display: block;
  font-size: 1.05rem;
  color: #0a0f1d;
  margin-bottom: 0.25rem;
}

.terms-service-item p {
  margin: 0;
  color: #475569;
}

/* ----------------- 4. RESPONSIVE BREAKPOINTS ----------------- */
@media (max-width: 640px) {
  .terms-wrapper {
    padding: 2.25rem 1.25rem 3.5rem;
  }

  .terms-title {
    font-size: 32px;
  }

  .terms-section-head {
    flex-direction: column;
    gap: 0.25rem;
  }
}
