/* Shared shell for the standalone pages (privacy, delete account, support, 404).
 *
 * These are plain static HTML, served outside the React app, so they cannot use the
 * Tailwind build. This sheet carries the same tokens as index.html so the pages look
 * like one site rather than three. Keep it in step with the <style> block in index.html.
 */

/* Metric-matched fallbacks: the webfont loads asynchronously (non-blocking),
   so text first paints in a system font. Adjusting the fallback's metrics to
   match keeps the swap from reflowing the page — this is what holds CLS down. */
@font-face {
  font-family: "Poppins-fallback";
  src: local("Arial");
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
  size-adjust: 112%;
}
@font-face {
  font-family: "Inter-fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 107%;
}

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink-900: #0b1016;
  --ink-800: #121a23;
  --ink-700: #18222d;
  --ink-600: #24303d;
  --ink-400: #6b7a89;
  --ink-300: #9aa9b8;
  --ink-200: #cbd5e1;
  --midnight: #0f1720;
  --green: #22c55e;
  --green-dark: #15803d;
  --radius: 14px;
}

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

body {
  margin: 0;
  background: var(--midnight);
  color: #fff;
  font-family: Inter, "Inter-fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Poppins, "Poppins-fallback", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

a { color: var(--green); }
a:hover { text-decoration: underline; }

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #06210f;
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--ink-700);
  background: rgba(15, 23, 32, 0.9);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.site-header .inner {
  max-width: 860px; margin: 0 auto; padding: 0 20px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: Poppins, "Poppins-fallback"; font-weight: 700; font-size: 1.15rem;
  color: #fff; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-header nav a {
  color: var(--ink-200); text-decoration: none;
  font-size: 0.93rem; font-weight: 500; margin-left: 22px;
}
.site-header nav a:hover { color: #fff; }

/* ── Page head ── */
.page-head {
  padding: 52px 20px 40px;
  text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(34, 197, 94, 0.13), transparent 70%);
  border-bottom: 1px solid var(--ink-700);
}
.page-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; }
.page-head p.sub { color: var(--ink-200); margin: 0 auto; max-width: 560px; }
.page-head .ids {
  margin-top: 18px; font-size: 0.88rem; color: var(--ink-300); line-height: 1.7;
}
.page-head .ids strong { color: var(--ink-200); }
.updated {
  display: inline-block; margin-top: 16px;
  border: 1px solid var(--ink-600); border-radius: 999px;
  padding: 5px 15px; font-size: 0.84rem; color: var(--ink-300);
}

/* ── Body ── */
main { max-width: 860px; margin: 0 auto; padding: 44px 20px 64px; }

section.block { margin-bottom: 40px; }
section.block h2 {
  font-size: 1.4rem; color: #fff;
  padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 2px solid var(--ink-700);
}
section.block h3 { font-size: 1.06rem; color: var(--ink-200); margin: 22px 0 8px; }

p, li { color: var(--ink-200); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

.card {
  background: var(--ink-800);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius);
  padding: 24px;
}

.steps {
  background: rgba(34, 197, 94, 0.06);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 22px 24px 10px 42px;
  margin: 18px 0;
}
.steps h3 { margin-top: 0; color: #fff; }
.steps ol { padding-left: 4px; }
.steps ol li { margin-bottom: 11px; }

.note {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 18px 0;
}
.note p { margin: 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; }
th, td {
  text-align: left; padding: 11px 12px;
  border-bottom: 1px solid var(--ink-700);
  vertical-align: top; font-size: 0.95rem;
}
th { background: var(--ink-900); color: #fff; font-size: 0.88rem; font-weight: 600; }
td { color: var(--ink-200); }
.yes { color: var(--green); font-weight: 600; }

.email { color: var(--green); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #06210f;
  font-weight: 600; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; border: 0;
  transition: background 0.14s ease;
}
.btn:hover { background: #2ee06a; text-decoration: none; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--ink-700);
  padding: 30px 20px;
  font-size: 0.9rem;
  color: var(--ink-300);
}
.site-footer .inner {
  max-width: 860px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}
.site-footer a { color: var(--ink-200); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .site-header nav a { margin-left: 14px; font-size: 0.88rem; }
  main { padding-top: 32px; }
  .steps { padding-left: 32px; }
}
