@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/static/fonts/familjen-grotesk-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/static/fonts/familjen-grotesk-latin-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('/static/fonts/spline-sans-mono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cold northern daylight, never pure white, never pure black. */
  --paper: oklch(0.968 0.006 236);
  --paper-sunk: oklch(0.935 0.009 236);
  --ink: oklch(0.205 0.023 252);
  --ink-soft: oklch(0.435 0.021 250);
  --ink-faint: oklch(0.205 0.023 252 / 0.14);
  --flare: oklch(0.712 0.168 52);
  --flare-deep: oklch(0.585 0.152 46);
  --on-ink: oklch(0.945 0.008 236);
  --on-ink-soft: oklch(0.945 0.008 236 / 0.62);

  --sans: 'Familjen Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', monospace;

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --measure: 64ch;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --step-1: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
  --step-2: clamp(1.75rem, 1.35rem + 1.9vw, 2.9rem);
  --step-3: clamp(2.6rem, 1.7rem + 4.2vw, 5.6rem);
  --step-4: clamp(3.4rem, 1.6rem + 8vw, 9rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--flare-deep);
  outline-offset: 3px;
  border-radius: 1px;
}

[id] {
  scroll-margin-top: 1.5rem;
}

.skip {
  position: absolute;
  left: -100vw;
}

.skip:focus {
  left: var(--gutter);
  top: 0.65rem;
  z-index: 10;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}

/* Grid and flex children default to min-width:auto, which lets a wide <pre>
   or a long token stretch its whole track. Nothing on this page should. */
.hero > *,
.prose-cols > *,
.ask-cols > *,
.ledger li > * {
  min-width: 0;
}

/* ---------------------------------------------------------------- shell */

.bleed {
  padding-inline: var(--gutter);
}

.rule {
  border: 0;
  border-top: 1px solid var(--ink-faint);
  margin: 0;
}

.tag {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

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

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.15rem 1.05rem;
  border-bottom: 1px solid var(--ink-faint);
}

/* The wordmark is the ConvoSuite house logo, unaltered, with the subdomain
   named beside it in the page's own type rather than inside the artwork. */
.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.mark img {
  display: block;
  width: auto;
  height: clamp(1.4rem, 2.4vw, 1.75rem);
}

.mark span {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.6rem;
  border-left: 1px solid var(--ink-faint);
}

.masthead nav {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.masthead .tag {
  color: var(--ink-soft);
}

.masthead a:not(.mark) {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--flare);
  font-size: var(--step--1);
  white-space: nowrap;
}

.masthead form {
  margin: 0;
}

.masthead form button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: var(--step--1);
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--flare);
}

/* ---------------------------------------------------------------- hero */

.hero {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.85fr);
  }
}

.hero h1 {
  font-size: var(--step-3);
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--flare-deep);
}

.lede {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem;
  transition: background 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover {
  background: var(--flare-deep);
}

.quiet-link {
  text-decoration: none;
  border-bottom: 1px solid var(--flare);
  padding-bottom: 0.2em;
  color: var(--ink-soft);
}

.quiet-link:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- front desk */

.desk {
  border: 1px solid var(--ink);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--paper);
}

.desk h2 {
  font-size: var(--step-1);
}

.desk > p {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 34ch;
}

.desk form {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.35rem;
}

.desk label {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.desk label + input {
  margin-bottom: 1.1rem;
}

.desk input {
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper-sunk);
  border: 1px solid transparent;
  border-bottom-color: var(--ink);
  padding: 0.6rem 0.7rem;
  width: 100%;
  transition: background 200ms ease-out;
}

.desk input:focus {
  background: var(--paper);
}

.desk button[type='submit'] {
  margin-top: 0.4rem;
  font: inherit;
  font-weight: 600;
  background: var(--ink);
  color: var(--on-ink);
  border: 0;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desk button[type='submit']:hover {
  background: var(--flare-deep);
}

.flash {
  margin-top: 1.25rem;
  background: var(--flare);
  color: oklch(0.22 0.04 52);
  padding: 0.6rem 0.75rem;
  font-size: var(--step--1);
  font-weight: 600;
}

.desk .signed-in {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------------------------------------------------------------- daylight */

.daylight {
  margin: 0;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--ink-faint);
}

.daylight-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  color: var(--ink-soft);
  padding-bottom: 1.1rem;
}

.plot {
  position: relative;
  padding-left: 2.6rem;
}

.plot svg {
  display: block;
  width: 100%;
  height: clamp(15rem, 34vh, 26rem);
  overflow: visible;
}

.plot .grid line {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-opacity: 0.14;
  vector-effect: non-scaling-stroke;
}

