/* Cuyar — shared styles for the public legal pages (/privacy, /terms).
   Standalone from the app: these must be readable by an app-store reviewer or a lawyer
   who has never opened Cuyar. Same tokens as index.html, same 65+ accessibility floor
   (22px body, high contrast, 64px tap targets). Fonts are self-hosted — no third-party
   request is made from these pages either. */

@font-face{
  font-family:'Atkinson Hyperlegible';
  font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/atkinson-hyperlegible-400-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:'Atkinson Hyperlegible';
  font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/atkinson-hyperlegible-400-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;
}
@font-face{
  font-family:'Atkinson Hyperlegible';
  font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/atkinson-hyperlegible-700-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:'Atkinson Hyperlegible';
  font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/atkinson-hyperlegible-700-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;
}
@font-face{
  font-family:'Bitter';
  font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/bitter-600-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:'Bitter';
  font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/bitter-600-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{
  --paper:#F7F3EC; --ink:#2B2A28; --sage:#5B8A72; --sage-deep:#3F6B55;
  --pencil:#CFC6B6; --stop:#B23A2E; --radius:20px;
  --font-body:'Atkinson Hyperlegible','Avenir Next',system-ui,sans-serif;
  --font-display:'Bitter','Iowan Old Style',Georgia,serif;
}
*{box-sizing:border-box}
body{
  margin:0; padding:0 20px 72px;
  background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:1.1rem; line-height:1.65;
  -webkit-text-size-adjust:100%;
}
.wrap{max-width:44rem; margin:0 auto}
header.top{padding:28px 0 8px}
a{color:var(--sage-deep)}
a:focus-visible, button:focus-visible{outline:3px solid var(--sage); outline-offset:3px; border-radius:6px}

h1{font-family:var(--font-display); font-weight:600; font-size:2rem; line-height:1.25; margin:.3em 0 .1em}
h2{font-family:var(--font-display); font-weight:600; font-size:1.4rem; line-height:1.3; margin:1.9em 0 .3em}
h3{font-size:1.15rem; margin:1.4em 0 .2em}
p, li{font-size:1.1rem}
ul{padding-left:1.2em}
li{margin:.35em 0}
.updated{color:#5C5750; font-size:.95rem; margin:.2em 0 0}
.lede{font-size:1.2rem; background:#fff; border:2px solid var(--pencil);
      border-radius:var(--radius); padding:18px 20px; margin:22px 0}
.callout{background:#fff; border-left:6px solid var(--sage); border-radius:12px;
         padding:16px 18px; margin:18px 0}
.callout.warn{border-left-color:var(--stop)}
.callout h3{margin-top:0}
table{width:100%; border-collapse:collapse; margin:14px 0; font-size:1rem}
th,td{text-align:left; padding:10px 12px; border-bottom:1px solid var(--pencil); vertical-align:top}
th{font-weight:700}
/* wide tables must scroll inside themselves, never the page */
.tablewrap{overflow-x:auto; -webkit-overflow-scrolling:touch}

/* Placeholders that MUST be filled before this counts as a published policy. */
.todo{background:#FFE9B8; border:2px dashed #B07A16; color:#5A3E06;
      padding:1px 8px; border-radius:6px; font-weight:700; white-space:nowrap}

.langbar{display:flex; gap:10px; margin:10px 0 0}
.langbar button{
  min-height:56px; padding:0 22px; font:inherit; font-weight:700;
  background:#fff; color:var(--sage-deep); border:2px solid var(--sage);
  border-radius:999px; cursor:pointer;
}
.langbar button[aria-pressed="true"]{background:var(--sage); color:#fff}
.backlink{display:inline-block; min-height:56px; line-height:56px; font-weight:700}
footer{margin-top:40px; padding-top:18px; border-top:1px solid var(--pencil); color:#5C5750}
@media print{ .langbar,.backlink{display:none} body{background:#fff} }
