/*
 * Palpo's website, in the app's Palpo look (the canvas boards Web-Home,
 * Web-Get, Web-Legal and Web-Delete-account): warm sand pages, white cards,
 * deep teal for what's tappable, coral for the octopus and records. Fredoka
 * for headings, DM Sans for text, both served from this site (no font CDN,
 * so a visit tells nobody else). Light and dark follow the phone or computer.
 *
 * No inline styles anywhere: the Content-Security-Policy in _headers allows
 * this stylesheet only.
 */

@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/DMSans_400Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/DMSans_500Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/DMSans_700Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Fredoka_600SemiBold.woff2') format('woff2');
}

/* The app's Palpo colours (src/constants/theme.ts, PalpoColors). */
:root {
  color-scheme: light dark;
  --bg: #fff6ef;
  --surface: #ffffff;
  --ink: #1d2a30;
  --muted: #4e5a60;
  --subtle: #5b6468;
  --line: #f1e6de;
  --accent: #134e5e;
  --accent-fill: #134e5e;
  --accent-hover: #0c3440;
  --accent-soft: #e4f0f2;
  --coral: #ff7a59;
  --coral-soft: #fff1ea;
  --coral-tint: #ffe8df;
  --coral-ink: #a2391f;
  --band: #134e5e;
  --band-circle: #1f7489;
  --band-text: #cfe3e7;
  --band-line: #5f96a4;
  --footer-bg: #0f1c21;
  --footer-ink: #eef3f4;
  --footer-muted: #9fb0b5;
  --footer-line: #2a3c43;
  --bezel: #1d2a30;
  --shadow: 0 10px 30px rgba(29, 42, 48, 0.12);
  --gap-bg: #fde8e8;
  --gap-text: #b42318;
  --heading: 'Fredoka', 'DM Sans', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --page: 1280px;
  --gutter: clamp(16px, 5vw, 80px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1c21;
    --surface: #1a2a30;
    --ink: #eef3f4;
    --muted: #c0ccd0;
    --subtle: #9fb0b5;
    --line: #2a3c43;
    --accent: #7fd0e0;
    --accent-fill: #1f7489;
    --accent-hover: #2a8aa1;
    --accent-soft: #1d3a42;
    --coral-soft: #35231e;
    --coral-tint: #35231e;
    --coral-ink: #ff9b7e;
    --band: #123f4b;
    --band-circle: #1f6476;
    --footer-bg: #091316;
    --footer-line: #22343b;
    --bezel: #2a3c43;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --gap-bg: #3b1818;
    --gap-text: #ff9d95;
  }
}

* {
  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(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  overflow-wrap: break-word;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-hover);
}
@media (prefers-color-scheme: dark) {
  a:hover {
    color: #a9e3ee;
  }
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
.preview-bar {
  background: #b42318;
  color: #fff;
  text-align: center;
  padding: 6px 16px;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ */
/* Header: logo, the home page's sections, and the way to the app.     */

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px 32px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 600;
  margin-right: auto;
}
.brand:hover {
  color: var(--ink);
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #134e5e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo svg {
  width: 28px;
  height: 31px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.site-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}
.button:hover {
  background: var(--accent-hover);
  color: #fff;
}
.button.big {
  min-height: 56px;
  font-size: 17px;
}
.button.block {
  display: flex;
  width: 100%;
}
.soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  border: 2px dashed var(--band-line);
  color: var(--accent);
  font-weight: 700;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}