.plot .band {
  fill: var(--flare);
}

.plot .now {
  stroke: var(--ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 4;
}

.hours,
.months {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.hours span {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
}

.months {
  position: relative;
  height: 1.6em;
  margin-left: 2.6rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--ink-faint);
  padding-top: 0.45rem;
}

.months span {
  position: absolute;
  top: 0.45rem;
}

@media (max-width: 40rem) {
  .months span:nth-child(even) {
    display: none;
  }
}

.daylight figcaption {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.65;
}

.daylight figcaption b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------------------------------------------------------------- machine */

.machine {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.machine h2 {
  font-size: var(--step-2);
  max-width: 18ch;
}

.machine .lede {
  color: var(--on-ink-soft);
}

.spec {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid oklch(0.945 0.008 236 / 0.22);
}

@media (min-width: 48rem) {
  .spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 5rem);
  }
}

.spec div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid oklch(0.945 0.008 236 / 0.22);
}

.spec dt {
  font-size: var(--step--1);
  color: var(--on-ink-soft);
}

.spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--flare);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ---------------------------------------------------------------- prose */

.prose {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.prose-cols {
  display: grid;
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}

@media (min-width: 58rem) {
  .prose-cols {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.prose h2 {
  font-size: var(--step-2);
  max-width: 12ch;
}

.prose-body {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: var(--measure);
  font-size: var(--step-0);
  line-height: 1.7;
}

blockquote {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  max-width: 22ch;
  font-size: var(--step-1);
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--flare-deep);
}

blockquote cite {
  display: block;
  margin-top: 0.9rem;
  font: 400 var(--step--1) / 1.5 var(--mono);
  font-style: normal;
  color: var(--ink-soft);
}

.crypto {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink-faint);
}

@media (min-width: 42rem) {
  .crypto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .crypto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.crypto li {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--ink-faint);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  justify-content: space-between;
}

.crypto b {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 600;
}

.crypto span {
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-align: right;
}

/* ---------------------------------------------------------------- ledger */

.ledger {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--ink-faint);
}

.ledger h2 {
  font-size: var(--step-2);
  max-width: 15ch;
}

.ledger ol {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
  border-top: 1px solid var(--ink-faint);
}

.ledger li {
  counter-increment: item;
  display: grid;
  gap: 0.6rem clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--ink-faint);
}

@media (min-width: 56rem) {
  .ledger li {
    grid-template-columns: 3.5rem minmax(0, 22ch) minmax(0, 1.35fr);
  }
}

.ledger li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--mono);
  font-size: var(--step-0);
  color: var(--flare-deep);
  font-weight: 600;
}

.ledger h3 {
  font-size: var(--step-1);
  letter-spacing: -0.026em;
}

.ledger p {
  grid-column: 2 / -1;
  max-width: 68ch;
  color: var(--ink-soft);
  line-height: 1.66;
}

@media (min-width: 56rem) {
  .ledger p {
    grid-column: 3;
  }
}

/* ---------------------------------------------------------------- ask */

.ask {
  background: var(--flare);
  color: oklch(0.2 0.045 52);
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}

