@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

:root {
  --ink: #0e1416;
  --paper: #f6f5f1;
  --slate: #1b2528;
  --rule: #d9d8d1;
  --stone: #55605d;
  --mist: #a3aeaa;
  --signal: #3dd6b8;
  --deep-signal: #0b6e62;
  --amber: #e0a030;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, Menlo, monospace;
  --gutter: 1.5rem;
  --rhythm: 4.5rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

strong {
  font-weight: 600;
}

a {
  color: var(--deep-signal);
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* One column, the same measure from top to bottom. */
.wrap {
  width: 100%;
  max-width: calc(36rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: var(--rhythm);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Surfaces */
.dark {
  background: var(--ink);
  color: var(--paper);
}

.dark a {
  color: var(--signal);
}

.ruled {
  border-top: 1px solid var(--rule);
}

/* Header and hero */
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wordmark svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
}

.hero {
  padding-block: 1.75rem var(--rhythm);
}

.hero .status {
  margin-top: 4.5rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.625rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: 1.125rem;
}

.cta {
  display: inline-block;
  margin-top: 2.25rem;
  padding: 0.8125rem 1.25rem;
  border-radius: 3px;
  background: var(--signal);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.dark a.cta {
  color: var(--ink);
}

.cta:hover {
  background: var(--paper);
}

/* Lists */
.lines li {
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
}

.lines li:last-child {
  padding-bottom: 0;
}

.intro {
  margin-bottom: 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.25rem;
  counter-increment: step;
}

.steps li + li {
  margin-top: 1.75rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0.15em;
  left: 0;
  color: var(--deep-signal);
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.steps strong {
  display: block;
}

.note {
  margin-top: 2.25rem;
  color: var(--stone);
  font-size: 0.9375rem;
}

/* What sets us apart */
.cards {
  display: grid;
  gap: 0.75rem;
}

.cards li {
  padding: 1.25rem;
  border-radius: 4px;
  background: var(--slate);
}

.cards strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* What it answers */
.answers {
  padding-top: 0;
}

.answers .lines {
  margin-top: 1.5rem;
}

.answers .lines li {
  border-top-color: var(--slate);
}

/* Amber is reserved for this word, on Ink only. */
.undetermined {
  color: var(--amber);
}

.flow {
  color: var(--mist);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.8;
}

.flow span {
  white-space: nowrap;
}

.flow .name {
  color: var(--signal);
}

.arrow {
  width: 1em;
  height: 0.625em;
  vertical-align: 0.02em;
}

/* Small mono labels */
.label {
  margin-bottom: 0.5rem;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* About and contact */
.about {
  margin-bottom: 3rem;
}

.contact h2:not(.label) {
  margin-bottom: 0;
}

.contact .email {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

footer {
  padding-block: 2rem;
  border-top: 1px solid var(--slate);
  color: var(--mist);
  font-size: 0.9375rem;
}

footer .wordmark {
  margin-bottom: 0.5rem;
  color: var(--paper);
}

/* 404 */
.notfound {
  min-height: 100vh;
  padding-block: 1.75rem var(--rhythm);
}

.notfound h1 {
  margin-top: 4.5rem;
  margin-bottom: 1.5rem;
  font-size: 2.625rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 48rem) {
  :root {
    --rhythm: 7rem;
  }

  body {
    font-size: 1.125rem;
  }

  h2 {
    font-size: 2.125rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero .status {
    margin-top: 7rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .lead {
    font-size: 1.25rem;
  }

  .flow {
    font-size: 1.125rem;
  }
}
