/* Shared styling for the RGA legal pages. White ground, navy brand, orange accent,
   authored mobile first to match course.html. */
:root{
  --navy:#0f2a4d; --navy-deep:#001d3e;
  --paper:#f7f5f0; --ink:#161e29; --mut:#515d6c; --dim:#8a929f; --line:#e2ddd4;
  --accent:#e35900; --accent-deep:#b84500;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --gut:20px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.68;
     -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}

.bar{border-bottom:1px solid var(--line);background:#fff}
.bar .in{max-width:760px;margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) var(--gut) 14px;
         display:flex;align-items:center;justify-content:space-between;gap:16px}
.bar img{width:132px}
.bar a.back{font-size:13.5px;color:var(--navy);text-decoration:none;font-weight:600;white-space:nowrap;padding:8px 0}

.doc{max-width:760px;margin:0 auto;padding:34px var(--gut) 64px}
h1{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:32px;line-height:1.12;
   letter-spacing:-.018em;margin-bottom:8px}
.eff{color:var(--dim);font-size:13px;letter-spacing:.03em;margin-bottom:26px}
.lede{font-size:17px;color:var(--mut);margin-bottom:8px}
h2{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:21px;line-height:1.2;
   letter-spacing:-.012em;margin:32px 0 10px}
p{margin-bottom:13px;color:var(--mut)}
ul{margin:0 0 13px 20px;color:var(--mut)}
li{margin-bottom:8px}
strong{color:var(--ink);font-weight:600}
a{color:var(--accent-deep)}
.note{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px 18px;
      font-size:14.5px;color:var(--mut);margin:24px 0}
.note strong{color:var(--ink)}

/* Details only Rob can supply. Deliberately loud so the page cannot ship with them in place. */
.todo{background:#fff1e8;color:var(--accent-deep);border:1px dashed var(--accent);
      border-radius:6px;padding:1px 7px;font-weight:600;font-size:.94em;font-family:var(--sans)}

footer{border-top:1px solid var(--line);padding:26px var(--gut) calc(30px + env(safe-area-inset-bottom));
       text-align:center;color:var(--dim);font-size:13px;line-height:1.9}
footer a{color:var(--mut);text-decoration:none;display:inline-block;padding:4px 8px}

@media (min-width:620px){
  :root{--gut:28px}
  body{font-size:16.5px}
  h1{font-size:42px}
  h2{font-size:24px;margin-top:38px}
  .doc{padding:46px var(--gut) 80px}
  .bar img{width:158px}
}
