/*
 * Syllune landing page: one labelled block per section below the hero, in
 * page order. Each block only places things on the grid and sizes them with
 * the tokens from base.css; no raw colours, sizes or durations live here.
 * Source: docs/website-spec.md, section 6.
 */

/* ======================================================= how it works (6.3) */
/* Four cases on columns 1–4 beside one stage on 5–12. Each case names a
   feature and, in a grey line under it, the apps it is made for, written
   out. The stage is a dark surface: a plain frame of
   that kind of app across its top, the real pill docked bottom centre at
   its real size, the spoken words as subtitles just above it and, once the
   text is in, what was said, dimmed, for comparison. Hold to try sits under
   the stage. */

.how {
  /* The pill window's real size and its gap from the screen edge, from
     overlay/dock-geometry.js, so subtitles sit just above the capsule. */
  --pill-window-width: 420px;
  --pill-window-height: 160px;
  --pill-edge-gap: 24px;
  --pill-thickness: 26px;
}

/* The handover from the hero: no overlap. The hero's title and scene have
   faded out completely before this heading comes into view, so two
   headlines never share the screen. */

.how-lead {
  margin-top: var(--s3);
}

@media (min-width: 48rem) {
  .how-title,
  .how-lead {
    grid-column: 1 / span 7;
  }
}

/* ---- the cases: a table of names, so it takes rules */

.how-side {
  margin-top: var(--heading-gap);
}

.how-index {
  list-style: none;
  border-top: 1px solid var(--rule); /* taste-skill-ignore: the cases are a table of names */
}

/* A row: the case (a button), then the apps it is made for. */
.how-index li {
  border-bottom: 1px solid var(--rule); /* taste-skill-ignore: the cases are a table of names */
}

.how-feature {
  display: grid;
  align-items: baseline;
  width: 100%;
  min-height: var(--target-min);
  padding: var(--s1) 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: var(--t-body);
  line-height: var(--t-body-leading);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-press) var(--ease-out);
}

/* Without the script the index is a plain list, so it is not clickable. */
html:not(.js) .how-feature {
  cursor: default;
}

.how-feature-name {
  font-weight: 500;
}

/* The one line under a case: always there without the script, under the
   chosen case only with it. */
.how-feature-line {
  max-width: 34ch;
  padding-bottom: var(--s1);
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--t-small-leading);
}

html:not(.js) .how-feature,
.how-feature[aria-pressed="true"] {
  color: var(--ink);
}

.js .how-feature[aria-pressed="false"] .how-feature-line {
  display: none;
}

@media (hover: hover) {
  .js .how-feature:hover {
    color: var(--ink);
  }
}

/* The apps a case is made for, named in a small grey line under it.
   Names only: no other company’s logo goes on the page without its
   owner’s written permission. */
.how-apps {
  margin-top: calc(var(--s1) * -0.5);
  padding-bottom: var(--s1);
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--t-small-leading);
}

/* ---- the stage */

.how-demo {
  margin-top: var(--s3);
}

/* Side by side from 64rem; below that the cases sit above the stage, full
   width, since four app icons and a name need over a third of a
   tablet. */
@media (min-width: 64rem) {
  .how-side {
    grid-column: 1 / span 4;
    align-self: start;
  }

  .how-demo {
    grid-column: 5 / -1;
    margin-top: var(--heading-gap);
  }
}

.how-stage {
  position: relative;
  height: min(60svh, 38rem);
  min-height: 26rem;
  overflow: hidden;
  background: var(--surface);
  /* The frames lay out by the stage's width, not the screen's. */
  container-type: inline-size;
}

/* The app frame: the top of the stage, above the subtitle and the pill.
   Every part is drawn with surface tones and space, never lines; each
   context shows only the parts that app has. */
.how-window {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  height: calc(100% - var(--pill-window-height) + var(--s2));
  padding: var(--s3) var(--s4) 0;
  overflow: hidden;
  font-size: var(--t-body);
  line-height: var(--t-body-leading);
}

