/* Shared styles for static legal pages (Privacy Policy, Terms of Use) — matches the EiiOS brand system used on index.html */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a2745;
  background: #faf6f0;
  line-height: 1.65;
}
a { color: #a8894a; }
header.legal-header {
  background: #ffffff;
  border-bottom: 1px solid #eee6da;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.legal-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a2745;
}
header.legal-header .brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}
header.legal-header .brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #a8894a;
  font-weight: 600;
  text-transform: uppercase;
}
header.legal-header .back-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #1a2745;
  border: 1px solid #d4af8a;
  border-radius: 4px;
  padding: 9px 18px;
}
main.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
main.legal-main h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #1a2745;
  margin: 0 0 8px;
}
main.legal-main .effective-date {
  font-size: 0.85rem;
  color: #7a8296;
  margin: 0 0 40px;
}
main.legal-main .notice-box {
  background: #ffffff;
  border: 1px solid #eadfcd;
  border-left: 4px solid #d4af8a;
  border-radius: 4px;
  padding: 18px 22px;
  font-size: 0.9rem;
  color: #4a5268;
  margin: 0 0 44px;
}
main.legal-main h2 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1a2745;
  margin: 40px 0 12px;
}
main.legal-main p, main.legal-main li {
  font-size: 0.98rem;
  color: #333c52;
}
main.legal-main ul { padding-left: 22px; }
footer.legal-footer {
  background: #16213b;
  color: #a8b5c5;
  padding: 32px;
  text-align: center;
  font-size: 0.82rem;
}
footer.legal-footer a { color: #dfe3ea; }
