/* =====================================================
   PRIVACY POLICY V1 STYLES
   ===================================================== */

/* ── Root Variables ── */
:root {
  --color-ember: #eba726;
  --color-blue: #0285bc;
  --color-sand: #ede8ae;
  --color-ink: #2f2d30;
  --color-chalk: #f4f5f1;
  --color-steel: #6b6966;
  --color-line: rgba(47, 45, 48, 0.08);
  --wa: #25D366;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background: #ffffff;
  color: #2f2d30;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

.display,
h1,
.logo {
  font-family: 'Caprasimo', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

a {
  color: inherit;
  text-decoration: none !important;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── ACCENT TEXT ── */
.accent {
  color: var(--color-ember);
}

/* ── REVEAL ANIMATIONS ── */
@keyframes rvIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rv.in {
  animation: rvIn 0.6s var(--ease) both;
}

/* ── PAGE HEAD ── */
.page-head {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 40px 48px;
  border-bottom: 1px solid var(--color-line);
}

.page-head .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.page-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--color-ink);
  line-height: 1.05;
}

.page-head .meta {
  font-size: 13px;
  color: var(--color-steel);
  margin-top: 14px;
}

/* ── LAYOUT ── */
.legal-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px 100px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: start;
}

/* ── TOC ── */
.toc {
  position: sticky;
  top: 96px;
}

.toc .toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: 14px;
}

.toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toc a {
  display: block;
  font-size: 13.5px;
  color: var(--color-steel);
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--color-line);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
}

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

.toc a.active {
  color: var(--color-ink);
  border-left-color: var(--color-ember);
  font-weight: 500;
}

/* ── CONTENT ── */
.legal-content h2 {
  font-family: 'Caprasimo', serif;
  font-size: 22px;
  color: var(--color-ink);
  margin: 52px 0 16px;
  scroll-margin-top: 96px;
}

.legal-content > h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 14.5px;
  color: #4a4845;
  line-height: 1.85;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 20px;
}

.legal-content li {
  font-size: 14.5px;
  color: #4a4845;
  line-height: 1.85;
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--color-ink);
  font-weight: 600;
}

.legal-content a.inline-link {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── CALLOUT ── */
.callout {
  background: var(--color-sand);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 24px 0;
  border-left: 4px solid var(--color-ember);
}

.callout p {
  margin: 0;
  font-size: 14px;
  color: #4a3f16;
}

.callout p strong {
  color: #4a3f16;
}

.callout.blue {
  background: #dcecf5;
  border-left-color: var(--color-blue);
}

.callout.blue p,
.callout.blue p strong {
  color: #0b3a51;
}

/* ── TABLE ── */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 13.5px;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  color: #4a4845;
}

table.data-table th {
  background: var(--color-chalk);
  color: var(--color-ink);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── CONTACT CARD ── */
.contact-card {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 28px;
  margin-top: 20px;
  background: #ffffff;
}

.contact-card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--color-ink);
}

.contact-card .row:last-child {
  margin-bottom: 0;
}

.contact-card svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--color-steel);
}

.contact-card a {
  color: var(--color-blue);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .toc {
    position: static;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 24px;
  }
  .toc ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .toc a {
    border-left: none;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 6px 14px;
  }
  .toc a.active {
    border-color: var(--color-ink);
    background: var(--color-ink);
    color: #fff;
  }
}

@media (max-width: 600px) {
  .page-head {
    padding: 22px 20px 36px;
  }
  .legal-layout {
    padding: 32px 20px 64px;
  }
  .legal-content h2 {
    font-size: 19px;
    margin: 40px 0 12px;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-card .row {
    font-size: 13px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

::selection {
  background: var(--color-ember);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f3ef;
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 10px;
  border: 2px solid #f5f3ef;
}

::-webkit-scrollbar-thumb:hover {
  background: #026a98;
}