.how-frame-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--s1);
  color: var(--ink-2);
}

.how-head {
  white-space: pre-line;
}

/* A chat's contact: a square with their initial. */
.how-avatar {
  display: none;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 500;
}

/* An email's To and Subject, label beside value. */
.how-fields {
  display: none;
  flex: none;
  flex-direction: column;
  gap: var(--s1);
}

.how-fields div {
  display: flex;
  gap: var(--s2);
  padding: var(--s1) var(--s2);
  background: var(--surface-raised);
}

.how-fields dt {
  min-width: 4.5em;
  color: var(--ink-2);
}

/* The last message in a chat, from the other person. */
.how-incoming {
  display: none;
  flex: none;
  align-self: flex-start;
  max-width: 80%;
  margin-top: auto;
  padding: var(--s1) var(--s2);
  background: var(--surface-raised);
}

/* The file open in a code editor: real code, so monospace (spec 4.8). */
.how-code {
  display: none;
  flex: none;
  margin: 0;
  color: var(--ink-2);
  font-family: var(--font-code);
  font-size: var(--t-small);
  line-height: var(--t-small-leading);
  white-space: pre;
  overflow: hidden;
}

/* Where the text lands: a composer, a prompt box, a note, an email body or
   a document page. */
.how-entry {
  flex: 0 1 auto;
  min-height: 0;
  max-width: var(--measure-body);
  overflow: hidden;
  white-space: pre-wrap;
}

/* An email's Send. */
.how-send {
  display: none;
  flex: none;
  align-self: flex-start;
  padding: var(--s1) var(--s2);
  background: var(--surface-raised);
  font-size: var(--t-small);
  font-weight: 500;
}

/* -- per app */

/* AI chat: a title, and the prompt box low in the window, across its
   width. Prompt boxes set their text small, as AI apps do, which also lets
   a dozen-line prompt fit. */
.how-window[data-context="ai"] .how-entry {
  width: 100%;
  max-width: none;
  margin-top: auto;
  padding: var(--s2);
  background: var(--surface-raised);
}

.how-window[data-context="ai"] .how-entry,
.how-window[data-context="code"] .how-entry {
  font-size: var(--t-small);
  line-height: var(--t-small-leading);
}

/* Chat: the contact, their last message, and the composer. */
.how-window[data-context="chat"] .how-avatar {
  display: grid;
}

.how-window[data-context="chat"] .how-incoming {
  display: block;
}

.how-window[data-context="chat"] .how-head {
  color: var(--ink);
  font-weight: 500;
}

.how-window[data-context="chat"] .how-entry {
  width: 100%;
  padding: var(--s1) var(--s2);
  background: var(--surface-raised);
}

/* Note: a sidebar of other notes on the left, the note's title in ink. */
.how-window[data-context="note"] {
  padding-left: calc(var(--s4) + 7rem);
}

.how-window[data-context="note"]::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7rem;
  background: var(--surface-raised);
  content: "";
}

.how-window[data-context="note"] .how-head {
  color: var(--ink);
  font-weight: 500;
}

/* Email: To and Subject, the body, Send. */
.how-window[data-context="email"] .how-frame-head {
  display: none;
}

.how-window[data-context="email"] .how-fields {
  display: flex;
}

.how-window[data-context="email"] .how-send {
  display: block;
}

/* Document: a toolbar across the top, then the page. */
.how-window[data-context="doc"] {
  padding-top: calc(var(--s3) + 2.25rem);
}

.how-window[data-context="doc"]::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2.25rem;
  background: var(--surface-raised);
  content: "";
}

.how-window[data-context="doc"] .how-entry {
  width: 100%;
  padding: var(--s3);
  background: var(--surface-raised);
}

/* Code editor: the file's tab, its code, and the editor's AI box. */
.how-window[data-context="code"] .how-code {
  display: block;
}

