/* stepgazelle.com — shared styling.
   System font stack: on the Apple devices that are most of this traffic the site renders
   in the same typeface as the app, with no webfont download and no third-party request. */
:root {
  --ink: #2E1D10;
  --ink-soft: #6B5A4A;
  --sand: #FBF6EC;
  --rule: #E4D8C4;
  --link: #8C6138;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
.page-header a { color: var(--ink); text-decoration: none; }
.page-header a:hover { color: var(--link); }

/* Home page only. */
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
}
.badge {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.updated { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 2rem; }

/* Collapsible FAQ entries. <details>/<summary> is native — no JavaScript, which keeps the
   site's zero-dependency rule intact and means the answers still open with JS disabled.
   The <h3> lives inside <summary> (explicitly allowed by HTML5) so the questions remain
   navigable by heading in a screen reader; a plain-text summary would have removed them
   from the document outline. */
details {
  border-bottom: 1px solid var(--rule);
}
details:first-of-type {
  border-top: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  padding: 0.85rem 0;
  list-style: none;          /* Firefox */
}
summary::-webkit-details-marker { display: none; }
/* Own marker, so it can sit on the left and rotate. */
summary::before {
  content: "›";
  display: inline-block;
  width: 1.1rem;
  color: var(--ink-soft);
  transition: transform 0.15s ease;
}
details[open] > summary::before { transform: rotate(90deg); }
summary h3 {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
summary:hover h3 { color: var(--link); }
summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
details > p { margin: 0 0 0.85rem 1.1rem; }
details > p:first-of-type { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  summary::before { transition: none; }
}

a { color: var(--link); }
ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

.page-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.page-footer a { margin-right: 1rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F2E8D8;
    --ink-soft: #A89886;
    --sand: #1C1710;
    --rule: #3A3025;
    --link: #D9A876;
  }
}
