/* ─── Cirql · shared styles for legal & policy pages ─── */
:root {
  --navy:        #0D1B2E;
  --navy-mid:    #122030;
  --navy-card:   #1A2E45;
  --steel:       #2A4A6B;
  --slate:       #4A6B8A;
  --fog:         #8CA8C4;
  --ice:         #C8DCF0;
  --white:       #EEF4FA;
  --orange:      #F26419;
  --orange-dark: #D4540E;
  --orange-dim:  rgba(242,100,25,0.12);
  --border:      rgba(42,74,107,0.55);
  --border-soft: rgba(42,74,107,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--ice);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
h1, h2, h3, h4, h5 { font-family: 'Bricolage Grotesque', sans-serif; }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px;
  background: rgba(13,27,46,0.94);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
}
.logo-link { display: flex; align-items: center; text-decoration: none; transition: opacity 0.2s; }
.logo-link:hover { opacity: 0.85; }
.nav-logo { height: 52px; width: auto; display: block; object-fit: contain; }
nav .cta-btn {
  background: var(--orange); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: background 0.2s, transform 0.15s; text-decoration: none;
}
nav .cta-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ─── PAGE HEADER ─── */
.legal-header {
  padding: 64px 5% 40px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(30,58,95,0.35) 0%, transparent 100%);
}
.legal-header-inner { max-width: 820px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.legal-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; color: var(--white); margin-bottom: 16px;
}
.legal-meta { font-size: 0.85rem; color: var(--slate); }
.legal-meta strong { color: var(--fog); font-weight: 600; }

/* ─── BODY ─── */
.legal-body { max-width: 820px; margin: 0 auto; padding: 48px 5% 80px; }
.legal-body h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  margin: 44px 0 14px; letter-spacing: -0.3px;
  padding-top: 8px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1.02rem; font-weight: 700; color: var(--ice);
  margin: 26px 0 10px;
}
.legal-body p { font-size: 0.94rem; color: var(--fog); margin-bottom: 15px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 0; padding-left: 22px; }
.legal-body li { font-size: 0.94rem; color: var(--fog); margin-bottom: 9px; }
.legal-body a { color: var(--orange); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--ice); font-weight: 600; }

/* callout box */
.callout {
  background: var(--navy-card);
  border: 1px solid var(--border); border-left: 3px solid var(--orange);
  border-radius: 12px; padding: 22px 24px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-top: 0; }

/* definition table */
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: 0.9rem; }
.legal-table th, .legal-table td {
  text-align: left; padding: 12px 14px;
  border: 1px solid var(--border-soft); vertical-align: top; color: var(--fog);
}
.legal-table th {
  background: rgba(42,74,107,0.28); color: var(--ice);
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.4px; text-transform: uppercase;
}

/* editable placeholder marker */
.fill-in {
  background: rgba(242,100,25,0.16); color: var(--orange);
  border: 1px dashed rgba(242,100,25,0.5); border-radius: 4px;
  padding: 1px 6px; font-size: 0.85em; font-weight: 600;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy); border-top: 1px solid var(--border-soft);
  padding: 44px 5% 0;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px;
  padding-bottom: 40px;
}
.nav-logo-footer { height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 0.85rem; color: var(--fog); line-height: 1.7; margin-top: 16px; max-width: 330px; }
.footer-entity { margin-top: 16px; font-size: 0.8rem; color: var(--slate); line-height: 1.7; }
.footer-entity strong { color: var(--ice); font-weight: 600; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; }
.footer-col a, .footer-col li { font-size: 0.85rem; color: var(--fog); text-decoration: none; transition: color 0.2s; line-height: 1.6; }
.footer-col a:hover { color: var(--orange); }
.footer-col address { font-style: normal; font-size: 0.85rem; color: var(--fog); line-height: 1.75; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding: 20px 0 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--slate); line-height: 1.6; }
.footer-pay { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--slate); }
.footer-pay .lock { color: var(--orange); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .legal-header { padding: 44px 5% 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