.how-window[data-context="code"] .how-frame-head {
  align-self: flex-start;
  padding: 0.25rem var(--s2);
  background: var(--surface-raised);
  color: var(--ink);
  font-family: var(--font-code);
  font-size: var(--t-small);
}

.how-window[data-context="code"] .how-entry {
  width: 100%;
  margin-top: auto;
  padding: var(--s2);
  background: var(--surface-raised);
}

/* On a wide stage the AI box is a pane beside the code, as editors place
   it, low in its column; on a narrow one the code goes and the tab and the
   AI box say enough. */
@container (min-width: 40rem) {
  .how-window[data-context="code"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: var(--s3);
  }

  .how-window[data-context="code"] .how-frame-head {
    grid-area: 1 / 1;
    justify-self: start;
  }

  .how-window[data-context="code"] .how-code {
    grid-area: 2 / 1;
  }

  .how-window[data-context="code"] .how-entry {
    grid-area: 1 / 2 / 3 / 3;
    align-self: end;
    max-height: 100%;
    margin-top: 0;
  }
}

@container (max-width: 39.99rem) {
  .how-window[data-context="code"] .how-code {
    display: none;
  }
}

/* Text that is selected: before speaking (Fix selected text), or just
   before the prompt version replaces it. Drawn the way a selection is. */
.how-before:not(:empty),
.how-typed.is-selected {
  background: var(--ink);
  color: var(--ground);
}

/* The caret: a bar the height of the text. It blinks for ten seconds
   after the text changes, then holds still. */
.how-caret {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  margin-left: 1px;
  vertical-align: -0.25em;
  background: var(--ink);
}

.how-caret.is-blinking {
  animation: how-caret-blink 1s steps(1, end) 10;
}

@keyframes how-caret-blink {
  50% { opacity: 0; }
}

/* Subtitles: the words as spoken, fillers and corrections included, set
   like a film's, centred just above the pill. */
.how-subtitle,
.how-said {
  position: absolute;
  left: 50%;
  bottom: calc(var(--pill-edge-gap) + var(--pill-thickness) + var(--s3));
  width: max-content;
  max-width: min(52ch, 100% - 2 * var(--s4));
  transform: translateX(-50%);
  color: var(--ink-2);
  text-align: center;
  text-wrap: balance;
}

.how-subtitle {
  font-size: var(--t-body);
  line-height: var(--t-body-leading);
}

/* What was said, once the text is in: smaller and dimmed, under the frame,
   so the two can be compared. Three lines at most. */
.how-said {
  display: -webkit-box;
  max-width: min(64ch, 100% - 2 * var(--s4));
  overflow: hidden;
  line-height: var(--t-small-leading);
  opacity: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: opacity var(--dur-state) var(--ease-out);
}

.how-said.is-shown {
  opacity: 1;
}

.how-said-label {
  color: var(--ink);
}

/* The pill's window, transparent, docked bottom centre. Shown, not used. */
.how-dock {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--pill-window-width);
  height: var(--pill-window-height);
  margin-left: calc(var(--pill-window-width) / -2);
  pointer-events: none;
}

.pill-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color-scheme: dark;
}

/* Stop, while a replay plays on its own: the bottom right corner, clear
   of the window's text and of the pill. */
.how-stop {
  position: absolute;
  right: var(--s3);
  bottom: var(--s1);
}

.how-stop[hidden],
.how-controls[hidden] {
  display: none;
}

/* ---- under the stage: Hold to try */

.how-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s3);
  margin-top: var(--s2);
}

/* Hold to try: drawn as a key, since it is held like one. Pressed, it sinks
   by the depth of its lower edge. Nothing may select, call a menu or scroll
   on it. */
.how-hold {
  min-height: var(--target-min);
  padding: 0 var(--s2);
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-bottom-width: 3px;
  border-radius: var(--radius-key);
  background: transparent;
  color: var(--ink);
  font-size: var(--t-body);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out);
}

