/* Hypercode's landing page. The painting is the sky: it opens the page and closes it, and a
   slice of it runs along the foot of each night-blue card. Between them the page is white and
   quiet. Headings are set in Newsreader Light; everything else in the system face. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #f3f5f8;
  --ink: #0e1626;
  --muted: #4b5568;
  --faint: #7c8596;
  --line: #e3e7ee;
  --night: #15254d;
  --night-deep: #0d1730;
  --on-night: #ffffff;
  --on-night-muted: rgb(255 255 255 / 0.74);
  --on-night-line: rgb(255 255 255 / 0.16);
  --accent: #2f6fe4;
  --add: #18a058;
  --del: #d4434f;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --art: url("images/rome-ascii.jpg");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: 0.88em; padding: 0.08em 0.36em; border-radius: 5px; background: var(--mist); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 30; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Buttons and small parts ------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 4px;
  background: #000; color: #fff;
  font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color 120ms ease;
}
.button:hover { background: #1d2433; }
.button.light { background: #fff; color: #000; }
.button.light:hover { background: #e9edf3; }
.button.small { min-height: 40px; padding: 0 18px; font-size: 0.94rem; }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #c9cfda; }
.button.ghost:hover { background: var(--mist); }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 0.98rem; }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; font-size: 0.9rem; }
.pill-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--night); }
.pill-mark svg { width: 15px; height: 15px; }
.pill.quiet { background: var(--mist); color: var(--ink); font-weight: 500; }
.pill-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
.pill-dot::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #fff; transform: rotate(45deg); }

/* ---- Bar -------------------------------------------------------------------------------- */

