@font-face {
  font-family: 'My Flips Serif';
  src: url('my_flips_flutter/assets/fonts/LibreBaskerville-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'My Flips Typewriter';
  src: url('my_flips_flutter/assets/fonts/SpecialElite-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'My Flips Utility';
  src: url('my_flips_flutter/assets/fonts/C1-Utility-Mono.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #050505;
  --tomato: #e43d35;
  --quiet: #535353;
  --line: #e5e5e5;
  --serif: 'My Flips Serif', Georgia, serif;
  --typewriter: 'My Flips Typewriter', 'Courier New', monospace;
  --utility: 'My Flips Utility', system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--typewriter);
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}
main {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: max(34px, env(safe-area-inset-top)) 0 max(48px, env(safe-area-inset-bottom));
}
.account-deletion { max-width: 560px; }
.brand { position: relative; width: min(245px, 78%); margin: 0 auto; }
/* The for keeps wordmark already carries black ink and the tomato heart. */
.brand img { width: 100%; height: auto; display: block; }
.tagline { text-align: center; font-size: 11px; line-height: 1.5; margin: 8px 0 32px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.23; letter-spacing: -.035em; }
h1 { font-size: clamp(32px, 7vw, 44px); margin: 38px 0 16px; }
h2 { font-size: clamp(22px, 5vw, 27px); margin: 0 0 16px; }
h3 { font-size: 19px; }
p { margin: 0 0 18px; }
ul, ol { padding-left: 22px; margin: 12px 0 20px; }
li + li { margin-top: 10px; }
.intro { color: var(--quiet); font-size: 17px; }
.policy-section { padding: 30px 0 8px; border-top: 1px solid var(--line); margin-top: 24px; }
.draft { margin: 28px 0; padding: 14px 0 14px 16px; border-left: 3px solid var(--tomato); font-size: 13px; line-height: 1.55; }
.draft strong { display: block; font-family: var(--utility); font-size: 13px; margin-bottom: 4px; }
.draft p:last-child { margin-bottom: 0; }
.warning { padding: 0 0 0 16px; border-left: 3px solid var(--tomato); }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, .glass {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 3px 14px rgba(0, 0, 0, .035);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font: 600 14px/1.45 var(--utility);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
button { width: 100%; margin-top: 16px; }
button:hover, .glass:hover { background: rgba(0, 0, 0, .035); }
button:disabled { opacity: .5; cursor: not-allowed; }
.danger { border-color: rgba(228, 61, 53, .35); background: rgba(228, 61, 53, .075); }
.danger:hover { background: rgba(228, 61, 53, .12); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
label { display: block; margin: 24px 0 8px; font: 600 14px/1.5 var(--utility); }
input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid #b8b8b8; border-radius: 16px;
  background: #fff; color: var(--ink); font: 17px/1.4 var(--typewriter);
}
input[readonly] { background: #f7f7f7; }
input[type='checkbox'] { width: 20px; min-height: 20px; accent-color: #000; }
[hidden], .hidden { display: none !important; }
#status { margin: 20px 0; min-height: 27px; font-size: 14px; line-height: 1.6; }
.reference, code { font-family: var(--utility); overflow-wrap: anywhere; }
.reference { display: block; padding: 14px; background: #f7f7f7; border-radius: 16px; font-size: 14px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.link-row .glass { flex: 1 1 150px; }
details { padding: 20px 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 15px/1.6 var(--utility); }
details[open] summary { margin-bottom: 16px; }
footer { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px; background: #fff; z-index: 5; }
.skip-link:focus { top: 10px; }
@media (max-width: 380px) {
  main { width: calc(100% - 32px); padding-top: 26px; }
  body { font-size: 15px; }
  .intro { font-size: 16px; }
  .tagline { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  main { width: 100%; padding: 0; }
  .link-row, .skip-link { display: none; }
  a { text-decoration: underline; }
  .policy-section { break-inside: avoid; }
}
