/* =========================================================
   Slatify — shared stylesheet
   ========================================================= */

:root{
  /* Brand palette — matches the Slatify app's own theme tokens */
  --indigo: #4F46E5;
  --indigo-light: #EEF2FF;
  --royal: #2563EB;
  --royal-light: #EFF6FF;
  --emerald: #10B981;
  --emerald-light: #ECFDF5;
  --amber: #F59E0B;
  --amber-light: #FFFBEB;
  --red: #EF4444;
  --red-light: #FEF2F2;

  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --bg: #FCFDFE;
  --surface: #FFFFFF;
  --text: var(--slate-900);
  --text-dim: var(--slate-600);
  --text-muted: var(--slate-500);
  --border: var(--slate-200);

  --gradient-brand: linear-gradient(135deg, var(--royal) 0%, var(--indigo) 100%);
  --gradient-brand-soft: linear-gradient(135deg, var(--royal-light) 0%, var(--indigo-light) 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --max-width: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal);
  background: var(--royal-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

h1{ font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h2{ font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
h3{ font-size: 1.25rem; line-height: 1.35; font-weight: 700; }
.section-kicker{ color: var(--royal); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.section-lede{ color: var(--text-dim); font-size: 1.08rem; max-width: 620px; }

.section-head{
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

section{ padding: 88px 0; }
section.tight{ padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover{ box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.65); transform: translateY(-1px); }
.btn-ghost{
  background: var(--surface);
  color: var(--slate-800);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--royal); color: var(--royal); }
.btn-light{
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-light:hover{ background: rgba(255,255,255,0.22); }
.btn-sm{ padding: 9px 18px; font-size: 0.85rem; }
.btn-block{ width: 100%; }

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 253, 254, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--slate-900); }
.brand img{ width: 32px; height: 32px; }
.nav-links{ display: flex; align-items: center; gap: 28px; }
.nav-links a{
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active{ color: var(--slate-900); border-color: var(--royal); }
.nav-cta{ display: flex; align-items: center; gap: 12px; }
.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; display: block; width: 18px; height: 2px; background: var(--slate-800); position: relative; transition: 0.2s;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

@media (max-width: 900px){
  .nav-links{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 24px 20px; display: none; box-shadow: var(--shadow-md);
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ width: 100%; padding: 10px 0; border-bottom: 1px solid var(--slate-100); }
  .nav-toggle{ display: flex; }
  .nav-cta .btn-ghost{ display: none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
}
.hero::before{
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(79,70,229,0.14), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(16,185,129,0.12), transparent 70%);
  z-index: 0;
}
.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.section-lede{ margin: 18px 0 28px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust{ display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero-trust-item{ display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.hero-trust-item .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.hero-visual{ position: relative; }
.hero-frame{
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--gradient-brand);
  aspect-ratio: 4/5;
  position: relative;
}
.hero-frame img{ width: 100%; height: 100%; object-fit: cover; }
.floating-card{
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border);
}
.floating-card .icon{ width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fc-1{ top: 10%; left: -13%; }
.fc-1 .icon{ background: var(--emerald-light); color: var(--emerald); }
.fc-2{ bottom: 8%; right: -12%; }
.fc-2 .icon{ background: var(--royal-light); color: var(--royal); }
.fc-sub{ display:block; font-weight: 500; color: var(--text-muted); font-size: 0.72rem; margin-top:2px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 420px; margin: 0 auto; }
  .floating-card{ display: none; }
}

/* ---------- Logo strip ---------- */
.logo-strip{ padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--slate-50); }
.logo-strip-inner{ display:flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.logo-strip-label{ font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap; }
.logo-strip-items{ display: flex; flex-wrap: wrap; gap: 28px; font-weight: 700; color: var(--slate-400); font-size: 0.95rem; }

/* ---------- Audience tabs ---------- */
.tabs-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn{
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: 0.15s;
}
.tab-btn:hover{ border-color: var(--royal); color: var(--royal); }
.tab-btn.active{ background: var(--gradient-brand); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -6px rgba(37,99,235,.5); }

.tab-panel{ display: none; }
.tab-panel.active{ display: block; animation: fadein .35s ease; }
@keyframes fadein{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: translateY(0); } }

.persona-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.persona-card .persona-icon{
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: var(--gradient-brand-soft); color: var(--royal);
}
.persona-card h3{ font-size: 1.5rem; margin-bottom: 10px; }
.persona-card p{ color: var(--text-dim); margin-bottom: 20px; }
.feature-list{ display: flex; flex-direction: column; gap: 14px; }
.feature-list li{ display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 0.95rem; color: var(--slate-700); }
.feature-list .check{ flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-light); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 1px; }
.persona-side{ background: var(--slate-50); border-radius: var(--radius-md); padding: 28px; height: 100%; }
.persona-side .stat{ font-size: 2rem; font-weight: 800; color: var(--slate-900); }
.persona-side .stat-label{ font-size: 0.85rem; color: var(--text-muted); margin-bottom: 22px; }

@media (max-width: 860px){
  .persona-card{ grid-template-columns: 1fr; padding: 28px; }
}

/* ---------- Feature grid / cards ---------- */
.grid{ display: grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.card .icon-badge{
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.card h3{ margin-bottom: 8px; font-size: 1.08rem; }
.card p{ color: var(--text-dim); font-size: 0.92rem; }

.badge-blue{ background: var(--royal-light); color: var(--royal); }
.badge-green{ background: var(--emerald-light); color: var(--emerald); }
.badge-purple{ background: var(--indigo-light); color: var(--indigo); }
.badge-amber{ background: var(--amber-light); color: var(--amber); }

/* ---------- Safety / trust band ---------- */
.trust-band{ background: var(--slate-900); color: #fff; border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.trust-band::before{ content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 100% 0%, rgba(79,70,229,.35), transparent 60%); }
.trust-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.trust-list{ display: flex; flex-direction: column; gap: 18px; }
.trust-list li{ list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.trust-list .tick{ flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(16,185,129,0.18); color: var(--emerald); display:flex; align-items:center; justify-content:center; font-weight: 900; }
.trust-list b{ display:block; margin-bottom: 2px; }
.trust-list span.desc{ color: var(--slate-300); font-size: 0.9rem; }
.policy-links{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-link{
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px; border-radius: var(--radius-full);
  font-size: 0.86rem; font-weight: 700; display:flex; align-items:center; gap:8px;
  color: #fff;
}
.pill-link:hover{ background: rgba(255,255,255,0.1); }
@media (max-width: 860px){ .trust-grid{ grid-template-columns: 1fr; } .trust-band{ padding: 32px; } }

/* ---------- Timeline / journey ---------- */
.journey{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey-step{ position: relative; padding-top: 20px; }
.journey-step .num{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px;
}
.journey-step h3{ font-size: 1rem; margin-bottom: 6px; }
.journey-step p{ font-size: 0.88rem; color: var(--text-dim); }
@media (max-width: 860px){ .journey{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .journey{ grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stat-row{ display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-row .num{ font-size: 2.2rem; font-weight: 800; color: var(--slate-900); }
.stat-row .lbl{ font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 760px){ .stat-row{ grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonial / quote ---------- */
.quote-card{ background: var(--gradient-brand-soft); border-radius: var(--radius-lg); padding: 40px; }
.quote-card p{ font-size: 1.15rem; font-weight: 600; color: var(--slate-800); }
.quote-by{ margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote-avatar{ width: 42px; height: 42px; border-radius: 50%; background: var(--royal); color:#fff; display:flex; align-items:center; justify-content:center; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-q{
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1rem; color: var(--slate-900); cursor: pointer;
}
.faq-q .plus{ transition: transform .2s; color: var(--royal); font-size: 1.3rem; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p{ padding-bottom: 20px; color: var(--text-dim); max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-band h2{ color: #fff; }
.cta-band p{ color: rgba(255,255,255,0.85); max-width: 560px; }
.cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px){ .cta-band{ padding: 36px 24px; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--slate-900); color: var(--slate-300); padding: 64px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand{ color: #fff; }
.footer-brand p{ color: var(--slate-400); margin: 14px 0 18px; font-size: 0.9rem; max-width: 260px; }
.footer-col h4{ color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 0.92rem; color: var(--slate-400); }
.footer-col a:hover{ color: #fff; }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px; padding-top: 24px; font-size: 0.82rem; color: var(--slate-500);
  flex-wrap: wrap; gap: 12px;
}
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-300); font-size: 14px;
}
.social-row a:hover{ background: rgba(255,255,255,0.08); color: #fff; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Legal / policy document layout
   ========================================================= */
.legal-hero{
  background: var(--gradient-brand-soft);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.legal-hero .meta{ display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 0.88rem; color: var(--text-dim); font-weight: 600; }
.legal-hero .meta span{ display: inline-flex; align-items: center; gap: 6px; }

.legal-layout{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}
.legal-toc{
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal-toc h4{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; }
.legal-toc ol{ list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal-toc li{ counter-increment: toc; }
.legal-toc a{
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px;
  font-size: 0.86rem; color: var(--text-dim); font-weight: 600;
}
.legal-toc a::before{ content: counter(toc); flex: none; color: var(--royal); font-weight: 800; width: 16px; }
.legal-toc a:hover, .legal-toc a.active{ background: var(--slate-50); color: var(--slate-900); }

.legal-body{ max-width: 720px; }
.legal-body .summary-box{
  background: var(--emerald-light); border: 1px solid #A7F3D0; border-radius: var(--radius-md);
  padding: 22px 24px; margin-bottom: 40px;
}
.legal-body .summary-box h4{ color: #047857; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.legal-body .summary-box ul{ display:flex; flex-direction:column; gap:8px; }
.legal-body .summary-box li{ list-style: none; display:flex; gap:10px; font-size:0.92rem; color:#065F46; }
.legal-body .summary-box li::before{ content:"✓"; font-weight:900; }

.legal-section{ margin-bottom: 44px; padding-top: 8px; }
.legal-section h2{ font-size: 1.4rem; margin-bottom: 16px; display:flex; align-items:center; gap: 10px; }
.legal-section h2 .n{ font-size: 0.85rem; background: var(--slate-900); color:#fff; width: 28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex:none; }
.legal-section h3{ font-size: 1.05rem; margin: 22px 0 10px; color: var(--slate-800); }
.legal-section p{ color: var(--slate-700); margin-bottom: 14px; font-size: 0.98rem; }
.legal-section ul, .legal-section ol.plain{ margin: 0 0 14px; padding-left: 22px; color: var(--slate-700); font-size: 0.98rem; display:flex; flex-direction:column; gap:8px;}
.legal-section a.inline-link{ color: var(--royal); font-weight: 600; text-decoration: underline; }
.legal-table{ width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.9rem; }
.legal-table th, .legal-table td{ border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th{ background: var(--slate-50); font-weight: 700; }
.callout{ border-left: 4px solid var(--royal); background: var(--royal-light); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; font-size: 0.92rem; color: var(--slate-800); }
.callout.warn{ border-color: var(--amber); background: var(--amber-light); }
.callout.danger{ border-color: var(--red); background: var(--red-light); }
.badge-row{ display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.chip{ font-size: 0.76rem; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-full); background: var(--slate-100); color: var(--slate-600); }

.contact-box{
  background: var(--slate-900); color: #fff; border-radius: var(--radius-md);
  padding: 28px; margin-top: 20px; display:flex; flex-direction:column; gap: 6px;
}
.contact-box a{ color: #fff; font-weight: 700; }
.contact-box .lbl{ color: var(--slate-400); font-size: 0.82rem; text-transform:uppercase; letter-spacing:.05em; margin-top:10px; }

.back-top{
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--slate-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: 0.2s;
  z-index: 50;
}
.back-top.show{ opacity: 1; pointer-events: auto; }

@media (max-width: 980px){
  .legal-layout{ grid-template-columns: 1fr; }
  .legal-toc{ position: static; max-height: none; }
}
