/* Shared styles for the privacy notice and client terms pages. Tokens match index.html. */
:root{
  --ink:#12211f;
  --teal-deep:#0e3435;
  --teal-mid:#155152;
  --cream:#f6f1e6;
  --cream-dim:#ece4d3;
  --amber:#c99a44;
  --amber-light:#dab463;
  --amber-dim:#7a5a26;
  --rust:#94482f;
  --text-body:#3d4e4c;
  --text-muted:#4b5957;
  --line: rgba(246,241,230,0.16);
  --line-dark: rgba(18,33,31,0.12);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  margin:0;
  letter-spacing:-0.01em;
}
strong{font-weight:600;}
a{color:inherit;}
[id]{scroll-margin-top:84px;}
.wrap{ max-width:1080px; margin:0 auto; padding:0 28px; }
@media (max-width:640px){ .wrap{padding:0 20px;} }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- NAV ---------- */
nav{
  position:sticky; top:0; z-index:50;
  background:var(--teal-deep);
  border-bottom:1px solid var(--line);
}
nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.brand{
  display:flex; align-items:baseline; gap:8px;
  color:var(--cream); font-family:'Space Grotesk',sans-serif;
  font-weight:600; font-size:1.05rem; text-decoration:none;
}
.brand .dot{ color:var(--amber); }
.nav-cta{
  background:var(--amber); color:var(--teal-deep);
  font-weight:600; font-size:0.9rem;
  padding:10px 18px; border-radius:3px;
  text-decoration:none;
  transition:background .15s ease;
}
.nav-cta:hover{ background:var(--amber-light); }
.nav-right{ display:flex; align-items:center; gap:28px; }
@media (max-width:360px){ .nav-cta{ white-space:nowrap; padding:10px 12px; } .brand{ font-size:.95rem; gap:6px; } }
/* social icons, next to the button */
.nav-social{ display:flex; align-items:center; gap:2px; margin:0; padding:0; list-style:none; }
.nav-social a{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  color:var(--cream-dim);
  transition:color .15s ease, background-color .15s ease;
}
.nav-social a:hover{ color:var(--amber); background:rgba(246,241,230,0.07); }
.nav-social svg{ width:18px; height:18px; fill:currentColor; }
@media (max-width:900px){ .nav-right, .nav-links{ gap:18px; } }
/* phones: the name stacks onto two lines so the icons and the button still fit */
@media (max-width:480px){
  .brand{ display:grid; grid-template-columns:auto auto; gap:0 4px; line-height:1.1; }
  .nav-right{ gap:6px; }
  .nav-social{ gap:0; }
}
@media (max-width:360px){ .nav-social a{ width:32px; height:32px; } }
@media (max-width:340px){ .nav-right{ gap:4px; } .nav-social a{ width:28px; height:28px; } .nav-social svg{ width:16px; height:16px; } }

/* ---------- PAGE HEADER ---------- */
.page-head{
  background:var(--teal-deep);
  color:var(--cream);
  padding:56px 0 48px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.78rem; text-transform:uppercase; letter-spacing:0.12em;
  color:var(--amber); font-weight:600;
  margin-bottom:16px;
}
.eyebrow::before{ content:''; width:18px; height:1px; background:var(--amber); }
.page-head h1{
  font-size:clamp(1.9rem, 4vw, 2.6rem);
  line-height:1.1;
}
.updated{
  margin:14px 0 0; font-size:0.85rem; color:rgba(246,241,230,0.75);
}
.lede{
  margin:18px 0 0; max-width:62ch;
  font-size:1.05rem; line-height:1.6; color:var(--cream-dim);
}

