/* Base layout of the Mad AI website. */

:root {
  --color-bg: #fafafa;
  --color-fg: #1b1b1f;
  --color-muted: #5c5c66;
  --color-accent: #c2185b;
  --color-surface: #ffffff;
  --color-border: #d9d9e0;
  /* Fixed footer line; on phones with a home indicator it grows by the
     safe area (env() is 0 elsewhere). */
  --footer-height: calc(2rem + env(safe-area-inset-bottom, 0px));
  color-scheme: light dark;
}

/* Dark colors: follow the system unless the visitor chose a theme
   (data-theme on <html>, set by theme-init.js / theme-toggle.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #121216;
    --color-fg: #ececf1;
    --color-muted: #a3a3ad;
    --color-accent: #f06292;
    --color-surface: #1d1d23;
    --color-border: #34343d;
  }
}

:root[data-theme="dark"] {
  --color-bg: #121216;
  --color-fg: #ececf1;
  --color-muted: #a3a3ad;
  --color-accent: #f06292;
  --color-surface: #1d1d23;
  --color-border: #34343d;
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-fg);
  /* Room for the fixed footer line, so it never covers the newest message. */
  padding-bottom: var(--footer-height);
}

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

/* The header (logo, theme switch, language menu) stays at the top while
   the chat scrolls underneath. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

/* Jumps to an element (e.g. #contribution-12) must not end up hidden
   behind the sticky header. */
html {
  scroll-padding-top: 5rem;
  /* Nor behind the fixed footer line (ADR-29). */
  scroll-padding-bottom: calc(var(--footer-height) + 1rem);
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-fg);
  text-decoration: none;
}

/* Viewer panel behind the logo (ADR-23). */
.viewer-menu {
  position: relative;
}

.viewer-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.viewer-menu > summary::-webkit-details-marker {
  display: none;
}