.ask-cols {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (min-width: 58rem) {
  .ask-cols {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.ask h2 {
  font-size: var(--step-3);
  max-width: 11ch;
}

.ask p {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 48ch;
  font-size: var(--step-1);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: oklch(0.32 0.06 50);
}

.ask p a {
  color: oklch(0.2 0.045 52);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

/* ---------------------------------------------------------------- enquiry */

.enquiry h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.enquiry form {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.1rem;
}

.enquiry .field {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.enquiry label {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  color: oklch(0.28 0.055 50);
}

.enquiry label span {
  color: oklch(0.36 0.05 50);
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  font: inherit;
  font-size: var(--step-0);
  width: 100%;
  padding: 0.62rem 0.75rem;
  color: var(--ink);
  background: oklch(0.975 0.012 62);
  border: 1px solid oklch(0.2 0.045 52 / 0.45);
  border-radius: 0;
  appearance: none;
}

.enquiry textarea {
  resize: vertical;
  line-height: 1.5;
  min-height: 6.5rem;
}

.enquiry input::placeholder,
.enquiry textarea::placeholder {
  color: var(--ink-soft);
}

.enquiry input:focus-visible,
.enquiry select:focus-visible,
.enquiry textarea:focus-visible {
  outline: 2px solid oklch(0.2 0.045 52);
  outline-offset: 1px;
}

.enquiry button[type='submit'] {
  justify-self: start;
  font: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  cursor: pointer;
  padding: 0.75rem 1.6rem;
  border: 0;
  color: var(--flare);
  background: oklch(0.2 0.045 52);
}

.enquiry button[type='submit']:hover {
  background: oklch(0.14 0.03 52);
}

.enquiry small {
  display: block;
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: 46ch;
  color: oklch(0.32 0.06 50);
}

.enquiry .notice {
  margin-top: 1.2rem;
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: 46ch;
  padding: 0.7rem 0.9rem;
  border: 1px solid oklch(0.2 0.045 52 / 0.5);
}

.enquiry .notice.good {
  background: oklch(0.2 0.045 52);
  color: oklch(0.93 0.06 70);
  border-color: oklch(0.2 0.045 52);
}

.enquiry .notice.bad {
  background: oklch(0.975 0.012 62);
  color: oklch(0.35 0.13 28);
}

/* The honeypot is off-screen rather than display:none, because some bots skip
   inputs they can tell are hidden. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* A full-measure ruled row rather than a card: the deliverable stated on the
   left, the actual file on the right. */
.sample {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid oklch(0.2 0.045 52 / 0.45);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 58rem) {
  .sample {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.sample > * {
  min-width: 0;
}

.sample figcaption b {
  display: block;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: oklch(0.2 0.045 52);
  margin-bottom: 0.85rem;
}

.sample figcaption span {
  display: block;
  max-width: 42ch;
  line-height: 1.55;
  color: oklch(0.28 0.055 50);
}

.sample figcaption code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.sample pre {
  margin: 0;
  overflow-x: auto;
  border: 1px solid oklch(0.2 0.045 52 / 0.4);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 0.55rem + 0.5vw, 0.86rem);
  line-height: 1.85;
  color: oklch(0.2 0.045 52);
}

.sample i {
  font-style: normal;
  color: oklch(0.32 0.06 50);
}

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

.colophon {
  background: var(--ink);
  color: var(--on-ink-soft);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  font-size: var(--step--1);
  line-height: 1.7;
}

.colophon-top {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
}

@media (min-width: 58rem) {
  .colophon-top {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  }
}

.colophon-brand img {
  display: block;
  width: auto;
  height: 2.35rem;
  margin-bottom: 1.35rem;
}

.colophon-brand p {
  max-width: 34ch;
}

.colophon-cols {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 46rem) {
  .colophon-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.colophon-cols h2 {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-ink);
  margin-bottom: 0.9rem;
}

.colophon-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.colophon-cols .reach {
  gap: 0.65rem;
}

.colophon-cols a {
  color: var(--on-ink-soft);
  text-decoration: none;
}

.colophon-cols a:hover {
  color: var(--flare);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.colophon-end {
  padding-top: 1.6rem;
  border-top: 1px solid oklch(0.945 0.008 236 / 0.22);
}

/* Only the public page has the column block above; the console footer is the
   end line on its own and should not carry its clearance. */
.colophon-top + .colophon-end {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.colophon .legal {
  max-width: 78ch;
  font-size: var(--step--1);
  color: var(--on-ink-soft);
}

.colophon .legal + .legal {
  margin-top: 0.75rem;
}

.colophon a {
  color: var(--flare);
  text-underline-offset: 0.28em;
}

/* ---------------------------------------------------------------- console */

.console {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.console h1 {
  font-size: var(--step-2);
}

.console .lede {
  font-size: var(--step-0);
}

.enquiries {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.enquiries h2 {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink-faint);
}

.enquiries .empty {
  margin-top: 1.25rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

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

.feed li {
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--ink-faint);
}

.feed .who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
}

.feed .who b {
  font-size: var(--step-0);
}

.feed .who a {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--flare-deep);
}

.feed .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.feed p {
  margin-top: 0.75rem;
  max-width: 68ch;
  white-space: pre-wrap;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- peers */

.console .notice {
  margin-top: 1.5rem;
  max-width: 68ch;
  padding: 0.8rem 1rem;
  font-size: var(--step--1);
  line-height: 1.6;
  border: 1px solid var(--ink-faint);
}

.console .notice.good {
  background: oklch(0.955 0.045 76);
  border-color: var(--flare);
}

.console .notice.bad {
  background: oklch(0.955 0.028 28);
  border-color: oklch(0.62 0.16 28);
  color: oklch(0.35 0.13 28);
}

/* The handover is the one moment on this page that must not be missed, so it
   is the only ink-drenched block in the console. */
.handover {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.handover h2 {
  font-size: var(--step-1);
  color: var(--paper);
}

.handover p {
  margin-top: 0.8rem;
  max-width: 62ch;
  color: oklch(0.82 0.02 240);
  font-size: var(--step--1);
  line-height: 1.65;
}

.handover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.4rem;
}

.handover .button {
  background: var(--flare);
  color: var(--ink);
  border-color: var(--flare);
}

.handover .tag {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--flare);
  border-color: oklch(0.5 0.03 240);
}

.handover .conf {
  margin-top: 1.4rem;
  padding: 1.1rem 1.25rem;
  background: oklch(0.16 0.02 252);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: oklch(0.86 0.022 240);
  overflow-x: auto;
  white-space: pre;
  min-width: 0;
}

.peers {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.peers h2 {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink-faint);
}

.issue {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.9rem 1.1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--ink-faint);
}

.issue-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.issue label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.issue input,
.issue select {
  font: inherit;
  font-size: var(--step--1);
  color: var(--ink);
  background: var(--paper-sunk);
  border: 1px solid var(--ink-faint);
  padding: 0.6rem 0.7rem;
  min-width: 0;
}

.issue input {
  width: 15rem;
  max-width: 100%;
}

.issue input:focus-visible,
.issue select:focus-visible {
  outline: 2px solid var(--flare-deep);
  outline-offset: 1px;
}

.issue button {
  font: inherit;
  font-size: var(--step--1);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
}

.issue button:hover {
  background: var(--flare-deep);
  border-color: var(--flare-deep);
}

.issue small {
  flex-basis: 100%;
  max-width: 64ch;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.peer-list li {
  display: grid;
  /* Every track except the name is a fixed width. Each row is its own grid, so
     a flexible track would resolve differently once a revoke panel opened and
     the columns would visibly jump. */
  grid-template-columns: minmax(0, 1fr) 7.5rem 9rem 6.5rem 5.5rem;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--ink-faint);
}

/* Every cell is placed explicitly, so opening a revoke panel cannot reshuffle
   the row above it. */
.peer-id  { grid-column: 1; }
.peer-addr { grid-column: 2; }
.peer-seen { grid-column: 3; }
.peer-data { grid-column: 4; }
.peer-revoke { grid-column: 5; }

.peer-revoke[open] {
  grid-column: 1 / -1;
}

.peer-id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  min-width: 0;
}

.peer-id b {
  font-size: var(--step-0);
}

.peer-id .unnamed,
.foot-note .unnamed {
  color: var(--ink-soft);
  font-weight: 400;
  font-style: italic;
}

.peer-id code,
.peer-addr code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.peer-addr code {
  font-size: var(--step--1);
  color: var(--ink);
}

.peer-seen,
.peer-data {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* A connected peer is the only thing in the table worth colouring. */
.peer-seen.up {
  color: var(--flare-deep);
}

.peer-seen.up::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.55em;
  background: var(--flare);
  vertical-align: 0.12em;
}

.peer-revoke summary {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
  text-align: right;
}

.peer-revoke summary::-webkit-details-marker {
  display: none;
}

.peer-revoke summary:hover,
.peer-revoke[open] summary {
  color: oklch(0.52 0.17 28);
}

.peer-revoke form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.9rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: oklch(0.955 0.028 28);
  border: 1px solid oklch(0.62 0.16 28);
}

.peer-revoke label {
  font-size: var(--step--1);
  color: oklch(0.35 0.13 28);
}

.peer-revoke input[type="text"] {
  font: inherit;
  font-size: var(--step--1);
  padding: 0.5rem 0.65rem;
  width: 12rem;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid oklch(0.62 0.16 28);
  color: var(--ink);
}

.peer-revoke button {
  font: inherit;
  font-size: var(--step--1);
  padding: 0.55rem 1.2rem;
  background: oklch(0.52 0.17 28);
  color: var(--paper);
  border: 1px solid oklch(0.52 0.17 28);
  cursor: pointer;
}

.peer-revoke button:hover {
  background: oklch(0.44 0.16 28);
}

.foot-note {
  margin-top: 1.1rem;
  max-width: 64ch;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.peers .empty {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

/* Narrow: the five columns become a name, one mono line of readouts, and the
   revoke control on its own row, rather than a grid with holes in it. */
@media (max-width: 46rem) {
  .peer-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 1.1rem;
    row-gap: 0.35rem;
  }

  .peer-id,
  .peer-revoke {
    flex: 1 0 100%;
  }

  .peer-revoke summary {
    text-align: right;
  }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .reveal:nth-child(2) {
    animation-delay: 90ms;
  }

  .reveal:nth-child(3) {
    animation-delay: 180ms;
  }

  .plot .band {
    animation: sweep 1500ms cubic-bezier(0.16, 1, 0.3, 1) 260ms backwards;
    transform-origin: left center;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }

  @keyframes sweep {
    from {
      transform: scaleX(0);
    }
  }
}
