/* page-shell.css — The stylesheet every server-rendered website page links
 * (frontend/web/src/pages/page-shell.html): fonts, design tokens and the shared
 * layout, cards, buttons and notes. Page stylesheets (landing.css, guides.css)
 * load after it. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 200 1000;
}
@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
:root {
  color-scheme: light dark;
  --paper: #fff;
  --panel: #f9fafb;
  --panel-2: #f3f4f6;
  --ink: #111927;
  --ink-2: #6c737f;
  --ink-3: #9da4ae;
  --line: #e5e7eb;
  --lip: #d2d6db;
  --brand: #36bffa;
  --brand-lip: #0369a1;
  --brand-soft: #e0f2fe;
  --wrong: #ef4444;
  --wrong-lip: #dc2626;
  --amber-soft: #fef3c7;
  --amber-line: #fde68a;
  --amber-ink: #92400e;
  --r: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --sans:
    "Nunito", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, -apple-system, "Segoe UI",
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1520;
    --panel: #131e2b;
    --panel-2: #1b2837;
    --ink: #f0f5fa;
    --ink-2: #a3b0bf;
    --ink-3: #71808f;
    --line: #233242;
    --lip: #060b11;
    --brand: #36bffa;
    --brand-lip: #7dd3fc;
    --brand-soft: #0b4a6f;
    --wrong: #f87171;
    --wrong-lip: #dc2626;
    --amber-soft: #33270f;
    --amber-line: #6d5322;
    --amber-ink: #fcd34d;
  }
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 18px 64px;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
p {
  margin: 0 0 14px;
  color: var(--ink-2);
}
a {
  color: var(--brand-lip);
}
.caps {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 4px 0 var(--lip);
  padding: 20px;
  margin: 0 0 18px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 2px solid var(--line);
}
.row:last-child {
  border-bottom: 0;
}
.row b {
  font-weight: 800;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--panel-2);
  color: var(--ink-2);
}
.pill.on {
  background: var(--brand-soft);
  color: var(--brand-lip);
}
.pill.off {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.btn {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 15px;
  border: 0;
  border-radius: var(--r);
  background: var(--brand);
  color: #071827;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--brand-lip);
  cursor: pointer;
  transition:
    transform 0.08s var(--ease),
    box-shadow 0.08s var(--ease);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--brand-lip);
}
.btn.ghost {
  background: var(--paper);
  color: var(--ink-2);
  border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--lip);
}
.btn.ghost:active {
  box-shadow: 0 0 0 var(--lip);
}
.btn.danger {
  background: var(--wrong);
  box-shadow: 0 4px 0 var(--wrong-lip);
}
.btn.danger:active {
  box-shadow: 0 0 0 var(--wrong-lip);
}
.btn + .btn {
  margin-top: 10px;
}
.danger-zone {
  border-color: var(--wrong);
  box-shadow: 0 4px 0 var(--wrong-lip);
}
input[type="text"] {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}
.note {
  padding: 12px 14px;
  border: 2px solid var(--amber-line);
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  font-size: 0.88rem;
  font-weight: 700;
}
.muted {
  color: var(--ink-3);
  font-size: 0.85rem;
}
.smallprint {
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.5;
}
a.mark {
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand);
  color: #071827;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--brand-lip);
  margin-bottom: 18px;
}
ul {
  color: var(--ink-2);
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
}
:where(a, button, input, select):focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* A note that sits above the next block, such as the sign-in and account notices. */
.note-spaced {
  margin-bottom: 18px;
}
/* A heading that opens a card. */
.card-title {
  margin-top: 0;
}
/* Footer links from page-shell.html (every website page except the landing page). */
.site-footer {
  padding: 20px 18px 36px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font:
    700 14px/1.5 Nunito,
    system-ui,
    sans-serif;
}
.site-footer a {
  color: inherit;
}