.viewer-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 10;
  width: min(18rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.8rem;
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.viewer-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.viewer-chart {
  display: flex;
  justify-content: center;
}

.viewer-doughnut {
  display: block;
  overflow: visible;
}

.viewer-track,
.viewer-segment {
  fill: none;
  stroke-width: 14;
}

.viewer-track {
  stroke: var(--color-border);
}

.viewer-segment {
  transition: stroke-dasharray 600ms ease-out;
}

.viewer-total {
  fill: var(--color-fg);
  font-size: 24px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
}

.viewer-total-label {
  fill: var(--color-muted);
  font-size: 8px;
  text-anchor: middle;
}

/* Same palette as the avatars. */
.viewer-segment--0 { stroke: #c2185b; }
.viewer-segment--1 { stroke: #3949ab; }
.viewer-segment--2 { stroke: #00796b; }
.viewer-segment--3 { stroke: #bf360c; }
.viewer-segment--4 { stroke: #6a1b9a; }
.viewer-segment--5 { stroke: #0277bd; }
.viewer-segment--6 { stroke: #2e7d32; }
.viewer-segment--7 { stroke: #5d4037; }
.viewer-dot--0 { background: #c2185b; }
.viewer-dot--1 { background: #3949ab; }
.viewer-dot--2 { background: #00796b; }
.viewer-dot--3 { background: #bf360c; }
.viewer-dot--4 { background: #6a1b9a; }
.viewer-dot--5 { background: #0277bd; }
.viewer-dot--6 { background: #2e7d32; }
.viewer-dot--7 { background: #5d4037; }

.viewer-legend {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.viewer-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.viewer-dot {
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  border-radius: 50%;
}

.viewer-language {
  flex: 1;
}

.viewer-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.viewer-unavailable {
  margin: 0;
  color: var(--color-muted);
}

.viewer-unavailable[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .viewer-segment {
    transition: none;
  }
}

.site-name:hover .site-logo,
.site-name:focus-visible .site-logo {
  transform: rotate(-8deg) scale(1.08);
}

.site-name:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.site-logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  transition: transform 150ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo {
    transition: none;
  }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Light/dark switch: shows the moon in light mode, the sun in dark mode. */
.theme-toggle,
.audio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-fg);
  cursor: pointer;
  transition: border-color 120ms ease-out, transform 200ms ease-out;
}

.theme-toggle[hidden],
.audio-toggle[hidden] {
  display: none;
}

.theme-toggle:hover,
.audio-toggle:hover {
  border-color: var(--color-accent);
  transform: rotate(-15deg);
}

.theme-toggle:focus-visible,
.audio-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.theme-toggle .icon-sun,
.theme-toggle[aria-pressed="true"] .icon-moon {
  display: none;
}

.theme-toggle[aria-pressed="true"] .icon-sun {
  display: block;
}

/* Audio switch: speaker with waves when on, crossed out when off. */
.audio-toggle .icon-audio-off,
.audio-toggle[aria-pressed="false"] .icon-audio-on {
  display: none;
}

.audio-toggle[aria-pressed="false"] .icon-audio-off {
  display: block;
}

.audio-toggle[aria-pressed="false"] {
  color: var(--color-muted);
}

/* Language menu: a button that opens a list of languages. */
.language-menu {
  position: relative;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-fg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}

.language-button::-webkit-details-marker {
  display: none;
}

.language-button:hover,
.language-menu[open] > .language-button {
  border-color: var(--color-accent);
}

.language-button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.icon {
  display: block;
  flex-shrink: 0;
}

.language-button .chevron {
  color: var(--color-muted);
  transition: transform 150ms ease-out;
}

.language-menu[open] .chevron {
  transform: rotate(180deg);
}

.language-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 10;
  min-width: 12rem;
  max-height: min(20rem, 70vh);
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.language-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  color: var(--color-fg);
  text-decoration: none;
}

.language-list a:hover,
.language-list a:focus-visible {
  background: var(--color-bg);
  color: var(--color-accent);
  outline: none;
}

.language-list a:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-accent);
}

.language-list a[aria-current="page"] {
  font-weight: 700;
}

.language-list .check {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .audio-toggle,
  .language-button,
  .language-button .chevron {
    transition: none;
  }

  .theme-toggle:hover,
  .audio-toggle:hover {
    transform: none;
  }
}

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem;
}

/* Texts from the database are plain text: keep their line breaks. */
.plain-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.disclaimer {
  max-width: min(36rem, calc(100vw - 2rem));
  padding: 1.5rem;
  border: 2px solid var(--color-accent);
  border-radius: 0.5rem;
  background: var(--color-surface);
  color: var(--color-fg);
}

.disclaimer::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.disclaimer h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

.disclaimer button {
  padding: 0.5rem 1.25rem;
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 0.25rem;
  background: var(--color-accent);
  color: #ffffff;
  cursor: pointer;
}

.disclaimer button:focus-visible {
  outline: 3px solid var(--color-fg);
  outline-offset: 2px;
}

/* --- Chat view (Slack style) ------------------------------------------- */

.stage {
  max-width: 48rem;
  margin: 0 auto;
}

.stage-notice {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--color-muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.message {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.6rem;
  transition: background-color 120ms ease-out;
}

.message:hover {
  background: var(--color-surface);
}

.message--moderator {
  background: var(--color-surface);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  user-select: none;
}

/* Fixed color per speaker (speaker id modulo 8). White text on all of them
   meets WCAG AA contrast. */
.avatar--0 { background: #c2185b; }
.avatar--1 { background: #6a1b9a; }
.avatar--2 { background: #3949ab; }
.avatar--3 { background: #00796b; }
.avatar--4 { background: #bf360c; }
.avatar--5 { background: #5d4037; }
.avatar--6 { background: #0277bd; }
.avatar--7 { background: #2e7d32; }

/* Speaker icon (ADR-22) instead of the initials. The image lies above the
   initials, so they remain visible if it cannot be loaded. */
.avatar--icon {
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-border);
  color: var(--color-muted); /* initials readable if the image fails */
}

.avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.message--moderator .avatar {
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

.avatar-badge {
  position: absolute;
  right: -0.3rem;
  bottom: -0.3rem;
  width: 1.3rem;
  height: 1.3rem;
  padding: 0.15rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0 0 0.2rem;
}

.speaker {
  font-weight: 700;
}

.role-badge {
  padding: 0 0.45rem;
  border-radius: 0.3rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.message-time {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.message-text {
  margin: 0;
}

/* Source of a moderation: one small, muted line below the text. */
.article-source {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.article-source a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.article-source a:hover,
.article-source a:focus-visible {
  color: var(--color-accent);
}

.article-source a:hover .article-title {
  text-decoration: underline;
}

.article-source a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.article-host {
  flex-shrink: 0;
  font-weight: 600;
}

.article-host::after {
  content: "·";
  margin-left: 0.35rem;
}

/* Long headlines are cut to one line; the full title is in the link text. */
.article-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Message that is being read aloud (chat.js): accent outline and a stop
   button with an animated speaker next to the time. */
.message--speaking {
  background: var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.audio-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.audio-stop:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.audio-stop:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.audio-stop .wave {
  animation: speaker-wave 1.2s ease-in-out infinite;
}

@keyframes speaker-wave {
  50% {
    opacity: 0.25;
  }
}

/* Word-by-word reveal (chat.js, ADR-20). Hidden words keep their space, so
   the message has its final size from the start. The word being spoken is
   highlighted like karaoke. */
.message--revealing .word {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 180ms ease-out, transform 180ms ease-out, color 300ms ease-out;
}

.message--revealing .word.is-visible {
  opacity: 1;
  transform: none;
}

.message--revealing .word.is-current {
  color: var(--color-accent);
}

/* The source line of a moderation appears once the text is complete. */
.message--revealing .article-source {
  opacity: 0;
}

.article-source {
  transition: opacity 300ms ease-out;
}

/* --- Status below the chat (ADR-25) ---------------------------------------- */

.stage-status {
  padding: 0 0 1rem;
}

/* "... is typing": laid out like a message. */
.typing {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  animation: status-in 300ms ease-out;
}

.typing[hidden],
.stage-idle[hidden] {
  display: none;
}

.typing-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--color-muted);
  font-style: italic;
}

.typing-dots {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.45rem 0.6rem;
  border-radius: 1rem;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.typing-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-muted);
  animation: typing-dot 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-0.3rem); opacity: 1; }
}

/* Idle: all participants look at each other questioningly. */
.stage-idle {
  position: relative;
  display: flex;
  flex-wrap: nowrap; /* everybody sits at the desk, avatars shrink instead */
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 1.75rem);
  width: fit-content;
  /* Wide enough for the text on the desk even with few participants. */
  min-width: min(100%, 18rem);
  max-width: 100%;
  margin: 0 auto;
  padding: 2.5rem clamp(0.75rem, 4vw, 1.75rem) 1.5rem;
  animation: status-in 400ms ease-out;
}

/* The talk show desk the participants sit behind. */
.stage-idle::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  height: 1.7rem;
  border-radius: 50% 50% 0.7rem 0.7rem / 90% 90% 0.7rem 0.7rem;
  background: var(--color-surface);
  box-shadow: inset 0 3px 0 var(--color-accent), 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Small text on the front of the desk. */
.idle-desk-text {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.55rem;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.65rem;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idle-person {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  width: clamp(2.25rem, 11vw, 3.5rem);
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 100%;
  animation: idle-look 4.5s ease-in-out infinite;
}

.idle-person .avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  font-size: clamp(0.75rem, 3vw, 1.15rem);
}

/* Heads turned towards each other; they glance around now and then. */
.idle-person--looks-right { --look: 14deg; --shift: 0.35rem; }
.idle-person--looks-left { --look: -14deg; --shift: -0.35rem; }
.idle-person--looks-around { --look: 0deg; --shift: 0rem; }

@keyframes idle-look {
  0%, 100% { transform: translateX(var(--shift)) rotate(var(--look)); }
  45% { transform: translateX(var(--shift)) rotate(var(--look)); }
  55% { transform: translateX(calc(var(--shift) * -1)) rotate(calc(var(--look) * -0.6)); }
  80% { transform: translateX(calc(var(--shift) * -1)) rotate(calc(var(--look) * -0.6)); }
}

.idle-person--looks-around {
  animation-name: idle-look-around;
}

@keyframes idle-look-around {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-9deg); }
  75% { transform: rotate(9deg); }
}

/* A question mark pops up above one participant after another. */
.idle-question {
  position: absolute;
  z-index: 2;
  top: -1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(0.4rem) scale(0.6);
  animation: idle-question 4s ease-in-out infinite;
}

.idle-question::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  width: 0.4rem;
  height: 0.4rem;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes idle-question {
  0%, 8% { opacity: 0; transform: translateY(0.4rem) scale(0.6); }
  14%, 34% { opacity: 1; transform: translateY(0) scale(1); }
  42%, 100% { opacity: 0; transform: translateY(-0.2rem) scale(0.9); }
}

.idle-person:nth-child(2) { animation-delay: -1.3s; }
.idle-person:nth-child(3) { animation-delay: -2.6s; }
.idle-person:nth-child(4) { animation-delay: -0.7s; }
.idle-person:nth-child(5) { animation-delay: -2s; }
.idle-person:nth-child(2) .idle-question { animation-delay: 0.8s; }
.idle-person:nth-child(3) .idle-question { animation-delay: 1.6s; }
.idle-person:nth-child(4) .idle-question { animation-delay: 2.4s; }
.idle-person:nth-child(5) .idle-question { animation-delay: 3.2s; }
.idle-person:nth-child(6) .idle-question { animation-delay: 0.4s; }
.idle-person:nth-child(7) .idle-question { animation-delay: 1.2s; }
.idle-person:nth-child(8) .idle-question { animation-delay: 2s; }

@keyframes status-in {
  from { opacity: 0; transform: translateY(0.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .typing,
  .stage-idle,
  .idle-person,
  .typing-dots span {
    animation: none;
  }

  .idle-person {
    transform: translateX(var(--shift)) rotate(var(--look));
  }

  .idle-question {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* New message from the live view: slides in and briefly glows. */
.message--new {
  animation: message-in 600ms ease-out, message-glow 2.5s ease-out;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

@keyframes message-glow {
  from {
    box-shadow: 0 0 0 2px var(--color-accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .message {
    transition: none;
  }

  .message--new,
  .audio-stop .wave {
    animation: none;
  }
}

.error {
  text-align: center;
  padding: 3rem 1rem;
}

/* --- Legal pages and footer line (ADR-29) -------------------------------- */

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--footer-height);
  padding: 0 1rem env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 0.8rem;
}

.site-footer a,
.disclaimer-legal a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"],
.disclaimer-legal a:hover,
.disclaimer-legal a:focus-visible {
  color: var(--color-fg);
  text-decoration: underline;
}

.legal-separator {
  margin: 0 0.5rem;
}

/* Version number at the left end of the footer (ADR-30): small and quiet
   (muted colour of the footer; no extra transparency to keep it readable).
   margin-right: auto pushes the legal links to the right. */
.site-version {
  margin-right: auto;
  padding-right: 1.5rem;
  font-size: 0.7rem;
  white-space: nowrap;
}

.disclaimer-legal {
  margin-top: 1rem;
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
}

.legal h1 {
  font-size: 1.6rem;
}

.legal-back {
  margin-top: 2rem;
}
