/* ============================================================
   POLICY.CSS — Legal / Policy pages
   Used by: privacy-policy, terms-and-conditions,
            fee-refund-policy, disclaimer
   Exium Classes · exium.in
   ============================================================ */

/* ── PAGE HEADER ── */
.page-header {
  position: relative;
  z-index: 1;
  padding: 9rem 4rem 4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 120% at 90% 50%, rgba(74, 111, 199, 0.06), transparent 70%);
}

.page-header::after {
  content: '//';
  position: absolute;
  right: 4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 18rem; font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(74, 111, 199, 0.06);
  pointer-events: none;
  user-select: none;
}

.header-inner { position: relative; z-index: 1; }

.header-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f07070;
  margin-bottom: 1rem;
  display: block;
}

.header-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.header-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(200, 210, 232, 0.6);
  line-height: 1.75;
  max-width: 52ch;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(74, 111, 199, 0.1);
  border: 1px solid rgba(74, 111, 199, 0.25);
  color: var(--blue-light);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.meta-date { font-size: 0.85rem; color: var(--muted); }

/* ── CONTENT LAYOUT ── */
.content-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem 6rem;
  gap: 5rem;
  align-items: start;
  flex: 1;
}

/* ── TABLE OF CONTENTS ── */
.toc { position: sticky; top: 90px; padding-top: 3.5rem; }

.toc-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.toc-list a {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-left: 2px solid transparent;
  border-radius: 0 2px 2px 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--white);
  border-left-color: var(--blue-acc);
  background: rgba(74, 111, 199, 0.06);
}

.toc-list a.active {
  color: var(--blue-light);
  border-left-color: var(--blue-light);
  background: rgba(74, 111, 199, 0.08);
}

.toc-contact {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(204, 31, 31, 0.07);
  border: 1px solid rgba(204, 31, 31, 0.2);
  border-radius: 4px;
}

.toc-contact p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.toc-contact a {
  font-size: 0.78rem;
  color: #f07070;
  text-decoration: none;
}

.toc-contact a:hover { color: var(--white); }

/* ── ARTICLE ── */
.article { padding-top: 3.5rem; }

.section-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

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

.sec-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.6rem;
  display: block;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: var(--white);
}

.sec-body { display: flex; flex-direction: column; gap: 1rem; }

.sec-body p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.88;
}

.sec-body p a { color: var(--blue-light); text-decoration: none; }
.sec-body p a:hover { text-decoration: underline; }
.sec-body strong { color: var(--white); font-weight: 600; }

.sec-body ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sec-body li {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
}

.sec-body li::marker { color: var(--blue-acc); }

/* ── CALLOUTS & SPECIAL BLOCKS ── */
.address-block {
  background: rgba(74, 111, 199, 0.07);
  border: 1px solid rgba(74, 111, 199, 0.2);
  border-left: 3px solid var(--blue-acc);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  color: rgba(200, 210, 232, 0.75);
  line-height: 1.9;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.callout {
  background: rgba(74, 111, 199, 0.07);
  border: 1px solid rgba(74, 111, 199, 0.2);
  border-left: 3px solid var(--blue-acc);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: rgba(200, 210, 232, 0.75);
  line-height: 1.75;
}

.callout.red {
  background: rgba(204, 31, 31, 0.07);
  border-color: rgba(204, 31, 31, 0.2);
  border-left-color: var(--red);
  color: rgba(240, 112, 112, 0.85);
}

.callout a { color: inherit; text-decoration: underline; }

/* ── DATA TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(74, 111, 199, 0.25);
  background: rgba(74, 111, 199, 0.07);
}

.data-table td {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 300;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(74, 111, 199, 0.04); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-header {
    padding: 8rem 1.5rem 3rem;
  }

  .page-header::after { display: none; }

  .content-wrap {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 4rem;
    gap: 0;
  }

  .toc { position: static; padding-top: 2.5rem; }

  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .toc-list a {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 2px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  .toc-list a:hover,
  .toc-list a.active {
    border-left: none;
    border-bottom-color: var(--blue-acc);
    background: rgba(74, 111, 199, 0.06);
  }

  .toc-contact { display: none; }
  .article { padding-top: 2.5rem; }
  .data-table { display: block; overflow-x: auto; }
}
