/* Home page layout. Sections are read top to bottom like a field notebook:
   a heading column on the left, prose or a ruled list on the right, instead
   of grids of equal cards that make every claim look the same size. */

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}

h1 em,
h2 em {
  font-style: italic;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 64px;
  padding-block: 64px 200px;
}

.hero-release {
  margin: 0;
  color: var(--mist);
  font-size: 0.9375rem;
}

.home-version {
  color: var(--silver);
  font-weight: 600;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
}

/* The one place the brand colour touches type: the hero's italic half. Used
   once per page so it stays a signature, not a highlighter. */
.hero h1 em {
  color: var(--nebula-bright);
}

.hero-deck {
  max-width: 560px;
  margin: 0;
  color: var(--silver-dim);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.hero-figure {
  margin: 0;
}

.figure-plate {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ground-raised);
}

.figure-plate svg,
.memory-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-figure figcaption {
  margin-top: 12px;
  color: var(--mist);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.45;
}

/* The mark's limb, scaled up until it becomes the horizon the next band
   rises out of: one shape from favicon to page. The ellipse is sized in
   percent of the page width so both page edges stay inside the curve at any
   window size; a fixed-pixel circle left a notch where the arc fell below the
   band on wide windows. */
.hero-limb {
  position: absolute;
  left: -60%;
  bottom: -1240px;
  width: 260%;
  height: 1400px;
  border-top: 1.5px solid var(--nebula-rim);
  border-radius: 50%;
  background: var(--nebula-dim);
}

.fact-band {
  background: var(--nebula-dim);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  padding-block: 8px 72px;
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fact span {
  color: var(--silver-dim);
}

.fact-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--silver-dim);
  font-size: 0.9375rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 72px;
  padding-block: 104px 0;
}

.split h2,
.notes h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.06;
}

.split-aside {
  margin: 20px 0 0;
  color: var(--mist);
}

.split-body > p {
  margin: 0 0 24px;
  color: var(--silver-dim);
  font-size: 1.125rem;
}

.term-list {
  margin: 0;
}

.term-list > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.term-list dt {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.25;
}

.term-list dd {
  margin: 6px 0 0;
  color: var(--mist);
}

.term-list-ruled > div:last-child {
  border-bottom: 1px solid var(--line);
}

.home-note {
  margin: 24px 0 0;
  color: var(--mist);
  font-size: 0.9375rem;
}

.home-note strong {
  color: var(--silver);
}

.memory-figure {
  margin: 8px 0 0;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.9375rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
}

.swatch-core { background: var(--silver); }
.swatch-resident { background: var(--grain); }
.swatch-streaming { background: repeating-linear-gradient(45deg, var(--grain) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--grain); }
.swatch-context { background: rgba(157, 152, 142, 0.28); }
.swatch-ceiling { width: 2px; height: 16px; background: var(--silver); }

.notes {
  padding-block: 120px 0;
}

.notes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 36px;
}

.notes-head p {
  max-width: 460px;
  margin: 0;
  color: var(--mist);
}

.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.note-list a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.note-list a:hover .note-title {
  color: var(--silver-dim);
}

.note-id {
  color: var(--mist);
  font-family: var(--mono);
  font-size: 0.875rem;
}

.note-title {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.25;
  transition: color 160ms ease;
}

.note-title-planned {
  color: var(--silver-dim);
}

.note-meta {
  color: var(--mist);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.note-meta strong {
  color: var(--silver);
  font-weight: 600;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-list li {
  position: relative;
  padding: 18px 0 18px 52px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  counter-increment: method;
}

.method-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--grain);
  content: counter(method, lower-roman) ".";
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
}

.method-list strong {
  color: var(--silver);
  font-weight: 600;
}

.closing {
  margin-top: 120px;
  background: var(--ground-raised);
}

.closing-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: 80px;
}

.closing .hero-actions {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-bottom: 160px;
  }

  .split {
    padding-top: 80px;
  }
}

@media (max-width: 620px) {
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .note-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
