/* ConvertaFácil — identidade de pré-impressão: papel frio, tinta azul-marinho,
   magenta de impressão como única cor de ação, marcas de corte como assinatura. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --paper: #f4f6fa;
  --panel: #ffffff;
  --ink: #161b54;
  --ink-soft: #4a507f;
  --line: #d5dae8;
  --line-strong: #aab2cf;
  --magenta: #d6006f;
  --magenta-dark: #a8005a;
  --cyan: #00a6e0;
  --yellow: #ffc400;
  --ok: #0a7a4b;
  --error: #b3261e;

  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);

  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 70rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0) / 1.6 var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--magenta-dark);
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 0;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: 70%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
  font-stretch: 75%;
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
}
.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 46ch;
}
.muted {
  color: var(--ink-soft);
}
.small {
  font-size: var(--step--1);
}

/* ------------------------------------------------------------ cabeçalho */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  width: 1.6rem;
  height: 1.6rem;
}
.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current='page'] {
  border-bottom-color: var(--magenta);
  color: var(--ink);
}

/* ------------------------------------------------------------ botões e campos */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: 600 var(--step-0) / 1 var(--text);
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--ink);
  color: #fff;
}
.btn-primary {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  color: #fff;
}
.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: var(--step--1);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.field label {
  font-weight: 600;
  font-size: var(--step--1);
}
.field input,
.field select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus {
  border-color: var(--ink);
}
.field .hint {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
input[type='range'] {
  accent-color: var(--magenta);
  padding: 0;
}

/* ------------------------------------------------------------ faixa de cores (cota diária) */
.strip {
  display: flex;
  gap: 3px;
  align-items: stretch;
  height: 0.7rem;
}
.strip i {
  flex: 1;
  min-width: 6px;
  background: var(--line);
  border-radius: 1px;
}
.strip i:nth-child(4n + 1).on {
  background: var(--cyan);
}
.strip i:nth-child(4n + 2).on {
  background: var(--magenta);
}
.strip i:nth-child(4n + 3).on {
  background: var(--yellow);
}
.strip i:nth-child(4n).on {
  background: var(--ink);
}
.quota {
  display: grid;
  gap: 0.35rem;
  font-size: var(--step--1);
  min-width: 9rem;
}
.quota[hidden] {
  display: none;
}

/* ------------------------------------------------------------ hero */
.hero {
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4rem);
}
.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .hero-grid.tool-hero {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero .facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.hero .facts li {
  padding-left: 1.1rem;
  position: relative;
}
.hero .facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 2px;
  background: var(--magenta);
}