@media (hover: hover) {
  .how-hold:hover {
    border-color: color-mix(in srgb, var(--ink) 70%, transparent);
  }
}

.how-hold[aria-pressed="true"] {
  transform: translateY(2px);
  border-bottom-color: transparent;
  background: var(--surface);
}

/* ---- phone: its own composition, not the desktop squeezed. The cases
   come first, names and apps only, the stage under them. */

@media (max-width: 47.99rem) {
  .how-feature-line,
  html:not(.js) .how-feature-line {
    display: none;
  }

  .how-stage {
    height: 62svh;
    min-height: 24rem;
  }

  .how-window {
    padding: var(--s2) var(--s3) 0;
  }

  .how-window[data-context="note"] {
    padding-left: calc(var(--s3) + 3rem);
  }

  .how-window[data-context="note"]::before {
    width: 3rem;
  }

  .how-hold {
    flex: 1 1 100%;
  }
}

/* ============================================================ the bar (5.1) */
/* The bar lives in hero.css. Two additions for the page below the hero:
   without scripts it scrolls away with the hero instead of sitting over the
   sections with nothing behind it; and over the white field its ink turns
   black, with a white fade behind it in place of the black one (page.js
   sets .bar-day). The links follow the bar's colour, so one transition
   carries all of it. */

html:not(.js) .bar {
  position: absolute;
}

.bar {
  color: var(--text);
  transition: color var(--dur-state) var(--ease-out);
}

.bar-brand,
.bar-links a {
  color: inherit;
}

.bar-day .bar {
  color: var(--day-ink);
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0 0 -2.5rem;
  z-index: -1;
  background: linear-gradient(var(--day-ground) 45%, transparent); /* taste-skill-ignore: the bar's scrim, as in hero.css */
  opacity: 0;
  transition: opacity var(--dur-state) var(--ease-out);
  pointer-events: none;
}

.bar-on.bar-day .bar::after {
  opacity: 1;
}

.bar-day .bar::before {
  opacity: 0;
  transition-duration: var(--dur-state);
}

/* ============================================================ privacy (6.5) */
/* The one white field: a hard cut from the night, its own padding inside.
   Heading, then the statement, then the table on the right half, so the
   page reads down a diagonal. */

.privacy {
  --field-pad: clamp(5rem, 2rem + 7vw, 10rem);
  padding-block: var(--field-pad);
}

/* The section after the field starts on the night again, a full gap down. */
.privacy + .section {
  padding-top: var(--section-gap);
}

.privacy-statement {
  max-width: 30ch;
  margin-top: var(--heading-gap);
  text-wrap: pretty;
}

.privacy-list {
  margin-top: var(--s6);
}

.hosts th[scope="row"] {
  width: 36%;
}

/* A row with two hostnames sets them one under the other. */
.hosts th .code {
  display: block;
}

.hosts td:last-child {
  width: 28%;
}

.privacy-after {
  margin-top: var(--s4);
}

.privacy-more {
  margin-top: var(--s2);
}

@media (min-width: 64rem) {
  .privacy-title {
    grid-column: 1 / span 8;
  }

  .privacy-statement {
    grid-column: 1 / span 7;
  }

  .privacy-list {
    grid-column: 5 / -1;
  }
}

/* Phones: each server is a short block, its name above what it is for and
   when, so nothing scrolls sideways. */
@media (max-width: 47.99rem) {
  .hosts thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .hosts,
  .hosts tbody,
  .hosts tr,
  .hosts th,
  .hosts td {
    display: block;
    width: auto;
  }

  .hosts tr {
    padding-block: var(--s2);
  }

  .hosts tr:first-child {
    border-top: 0;
  }

  .hosts th,
  .hosts td {
    padding: 0;
  }

  .hosts th[scope="row"] {
    width: auto;
    margin-bottom: var(--s1);
  }

  .hosts td:last-child {
    width: auto;
    color: var(--ink-2);
  }
}