/* The phone menu: a <details>, so it opens without any script. */
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] summary {
  background: var(--surface);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 5;
  width: min(280px, calc(100vw - 32px));
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.menu-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu-panel a:hover {
  background: var(--accent-soft);
}
.menu-panel .button {
  margin-top: 6px;
  color: #fff;
  justify-content: center;
}
@media (max-width: 860px) {
  .site-nav,
  .site-header .header-cta {
    display: none;
  }
  .menu {
    display: block;
  }
  .site-header .wrap {
    min-height: 64px;
  }
  .brand {
    font-size: 24px;
    gap: 10px;
  }
  .logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .logo svg {
    width: 24px;
    height: 26px;
  }
}

/* ------------------------------------------------------------------ */
/* Home page sections.                                                 */

.section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.section.white {
  background: var(--surface);
}
.eyebrow {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.eyebrow.coral {
  background: var(--coral-tint);
  color: var(--coral-ink);
}
.h2 {
  font-size: clamp(2rem, 2.4vw + 1.1rem, 3.25rem);
  line-height: 1.08;
}
.lead {
  font-size: clamp(1.06rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}
.small {
  font-size: 15px;
  line-height: 1.5;
  color: var(--subtle);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}
.ticks svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
}

/* The hero: the promise on the left, Home on a phone on the right. */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
  gap: 40px;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw + 1rem, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.5px;
  max-width: 640px;
}
.squiggle {
  position: relative;
  display: inline-block;
}
.squiggle svg {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 14px;
}
.hero .lead {
  max-width: 540px;
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.31rem);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* A phone with a real capture of the app on it, over a soft circle. */
.shot {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.shot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(480px, 92%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-soft);
}
.shot.coral::before {
  background: var(--coral-tint);
}
.white .shot::before {
  background: var(--accent-soft);
}
.phone {
  position: relative;
  width: min(330px, 78vw);
  padding: 9px;
  border-radius: 43px;
  background: var(--bezel);
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 34px;
}
.bubble {
  position: absolute;
  right: 0;
  top: 18%;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--coral-soft);
  border: 2px solid var(--surface);
  border-radius: 18px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.35;
}
.bubble svg {
  width: 38px;
  height: 41px;
  flex-shrink: 0;
}
.mascot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: auto;
}
/* Beside the phone's bottom corner rather than over Home's last card. */
.hero .mascot {
  left: calc(50% - 300px);
  bottom: -10px;
}

/* Text beside a phone, swapping sides from one section to the next. */
.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.split .text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split.image-left .shot {
  order: -1;
}