/* ------------------------------------------------------------ área de soltar (marcas de corte) */
.drop {
  --mark: 1.5rem;
  --pad: 0.9rem;
  position: relative;
  background: var(--panel);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: var(--pad);
  min-height: 18rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  outline: 1px solid var(--line);
  transition: background-color 0.2s;
}
.drop .mk {
  position: absolute;
  width: var(--mark);
  height: var(--mark);
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  --c: var(--ink);
}
.drop .mk::before,
.drop .mk::after {
  content: '';
  position: absolute;
  background: var(--c);
}
.drop .mk::before {
  width: 2px;
  height: 100%;
}
.drop .mk::after {
  height: 2px;
  width: 100%;
}
.drop .mk.tl {
  left: calc(var(--pad) * -1 - 2px);
  top: calc(var(--pad) * -1 - 2px);
}
.drop .mk.tr {
  right: calc(var(--pad) * -1 - 2px);
  top: calc(var(--pad) * -1 - 2px);
  transform: scaleX(-1);
}
.drop .mk.bl {
  left: calc(var(--pad) * -1 - 2px);
  bottom: calc(var(--pad) * -1 - 2px);
  transform: scaleY(-1);
}
.drop .mk.br {
  right: calc(var(--pad) * -1 - 2px);
  bottom: calc(var(--pad) * -1 - 2px);
  transform: scale(-1, -1);
}
.drop .mk.tl::before,
.drop .mk.bl::before {
  left: 0;
}
.drop .mk.tr::before,
.drop .mk.br::before {
  left: 0;
}
.drop.over {
  background: #fff5fa;
  outline-color: var(--magenta);
}
.drop.over .mk {
  --c: var(--magenta);
}
.drop.over .mk.tl {
  transform: translate(calc(var(--pad) * 0.8), calc(var(--pad) * 0.8));
}
.drop.over .mk.tr {
  transform: translate(calc(var(--pad) * -0.8), calc(var(--pad) * 0.8)) scaleX(-1);
}
.drop.over .mk.bl {
  transform: translate(calc(var(--pad) * 0.8), calc(var(--pad) * -0.8)) scaleY(-1);
}
.drop.over .mk.br {
  transform: translate(calc(var(--pad) * -0.8), calc(var(--pad) * -0.8)) scale(-1, -1);
}
.drop h2,
.drop .drop-title {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1.05;
  margin: 0;
}
.drop p {
  margin: 0;
}
.drop .row {
  display: flex;
  gap: 0.75rem 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.drop input[type='file'] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
}
.drop-limits {
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.drop [hidden] {
  display: none !important;
}

.filelist {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  gap: 0.4rem;
}
.filelist li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  border-radius: 4px;
}
.filelist .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.filelist .size {
  color: var(--ink-soft);
  font-size: var(--step--1);
  white-space: nowrap;
}
.filelist button {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: 3px;
}
.filelist button:hover {
  color: var(--magenta-dark);
  background: #fff;
}
.targets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.target {
  font: 600 var(--step--1) / 1 var(--text);
  padding: 0.65rem 0.9rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
}
.target:hover,
.target[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.opts {
  width: 100%;
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.opts .field {
  margin-bottom: 0.5rem;
}
.progress {
  width: 100%;
  height: 0.5rem;
  background: var(--line);
  border-radius: 1px;
  overflow: hidden;
}
.progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75%);
  background-size: 100% 100%;
  transition: width 0.2s;
}
.progress.indeterminate > div {
  width: 100%;
  animation: slide 1.1s linear infinite;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 1.5rem, var(--magenta) 1.5rem 3rem, var(--yellow) 3rem 4.5rem, var(--ink) 4.5rem 6rem);
  background-size: 6rem 100%;
}
@keyframes slide {
  to {
    background-position: 6rem 0;
  }
}
.result {
  width: 100%;
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.result .preview {
  max-height: 11rem;
  width: auto;
  border: 1px solid var(--line);
  background: repeating-conic-gradient(#eef0f6 0% 25%, #fff 0% 50%) 50% / 14px 14px;
}
.result .summary {
  font-weight: 600;
}
.msg {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--error);
  background: #fdf1f0;
  color: #6f1a15;
  font-size: var(--step--1);
}
.msg a,
.msg .link-btn {
  font-weight: 700;
}
.msg.info {
  border-left-color: var(--cyan);
  background: #eef9fd;
  color: var(--ink);
}
.msg.ok {
  border-left-color: var(--ok);
  background: #eef8f3;
  color: #0d3f2a;
}

/* ------------------------------------------------------------ seções */
.section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.section > .wrap > h2 {
  margin-bottom: 1.5rem;
}
.index {
  display: grid;
  gap: 2rem;
}
@media (min-width: 50rem) {
  .index {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.index h3 {
  margin-bottom: 0.75rem;
}
.index ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.index li a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
}
.index li a::after {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg) translate(-1px, 1px);
  align-self: center;
  transition: transform 0.15s, border-color 0.15s;
}
.index li a:hover {
  color: var(--ink);
}
.index li a:hover::after {
  border-color: var(--magenta);
  transform: rotate(45deg) translate(1px, -1px);
}
/* a coluna de texto fica alinhada à esquerda, como o resto da página */
.prose > * {
  max-width: 44rem;
}
.prose > .table-scroll,
.prose > pre {
  max-width: 52rem;
}
.prose h2 {
  margin-block: 2.25rem 0.9rem;
  font-size: var(--step-2);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}
.prose ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.prose ol li::marker {
  font-weight: 700;
  color: var(--magenta-dark);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 0.9rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.related a {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
}
.related a:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.ad-slot {
  min-height: 90px;
  margin-block: 1.5rem;
}
.ad-slot:empty {
  display: none;
}

/* ------------------------------------------------------------ preços */
.plans {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 52rem) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plan {
  background: var(--panel);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--line);
}
.plan.feature {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.plan.feature .muted {
  color: #c9cdf0;
}
.plan.feature .btn {
  border-color: #fff;
  color: #fff;
}
.plan.feature .btn-primary {
  background: var(--magenta);
  border-color: var(--magenta);
}
.plan.feature .btn:hover {
  background: #fff;
  color: var(--ink);
}
.plan.feature .btn-primary:hover {
  background: var(--magenta-dark);
  color: #fff;
  border-color: var(--magenta-dark);
}
.plan h2 {
  font-size: var(--step-2);
}
.price {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
}
.price small {
  font: 500 var(--step--1) var(--text);
  opacity: 0.75;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}
.plan li {
  padding-left: 1.35rem;
  position: relative;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.4rem;
  height: 0.7rem;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
  transform: rotate(40deg) translateY(-50%);
}
.plan li.off {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.plan li.off::before {
  display: none;
}
.plan.feature li.off {
  color: #9aa0d6;
}

/* ------------------------------------------------------------ docs e código */
pre,
code {
  font-family: var(--code);
  font-size: 0.875rem;
}
pre {
  background: var(--ink);
  color: #e8ebff;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border-radius: 4px;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
:not(pre) > code {
  background: #e7eaf6;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
table.t {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: var(--step--1);
}
table.t th,
table.t td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.t th {
  font-weight: 700;
  background: #e9ecf6;
}
.table-scroll {
  overflow-x: auto;
}

/* ------------------------------------------------------------ conta */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
.panel h2 {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}
.keybox {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.keybox code {
  padding: 0.5rem 0.7rem;
  background: #e7eaf6;
  word-break: break-all;
}

/* ------------------------------------------------------------ diálogo de login */
dialog {
  border: 0;
  padding: 0;
  border-radius: 10px;
  max-width: min(26rem, calc(100vw - 2rem));
  width: 100%;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 24px 60px rgb(22 27 84 / 0.28);
}
dialog::backdrop {
  background: rgb(22 27 84 / 0.55);
}
dialog form,
dialog .dlg-body {
  padding: 1.5rem;
}
dialog .tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}
dialog .tabs button {
  flex: 1;
  font: 600 var(--step-0) var(--text);
  padding: 0.95rem;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--ink-soft);
}
dialog .tabs button[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--magenta);
}
dialog .dlg-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.dlg-note {
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------ Pix */
.dlg-title {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}
.periods {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0 !important;
}
.period {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.period:has(input:checked) {
  border-color: var(--magenta);
  box-shadow: inset 0 0 0 1px var(--magenta);
}
.period input {
  accent-color: var(--magenta);
  width: 1.1rem;
  height: 1.1rem;
}
.period-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.3;
}
.period-main em {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--ok);
}
.period-price {
  font-weight: 700;
}
.pix-qr {
  display: block;
  margin: 0.75rem auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  max-width: 100%;
  height: auto;
}
.pix-copy {
  width: 100%;
  margin-top: 0.25rem;
}
.pix-help {
  margin: 0.75rem 0;
  color: var(--ink-soft);
}
.pix-code {
  width: 100%;
  font: 0.75rem/1.4 ui-monospace, Menlo, Consolas, monospace;
  padding: 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  resize: none;
  word-break: break-all;
}
.pix-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}
.pix-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--magenta);
  animation: pixpulse 1.2s ease-in-out infinite;
}
@keyframes pixpulse {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pix-dot {
    animation: none;
  }
}

/* ------------------------------------------------------------ rodapé */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer p {
  margin: 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 4px;
  font-size: var(--step--1);
  z-index: 50;
  max-width: calc(100vw - 2rem);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.tag-off {
  font-size: var(--step--1);
  color: var(--magenta-dark);
  border: 1px solid var(--magenta);
  border-radius: 4px;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.off-panel {
  border-left: 4px solid var(--magenta);
}

.dlg-stack {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
  justify-items: stretch;
}
.dlg-stack .link-btn {
  justify-self: center;
  padding: 0.4rem;
}
