:root {
  --bg: #e4ecea;
  --bg-deep: #cfdcd8;
  --ink: #102018;
  --muted: #4a5e56;
  --line: #b4c6bf;
  --panel: rgba(246, 251, 249, 0.9);
  --panel-solid: #f4faf8;
  --accent: #087a6e;
  --accent-soft: #c5ebe4;
  --accent-hover: #065f56;
  --accent-bright: #12a392;
  --scan: #1ac4ad;
  --danger: #9b2c2c;
  --ok: #1a7a4c;
  --shadow: 0 16px 40px rgba(16, 32, 24, 0.1);
  --font-display: "Space Grotesk", "Avenir Next", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
}

body.is-running {
  cursor: progress;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 460px at 6% -8%, #b7e0d6 0%, transparent 55%),
    radial-gradient(720px 420px at 98% 4%, #c5d9e8 0%, transparent 50%),
    radial-gradient(640px 480px at 55% 108%, #b8d4cc 0%, transparent 52%),
    linear-gradient(168deg, #eef5f2 0%, var(--bg) 42%, #d5e2de 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(8, 122, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 122, 110, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes atmosphere-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-1.5%, 1%, 0);
  }
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 4.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.55rem 0.85rem;
  background: var(--accent);
  color: #f2fffc;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.85s var(--ease-out) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .reveal,
  .btn-spinner,
  .progress > span::after,
  .dropzone-icon,
  .scan-dot {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.4rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
    gap: 2rem;
  }
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.scan-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--scan);
  box-shadow: 0 0 0 3px rgba(18, 163, 146, 0.2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.4vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 38rem;
}

.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.35rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-byline a {
  color: var(--accent-hover);
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.hero-byline a:hover {
  color: var(--ink);
}

.byline-emoji {
  margin-right: 0.15rem;
  font-size: 1.05em;
  line-height: 1;
}

.lede code,
.hint code,
.credits-list code,
.footer-note code,
.credits-lead code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 0.1em 0.35em;
  border-radius: var(--radius);
}

.hero-logos {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

@media (min-width: 860px) {
  .hero-logos {
    justify-content: flex-end;
  }
}

.hero-logos .credits-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem 1.1rem;
  max-width: 22rem;
}

@media (min-width: 860px) {
  .hero-logos .credits-partners {
    justify-content: flex-end;
    text-align: right;
  }
}

.grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .grid {
    grid-template-columns: 360px 1fr;
    align-items: start;
  }
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.4rem;
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--scan) 55%, transparent);
  opacity: 0.85;
}

.panel:hover {
  box-shadow: 0 20px 48px rgba(16, 32, 24, 0.12);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.panel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(197, 235, 228, 0.55);
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(8, 122, 110, 0.18);
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
}

.field {
  margin-bottom: 1rem;
}

input[type="text"],
input[type="url"],
input[type="number"],
input.api-key,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:hover {
  border-color: #8eaaa2;
}

input.api-key {
  -webkit-text-security: disc;
  font-family: var(--font-mono);
}

input:focus,
select:focus,
button:focus-visible,
.dropzone:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dropzone {
  position: relative;
  border: 1.5px dashed rgba(8, 122, 110, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(220, 240, 235, 0.88));
  padding: 1.6rem 1rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    transform 0.25s var(--ease-out),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.dropzone-icon {
  display: block;
  width: 28px;
  height: 34px;
  margin: 0 auto 0.7rem;
  border: 2px solid var(--accent);
  border-radius: 3px;
  position: relative;
  opacity: 0.85;
}

.dropzone-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  background: var(--panel-solid);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(8, 122, 110, 0.14);
  background: linear-gradient(180deg, #fff, var(--accent-soft));
}

.dropzone.dragover .dropzone-icon {
  animation: bob 0.7s ease-in-out infinite alternate;
}

@keyframes bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}

.dropzone.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.dropzone strong {
  display: block;
  margin-bottom: 0.2rem;
}

.dropzone span:not(.dropzone-icon) {
  color: var(--muted);
  font-size: 0.92rem;
}

.dropzone input {
  display: none;
}

.file-name {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  word-break: break-all;
  min-height: 1.2em;
  transition: opacity 0.25s ease;
}

.file-name:not(:empty) {
  animation: fade-soft 0.35s var(--ease-out);
}

.file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.btn-small {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  max-height: 12rem;
  overflow: auto;
}

.file-list:empty {
  display: none;
}

.file-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.file-list .file-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.file-list .file-status {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.file-list li.is-done .file-status {
  color: var(--ok);
}

.file-list li.is-error .file-status {
  color: var(--danger);
}

.file-list li.is-active {
  border-color: var(--accent);
  background: rgba(197, 235, 228, 0.4);
}

.export-actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.output .doc-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  animation: fade-soft 0.45s var(--ease-out);
}

.output .doc-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.output .doc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.output .page-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
}

