/* Reclaim 128 — Beta Tracker
   One accent, a lot of air, and type that's comfortable to read. */

:root {
  --bg:        #fbfaf7;
  --surface:   #ffffff;
  --panel:     #f4f2ec;
  --ink:       #1c1b18;
  --ink-soft:  #55524b;
  --ink-faint: #8a867d;
  --rule:      #e3e0d8;

  --accent:      #1f6f5c;
  --accent-deep: #175445;
  --accent-wash: #e8f1ee;
  --warn:        #b3541e;

  --radius: 10px;
  --measure: 40rem;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #14150f;
    --surface:   #1b1c16;
    --panel:     #20221b;
    --ink:       #ecebe4;
    --ink-soft:  #b3b1a7;
    --ink-faint: #837f75;
    --rule:      #32342b;

    --accent:      #6fc4ab;
    --accent-deep: #8fd6c0;
    --accent-wash: #1c2b26;
    --warn:        #e09a66;
  }
}

:root[data-theme="dark"] {
  --bg:        #14150f;
  --surface:   #1b1c16;
  --panel:     #20221b;
  --ink:       #ecebe4;
  --ink-soft:  #b3b1a7;
  --ink-faint: #837f75;
  --rule:      #32342b;

  --accent:      #6fc4ab;
  --accent-deep: #8fd6c0;
  --accent-wash: #1c2b26;
  --warn:        #e09a66;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- layout */

.site-head,
main,
.site-foot {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 16px;
}

.site-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 8px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}

.tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-wash);
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

main { padding-bottom: 24px; }

section { margin: 56px 0; }
section:first-child { margin-top: 36px; }

/* ------------------------------------------------------------------ type */

h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 7vw, 3.1rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}

h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 14px;
}

h3 {
  font-size: .98rem;
  font-weight: 650;
  margin: 0 0 3px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34rem;
}

.section-note {
  color: var(--ink-soft);
  margin-top: -6px;
}

.aside {
  font-size: .9rem;
  color: var(--ink-faint);
  line-height: 1.6;
  border-left: 2px solid var(--rule);
  padding-left: 14px;
  margin-top: 22px;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }

code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
  word-break: break-all;
}

/* ------------------------------------------------------------------- cta */

.hero { margin-bottom: 64px; }

.cta { margin-top: 30px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background .15s ease, transform .15s ease;
}
.button:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}
.button:active { transform: translateY(0); }
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button { color: #10201b; }
  :root:not([data-theme="light"]) .button:hover { color: #10201b; }
}
:root[data-theme="dark"] .button,
:root[data-theme="dark"] .button:hover { color: #10201b; }

.cta-meta {
  font-size: .85rem;
  color: var(--ink-faint);
  margin: 12px 0 0;
}

/* ---------------------------------------------------------------- panels */

.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel.quiet { background: transparent; }

/* ----------------------------------------------------------------- steps */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 26px 0 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  padding-bottom: 24px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* the connecting rail */
.steps li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: 6px;
  width: 1px;
  background: var(--rule);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .94rem;
}


/* inline glyphs in the install steps */
.glyph {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -.18em;
  fill: var(--ink-soft);
}

.important {
  color: var(--warn);
  font-weight: 600;
}

/* ------------------------------------------------------------- two lists */

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}

@media (max-width: 34rem) {
  .cols { grid-template-columns: 1fr; gap: 24px; }
}

.col-head {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.col-head.yes { color: var(--accent); }
.col-head.no  { color: var(--warn); }

.col ul {
  margin: 0;
  padding-left: 18px;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.col li { margin-bottom: 9px; }

/* ---------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  padding-bottom: 56px;
  margin-top: 64px;
  font-size: .86rem;
  color: var(--ink-faint);
}
.site-foot p { margin: 0 0 4px; }
.fine { color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
