/* Shared styles for the hand-edited static pages in public/ (privacy, terms,
   support, delete-account, accessibility). Mirrors the app's Nav/Footer and
   the redesign tokens in app/globals.css; keep the two in step. */
:root {
  --forest: #285c41;
  --berry: #5c2843;
  --clay: #a8552e;
  --peach: #f5dcc8;
  --bg: #f7f9f8;
  --ink: #1a2e22;
  --body: #2b4234;
  --muted: #4e6157;
  --line: #dce6e0;
  --mint: #eef4f0;
  --nav-hover: #e4eee8;
  --footer-text: #e3eee7;
  --footer-faint: #d2e3d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Mulish', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest); }
a:hover { color: var(--berry); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.navlink {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 999px;
}
.navlink:hover { background: var(--nav-hover); color: var(--ink); }
.pill-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.25s;
}
.pill-btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 24px rgba(26, 46, 34, 0.22);
}
.pill-berry { background: var(--berry); color: #fff; }
.pill-berry:hover { color: #fff; }
@media (max-width: 1023px) {
  .site-nav { display: none; }
}
@media (max-width: 767px) {
  .site-header { height: 72px; padding: 0 20px; }
  .site-header .logo img { height: 24px; }
  .pill-berry { min-height: 44px; padding: 0 16px; }
}
.pill-btn { white-space: nowrap; }

/* ── Page body ──────────────────────────────────────────────────────── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
h1 {
  font-family: 'Cherry Bomb One', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  color: var(--forest);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  margin: 0 0 16px;
}
.updated {
  color: var(--clay);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 32px;
}
.intro {
  color: var(--body);
  font-size: 20px;
  line-height: 1.55;
  max-width: 720px;
}
h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}
h3 {
  color: var(--forest);
  font-size: 19px;
  font-weight: 800;
  margin: 24px 0 8px;
}
p, li {
  line-height: 1.65;
  font-size: 18px;
  color: var(--body);
  max-width: 720px;
}
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }
.callout,
.warning {
  border-radius: 28px;
  padding: 24px 28px;
  margin: 28px 0;
}
.callout { background: #fff; border: 2px solid var(--line); }
.warning { background: var(--peach); }
.callout p,
.warning p { margin: 0; color: var(--ink); }
.callout p + p,
.warning p + p { margin-top: 8px; }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.toc li { margin: 0; }
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.toc a:hover { background: var(--forest); color: #fff; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  margin: 12px 0 6px;
  transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.25s;
}
.button:hover {
  color: #fff;
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 24px rgba(26, 46, 34, 0.22);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 16px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line);
  vertical-align: top;
}
th { color: var(--forest); font-weight: 800; }
td { color: var(--body); }
@media (max-width: 640px) {
  table { display: block; overflow-x: auto; }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer-wrap {
  background: var(--forest);
  color: #fff;
  padding: 24px 24px 40px;
  border-radius: 56px 56px 0 0;
  margin-top: 96px;
}
.site-footer {
  max-width: 1200px;
  margin: 72px auto 0;
  padding-top: 44px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}
.site-footer .top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer .brand-col { flex: 1 1 280px; max-width: 360px; min-width: 0; }
.site-footer .brand-col img { height: 28px; width: auto; display: block; }
.site-footer .tagline {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--footer-text);
  font-weight: 600;
}
.site-footer .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-light { background: var(--bg); color: var(--ink); }
.pill-light:hover { color: var(--ink); }
.pill-outline { border: 2px solid var(--peach); color: var(--peach); padding: 0 20px; }
.pill-outline:hover { color: var(--peach); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.site-footer .col-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; max-width: none; }
.flink {
  display: inline-block;
  padding: 11px 0;
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.flink:hover { color: #fff; text-decoration: underline; }
.site-footer .bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .bottom p {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--footer-faint);
}
.site-footer .bottom a { color: var(--footer-faint); }
.site-footer .bottom a:hover { color: #fff; }
@media (max-width: 767px) {
  .site-footer-wrap { border-radius: 36px 36px 0 0; padding: 24px 20px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
