:root {
  --bg: #f6f1ea;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #6c6c71;
  --faint: #9a9aa0;
  --line: rgba(0, 0, 0, .07);
  --accent: #ff5f21;
  --accent-ink: #d9460c;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }

.top { display: flex; align-items: center; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 16.5px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }

.doc {
  margin: 8px 0 48px; padding: 48px 56px 56px; border-radius: 28px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(120, 60, 20, .25);
}
h1 { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 720; }
.updated { margin: 10px 0 0; color: var(--faint); font-size: 14px; }
.intro { margin: 28px 0 0; font-size: 17.5px; color: #3a3a3e; }
h2 { margin: 44px 0 10px; font-size: 20px; letter-spacing: -.02em; font-weight: 680; }
h2 + p, h2 + ul { margin-top: 0; }
p, ul { margin: 0 0 14px; color: #3a3a3e; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--accent); }
strong { color: var(--ink); font-weight: 620; }

/* Footer: same as the home page */
.wide { width: min(760px, 100% - 32px); margin-inline: auto; } /* the text card's width */
footer { border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; color: var(--muted); }
.foot nav { display: flex; gap: 4px 24px; flex-wrap: wrap; }
.foot a { color: inherit; text-decoration: none; display: inline-block; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .25s var(--ease), color .2s; }
.foot a:hover { color: var(--ink); background-size: 100% 1px; }
.foot a[aria-current] { color: var(--ink); }

@media (max-width: 600px) {
  .top { height: 64px; }
  .doc { padding: 32px 22px 36px; border-radius: 22px; margin-inline: -4px; }
  h2 { margin-top: 36px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
