/* Custom properties repeat site/index.html's values; scripts/site-audit/check-legal-css-tokens.mjs fails when they differ. */
@font-face{
  font-family:'Fraunces'; font-style:normal; font-weight:400 600; font-display:swap;
  src:url("/assets/fonts/fraunces-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:'Fraunces'; font-style:normal; font-weight:400 600; font-display:swap;
  src:url("/assets/fonts/fraunces-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:'DM Sans'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("/assets/fonts/dm-sans-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:'DM Sans'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("/assets/fonts/dm-sans-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;
}

:root{
  --cream:#F9F4E8; --cream-warm:#FDF9EE; --cream-deep:#F0E8D3; --paper-edge:#E6DCC1;
  --ink:#2A241B; --ink-soft:#5A4B3B; --ink-mute:#75634F;
  --cactus-deep:#3F5F35;
  --terracotta-deep:#C97A52;
  --shadow-soft: 0 1px 2px rgba(60,40,20,.04), 0 10px 32px rgba(60,40,20,.08);
  --display:'Fraunces',Georgia,serif;
  --body:'DM Sans',system-ui,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--body); color:var(--ink);
  font-size:1.0625rem; line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
}

.site-nav{ max-width:42rem; margin:0 auto; padding:1.25rem 1.25rem 0 }
.site-nav a{
  display:inline-flex; align-items:center; min-height:44px;
  font-weight:600; font-size:1rem; color:var(--ink-soft); text-decoration:none;
}
.site-nav a:hover{ color:var(--ink) }

.page{ max-width:42rem; margin:0 auto; padding:1rem 1.25rem 4rem }

h1,h2,h3{ font-family:var(--display); color:var(--ink); text-wrap:balance }
h1{
  font-variation-settings:'opsz' 144,'wght' 500,'SOFT' 50;
  font-size:clamp(2.125rem,6vw,3rem); line-height:1.08; letter-spacing:-.024em; margin:0 0 .5rem;
}
h2{
  font-variation-settings:'opsz' 72,'wght' 500,'SOFT' 50;
  font-size:1.625rem; line-height:1.2; letter-spacing:-.018em; margin:2.5rem 0 .75rem;
}
h3{
  font-variation-settings:'opsz' 24,'wght' 500,'SOFT' 50;
  font-size:1.25rem; line-height:1.3; letter-spacing:-.01em; margin:1.75rem 0 .5rem;
}
p{ margin:0 0 1rem }
strong{ font-weight:700 }
a{ color:var(--cactus-deep); text-decoration:underline; text-decoration-color:var(--terracotta-deep); text-underline-offset:3px; text-decoration-thickness:1.5px }
a:hover{ color:var(--ink) }
a:focus-visible{ outline:3px solid var(--terracotta-deep); outline-offset:2px; border-radius:2px }

.doc-header{ margin:0 0 2rem; padding-bottom:1.25rem; border-bottom:1px solid var(--paper-edge) }
.doc-meta{ margin:0; font-size:1rem; color:var(--ink-soft) }

hr{ border:0; border-top:1px solid var(--paper-edge); margin:2.25rem 0 }

ul,ol{ margin:0 0 1rem; padding-left:1.4rem }
li{ margin:0 0 .4rem; padding-left:.2rem }
li::marker{ color:var(--ink-mute) }
li > ul,li > ol{ margin:.4rem 0 .4rem }

table{ width:100%; border-collapse:collapse; margin:0 0 1.5rem; font-size:1rem; line-height:1.45 }
th{ text-align:left; font-weight:700; color:var(--ink); padding:.6rem .75rem; border-bottom:2px solid var(--paper-edge); background:var(--cream-deep) }
td{ padding:.6rem .75rem; border-bottom:1px solid var(--paper-edge); vertical-align:top }
tbody tr:last-child td{ border-bottom:0 }

.faq-item{ margin:0 0 1.5rem; padding-bottom:.25rem }
.faq-item h3{ margin-top:0 }

.site-footer{ margin-top:3rem; padding-top:1.5rem; border-top:1px solid var(--paper-edge); color:var(--ink-soft); font-size:1rem }
.site-footer p{ margin:0 }
.footer-links{ display:flex; flex-wrap:wrap; gap:.25rem 1.5rem; margin-bottom:.75rem }
.footer-links a{ display:inline-flex; align-items:center; min-height:44px; font-weight:600 }

@media screen and (max-width:40rem){
  table,tbody,tr,td{ display:block; width:100% }
  thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap }
  tr{ padding:.9rem 0; border-bottom:1px solid var(--paper-edge) }
  tbody tr:last-child{ border-bottom:0 }
  td{ padding:0; border:0 }
  td:first-child{ font-weight:700; margin-bottom:.1rem }
  td:not(:first-child){ margin-top:.5rem }
  td:not(:first-child)::before{ content:attr(data-label); display:block; font-weight:700; color:var(--ink-soft) }
}

@media print{
  @page{ margin:1.8cm }
  li::marker{ color:#000 }
  html,body{ background:#fff !important; color:#000 }
  body{ font-size:12pt }
  .site-nav,.footer-links{ display:none }
  .page{ max-width:none; padding:0 }
  h1,h2,h3{ color:#000; break-after:avoid }
  a{ color:#000; text-decoration:underline }
  th{ background:none; border-bottom:1.5pt solid #000 }
  td{ border-bottom:.5pt solid #000 }
  tr,li{ break-inside:avoid }
  hr,.doc-header,.site-footer{ border-color:#000 }
}

html,body{ background:var(--cream) }
