/*
 * The marketing page's stylesheet.
 *
 * Separate from `style.css` on purpose, and not importing it. The editor's
 * sheet is ninety kilobytes describing panels, gizmos and popovers, none of
 * which exists here; loading it would be the largest single cost on the page
 * whose whole job is to be quick.
 *
 * ## The palette is not in here
 *
 * It is in `apps/web/palette.css`, which every page of the site links before
 * its own sheet. Three files carried a hand-copied palette until update 81 made
 * this one dark and the other two stayed light-or-dark, so a person went from a
 * dark first page to a white sign-in form. The layout below is still this
 * page's alone — that is the thing that must not be shared, and the reason
 * `login.css` and `legal.css` still exist.
 *
 * ## Why one theme
 *
 * Following the reader is right for a page of prose and wrong for one whose
 * layout *is* six product screenshots: a page that renders in two themes needs
 * its pictures taken in two themes, and nobody was ever going to maintain both
 * sets. `tools/landing-shot.mjs` opens the editor with `colorScheme: 'dark'` so
 * the pictures are of the same product this page is.
 */

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

html {
  scroll-behavior: smooth;
}

/* Somebody who has asked their system not to animate means it here too. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

body.landing {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

p {
  margin: 0;
}

/* --- the shell shown before the module runs -------------------------------- */

.landing-boot {
  max-width: 760px;
  margin: 18vh auto;
  padding: 0 24px;
  text-align: center;
}
.landing-boot-mark {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.landing-boot h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 18px 0;
}
.landing-boot p {
  color: var(--ink-soft);
}
.landing-boot-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 650;
}

/* --- shared furniture ------------------------------------------------------ */

.mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex: none;
}

.glyph {
  width: 20px;
  height: 20px;
  flex: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.button.large {
  padding: 14px 28px;
  font-size: 16px;
}
.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.button.primary:hover {
  background: var(--accent-deep);
}
.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.button.ghost:hover {
  border-color: var(--ink-faint);
  background: var(--paper-raised);
}

.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  color: var(--ink-soft);
  font-size: 17px;
}

.caption {
  color: var(--ink-faint);
  font-size: 14px;
}

/* --- top bar --------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 100%;
  padding: 14px clamp(18px, 5vw, 48px);
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-stage {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-inline-end: auto;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .topbar-right {
    margin-inline-start: auto;
  }
}

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 48px) 0;
  text-align: center;
}

/*
 * The glow behind the headline.
 *
 * A radial wash rather than an image: it costs nothing to fetch, scales to any
 * width, and is the one piece of decoration on the page. `pointer-events: none`
 * because it covers the buttons otherwise, which is a bug that looks like the
 * buttons being dead.
 */
.hero::before {
  content: '';
  position: absolute;
  inset: -20% 0 auto;
  height: 620px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, rgba(74, 157, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 78% 10%, rgba(124, 94, 255, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  letter-spacing: -0.03em;
}

.hero .accent {
  background: linear-gradient(100deg, var(--accent) 10%, #9b7cff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 640px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero .caption {
  max-width: 560px;
}

.hero-stage {
  position: relative;
  z-index: 1;
  max-width: var(--page);
  margin: clamp(36px, 5vw, 64px) auto 0;
}

/* --- pictures, real and not yet ------------------------------------------- */

/*
 * A screenshot sits in a bezel, and the bezel is the only reason it has edges.
 *
 * It used to be a plain bordered box with a black drop shadow, which was fine
 * while the shots were light. They are dark now (`tools/landing-shot.mjs`,
 * update 81), and a dark picture in a dark box on a dark page is a rectangle
 * nobody can find: the border was one pixel of `--line` against
 * `--paper-raised`, and the shadow was black on black. The padding is what
 * fixes it — a light rim all the way round, so the boundary is a change in
 * brightness rather than a change of one dark shade for another.
 */
.media {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, var(--frame-face), transparent 60%),
    var(--paper-raised);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 90px -40px var(--frame-glow);
}
.media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-large) - 9px);
}

/*
 * The placeholder. Grey, labelled, and deliberately unlike anything in the
 * product — see `media()` in landing.ts for why an honest hole beats an
 * illustration of a screen.
 */
