/* STACKIT — one palette, named by job. Never inline a hex value in a page. */
:root {
  --ground:        #08080A;
  --raised:        #0F0F12;
  --line:          #1E1E23;
  --ink:           #F2F2F4;
  --ink-dim:       #9A9AA4;
  --ink-faint:     #6A6A74;
  --accent:        #FF3D4E;
  --accent-deep:   #C31425;
  --measure:       34rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* --- masthead ------------------------------------------------------------ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 3rem;
}

.mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: none;
}

.brand span {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

/* The IT, in the same red as the mark beside it and as the app itself. Set in
   an <i> for the shortest possible markup, so it is restyled here rather than
   italicised. */
.brand span i {
  color: var(--accent);
  font-style: normal;
}

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

h1 {
  font-size: clamp(2rem, 7vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1.5rem;
}

h1 em { font-style: normal; color: var(--accent); }

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 3rem 0 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.4rem;
}

p { margin: 0 0 1.1rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

strong { font-weight: 700; }

ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.55rem; }

.dim { color: var(--ink-dim); }

.stamp {
  color: var(--ink-faint);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* --- home page ----------------------------------------------------------- */

.lede { font-size: 1.2rem; color: var(--ink-dim); margin-bottom: 2.5rem; }
.lede strong { color: var(--ink); font-weight: 600; }

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

.steps li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.4rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

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

footer {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
}

footer a { color: var(--ink-dim); }
footer nav { margin-bottom: 0.75rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
