/* Shared styles for the FOCUSQUARE legal pages (privacy, data deletion).
   Tokens, type and chrome are lifted from index.html so the subpages read as
   part of the same site — including the signature 5px white rules. Kept in one
   file, linked from both pages, so they cannot drift apart again. */

:root{
  --bg:#0C0C0C;
  --maroon:#800000;
  --red:#B71C1C;
  --white:#FFFFFF;
  --gray:#9D9D9D;
  --prose:#A9A9A9;
  --line:#262626;
  --panel:#141414;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html,body{overflow-x:hidden;overflow-x:clip}

body{
  background:var(--bg);
  color:var(--white);
  font-family:-apple-system,"Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit}
a:focus-visible{outline:3px solid var(--white);outline-offset:3px;border-radius:4px}

/* Narrower than the landing page's 1240px: this is continuous prose, and a
   readable measure matters more here than a wide layout. */
.wrap{max-width:880px;margin-inline:auto;padding-inline:clamp(20px,5vw,48px)}

/* ---------- header ---------- */
.top{display:flex;align-items:center;gap:14px;padding-block:clamp(16px,2.5vw,28px)}
.top img{width:clamp(38px,4vw,46px);height:auto}
.top .home{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.top .name{font-weight:900;letter-spacing:.06em;font-size:clamp(1rem,2vw,1.2rem)}
.top .toplink{
  margin-left:auto;color:var(--gray);text-decoration:none;font-weight:700;
  font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;
  border:1px solid var(--line);border-radius:12px;padding:.55em 1em;white-space:nowrap;
}
.top .toplink:hover{color:var(--white);border-color:var(--white)}

/* ---------- page head ---------- */
.pagehead{padding-block:clamp(20px,3vw,40px) clamp(20px,3vw,32px)}
.kicker{
  border-top:5px solid var(--white);padding-top:16px;
  font-weight:900;text-transform:uppercase;letter-spacing:.14em;
  font-size:clamp(.8rem,1.3vw,.95rem);color:var(--gray);
}
.pagehead h1{
  margin-top:.5em;
  font-size:clamp(1.9rem,4.6vw,3rem);font-weight:900;letter-spacing:-.01em;line-height:1.05;
}
.pagehead .updated{margin-top:.9em;color:var(--gray);font-size:.9rem;letter-spacing:.04em}
.pagehead .intro{margin-top:1em;color:var(--prose);font-size:clamp(1rem,1.5vw,1.12rem);max-width:58ch}

/* ---------- content ---------- */
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;
  padding:clamp(22px,4vw,40px);
  margin-bottom:clamp(14px,2.2vw,22px);
}
.card h2{
  font-size:clamp(1rem,1.9vw,1.2rem);font-weight:900;
  text-transform:uppercase;letter-spacing:.06em;line-height:1.3;
  margin-top:2.3em;
}
.card > h2:first-child{margin-top:0}
.card p{color:var(--prose);margin-top:.85em;max-width:68ch;line-height:1.65}
.card ul,.card ol{color:var(--prose);margin-top:.85em;padding-left:1.4em;max-width:68ch}
.card li{margin-top:.55em;line-height:1.6}
.card li::marker{color:var(--gray)}
.card strong{color:var(--white);font-weight:700}
.card a{color:var(--white);text-decoration:underline;text-underline-offset:2px}
.card a:hover{color:var(--gray)}

/* Callout. Solid maroon — the design uses flat colour throughout. */
.note{
  background:var(--maroon);
  border:1px solid var(--maroon);border-radius:14px;
  padding:clamp(16px,2.4vw,22px);margin-top:1.5em;
}
.note p{margin-top:0;color:#F3DADA}
.note strong{color:var(--white)}
.note a{color:var(--white)}
.note p + p{margin-top:.7em}

code{
  background:#1E1E1E;color:var(--white);
  padding:.18em .55em;border-radius:5px;font-size:.9em;letter-spacing:.04em;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

/* ---------- footer ---------- */
footer{
  border-top:5px solid var(--white);padding-block:clamp(28px,4vw,48px);
  margin-top:clamp(30px,5vw,70px);
}
footer .frow{display:flex;flex-wrap:wrap;align-items:center;gap:18px clamp(20px,3vw,36px)}
footer img{width:34px;height:auto}
footer a{color:var(--gray);text-decoration:none;font-size:.92rem;display:inline-block;padding-block:.55em}
footer a:hover{color:var(--white);text-decoration:underline}
footer .copy{margin-left:auto;color:var(--gray);font-size:.92rem}

@media (max-width:560px){
  footer .copy{margin-left:0;width:100%}
}