.media.is-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  /* No bezel: there is no picture inside to separate from the frame, and a
     lit rim around an empty box makes the emptiness look like the content. */
  padding: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.014) 0 12px,
      transparent 12px 24px
    ),
    var(--paper-lift);
  border-style: dashed;
  border-color: var(--line);
  box-shadow: none;
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 24px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}
.placeholder-inner .glyph {
  width: 34px;
  height: 34px;
  color: var(--ink-faint);
}

/* --- sections -------------------------------------------------------------- */

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 48px);
  /*
   * The top bar is sticky, so a jump to `#pricing` lands with the heading
   * underneath it. Every nav link and every footer link on this page is such a
   * jump, and the bug is invisible to anyone who only ever scrolls: the section
   * is there, the heading is not. Slightly more than the bar's own height, so
   * the heading arrives with air above it rather than welded to the underside.
   */
  scroll-margin-top: 76px;
}

.section > *,
.section-head {
  max-width: var(--page);
  margin-inline: auto;
}

.band {
  background: var(--paper-tint);
  border-block: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}
.section-head .lead {
  font-size: 17px;
}

/* --- the workflow strip ---------------------------------------------------- */

.tour {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: stage;
}

.stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.stage h3 {
  font-size: 17px;
}
.stage p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.stage-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-wash);
  color: var(--accent);
}

@media (max-width: 1040px) {
  .tour {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tour {
    grid-template-columns: 1fr;
  }
}

/* --- the alternating blocks ------------------------------------------------ */

.blocks {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 110px);
}

.block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--page);
  margin-inline: auto;
  width: 100%;
}
.block.is-flipped .block-copy {
  order: 2;
}

.block-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.block-copy h2 {
  font-size: clamp(24px, 2.9vw, 34px);
}

.points {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.points li {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}
.points .glyph {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--accent);
  stroke-width: 2.2;
}

@media (max-width: 920px) {
  .block {
    grid-template-columns: 1fr;
  }
  .block.is-flipped .block-copy {
    order: 0;
  }
}

/* --- cards ----------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 16px;
}
.grid.roles {
  grid-template-columns: repeat(3, 1fr);
}
.grid.benefits {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.card h3 {
  font-size: 19px;
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
}
.card .points {
  margin-top: 4px;
}
.card .points li {
  font-size: 14.5px;
}

@media (max-width: 1040px) {
  .grid.benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .grid.roles {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid.benefits {
    grid-template-columns: 1fr;
  }
}

/* --- formats --------------------------------------------------------------- */

.formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.format-column {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.format-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
}
.format-head h3 {
  color: var(--ink);
  font-size: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-lift);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 550;
}

.formats + .caption {
  display: block;
  margin-top: 20px;
  max-width: 760px;
}

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

/* --- prices ---------------------------------------------------------------- */

/*
 * The notice, above the cards and impossible to mistake for one.
 *
 * Full width, in the accent, with the date as a chip. It is what makes the
 * numbers under it honest — nothing here can be bought yet — so it is drawn
 * first and given more weight than any single plan. A version of this that
 * looked like a promotional strip would be read as one and skipped, which is
 * the failure it exists to prevent.
 */
.price-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--accent);
  border-radius: var(--radius-large);
  background:
    radial-gradient(ellipse 70% 140% at 50% 0%, var(--accent-wash), transparent 70%),
    var(--paper-raised);
  text-align: center;
}
.price-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-notice h3 {
  font-size: clamp(19px, 2.2vw, 25px);
}
.price-notice p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 640px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.plan {
  gap: 10px;
}
/* The one the eye should land on. A border rather than a scale transform:
   a card that is physically larger than its neighbours breaks the alignment of
   every row of text across all three. */
.plan.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 70px -40px var(--frame-glow);
}
.plan-tagline {
  color: var(--ink-faint);
  font-size: 14px;
  /* Two lines' worth, always. One tagline that wraps and two that do not put
     the three prices on three different baselines, and a price list whose
     numbers do not line up is one nobody can compare at a glance. */
  min-height: 2.8em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.plan-amount {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  /* Tabular figures, so three prices in a row line up on the same stems
     instead of drifting by the width of a 1. */
  font-variant-numeric: tabular-nums;
}
.plan-amount.is-quiet {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink-soft);
}
.plan-unit {
  color: var(--ink-soft);
  font-size: 14px;
}
.plan-yearly {
  color: var(--ink-faint);
  font-size: 13px;
}
.plan .points {
  margin-top: 10px;
}

