/* Shared styles for privacy.html, terms.html, cookies.html, thanks.html */
:root {
  --green: #1e7a3c;
  --green-dark: #14582b;
  --green-light: #e8f5ec;
  --accent: #9be15d;
  --ink: #1c2321;
  --gray: #4d5c54;
  --white: #ffffff;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink); line-height: 1.7; background: var(--white);
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--green-dark); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
nav { background: #fff; border-bottom: 1px solid #e5ebe7; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.25rem; color: var(--green-dark); text-decoration: none; }
.logo span { color: var(--green); }
.btn {
  display: inline-block; background: var(--green); color: #fff;
  padding: 9px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .9rem;
}
.btn:hover { background: var(--green-dark); }
.btn:focus-visible { outline-color: var(--ink); }
main { max-width: 800px; margin: 0 auto; padding: 48px 20px 72px; }
main:focus { outline: none; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--green-dark); }
.updated { color: var(--gray); font-size: .95rem; margin: 8px 0 28px; }
h2 { font-size: 1.35rem; font-weight: 800; color: var(--green-dark); margin: 34px 0 8px; line-height: 1.3; }
h3 { font-size: 1.08rem; font-weight: 700; margin: 20px 0 4px; }
p { margin: 10px 0; }
ul { margin: 10px 0 10px 1.3rem; }
li { margin: 5px 0; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
.summary {
  background: var(--green-light); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px;
}
.summary p:first-child { margin-top: 0; }
.summary p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: .95rem; }
th, td { border: 1px solid #b9c9bf; padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--green-light); }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 3px solid var(--green-dark); }
footer { background: var(--green-dark); color: #cfe6d7; padding: 30px 20px; text-align: center; font-size: .9rem; }
footer a { color: var(--accent); }
footer a:hover { color: #fff; }
footer :focus-visible { outline-color: #fff; }
footer .links { margin-bottom: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
