/* atomixapp.com
 *
 * One page, no JavaScript, no web fonts. That is not minimalism for its own
 * sake: the site is served with `default-src 'self'` and `script-src 'none'`,
 * and every external thing a page wants is another exception to a policy that
 * is only worth having while it stays narrow.
 *
 * The palette is defined once on :root in light, then re-stated for dark. Both
 * are stated explicitly — a token whose only definition sits inside a media
 * query leaves the page borrowing whatever the host paints behind it.
 */

:root {
  --ground: #fbfbfa;
  --raised: #f4f4f2;
  --ink: #16181d;
  --muted: #5c6167;
  --rule: #e3e3e0;
  --accent: #2f6f5e;

  --page: 64rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101215;
    --raised: #171a1f;
    --ink: #edeeef;
    --muted: #9aa1a9;
    --rule: #24272c;
    --accent: #6fbfa5;
  }
}

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

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

body {
  margin: 0;
  padding-inline: var(--gutter);
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page);
  margin-inline: auto;
  padding-block: 1.75rem;
}

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

.brand__mark {
  display: block;
  flex: none;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bar__link {
  font-size: 0.9375rem;
}

/* Hero */

main {
  max-width: var(--page);
  margin-inline: auto;
}

.hero {
  padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3rem, 8vw, 5.5rem);
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.125rem, 6vw, 3.375rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.65;
  /* Keeps the paragraph from ending on a one-word line. Unsupported browsers
     ignore it and wrap as before, so nothing depends on it. */
  text-wrap: pretty;
}

/* What it does — a definition list, because that is what it is: three terms
 * and what each one means. The term sits in its own column on a wide screen and
 * above its definition on a narrow one. */

.what {
  margin: 0;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  /* The rule spans the page the way the footer's does; the text does not. A
     border stopping short of the one below it reads as an unfinished column. */
  border-top: 1px solid var(--rule);
}

.what__row {
  max-width: 46rem;
}

.what__row + .what__row {
  margin-top: 1.75rem;
}

.what dt {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.what dd {
  margin: 0.375rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  text-wrap: pretty;
}

@media (min-width: 44em) {
  .what__row {
    display: grid;
    grid-template-columns: 7rem 1fr;
    column-gap: 2rem;
  }

  .what__row + .what__row {
    margin-top: 1.5rem;
  }

  .what dd {
    margin-top: 0;
  }
}

/* Status */

.status {
  margin-block: clamp(2rem, 5vw, 3rem) clamp(3.5rem, 9vw, 6rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 42rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--raised);
}

.status h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: var(--page);
  margin-inline: auto;
  padding-block: 1.75rem 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot p {
  margin: 0;
}