/* ================================================= everything included (plan 5) */
/* What 1.0 has, in four groups of plain lines: one column on phones, two by
   two from 48rem, the right column starting on grid column 7. Structure
   comes from space and the group names alone: no boxes, rules or marks. */

.included-lead {
  margin-top: var(--s3);
}

.included-group {
  margin-top: var(--s5);
}

.included-group--dictation {
  margin-top: var(--heading-gap);
}

.included-list {
  display: grid;
  gap: var(--s1);
  max-width: 44ch;
  margin-top: var(--s2);
  list-style: none;
  text-wrap: pretty;
}

/* Phones: the lines at body size, so four groups stay under two screens. */
@media (max-width: 47.99rem) {
  .included-list {
    font-size: var(--t-body);
    line-height: var(--t-body-leading);
  }
}

@media (min-width: 48rem) {
  .included-title,
  .included-lead {
    grid-column: 1 / span 7;
  }

  .included-group {
    margin-top: var(--s6);
  }

  .included-group--dictation,
  .included-group--words {
    grid-column: 1 / span 6;
  }

  .included-group--writing,
  .included-group--pc {
    grid-column: 7 / span 6;
  }

  .included-group--dictation,
  .included-group--writing {
    grid-row: 3;
    margin-top: var(--heading-gap);
  }

  .included-group--words,
  .included-group--pc {
    grid-row: 4;
  }
}

/* Wide screens: the left groups end a column early, so a gutter-and-a-
   column of space separates the two halves. */
@media (min-width: 64rem) {
  .included-group--dictation,
  .included-group--words {
    grid-column: 1 / span 5;
  }
}

/* ================================================== before you download (6.7) */
/* What happens after the click, as a real numbered list, then what the PC
   needs, then the large Download again. */

.steps {
  display: grid;
  gap: var(--s4);
  max-width: 52ch;
  margin-top: var(--heading-gap);
  list-style: none;
  counter-reset: step;
}

/* The number hangs in the margin, so keys and code inside a step stay
   inline with the words around them. */
