/* Shared look for the text pages (privacy, terms, support). The home page keeps its own inline styles; the tokens,
   buttons, top bar and footer here match it. */
:root {
  --navy: #1b2540;
  --navy-deep: #111830;
  --line: #34416b;
  --ink: #1d1c24;
  --cream: #fff2db;
  --paper: #fdf1dc;
  --text: #fff5e4;
  --body: #e2dccf;
  --muted: #a7aec4;
  --yellow: #feca3c;
  --coral: #ee6a3c;
  --coral-deep: #c64a2a;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--body); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: 0.01em; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--gutter)); }

.btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1em 0.55em; font: 400 1rem/1 var(--display); letter-spacing: 0.03em; text-decoration: none;
  color: var(--ink); background: var(--yellow); border: 3px solid var(--ink); border-radius: 13px; box-shadow: 0 4px 0 var(--ink); transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-2px); background: #ffd65f; }
.btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--gutter); background: var(--navy-deep); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 400 1.25rem/1 var(--display); color: var(--cream); text-decoration: none; letter-spacing: 0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--ink); }
.topbar nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.topbar nav a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 800; font-size: 0.98rem; }
.topbar nav a:not(.btn):hover, .topbar nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

.page { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.kicker { display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 12px; font: 900 0.8rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); }
.kicker::before { content: ""; width: 26px; height: 10px; border-radius: 3px; background: currentColor; transform: skewX(-18deg); }
.page h1 { color: var(--text); font-size: clamp(2.4rem, 6vw, 3.6rem); text-wrap: balance; }
.updated { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }
.lede { margin: 18px 0 0; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text); max-width: 40em; }
.sheet { margin-top: clamp(28px, 4vw, 40px); padding: clamp(22px, 4vw, 40px); background: var(--paper); color: #3d3530; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); }
.sheet h2 { color: var(--ink); font-size: clamp(1.45rem, 3vw, 1.8rem); margin: 30px 0 10px; }
.sheet h2:first-child { margin-top: 0; }
.sheet p, .sheet ul { margin: 0 0 14px; }
.sheet ul { padding-left: 1.2em; }
.sheet li { margin-bottom: 8px; }
.sheet a { color: var(--coral-deep); font-weight: 800; text-underline-offset: 3px; }
.sheet strong { color: var(--ink); }
.mail { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 0.7em 1.1em 0.65em; border-radius: 14px; border: 3px solid var(--ink); background: var(--yellow);
  color: var(--ink); font: 400 clamp(1.05rem, 2.6vw, 1.3rem)/1 var(--display); letter-spacing: 0.02em; text-decoration: none; box-shadow: 0 4px 0 var(--ink); overflow-wrap: anywhere; }
.mail:hover { background: #ffd65f; }
.sheet .mail { color: var(--ink); }
.faq h3 { color: var(--ink); font-size: 1.25rem; margin: 22px 0 6px; }

/* Footer: the same as the home page's */
footer { background: var(--navy-deep); border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 110px; height: auto; }
.foot-brand strong { display: block; color: var(--cream); font: 400 1.25rem/1.15 var(--display); letter-spacing: 0.02em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: var(--cream); text-decoration: none; font-weight: 800; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.socials { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.social, .made-with { display: inline-flex; align-items: center; gap: 0.5em; color: var(--cream); text-decoration: none; font-weight: 800; }
.social svg { width: 1.1em; height: 1.1em; color: var(--yellow); }
.social:hover, .made-with:hover { text-decoration: underline; text-underline-offset: 4px; }
.made-with span { color: var(--muted); font-weight: 700; }
.made-with img { width: 24px; height: 24px; border-radius: 6px; }
.fine { margin: 22px 0 0; font-size: 0.85rem; color: #7d86a3; }

@media (max-width: 640px) {
  .topbar nav a.hide-sm { display: none; }
  .foot, .foot-row { justify-content: center; text-align: center; }
  .foot-brand { flex-direction: column; }
  .foot nav, .socials { justify-content: center; }
  .fine { text-align: center; }
}
