/* Ṛta — privacy and support pages.
   Same palette as the app: background #06080f, muted white text, violet accents.
   No third-party requests: the one webfont is served from this repo. */

@font-face{
  font-family:'Cormorant Garamond';
  font-style:italic;
  font-weight:300;
  font-display:swap;
  src:url('fonts/cormorant-garamond-italic-300-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:italic;
  font-weight:300;
  font-display:swap;
  src:url('fonts/cormorant-garamond-italic-300-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root{
  --bg:#06080f;
  --fg:rgba(255,255,255,0.80);
  --bright:rgba(255,255,255,0.94);
  --dim:rgba(255,255,255,0.55);
  --rule:rgba(255,255,255,0.09);
  --violet:#a79ad6;
  --violet-dim:rgba(167,154,214,0.35);
  color-scheme:dark;
}

*{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:400 16px/1.72 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* ---- masthead ------------------------------------------------------- */

.masthead{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  max-width:660px;margin:0 auto;padding:26px 24px 0;
}
.mark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;border:0;}
.mark img{width:22px;height:22px;border-radius:6px;display:block;}
.mark span{
  font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  font-style:italic;font-weight:300;font-size:22px;line-height:1;
  color:var(--bright);
}
.nav{display:flex;gap:18px;font-size:12px;letter-spacing:.09em;text-transform:uppercase;}
.nav a{color:var(--dim);text-decoration:none;border:0;
  padding:12px 2px;margin:-12px 0;}   /* the label is 12px; the target is ~40 */
.nav a:hover,.nav a:focus-visible{color:var(--violet);}
.nav a[aria-current="page"]{color:var(--bright);}

/* ---- page ----------------------------------------------------------- */

main{max-width:660px;margin:0 auto;padding:44px 24px 88px;}

h1{
  font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  font-weight:300;font-style:italic;font-size:46px;line-height:1.12;
  margin:0 0 8px;color:#fff;text-wrap:balance;
}
.sub{color:var(--dim);font-size:13px;letter-spacing:.04em;margin:0 0 36px;}
.lede{font-size:18.5px;line-height:1.62;color:var(--bright);margin:0 0 28px;text-wrap:pretty;}

h2{
  font-size:12.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:var(--violet);margin:46px 0 12px;
}
h3{font-size:16px;font-weight:600;color:var(--bright);margin:28px 0 6px;}
p{margin:0 0 16px;text-wrap:pretty;}
ul{margin:0 0 16px;padding-left:20px;}
li{margin:0 0 10px;}
li::marker{color:var(--violet-dim);}
strong{color:var(--bright);font-weight:600;}

a{color:var(--violet);text-decoration:none;border-bottom:1px solid var(--violet-dim);}
a:hover{border-bottom-color:var(--violet);}
a:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:2px;}

hr{border:0;border-top:1px solid var(--rule);margin:48px 0;}

/* a quiet boxed aside, used for the one-line summary of the whole policy */
.note{
  border:1px solid var(--rule);border-radius:14px;
  background:rgba(150,138,195,0.045);
  padding:18px 20px;margin:0 0 32px;
}
.note p:last-child{margin-bottom:0;}

footer{color:var(--dim);font-size:13px;line-height:1.7;margin-top:56px;}
footer a{color:var(--dim);border-bottom-color:rgba(255,255,255,0.14);}
footer a:hover{color:var(--violet);}

@media (max-width:520px){
  .masthead{padding:20px 20px 0;}
  main{padding:34px 20px 72px;}
  h1{font-size:35px;}
  .lede{font-size:17px;}
}

@media print{
  :root{--bg:#fff;--fg:#111;--bright:#000;--dim:#555;--rule:#ccc;--violet:#333;--violet-dim:#999;}
  body{background:#fff;color:#111;font-size:11pt;}
  h1{color:#000;}            /* h1 is hardcoded #fff on screen: it disappears on paper */
  h2{color:#333;}
  .masthead,.nav{display:none;}
  main{max-width:none;padding:0;}
  a{color:#111;border:0;}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;color:#555;}
  .note{border:1px solid #ccc;background:none;}
}
