/* The privacy and support pages, in the app's own look: the palette of
 * lib/theme/palette.dart, Newsreader for headings and Figtree for text. The
 * font files are the ones the web app already ships, so the pages fetch
 * nothing from anyone else. */

@font-face {
  font-family: Newsreader;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/assets/google_fonts/Newsreader-Regular.ttf) format("truetype");
}
@font-face {
  font-family: Figtree;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/assets/google_fonts/Figtree-Regular.ttf) format("truetype");
}
@font-face {
  font-family: Figtree;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/assets/google_fonts/Figtree-SemiBold.ttf) format("truetype");
}

:root {
  color-scheme: light dark;
  --background: #f6f5ee;
  --surface: #fffefa;
  --sage: #e4eadb;
  --ink: #263d32;
  --ink-muted: #5a6656;
  --primary: #345e49;
  --line: #c9d2c4;
  --serif: Newsreader, Georgia, serif;
  --sans: Figtree, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141b17;
    --surface: #1c2520;
    --sage: #22302a;
    --ink: #e6eadf;
    --ink-muted: #a3ae9e;
    --primary: #9cc2a8;
    --line: #34413a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}

.shell {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.top {
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font: 400 1.375rem/1 var(--serif);
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5625rem;
  background: var(--sage);
  color: var(--primary);
}
.top nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.125rem, 6vw, 2.875rem);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.5rem;
}
h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.5rem;
}

.eyebrow {
  margin: 2.5rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow + h1 {
  margin-top: 0.5rem;
}
.updated {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.callout {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--sage);
}

main li + li {
  margin-top: 0.35rem;
}

.summary-en {
  margin-top: 3rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}

.foot {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
.foot nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.maker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}
.maker svg {
  width: 1.25rem;
  height: 1.25rem;
}