.steps li {
  position: relative;
  padding-left: calc(1.4em + var(--s2));
  counter-increment: step;
  text-wrap: pretty;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.reqs {
  margin-top: var(--s6);
}

.reqs th[scope="row"] {
  width: 30%;
  font-weight: 500;
}

.install .get {
  margin-top: var(--s6);
}

@media (min-width: 48rem) {
  .install-title {
    grid-column: 1 / span 7;
  }

  .steps,
  .reqs {
    grid-column: 1 / span 8;
  }
}

/* Wide screens: what the PC needs stands beside the steps, on column 7,
   so the section reads as one screen instead of a long left column. */
@media (min-width: 64rem) {
  .steps {
    grid-column: 1 / span 6;
    grid-row: 2;
  }

  .reqs {
    grid-column: 7 / -1;
    grid-row: 2;
    align-self: start;
    margin-top: var(--heading-gap);
  }

  .install .get {
    grid-row: 3;
  }
}

/* ========================================================== questions (6.8) */
/* Set like a printed manual: each question runs into its answer, and the
   answers flow down two columns. */

.qa-list {
  max-width: calc(2 * var(--measure-body) + var(--s6));
  margin-top: var(--heading-gap);
  column-gap: var(--s6);
}

.qa {
  margin-bottom: var(--s4);
  break-inside: avoid;
  text-wrap: pretty;
}

.qa-q,
.qa-q + p {
  display: inline;
}

.qa-q {
  font-size: var(--t-body);
  font-weight: 500;
  line-height: var(--t-body-leading);
}

@media (min-width: 48rem) {
  .questions-title {
    grid-column: 1 / span 7;
  }

  .qa-list {
    columns: 2;
  }
}

/* ===================================================== latest release (6.9) */
/* One short paragraph at lead size, in the maker's own voice. */

.release-note {
  max-width: 40ch;
  margin-top: var(--heading-gap);
  text-wrap: pretty;
}

.release-all {
  margin-top: var(--s4);
}

@media (min-width: 48rem) {
  .release-title {
    grid-column: 1 / span 7;
  }
}

/* Wide screens: the title on the left, the note beside it on column 7. */
@media (min-width: 64rem) {
  .release-title {
    grid-column: 1 / span 5;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .release-note,
  .release-all {
    grid-column: 7 / -1;
  }

  .release-note {
    grid-row: 1;
    margin-top: 0.35em;   /* its first line on the title's cap height */
  }

  .release-all {
    grid-row: 2;
  }
}

/* ============================================================= footer (6.10) */
/* The night ends: the hero's Moon sets on a horizon just above the name,
   which runs the full width of the grid; the moon is cut off by the
   horizon, never over the name. Then who made it, the links and the
   trademark line. */

.site-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 92vh;
  min-height: 92svh;
  padding-bottom: max(var(--s4), env(safe-area-inset-bottom));
  overflow: hidden;
}

/* The sky above the horizon. Where the Moon sits: its centre across the
   sky, its radius, and how far its centre lies below the horizon. The guide
   is that disc's square, read by footer-moon.js. */
.foot-sky {
  --moon-x: 64%;
  --moon-r: min(30vw, 44svh);
  --moon-sunk: 0.12;
  position: relative;
  flex: 1 1 auto;
  min-height: 15rem;
  overflow: hidden;
}

.foot-guide {
  position: absolute;
  left: calc(var(--moon-x) - var(--moon-r));
  bottom: calc(-1 * var(--moon-sunk) * var(--moon-r) - var(--moon-r));
  width: calc(2 * var(--moon-r));
  height: calc(2 * var(--moon-r));
  visibility: hidden;
  pointer-events: none;
}

.foot-moon {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0;
  transition: opacity var(--dur-settle) var(--ease-out);
}

.foot-moon.is-drawn {
  opacity: 1;
}

/* The still frame, for visitors without scripts: the same Moon as text,
   set so it sits where the drawn one does. */
.foot-still {
  --still-cell: 0.5rem;   /* one character's width; the bake sets the columns */
  position: absolute;
  bottom: 0;
  left: calc(var(--moon-x) - var(--still-columns) / 2 * var(--still-cell));
  margin: 0;
  font-family: var(--font-code);
  font-size: calc(var(--still-cell) / 0.618);
  line-height: 1;
  white-space: pre;
  font-variant-ligatures: none;
  color: color-mix(in srgb, var(--ink-high, #f4f4f4) 55%, var(--ink-low, #7d7d7d));
  user-select: none;
  -webkit-user-select: none;
}

.js .foot-still {
  display: none;
}

html:not(.js) .foot-moon {
  display: none;
}

/* The name at the full width of the grid: sized by the grid's own width,
   so it fills it exactly at every size without spilling. */
.foot-grid {
  container-type: inline-size;
}

.foot-mark {
  margin-top: var(--s3);
  /* 0.287 is 1 / the wordmark's width at 1px, so it fills the grid. */
  font-size: calc(100cqi * var(--mark-fit, 0.287));
  font-weight: 800;
  line-height: 0.78;
  padding-bottom: 0.16em; /* room for the descender of the y */
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.foot-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s4);
  margin-top: var(--s4);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
  list-style: none;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-min);
}

.foot-year {
  margin-left: auto;
  color: var(--ink-2);
}

.foot-legal {
  color: var(--ink-2);
}

/* Phones: the Moon higher in a shorter sky, the links wrapping. */
@media (max-width: 47.99rem) {
  .site-foot {
    min-height: 80svh;
  }

  .foot-sky {
    --moon-x: 50%;
    --moon-r: min(40vw, 28svh);
    min-height: 12rem;
  }

  .foot-still {
    --still-cell: 0.28rem;
  }

  .foot-line {
    gap: 0 var(--s3);
  }

  .foot-year {
    margin-left: 0;
  }
}
