/* Pew Pew — shared styles for the standalone policy pages (/privacy, /data-deletion).
   These pages deliberately do not load the Framer bundle: they must stay readable
   for app-store reviewers even if the mirrored bundle or Framer's API goes away. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/gstatic/s_figtree_v9__Xms-HUzqDCFdgfMm4S9DQ.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, 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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/gstatic/s_figtree_v9__Xms-HUzqDCFdgfMm4q9DbZs.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #121111;
  --ink-soft: #4a4644;
  --ink-faint: #7d7773;
  --accent: #ff2f00;
  --bg: #fffaf5;
  --surface: #fff5e8;
  --line: #e6e0d8;
  --line-strong: #d9d6d0;
  --radius: 14px;
  --measure: 68ch;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-nav a[aria-current="page"] {
  font-weight: 700;
}

@media (max-width: 640px) {
  .header-nav {
    gap: 14px;
    font-size: 14px;
  }
  .header-nav .header-nav__hide-sm {
    display: none;
  }
}

/* ---------- layout ---------- */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 18px;
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 22px;
}

.meta {
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0;
}

.columns {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .columns {
    /* minmax(0, 1fr) not 1fr: an auto min-width lets the wide tables in
       .table-scroll stretch the track and scroll the whole page sideways. */
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ---------- table of contents ---------- */

.toc {
  position: sticky;
  top: 96px;
  font-size: 14.5px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .toc {
    position: static;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
  }
}

.toc h2 {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin: 0 0 14px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: toc;
}

.toc a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
}

.toc a:hover {
  color: var(--accent);
}

/* ---------- prose ---------- */

.prose {
  max-width: var(--measure);
  min-width: 0;
}

.prose section {
  margin: 0 0 44px;
  scroll-margin-top: 96px;
}

.prose h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 14px;
}

.prose h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin: 26px 0 8px;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin: 0 0 9px;
}

.prose li::marker {
  color: var(--ink-faint);
}

.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose strong {
  font-weight: 700;
}

/* ---------- components ---------- */

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  margin: 0 0 24px;
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout h3 {
  margin-top: 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps li > :last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15.5px;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 24px;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  margin: 0;
  min-width: 460px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom-color: var(--line-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn--accent {
  background: var(--accent);
}

.btn--accent:hover {
  background: var(--ink);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 14px;
}

/* ---------- print (reviewers often save these to PDF) ---------- */

@media print {
  .site-header,
  .toc,
  .site-footer {
    display: none;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .columns {
    display: block;
  }
  .prose {
    max-width: none;
  }
  .prose section {
    page-break-inside: avoid;
  }
}
