/* Colors from the app's Theme assets, light and dark. */
:root {
  --ground: #FFF6EA;
  --surface: #FFFFFF;
  --ink: #3D2012;
  --secondary: #6B4A38;
  --line: #3D2012;
  --divider: #E6D6C4;
  --mustard: #F6B92F;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1E2229;
    --surface: #292E37;
    --ink: #DCE0E6;
    --secondary: #959CA8;
    --line: #101317;
    --divider: #3A404B;
    --mustard: #EDB43A;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
}
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
header {
  border-bottom: 1.5px solid var(--divider);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.brand svg { width: 26px; height: 26px; }
nav { display: flex; gap: 20px; font-weight: 800; }
nav a { text-decoration: none; padding-block: 4px; }
nav a:hover, nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--mustard);
}
main { padding-block: 40px 64px; }
h1 { font-size: 36px; font-weight: 900; line-height: 1.1; margin: 0 0 6px; text-wrap: balance; }
h2 { font-size: 21px; font-weight: 900; margin: 36px 0 8px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
a { color: inherit; text-decoration-color: var(--mustard); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
.updated { color: var(--secondary); font-weight: 600; }
.card {
  background: var(--surface);
  border: 2.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--line);
  padding: 18px 20px;
  margin: 24px 0;
}
.card p:last-child { margin-bottom: 0; }