.field-help {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.field-help a {
  color: var(--accent-hover);
  text-underline-offset: 0.15em;
}

.field-help a:hover {
  color: var(--ink);
}

@keyframes fade-soft {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

button {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.78rem 1.05rem;
  border-radius: var(--radius);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 9.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #0a9485 100%);
  color: #f2fffc;
  box-shadow: 0 8px 20px rgba(8, 122, 110, 0.24);
  letter-spacing: 0.01em;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px rgba(8, 122, 110, 0.3);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

body.is-running .btn-primary .btn-label {
  opacity: 0.75;
}

.btn-spinner {
  display: none;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(242, 255, 252, 0.35);
  border-top-color: #f2fffc;
  border-radius: 50%;
}

body.is-running .btn-spinner {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: rgba(197, 235, 228, 0.4);
}

.btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hint {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hint a,
.credits a,
.footer-note a,
.credits-body a {
  color: var(--accent-hover);
  text-underline-offset: 0.15em;
}

.hint a:hover,
.credits a:hover,
.credits-body a:hover {
  color: var(--ink);
}

.status {
  min-height: 1.4rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.status.error {
  color: var(--danger);
}

.status.ok {
  color: var(--ok);
}

.progress-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.progress {
  height: 4px;
  background: rgba(8, 122, 110, 0.12);
  overflow: hidden;
  border-radius: 0;
}

.progress-label {
  margin: 0;
  min-width: 3.25rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.progress > span {
  position: relative;
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-hover), var(--scan));
  transition: width 0.35s var(--ease-out);
}

body.is-running .progress > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: sheen 1.2s ease-in-out infinite;
}

@keyframes sheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.output {
  min-height: 28rem;
  max-height: 70vh;
  overflow: auto;
  background:
    linear-gradient(180deg, #fbfffe 0%, #f4faf8 100%);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.55;
  border-radius: var(--radius);
  scroll-behavior: smooth;
}

.output .doc-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.output:empty::before {
  content: "La progression s’affiche ci-dessus. Le détail page par page n’est plus listé ici — utilisez l’export pour récupérer le texte.";
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  white-space: pre-wrap;
}

.output .page-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  animation: fade-soft 0.45s var(--ease-out);
}

.output .page-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.output .page-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

.output .ocr-figure,
.previews img {
  display: block;
  max-width: min(100%, 520px);
  height: auto;
  margin: 0.75rem 0;
  border: 1px solid var(--line);
  background: var(--bg);
}

.output .missing-figure {
  display: inline-block;
  margin: 0.45rem 0;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--line);
}

.previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.previews:empty {
  display: none;
}

.previews figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  animation: fade-soft 0.4s var(--ease-out);
  transition: transform 0.25s var(--ease-out);
}

.previews figure:hover {
  transform: translateY(-3px);
}

.previews img {
  width: 100%;
  max-width: none;
  margin: 0;
}

.previews figcaption {
  padding: 0.35rem 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 1.75rem;
}

.seo-block {
  margin-top: 2.25rem;
  max-width: 42rem;
}

.seo-block h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.seo-block > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.seo-block a {
  color: var(--accent-hover);
  text-underline-offset: 0.15em;
}

.seo-block a:hover {
  color: var(--ink);
}

.seo-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.faq-block {
  margin-top: 1.75rem;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-block;
  width: 1rem;
  margin-right: 0.35rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.faq-list details[open] summary::before {
  content: "–";
}

.faq-list p {
  margin: 0.45rem 0 0.15rem 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 0.1em 0.35em;
}

.credits-panel {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.45rem 1.45rem;
  background:
    linear-gradient(
      135deg,
      rgba(250, 253, 252, 0.97) 0%,
      rgba(226, 242, 237, 0.96) 55%,
      rgba(240, 248, 252, 0.96) 100%
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.credits-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--scan));
}

.credits-divider {
  width: 1px;
  height: 2rem;
  background: rgba(8, 122, 110, 0.28);
  flex-shrink: 0;
}

.credits-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 0.7rem;
}

.credits-group {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.logo-chip:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.logo-chip img {
  display: block;
  height: clamp(36px, 4.4vw, 46px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-chip.logo-mshs img {
  max-width: 200px;
}

.logo-text-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-hover);
  height: auto;
  padding: 0;
  border-bottom: 1px solid rgba(8, 122, 110, 0.35);
}

.logo-text-chip:hover {
  border-bottom-color: var(--accent);
}

.credits-body {
  min-width: 0;
}

.credits-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.credits-lead {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-attribution {
  display: inline;
  color: var(--muted);
  font-size: 0.95em;
}

.masthead-attribution-label {
  display: inline;
  margin: 0 0.35em 0 0.45em;
  font-size: 0.76em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  font-weight: 700;
  font-style: normal;
  font-family: var(--font-mono);
}

.attribution-sep {
  color: #a8b8af;
  user-select: none;
  margin: 0 0.2em;
}

.attribution-meta {
  font-style: italic;
}

.credits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.credits-list li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 0.9rem;
  position: relative;
}

.credits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.credits-list strong {
  color: var(--ink);
  font-weight: 700;
}

.footer-note {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

@media (max-width: 720px) {
  .credits-divider {
    display: none;
  }
}
