/* Brasil Fácil: site styles.
   Colors and fonts come from docs/design/visual-identity.html. */
/* 0. Fonts: self-hosted, no third-party requests. */
@font-face {
  font-family: "Bitter";
  src: url("/static/fonts/bitter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Inclusive Sans";
  src: url("/static/fonts/inclusive-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inclusive Sans";
  src: url("/static/fonts/inclusive-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* 1. Design tokens: every color and font is named once here.
   Light look. The glass values come from docs/design/mockup-resumo.html. */
:root {
  --ground: #F0EEF7;                       /* the page behind the glass */
  --glow-a: rgba(70, 30, 170, 0.24);       /* the soft purple light spots */
  --glow-b: rgba(160, 140, 235, 0.28);
  --glass: rgba(255, 255, 255, 0.42);      /* see-through panels */
  --glass-strong: rgba(255, 255, 255, 0.55);
  --glass-hi: rgba(255, 255, 255, 0.6);    /* the shine at the top of a panel */
  --glass-edge: rgba(255, 255, 255, 0.85);
  --shadow: 0 30px 60px -34px rgba(40, 20, 100, 0.22);
  --surface: #FFFFFF;                      /* solid, for the chart tooltip */
  --fg: #160F26;
  --muted: #5B556E;
  --line: rgba(37, 1, 84, 0.10);
  --brand: #250154;   /* not final: from the mockup */
  --brand-soft: rgba(37, 1, 84, 0.07);
  /* Zones: meaning only, always shown with a word and an icon. */
  --good: #1E7A4C;  --good-soft: #E2F2E9;
  --watch: #8A5A00; --watch-soft: #FCF0C4;
  --bad: #B23A2E;   --bad-soft: #F9E4E1;
  /* See-through versions for the bands behind the chart line. */
  --good-band: rgba(30, 122, 76, 0.14);
  --watch-band: rgba(212, 160, 23, 0.16);
  --watch-bar: #D4A017;   /* yellow bars in charts (--watch is for text) */
  --accent: #4E2590;   /* highlights: the selected tab, live cards, a word in a title */
  --fan-band: rgba(37, 1, 84, 0.13);   /* the shaded band of a fan chart */
  --cmp-line: #857F94;   /* comparison lines: quiet grey */
  --cmp-peer: #9A94AA;   /* comparison countries: lighter grey, dashed */
  --radius: 14px;
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Inclusive Sans", Verdana, sans-serif;
  color-scheme: light;
}

/* 2. Dark look. Written twice on purpose:
   - when the reader picks "Escuro" (data-theme="dark" on <html>);
   - when the reader picked nothing and the device is in dark mode.
   Keep the two blocks identical. */
:root[data-theme="dark"] {
  --ground: #08060F;
  --glow-a: rgba(55, 10, 125, 0.85);
  --glow-b: rgba(80, 50, 170, 0.28);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(14, 9, 28, 0.55);
  --glass-hi: rgba(255, 255, 255, 0.07);
  --glass-edge: rgba(255, 255, 255, 0.11);
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.75);
  --surface: #191622;
  --fg: #EEEAF6;
  --muted: #ADA6C0;
  --line: rgba(255, 255, 255, 0.10);
  --brand: #B9A2F5;   /* not final: from the mockup */
  --brand-soft: rgba(185, 162, 245, 0.14);
  --good: #52C48D;  --good-soft: rgba(82, 196, 141, 0.14);
  --watch: #E7B04E; --watch-soft: rgba(231, 176, 78, 0.14);
  --bad: #F2806F;   --bad-soft: rgba(242, 128, 111, 0.14);
  --good-band: rgba(82, 196, 141, 0.16);
  --watch-band: rgba(231, 176, 78, 0.12);
  --watch-bar: #E7B04E;
  --accent: #B9A2F5;
  --fan-band: rgba(185, 162, 245, 0.22);
  --cmp-line: #938DA3;
  --cmp-peer: #7E7892;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #08060F;
    --glow-a: rgba(55, 10, 125, 0.85);
    --glow-b: rgba(80, 50, 170, 0.28);
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(14, 9, 28, 0.55);
    --glass-hi: rgba(255, 255, 255, 0.07);
    --glass-edge: rgba(255, 255, 255, 0.11);
    --shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.75);
    --surface: #191622;
    --fg: #EEEAF6;
    --muted: #ADA6C0;
    --line: rgba(255, 255, 255, 0.10);
    --brand: #B9A2F5;   /* not final: from the mockup */
    --brand-soft: rgba(185, 162, 245, 0.14);
    --good: #52C48D;  --good-soft: rgba(82, 196, 141, 0.14);
    --watch: #E7B04E; --watch-soft: rgba(231, 176, 78, 0.14);
    --bad: #F2806F;   --bad-soft: rgba(242, 128, 111, 0.14);
    --good-band: rgba(82, 196, 141, 0.16);
    --watch-band: rgba(231, 176, 78, 0.12);
    --watch-bar: #E7B04E;
    --accent: #B9A2F5;
    --fan-band: rgba(185, 162, 245, 0.22);
    --cmp-line: #938DA3;
    --cmp-peer: #7E7892;
    color-scheme: dark;
  }
}

/* 3. Base: the whole page, lit by soft purple glows. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 12% -8%, var(--glow-a), transparent 65%),
    radial-gradient(800px 600px at 95% 30%, var(--glow-b), transparent 60%),
    radial-gradient(700px 500px at 30% 110%, var(--glow-b), transparent 60%),
    var(--ground);
  background-attachment: fixed;
}

/* Glass: see-through, blurs what is behind it, no outline, soft shadow. */
.glass,
.panel {
  background: linear-gradient(180deg, var(--glass-hi), transparent 40%), var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* 4. Layout: a floating glass header, one calm column, footer. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 12px 16px 0;
}

.site-header .glass {
  background: var(--glass-strong);
  border-radius: 16px;
}

.site-header-inner,
.page,
.site-footer {
  max-width: 1240px;   /* wide enough for two columns; texts keep their own max width */
  margin: 0 auto;
  padding-inline: 16px;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 14px 10px 16px;
}

/* The logo: two files, only one shown, matching the light or dark look. */
.logo {
  display: flex;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo .on-dark {
  display: none;
}

:root[data-theme="dark"] .logo .on-light {
  display: none;
}

:root[data-theme="dark"] .logo .on-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .on-light {
    display: none;
  }

  :root:not([data-theme="light"]) .logo .on-dark {
    display: block;
  }
}

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 10px;
}