.price-seats {
  display: block;
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
}

.price-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.price-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: clamp(28px, 4vw, 44px);
}

/*
 * `<details>` rather than a scripted accordion: it opens with no JavaScript and
 * the browser's own page search can reach the answer. The marker is drawn with
 * a rotating pseudo-element because the native triangle is a different shape,
 * size and colour in every engine.
 */
.faq-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-raised);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: none;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

@media (max-width: 980px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-extras,
  .price-faq {
    grid-template-columns: 1fr;
  }
}

/* --- running it yourself --------------------------------------------------- */

.grid.onprem-steps {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}
.grid.onprem-lists {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
/* The "what is missing" column is a card like its neighbours, not a footnote
   under them: same width, same border, same weight. A reader deciding whether
   to host this themselves is reading for the gaps, and a gap list styled as
   small print is one the page is embarrassed by. */
.onprem-missing h3,
.onprem-needs h3,
.onprem-network h3 {
  font-size: 17px;
}
.onprem-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-tint);
}
.onprem-note p {
  flex: 1 1 420px;
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 1040px) {
  .grid.onprem-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.onprem-lists {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid.onprem-steps {
    grid-template-columns: 1fr;
  }
}

/* --- the API section -------------------------------------------------------

   Same shapes as the self-hosted section above, deliberately: four cards of
   what it does, three columns of how and what is missing, and two examples.
   A section that invented its own layout would read as a different product's
   page pasted in, and the reader it is for is scanning rather than reading. */
.grid.api-can {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}
.grid.api-lists {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.api-auth h3,
.api-mcp h3,
.api-missing h3 {
  font-size: 17px;
}
/* The measured figure under the lead. Quiet, because it is a fact rather than
   a claim: a reader who wants it finds it and a reader who does not is not
   made to read a statistic (the argument for removing the numbers section). */
.api-scale {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.grid.api-examples {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  margin-top: clamp(20px, 3vw, 32px);
}
/* Monospace, selectable, and scrolling **inside the card** rather than
   widening it: a curl line is longer than any column on this page, and a
   `<pre>` that stretches its parent is how one code sample gives the whole
   page a horizontal scrollbar. */
.api-example pre {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre;
  tab-size: 2;
}
.api-request {
  background: var(--ink);
  color: var(--paper);
}
.api-response {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.api-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 1040px) {
  .grid.api-can {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.api-lists,
  .grid.api-examples {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid.api-can {
    grid-template-columns: 1fr;
  }
}

/* --- the honest card ------------------------------------------------------- */

.honesty-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, var(--paper-raised), var(--paper-tint));
}
.honesty-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.honesty-copy h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}
.honesty-copy p {
  color: var(--ink-soft);
}

.missing {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.missing li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}
/* An em dash, not a tick: these are the things that are not there. */
.missing li::before {
  content: '—';
  position: absolute;
  inset-inline-start: 0;
  color: var(--ink-faint);
}

@media (max-width: 860px) {
  .honesty-card {
    grid-template-columns: 1fr;
  }
}

/* --- last call ------------------------------------------------------------- */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-block: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%, rgba(74, 157, 255, 0.13), transparent 70%),
    var(--paper);
}
.cta h2 {
  font-size: clamp(26px, 3.6vw, 42px);
}
.cta .lead {
  max-width: 560px;
}

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

.footer {
  padding: clamp(40px, 5vw, 64px) clamp(18px, 5vw, 48px) 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-tint);
}

.footer-top,
.footer-bottom {
  max-width: var(--page);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 40px;
}

/*
 * The link columns are a grid of their own rather than three children of
 * `.footer-top`.
 *
 * They were the second option, and it looked right in the source and wrong on
 * the page: `footer()` wraps them in one element, so all three landed in one
 * grid cell and stacked into a single column with the headings inline between
 * them. Nothing failed — a footer is prose to every check there is.
 */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-about p {
  margin-top: 12px;
  max-width: 320px;
  color: var(--ink-faint);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.footer-column h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-column a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 14px;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