/* ---------- CONTENT ---------- */
.legal{ padding:48px 0 72px; }
.legal-grid{
  display:grid; grid-template-columns:220px minmax(0,1fr); gap:56px;
  align-items:start;
}
@media (max-width:860px){ .legal-grid{ grid-template-columns:1fr; gap:32px; } }
.toc{
  position:sticky; top:96px;
  font-size:0.85rem; line-height:1.5;
}
@media (max-width:860px){ .toc{ position:static; } }
.toc h2{
  font-family:'Inter',sans-serif; font-size:0.75rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted);
  margin-bottom:10px;
}
.toc ol{ margin:0; padding-left:1.3em; color:var(--text-muted); }
.toc li{ padding:3px 0; }
.toc a{ color:var(--teal-mid); text-decoration:none; }
.toc a:hover{ text-decoration:underline; }
.doc{ max-width:70ch; }
.doc section + section{
  margin-top:40px; padding-top:32px; border-top:1px solid var(--line-dark);
}
.doc h2{
  font-size:1.35rem; line-height:1.25; color:var(--teal-deep);
}
.doc h3{
  margin-top:22px; font-size:1.02rem; color:var(--teal-deep);
}
.doc p, .doc li{
  font-size:0.98rem; line-height:1.65; color:var(--text-body);
}
.doc p{ margin:14px 0 0; }
.doc ul, .doc ol{ margin:14px 0 0; padding-left:1.3em; }
.doc li + li{ margin-top:6px; }
.doc a{ color:var(--teal-mid); text-underline-offset:2px; }
.doc table{
  width:100%; margin-top:18px; border-collapse:collapse;
  font-size:0.92rem; line-height:1.55;
}
.doc th, .doc td{
  text-align:left; vertical-align:top;
  padding:12px 14px; border-bottom:1px solid var(--line-dark);
}
.doc thead th{
  font-size:0.75rem; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--text-muted); font-weight:600; background:var(--cream-dim);
  border-bottom:none;
}
.doc tbody th{ font-weight:500; color:var(--ink); width:52%; }
.doc td{ color:var(--text-body); }
@media (max-width:560px){
  .doc th, .doc td{ padding:10px 8px; }
}
.callout{
  margin-top:18px; padding:18px 20px;
  background:var(--cream-dim); border-left:3px solid var(--rust); border-radius:0 6px 6px 0;
}
.callout p:first-child{ margin-top:0; }
.callout strong{ color:var(--ink); }
.contact-card{
  margin-top:18px; padding:16px 20px;
  background:var(--cream-dim); border-radius:6px;
}
.contact-card p{ margin:0; }
.contact-card p + p{ margin-top:6px; }

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink); border-top:1px solid var(--line);
  padding:34px 0 40px; color:var(--cream-dim);
}
footer .wrap{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:24px 40px; flex-wrap:wrap;
}
.fmain{ flex:1 1 460px; max-width:760px; }
.fbrand{ font-family:'Space Grotesk',sans-serif; color:var(--cream); font-weight:600; }
.crisis{ margin:18px 0 0; font-size:0.88rem; line-height:1.6; }
.crisis strong{ color:var(--cream); }
.crisis a{ color:var(--amber); font-weight:600; }
.disclaimer{ margin:14px 0 0; font-size:0.78rem; line-height:1.6; color:rgba(246,241,230,0.7); }
.fside{ display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
@media (max-width:640px){ .fside{ align-items:flex-start; } }
.flinks{
  display:flex; flex-wrap:wrap; gap:8px 20px;
  margin:0; padding:0; list-style:none; font-size:0.85rem;
}
.flinks a{ color:var(--cream-dim); text-decoration:none; }
.flinks a:hover, .flinks a[aria-current="page"]{ color:var(--amber); text-decoration:underline; }
.copyright{ margin:0; font-size:0.85rem; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
@media print{
  body{ background:#fff; }
  nav, .toc, footer .fside{ display:none; }
  .eyebrow{ color:var(--rust); }
  .page-head{ background:none; color:var(--ink); padding:0 0 12px; }
  .updated, .lede{ color:var(--text-body); }
  .legal{ padding-top:12px; }
  .legal-grid{ grid-template-columns:1fr; }
  .doc{ max-width:none; }
  .doc section{ break-inside:auto; }
  .doc h2, .doc h3{ break-after:avoid; }
  .doc table, .callout{ break-inside:avoid; }
  footer{ background:none; color:var(--ink); border-top:1px solid var(--line-dark); }
  .fbrand, .crisis strong{ color:var(--ink); }
  .crisis a{ color:var(--teal-mid); }
  .disclaimer{ color:var(--text-body); }
}
