/* The legal pages' shared stylesheet — one file per locale, not one shared file.
   Fonts are the reason. figtree.ttf lives under /en/f and samim.ttf under /fa/f, and the two locale roots
   are separate nginx servers on separate ports that cannot reach each other's documents. A single shared
   stylesheet would have to name a font path that is 404 in one of them.

   These pages inherit the homepage's tokens verbatim (mafia-design-ai/design-system) so a visitor who
   arrives from the site does not land somewhere that looks like a different company. They are, however,
   deliberately quieter: no animation, no motion, generous measure. A policy is read, not watched. */

@font-face{font-family:Figtree;src:url(/f/figtree.ttf) format('truetype-variations');
  font-weight:100 900;font-display:swap}

:root{
  --ink:#05082B;          /* deep navy panel   */
  --stage:#222222;        /* app background    */
  --amber:#F7AC00;        /* brand             */
  --cyan:#08DFF4;         /* accent / links    */
  --red:#FF073A;
  --r:13px;
  --body:#D8D9E4;
  --dim:#9A9DB2;
  --line:#1B1E32;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--stage);color:var(--body);
  font-family:Figtree,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}

/* 68ch is the measure a policy is actually read at. Wider and the eye loses the line. */
.wrap{width:min(68ch,100% - 2.5rem);margin-inline:auto}

/* ── masthead ── */
header.top{border-bottom:1px solid var(--line);background:linear-gradient(180deg,#0A0E33,#06081F)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.9rem 0;flex-wrap:wrap}
header.top img{width:52px;height:52px}
header.top nav{display:flex;gap:1.1rem;flex-wrap:wrap;font-size:.9rem}
a{color:var(--cyan);text-decoration:none}
a:hover{text-decoration:underline}
header.top nav a{color:var(--dim)}
header.top nav a[aria-current]{color:var(--amber);font-weight:600}

/* ── document ── */
main{padding:2.6rem 0 4rem}
h1{font-size:clamp(1.7rem,4.4vw,2.3rem);font-weight:800;line-height:1.2;margin:0 0 .5rem;color:#F4F5FA}
.meta{color:var(--dim);font-size:.9rem;margin:0 0 2rem;padding-bottom:1.4rem;border-bottom:1px solid var(--line)}
.meta b{color:var(--body);font-weight:600}
.lede{font-size:1.06rem;color:#E6E7EF}
h2{font-size:1.18rem;font-weight:700;line-height:1.3;margin:2.6rem 0 .7rem;color:var(--amber);
  scroll-margin-top:1.5rem}
h2 .n{color:var(--dim);font-weight:400;margin-inline-end:.45rem}
h3{font-size:1rem;font-weight:700;margin:1.6rem 0 .4rem;color:#F4F5FA}
p{margin:.8rem 0}
ul,ol{padding-inline-start:1.35rem;margin:.7rem 0}
li{margin:.42rem 0}
li>strong,p>strong{color:#F4F5FA}
hr{border:0;border-top:1px solid var(--line);margin:2.4rem 0}
small{color:var(--dim)}

/* Table of contents. A policy nobody can navigate is a policy nobody reads. */
.toc{background:#0A0D28;border:1px solid var(--line);border-radius:var(--r);padding:1.1rem 1.3rem;margin:0 0 2rem}
.toc h2{margin:0 0 .5rem;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.toc ol{columns:2;column-gap:2rem;margin:0;padding-inline-start:1.2rem;font-size:.94rem}
@media (max-width:560px){.toc ol{columns:1}}

/* A callout for the sentences that matter more than the rest — the ones a reader would sue over if we
   were vague about them. Amber for information, red for a limit we cannot exceed. */
.note{background:#0A0D28;border:1px solid var(--line);border-inline-start:3px solid var(--amber);
  border-radius:var(--r);padding:.95rem 1.15rem;margin:1.3rem 0}
.note.hard{border-inline-start-color:var(--red)}
.note p:first-child{margin-top:0}
.note p:last-child{margin-bottom:0}

table{border-collapse:collapse;width:100%;margin:1rem 0;font-size:.95rem}
th,td{text-align:start;padding:.6rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--amber);font-weight:600;font-size:.85rem;letter-spacing:.04em;text-transform:uppercase}
/* Tables must scroll inside themselves rather than widening the page. */
.scroller{overflow-x:auto;-webkit-overflow-scrolling:touch}

.mail{font-weight:600;white-space:nowrap}

/* ── footer ── */
footer{border-top:1px solid var(--line);padding:2rem 0 3rem;color:var(--dim);font-size:.88rem}
footer nav{display:flex;gap:1.2rem;flex-wrap:wrap;margin-bottom:.7rem}

/* Printed and filed is a real way these documents get used — by a store reviewer, or by counsel. */
@media print{
  body{background:#fff;color:#000}
  header.top,footer nav,.toc{display:none}
  a{color:#000;text-decoration:underline}
  h1,h2,h3,th{color:#000}
  .note{border:1px solid #999}
}
