/* Allset pages. Text stays dark on white; the Sunset gradient is only an accent. */
:root {
  --text: #1a1a1a;
  --muted: #555;
  --line: #e6e6e6;
  --soft: #fafafa;
  --link: #c2410c;       /* dark orange: 5.2:1 on white */
  --link-hover: #9a3412;
  --sunset: linear-gradient(90deg, #ffb020 0%, #ff5a1f 55%, #f0257a 100%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--sunset);
}

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 6px 10px; z-index: 1; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { color: var(--text); }

nav.top { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--text); text-decoration: underline; }

main { padding: 32px 0 48px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 18px; line-height: 1.35; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.lead { font-size: 19px; }

.note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid #ff5a1f;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
}

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 600; }

details { border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; margin: 0 0 10px; }
details[open] { padding-bottom: 6px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.hero h1 { margin-top: 16px; }

.cards { display: grid; gap: 12px; margin: 28px 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
}
.card:hover { border-color: #ff5a1f; color: var(--text); }
.card strong { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }

.button {
  display: inline-block;
  /* Darker end of the Sunset gradient so white text stays readable (4.5:1+). */
  background: linear-gradient(90deg, #c2410c 0%, #be123c 100%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
}
.button:hover { color: #fff; filter: brightness(0.95); }

footer.site { border-top: 1px solid var(--line); background: var(--soft); font-size: 15px; color: var(--muted); }
footer.site .wrap { padding-top: 20px; padding-bottom: 28px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
footer.site p { margin: 0 0 6px; }

address { font-style: normal; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; }
}

@media print {
  body::before, nav.top, footer.site nav { display: none; }
  a { color: var(--text); }
}