/* What's in the app: three cards. */
.intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 48px;
}
.intro.center {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card h3 {
  font-size: 28px;
}
.card p {
  color: var(--muted);
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 28px;
  height: 28px;
}

/* The seven sea creature ranks, in the app's rank colours (features/ranks/ladder.ts). */
.ladder {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ladder li {
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.rank-shrimp {
  background: #f6b8a2;
  color: #8a3a22;
}
.rank-crab {
  background: #ff7a59;
  color: #4a1404;
}
.rank-puffer {
  background: #f2b632;
  color: #5c3d00;
}
.rank-dolphin {
  background: #4a9fe0;
  color: #06253d;
}
.rank-shark {
  background: #5b7f95;
  color: #ffffff;
}
.rank-orca {
  background: #243f8f;
  color: #ffffff;
}
.rank-kraken {
  background: #5a2d82;
  color: #f2b632;
}

/* Privacy: the one teal band on the page. */
.band {
  background: var(--band);
  color: #fff;
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.band .art {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--band-circle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.band .art svg {
  width: 64%;
  height: auto;
}
.band .lead {
  color: var(--band-text);
  max-width: 640px;
}
.band a {
  color: #fff;
  font-weight: 700;
}
.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}
.promises li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.promises .tick {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--band-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.promises .tick svg {
  width: 20px;
  height: 20px;
}
.promises strong {
  display: block;
  font-size: 18px;
}
.promises span {
  display: block;
  margin-top: 2px;
  color: var(--band-text);
  font-size: 16px;
  line-height: 1.45;
}
.note-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 2px dashed var(--band-line);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 700;
}

/* Free and Pro side by side. */
.plans {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.plan {
  width: 460px;
  max-width: 100%;
  background: var(--surface);
  border: 3px solid transparent;
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan.pro {
  border-color: var(--accent-fill);
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan-head h3 {
  font-size: 30px;
  flex-grow: 1;
}
.tag {
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--coral-tint);
  color: var(--coral-ink);
  font-size: 13px;
  font-weight: 700;
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.price strong {
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}
.price span {
  color: var(--subtle);
}
.plan .ticks {
  flex-grow: 1;
  gap: 10px;
}
.fine {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}

/* Questions. */
.faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
}
.faq h3 {
  font-family: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.faq p {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .hero .wrap,
  .split .wrap,
  .band .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.image-left .shot {
    order: 0;
  }
  .band .art {
    width: 240px;
    justify-self: center;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .plans {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .promises,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq {
    gap: 28px;
  }
  .card,
  .plan {
    padding: 24px;
  }
  .bubble {
    right: -4px;
    max-width: 200px;
    font-size: 13px;
  }
  .mascot {
    width: 104px;
  }
  .hero .mascot {
    left: 0;
    bottom: -40px;
  }
}

/* ------------------------------------------------------------------ */
/* Pages with one column: /get, /delete-account, the legal pages, 404. */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) 16px clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.2rem, 3.25rem);
  line-height: 1.08;
}
.page.center {
  text-align: center;
  align-items: center;
}
.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: #134e5e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-icon svg {
  width: 78px;
  height: 86px;
}
.panel {
  background: var(--surface);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.panel h2 {
  font-size: 1.4rem;
}
.panel p,
.page > p {
  color: var(--muted);
}
.panel.coral {
  background: var(--coral-soft);
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* The number sits outside the text so a <strong> inside a step stays in the sentence. */
.steps li {
  counter-increment: step;
  position: relative;
  min-height: 28px;
  padding: 2px 0 0 40px;
  line-height: 1.45;
}
.steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--accent-fill);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plain {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}
.plain li {
  margin: 4px 0;
}

/* The legal documents: the other documents and this one's sections on the left. */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: center;
  gap: 64px;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.legal aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.doc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.doc-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.doc-nav a:hover {
  background: var(--surface);
}
.doc-nav a[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.toc {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.toc-folded {
  display: none;
  background: var(--surface);
  border-radius: 14px;
  margin: 0 0 24px;
}
.toc-folded summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.toc-folded summary::-webkit-details-marker {
  display: none;
}
.toc-folded summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
}
.toc-folded[open] summary::after {
  content: '\2212';
}
.toc-folded nav {
  padding: 0 16px 16px;
}
.toc ol,
.toc-folded ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc a,
.toc-folded a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
}
.toc a:hover,
.toc-folded a:hover {
  color: var(--accent);
  text-decoration: underline;
}
article.doc h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.2rem, 3.25rem);
  margin-bottom: 8px;
}
article.doc h2 {
  font-size: clamp(1.4rem, 0.8vw + 1.1rem, 1.85rem);
  margin: 2em 0 0.5em;
  scroll-margin-top: 16px;
}
article.doc h2 .num {
  color: var(--subtle);
}
article.doc h3 {
  font-family: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5em 0 0.4em;
}
article.doc p,
article.doc ul {
  margin: 0 0 1em;
  color: var(--muted);
}
article.doc strong {
  color: var(--ink);
}
article.doc code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.meta {
  color: var(--subtle);
  margin: 0 0 24px;
}
@media (max-width: 960px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .doc-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .doc-nav a {
    background: var(--surface);
  }
  .legal .toc {
    display: none;
  }
  .toc-folded {
    display: block;
  }
}

/* A markdown table, drawn as one card per row as the app does. */
.row {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 10px 0;
}
.row-title {
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.row dl {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0;
}
.row dt {
  color: var(--subtle);
  font-size: 0.9rem;
  padding-top: 2px;
}
.row dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 520px) {
  .row dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .row dd {
    margin-bottom: 6px;
  }
}

/* Preview only: a detail nobody has filled in yet. */
.gap {
  background: var(--gap-bg);
  color: var(--gap-text);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 0.9em;
}
.notice {
  border: 1px solid var(--gap-text);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 24px;
}

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

footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-size: 16px;
}
footer .wrap {
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 96px;
}
.footer-brand {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .brand {
  color: var(--footer-ink);
  font-size: 26px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h2 {
  font-family: var(--text);
  font-size: 14px;
  font-weight: 700;
  color: var(--footer-muted);
}
footer a,
footer .footer-brand .brand:hover {
  color: var(--footer-ink);
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-muted {
  color: var(--footer-muted);
}
.footer-legal {
  margin-top: 40px;
  border-top: 1px solid var(--footer-line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--footer-muted);
}
