/*
 * NeuroBloom's links pages. Large type and large targets throughout: the
 * people opening these include stroke survivors and their older relatives,
 * reading on a phone. Navy on white and white on navy both clear 13:1;
 * the violet accent clears 6:1 on white.
 */
:root {
  --navy: #1a237e;
  --violet: #9c27b0;
  --ink: #1b1b2f;
  --muted: #45465a;
  --surface: #ffffff;
  --wash: #f4f2fb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 125%;
  line-height: 1.5;
  color: var(--ink);
  background: var(--wash);
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wash);
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo {
  display: block;
  margin: 0 auto 1rem;
  width: 6rem;
  height: auto;
}

h1 {
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
}

h2 {
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(26, 35, 126, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--violet);
  color: var(--surface);
  font-size: 1.1rem;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--surface);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background: #0d1460;
}

.button:focus-visible {
  outline: 0.25rem solid var(--violet);
  outline-offset: 0.25rem;
}

.code {
  text-align: center;
  margin: 1.5rem 0;
}

.code-value {
  display: inline-block;
  margin: 0;
  /* Letter spacing trails the last character too; the right side gives it back. */
  padding: 0.75rem calc(1rem - 0.3em) 0.75rem 1rem;
  border: 2px dashed var(--violet);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--navy);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  user-select: all;
  -webkit-user-select: all;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