.bar { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.bar-inner { display: flex; align-items: center; gap: 40px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; text-decoration: none; }
.brand .mark { width: 22px; height: 22px; }
.bar-links { display: flex; gap: 30px; margin-right: auto; padding-left: 40px; }
.bar-links a { text-decoration: none; font-size: 0.95rem; opacity: 0.88; }
.bar-links a:hover { opacity: 1; }
.bar .button { background: #fff; color: #000; }
.bar .button:hover { background: #e9edf3; }
@media (max-width: 760px) { .bar-links { display: none; } .bar-inner { justify-content: space-between; } }

/* ---- Hero: the sky, the product rising out of the clouds -------------------------------- */

.hero { position: relative; overflow: hidden; color: #fff; background: var(--night-deep); padding-top: clamp(130px, 15vw, 190px); }
.sky { position: absolute; inset: 0; background: var(--art) 50% 12% / cover no-repeat; }
.sky::after { content: ""; position: absolute; inset: 0; background: rgb(8 12 22 / 0.3); }
.sky.low::after { background: rgb(8 14 30 / 0.4); }

.hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 26px; }
.hero-copy .pill { background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1; letter-spacing: -0.025em;
  max-width: 11.5em; text-wrap: balance;
}
.hero .lede { max-width: 36em; font-size: 1.15rem; line-height: 1.55; color: rgb(255 255 255 / 0.86); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 4px; }

.hero-product { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 88px); margin-bottom: clamp(70px, 13vw, 190px); max-width: 1120px; }
.hero-product img { width: 100%; height: auto; border-radius: 10px 10px 0 0; outline: 1px solid rgb(255 255 255 / 0.22); }

/* The cloud bank: two layers of the painting's clouds with soft, hill-like tops. */
.bank { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: clamp(250px, 34vw, 520px); pointer-events: none; }
.bank > div { position: absolute; inset: 0; background: var(--art) no-repeat; }
/* Cumulus-like tops: overlapping soft bumps, larger at the back. */
.bank-back {
  background-size: auto 230% !important; background-position: 6% 80% !important;
  --bumps: radial-gradient(26% 70% at 6% 100%, #000 88%, transparent 100%), radial-gradient(24% 92% at 26% 100%, #000 88%, transparent 100%),
           radial-gradient(22% 64% at 46% 100%, #000 88%, transparent 100%), radial-gradient(26% 84% at 68% 100%, #000 88%, transparent 100%),
           radial-gradient(22% 72% at 92% 100%, #000 88%, transparent 100%);
  -webkit-mask-image: var(--bumps); mask-image: var(--bumps);
  filter: brightness(0.92);
}
.bank-front {
  background-size: auto 260% !important; background-position: 26% 84% !important;
  --bumps: radial-gradient(30% 56% at 14% 100%, #000 88%, transparent 100%), radial-gradient(24% 44% at 40% 100%, #000 88%, transparent 100%),
           radial-gradient(30% 60% at 64% 100%, #000 88%, transparent 100%), radial-gradient(26% 46% at 90% 100%, #000 88%, transparent 100%);
  -webkit-mask-image: var(--bumps); mask-image: var(--bumps);
  filter: brightness(0.6);
}
.bank.short { height: clamp(140px, 16vw, 240px); }

.marks { position: absolute; left: 0; right: 0; bottom: clamp(22px, 3.4vw, 46px); z-index: 4; display: grid; justify-items: center; gap: 10px; }
.marks ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(20px, 3.6vw, 48px); }
.marks li { display: inline-flex; align-items: center; gap: 9px; font-size: 1.02rem; font-weight: 500; color: #fff; }
.marks img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.marks p { font-size: 0.86rem; color: rgb(255 255 255 / 0.7); text-align: center; }
@media (max-width: 760px) {
  .marks ul { gap: 8px 18px; } .marks li { font-size: 0.9rem; } .marks p { display: none; }
}

/* ---- Section heads ---------------------------------------------------------------------- */

section.work, section.around, section.private, section.download { padding-top: clamp(96px, 12vw, 160px); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: 48px; }
.head > div { display: grid; justify-items: start; gap: 28px; }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.9vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.head > p { color: var(--muted); font-size: 1.15rem; line-height: 1.55; max-width: 30em; justify-self: end; padding-bottom: 6px; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } .head > p { justify-self: start; } }

h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

/* ---- Cards: night blue, the work drawn in the middle, the painting at the foot ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden; min-height: 460px; border-radius: 4px;
  background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='3' cy='3' r='1.3' fill='%23ffffff' fill-opacity='.09'/%3E%3C/svg%3E");
  color: var(--on-night);
}
.card.third { grid-column: span 1; }
.card.two-thirds { grid-column: span 2; }
.card.full { grid-column: 1 / -1; min-height: 500px; }
/* Thin arcs, as on a draughtsman's sheet. */
.card::before, .card::after { content: ""; position: absolute; border: 1px solid var(--on-night-line); border-radius: 50%; pointer-events: none; }
.card::before { width: 220px; height: 220px; left: -120px; top: -110px; }
.card::after { width: 300px; height: 300px; right: -170px; top: 90px; }

.stage { position: absolute; inset: 0 0 46% 0; z-index: 1; display: grid; place-items: center; padding: 28px; }
/* The painting's sea of clouds, cut into two soft hills, dimmed so white text reads on it. */
.hills {
  position: absolute; inset: 44% 0 0 0; z-index: 2;
  background: var(--art) no-repeat; background-size: auto 230%; background-position: var(--pos, 8% 80%);
  filter: brightness(0.5) saturate(1.1);
  -webkit-mask-image: radial-gradient(68% 100% at 24% 100%, #000 97%, transparent 100%), radial-gradient(64% 86% at 80% 100%, #000 97%, transparent 100%);
          mask-image: radial-gradient(68% 100% at 24% 100%, #000 97%, transparent 100%), radial-gradient(64% 86% at 80% 100%, #000 97%, transparent 100%);
}
.hills.wide {
  inset: 50% 0 0 0; background-size: 125% auto;
  -webkit-mask-image: radial-gradient(48% 100% at 18% 100%, #000 97%, transparent 100%), radial-gradient(60% 74% at 72% 100%, #000 97%, transparent 100%);
          mask-image: radial-gradient(48% 100% at 18% 100%, #000 97%, transparent 100%), radial-gradient(60% 74% at 72% 100%, #000 97%, transparent 100%);
}
.card-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: grid; justify-items: center; gap: 10px; text-align: center; padding-inline: 28px; }
.card-copy p { max-width: 30em; color: var(--on-night-muted); font-size: 1rem; line-height: 1.55; }
.card-copy h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.015em; }
.card-copy.left { justify-items: start; text-align: left; padding-inline: 40px; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card.third, .card.two-thirds { grid-column: span 1; }
}
@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card.full { min-height: 480px; }
}

/* What each card draws: pieces of the app, in white and night blue. */
.stage p { margin: 0; }
.stage img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

.nodes { position: relative; width: min(100%, 320px); height: 190px; }
.node { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--night); z-index: 1; }
.node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.n1 { left: 4%; top: 30%; width: 78px; height: 78px; }
.n2 { right: 10%; bottom: 14%; }
.n3 { right: 30%; top: 0; width: 52px; height: 52px; }
.n3 .tag { top: 50%; left: calc(100% + 8px); transform: translateY(-50%); }
.n3 svg { width: 22px; height: 22px; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.links path { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 1.5; }
.tag { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 0.78rem; line-height: 1.4; padding: 3px 10px; border-radius: 99px; background: var(--night-deep); color: #fff; border: 1px solid var(--on-night-line); white-space: nowrap; }

.flow { display: flex; align-items: center; gap: 0; width: 100%; max-width: 760px; }
.step { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 6px; background: var(--night-deep); border: 1px solid var(--on-night-line); font-size: 0.86rem; line-height: 1.45; color: var(--on-night-muted); }
.step-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px !important; padding-bottom: 8px; border-bottom: 1px solid var(--on-night-line); }
.step-head svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wire { flex: 0 0 34px; height: 2px; background: rgb(255 255 255 / 0.5); }
.diffs .add { color: #5fe0a0; font-family: var(--mono); }
.diffs .del { color: #ff8a93; font-family: var(--mono); }
.chip-float { position: absolute; right: 9%; bottom: 14%; padding: 6px 14px; border-radius: 99px; background: #000; color: #fff; font-size: 0.85rem; font-weight: 500; }
@media (max-width: 680px) {
  .flow { flex-direction: column; align-items: stretch; gap: 0; }
  .wire { flex-basis: 16px; width: 2px; height: 16px; align-self: center; }
  .flow .step:nth-of-type(2) { display: none; }
  .flow .wire:nth-of-type(2) { display: none; }
}

.chart { inset: 0 0 34% 0; place-items: stretch; padding: 40px 44px 0; }
.chart-head { position: relative; z-index: 1; }
.chart-head p:first-child { font-size: 1.2rem; font-weight: 600; }
.chart-sub { color: var(--on-night-muted); font-size: 0.95rem; }
.chart-sub b { color: #5fe0a0; font-weight: 600; }
.line { position: absolute; left: 0; right: 0; bottom: -12%; width: 100%; height: 70%; }
.line path { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.point { position: absolute; left: 80%; bottom: calc(-12% + 70% * 0.61); width: 14px; height: 14px; margin: 0 0 -7px -7px; border-radius: 50%; background: #f6c98a; box-shadow: 0 0 0 4px rgb(246 201 138 / 0.3); }
.tip { position: absolute; left: 80%; bottom: calc(-12% + 70% * 0.61 + 20px); transform: translateX(-108%); padding: 6px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.cursor { position: absolute; left: calc(80% + 6px); bottom: calc(-12% + 70% * 0.61 - 26px); width: 26px; height: 26px; }
.cursor path { fill: #000; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }

.picker { display: grid; gap: 2px; width: min(100%, 300px); padding: 6px; border-radius: 8px; background: var(--night-deep); border: 1px solid var(--on-night-line); }
.pick { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px; border-radius: 5px; font-size: 0.92rem; }
.pick span { margin-left: auto; color: var(--on-night-muted); font-size: 0.8rem; }
.pick.on { background: rgb(255 255 255 / 0.1); }
.handoff { position: absolute; right: 6%; bottom: 10%; max-width: 300px; padding: 9px 14px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 0.84rem; line-height: 1.45; }
.stage:has(.picker) { place-items: center start; padding-left: 12%; }
@media (max-width: 680px) { .handoff { display: none; } .stage:has(.picker) { place-items: center; padding-left: 28px; } }

.changes { display: grid; gap: 4px; width: min(100%, 300px); padding: 10px; border-radius: 8px; background: var(--night-deep); border: 1px solid var(--on-night-line); font-size: 0.84rem; }
.changes p { display: flex; align-items: center; gap: 10px; min-height: 28px; padding: 0 6px; font-family: var(--mono); font-size: 0.8rem; }
.changes b { width: 12px; font-weight: 600; }
.changes .m { color: #f6c98a; }
.changes .u { color: #5fe0a0; }
.changes .add { margin-left: auto; color: #5fe0a0; }
.changes .del { color: #ff8a93; }
.changes .commit { margin-top: 6px; padding: 4px 4px 4px 10px; border-radius: 6px; border: 1px solid var(--on-night-line); font-family: var(--sans); color: var(--on-night-muted); justify-content: space-between; }
.changes .commit span { padding: 3px 10px; border-radius: 5px; background: #fff; color: #000; font-weight: 600; font-size: 0.76rem; }

.rules { display: grid; gap: 6px; width: min(100%, 300px); }
.when { font-size: 0.8rem; color: var(--on-night-muted); padding: 6px 4px 0; }
.then { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 0.86rem; font-weight: 500; }
.then img { filter: none !important; }

.memory { display: grid; justify-items: center; gap: 10px; width: min(100%, 420px); }
.mono-face { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; margin-bottom: 2px; }
.mono-face svg { width: 34px; height: auto; fill: var(--night); }
.fact { width: 100%; padding: 9px 14px; border-radius: 6px; background: var(--night-deep); border: 1px solid var(--on-night-line); font-size: 0.88rem; text-align: center; }

/* ---- Spotlight: one history --------------------------------------------------------------- */

.spotlight { margin-top: clamp(96px, 12vw, 160px); background: var(--mist); padding-block: clamp(72px, 9vw, 120px); }
.spot-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 40px 64px; align-items: center; }
.spot-copy { display: grid; gap: 20px; }
.spot-copy p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 28em; }
.spot-shot { margin: 0; }
.spot-shot img { width: 100%; height: auto; border-radius: 8px; outline: 1px solid var(--line); }
@media (max-width: 860px) { .spot-inner { grid-template-columns: 1fr; } }

/* ---- Everything around the work ------------------------------------------------------------ */

.around h2 { margin-bottom: 44px; max-width: 12em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.features li { display: grid; align-content: start; gap: 10px; padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.features li:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.features svg { width: 28px; height: 28px; margin-bottom: 8px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.features p { color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 26em; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .features li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .features li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---- Yours ------------------------------------------------------------------------------- */

.private-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.private-list li { display: grid; align-content: start; gap: 10px; padding: 26px 28px 8px 0; border-top: 2px solid var(--ink); }
.private-list li + li { margin-left: 0; padding-left: 28px; }
.private-list p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 900px) { .private-list { grid-template-columns: 1fr 1fr; gap: 28px 0; } .private-list li:nth-child(3) { padding-left: 0; } }
@media (max-width: 560px) { .private-list { grid-template-columns: 1fr; } .private-list li, .private-list li + li { padding-left: 0; } }

/* ---- Download --------------------------------------------------------------------------- */

.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { display: grid; grid-template-rows: auto auto auto 1fr; gap: 14px; align-content: start; padding: 32px 30px; border-radius: 4px; background: var(--mist); }
.platform h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.015em; }
.platform .req { color: var(--ink); }
.platform .button { justify-self: start; margin-top: 4px; }
.platform .pair { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.platform .note { color: var(--faint); font-size: 0.92rem; line-height: 1.5; }
.platform.yours { background: var(--night); color: #fff; }
.platform.yours .req { color: #fff; }
.platform.yours .note { color: var(--on-night-muted); }
.platform.yours .button { background: #fff; color: #000; }
.platform.yours code { background: rgb(255 255 255 / 0.12); }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

/* ---- Closing ------------------------------------------------------------------------------ */

.closing { position: relative; overflow: hidden; margin-top: clamp(110px, 13vw, 180px); padding-block: clamp(120px, 15vw, 210px) clamp(170px, 20vw, 290px); color: #fff; background: var(--night-deep); }
.closing .sky { background-position: 50% 30%; }
.closing-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 32px; text-align: center; }
.closing h2 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 11em; }
.closing .button { background: #fff; color: #000; }
.closing .button:hover { background: #e9edf3; }

/* ---- Footer -------------------------------------------------------------------------------- */

.foot { padding-block: 56px 44px; }
.foot-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px 48px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand p:last-child { color: var(--muted); }
.foot-cols { display: flex; gap: 64px; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols h3 { font-size: 0.92rem; margin-bottom: 4px; }
.foot-cols a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.86rem; }
@media (max-width: 640px) { .foot-inner { grid-template-columns: 1fr; } .foot-cols { gap: 48px; } }