/* A segmented switch: two buttons glued together, the pressed one highlighted. */
.seg {
  display: flex;
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  overflow: hidden;
}

.seg button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 6px 10px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  color: var(--fg);
  background: var(--brand-soft);
}

.page {
  display: grid;
  gap: 20px;
  padding-block: 32px 56px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 5. Text. */
h1,
h2 {
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 750;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
}

a {
  color: var(--brand);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* The indicator's plain name, above the question: the page's own label. */
.indicator-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
  margin-bottom: 8px;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* 6. Panels: spacing only; the glass look is in section 3. */
.panel {
  padding: 20px;
  min-width: 0;
}

.link-list {
  margin: 0;
  padding-left: 1.1em;
}

/* 7. "Brasil agora": the big number and its zone. */
.big-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 12px;
}

.big-number small.prefix {
  margin: 0 4px 0 0;
}

.big-number small {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.now-zone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.since {
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pill.good { background: var(--good-soft); color: var(--good); }
.pill.watch { background: var(--watch-soft); color: var(--watch); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.none { background: var(--brand-soft); color: var(--muted); }

/* 8. The chart. */
.chart {
  width: 100%;
  height: 360px;
  margin-top: 8px;
}

.periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.periods button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  cursor: pointer;
}

.periods button[aria-pressed="true"] {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand);
}

.source {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* "Ver os números": the same data as a table, for screen readers and no-JS. */
.numbers {
  margin-top: 12px;
}

.numbers summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand);
}

.table-scroll {
  max-height: 320px;
  overflow-y: auto;
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 9. The explanation block: four fixed questions. */
.explain h2 {
  font-size: 1.1rem;
  margin: 18px 0 4px;
}

.explain h2:first-child {
  margin-top: 0;
}

.explain p {
  max-width: 68ch;
}

/* Keyboard users see where they are. */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* A short fact next to the number, e.g. "used to adjust the minimum wage". */
.now-note {
  font-weight: 700;
  color: var(--brand);
}

.related a {
  font-weight: 700;
}

/* "Comparar com": one pill button per comparison country, under the chart. */
.compare-peers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.compare-peers span {
  color: var(--muted);
}

.compare-peers button {
  font: inherit;
  font-size: 0.88rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}

.compare-peers button[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

.compare-peers button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.compare-peers small {
  color: var(--muted);
  font-size: 0.8rem;
}

/* 10. Header tabs: Início and one per section. */
.tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs a {
  flex: none;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 10px;
}

.tabs a:hover {
  color: var(--fg);
  background: var(--brand-soft);
}

/* The page you are on: a solid purple block, no edge. Light purple with dark
   text in the dark look, deep purple with light text in the light look
   (--ground is the page colour, so it is always the opposite of --brand). */
.tabs a[aria-current="page"],
.tabs a[aria-current="page"]:hover {
  color: var(--ground);
  background: var(--accent);   /* the same purple as the word in the title */
}

@media (max-width: 700px) {
  .tabs { order: 3; flex-basis: 100%; }
}

/* 11. Indicator page: "back to the section" link, and two columns on wide screens. */
.back {
  justify-self: start;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--fg);
}

.metric-top,
.metric-main {
  display: grid;
  gap: 20px;
  align-items: start;
}

/* The chart box and "Entenda" side by side are always the same height. */
.metric-main {
  align-items: stretch;
}

@media (min-width: 980px) {
  .metric-top,
  .metric-main {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

/* 12. Section page: status chips, one glass box per group, tiles side by side. */
.section-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
}

.section-hero .lede {
  max-width: 62ch;
}

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.chip b {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.dot.good { background: var(--good); }
.dot.watch { background: var(--watch-bar); }
.dot.bad { background: var(--bad); }
.dot.trend { background: var(--brand); }
/* Piorando: the same purple, hollow; red is kept for "Preocupante". */
.dot.worse { border: 2px solid var(--brand); }

.group h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.tiles {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  /* One column on phones, two on tablets, three on computers. */
  grid-template-columns: 1fr;
}

.tile {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* "Coming next": an empty box with a dashed outline. Only on computers,
   where it completes a row of three; on smaller screens it would be a gap. */
.tile-soon {
  display: none;
  background: transparent;
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
}

@media (min-width: 980px) {
  .tile-soon { display: block; }
}

.tile:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.tile-name {
  font-family: var(--font-display);   /* Bitter, like the page titles */
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0;
}

.tile-question {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.tile-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tile-value small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

.tile-line {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.tile-line.good { color: var(--good); }
.tile-line.watch { color: var(--watch); }
.tile-line.bad { color: var(--bad); }
.tile-line.trend { color: var(--brand); }
.tile-line.neutral { color: var(--muted); font-weight: 400; }

.tile-foot {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  justify-self: end;
}

.pill.trend {
  color: var(--accent);
  border: 1px solid currentColor;
}

/* Melhorando: filled with soft purple. Piorando: outline only. Each also has
   its own arrow, so they differ without relying on colour. */
.pill.trend.up {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: transparent;
}

.pill.trend.down {
  background: transparent;
}

.chip-arrow {
  display: inline-flex;
  color: var(--accent);
}

/* The small chart on a tile: area, line, dot, one square per year. */
.spark {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.spark text {
  font-size: 9px;
  fill: var(--muted);
}

.spark-line { fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.spark-area { fill-opacity: 0.12; stroke: none; }
.spark-line.brand { stroke: var(--brand); }
.spark-line.good { stroke: var(--good); }
.spark-line.watch { stroke: var(--watch-bar); }
.spark-line.bad { stroke: var(--bad); }
.spark-area.brand, .spark-dot.brand { fill: var(--brand); }
.spark-area.good, .spark-dot.good, .spark-year.good { fill: var(--good); }
.spark-area.watch, .spark-dot.watch, .spark-year.watch { fill: var(--watch-bar); }
.spark-area.bad, .spark-dot.bad, .spark-year.bad { fill: var(--bad); }

/* The explanation box under the chart sits in the chart's column, so it is
   exactly as wide as the chart; "Entenda" stays alone on the right. */
@media (min-width: 980px) {
  .explain-more {
    grid-column: 1;
  }
}

.explain-more p {
  max-width: none;
}

/* 13. Home page: section cards ("Em breve" ones dashed), principles, next steps. */
.home-hero .lede {
  max-width: 64ch;
}

.section-card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-card-soon {
  background: transparent;
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
}

.section-card-soon:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--muted) 45%, transparent);
}

.pill.soon {
  color: var(--muted);
  border: 1px solid currentColor;
}

.principles {
  display: grid;
  gap: 14px 24px;
  margin-top: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.principle h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.coming {
  margin: 10px 0 14px;
  padding-left: 1.3em;
  display: grid;
  gap: 6px;
}

.principles + .related {
  margin-top: 18px;
}

/* Every row as tall as the tallest one: all section cards the same size. */
.tiles-even {
  grid-auto-rows: 1fr;
}

/* A section that already exists: tinted purple, so it stands out from the
   dashed "Em breve" cards. */
.section-card-live {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--accent) 65%, transparent);
}

.section-card-live:hover {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  border-color: var(--accent);
}

/* The same purple as the selected tab and the word in the titles. */
.section-card-live .tile-name,
.section-card-live .tile-line,
.section-card-live .tile-foot {
  color: var(--accent);
}

/* Section names a little larger than indicator names. */
.section-card .tile-name {
  font-size: 1.25rem;
}

/* 14. Dropdown under a section tab: its indicators, by group. Not on
   phones: there the tab just opens the section page. */
.nav-item {
  position: relative;
  flex: none;
}

.nav-item > a {
  display: block;
}

.nav-menu {
  display: none;
}

/* By width only: some laptops (with a touchscreen) tell the browser they
   cannot hover, even with a mouse. Phones are narrower, so they never get it. */
@media (min-width: 701px) {
  .tabs {
    overflow: visible;   /* or the dropdown would be cut off */
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    margin-top: 6px;
    padding: 16px 18px;
    gap: 18px 28px;
    grid-template-columns: repeat(3, max-content);
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);   /* solid: glass inside the glass header does not blur */
    box-shadow: var(--shadow);
  }

  /* An invisible bridge over the gap, so the menu stays open on the way down. */
  .nav-menu::before {
    content: "";
    position: absolute;
    inset: -8px 0 auto 0;
    height: 8px;
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: grid;
  }
}

.nav-menu-group {
  display: grid;
  align-content: start;
  gap: 2px;
}

.nav-menu-group .eyebrow {
  margin: 0 0 4px;
}

.nav-menu-group a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 8px;
}

.nav-menu-group a:hover,
.nav-menu-group a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand);
}

/* A word picked out in a title: "Como está a economia do Brasil?". */
.accent {
  color: var(--accent);
}

/* "This is not the whole picture yet": a soft purple note under the intro. */
/* The hero is as wide as its title or intro, whichever is wider... */
.home-hero,
.section-hero > div {
  width: fit-content;
  max-width: 100%;
}

/* ...and the note fills exactly that width: "width: 0" keeps it from making
   the hero wider, "min-width: 100%" stretches it to the hero's width. */
.note-wip {
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--fg);
  font-size: 0.95rem;
}

/* The licence line at the bottom of every page: small and quiet. */
.footer-rights {
  font-size: 0.8rem;
  max-width: 90ch;
}
