:root {
  --paper: #fbf7ee;
  --grid-line: #ece4d2;
  --ink: #23211d;
  --action: #23211d;
  --muted: #6a645a;
  --line: #e2d9c6;
  --card: #ffffff;
  --tomato: #e0533a;
  --tomato-deep: #b23c27;
  --sun: #f2b632;
  --teal: #2c8a7e;
  --sky: #4c7ccc;
  --mat: #2d5a4b;
  --mat-line: #ffffff14;
  --accent: #b23c27;
  --brand: #e0533a;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
}
.brand {
  font: 800 22px/1 var(--display);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brandmark {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 2px;
  padding: 5px;
  border-radius: 8px;
  background: var(--ink);
  transform: rotate(-4deg);
}
.brandmark i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #fbf7ee;
}
.brandmark i:nth-child(5) {
  background: var(--tomato);
  border-radius: 50%;
}
.brandmark i:nth-child(1) {
  background: var(--sun);
  border-radius: 50%;
}
.brandmark i:nth-child(9) {
  background: var(--teal);
  border-radius: 50%;
}
.brand-sub {
  font: 600 15px var(--display);
  letter-spacing: 0;
  color: var(--tomato-deep);
  background: #fde4dc;
  padding: 4px 9px 5px;
  border-radius: 999px;
}
nav {
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
nav a:hover {
  border-color: var(--ink);
  background: var(--card);
}
main {
  padding: 0 32px;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 34px;
}
h1 {
  font: 800 clamp(40px, 5.4vw, 66px) / 1.02 var(--display);
  letter-spacing: -1.6px;
  margin: 0 0 16px;
  max-width: 760px;
}
.hero-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.hero-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tomato);
  opacity: 0.92;
}
.hero-dots i:nth-child(2) {
  background: var(--sun);
}
.hero-dots i:nth-child(3) {
  background: var(--teal);
}
.hero-dots i:nth-child(4) {
  background: var(--sky);
}
.intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}
.hero-card {
  position: absolute;
  right: 18px;
  top: 34px;
  display: grid;
  grid-template-columns: repeat(5, 30px);
  gap: 5px;
  padding: 16px 16px 18px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(4deg);
}
.hero-card b {
  font: 800 16px/1.4 var(--display);
  text-align: center;
}
.hero-card i {
  height: 30px;
  border: 1.5px solid #e6dcc8;
  border-radius: 5px;
  position: relative;
}
.hero-card i:nth-of-type(13) {
  background: var(--ink);
  border-color: var(--ink);
}
.hero-card i:nth-of-type(3):after,
.hero-card i:nth-of-type(7):after,
.hero-card i:nth-of-type(13):after,
.hero-card i:nth-of-type(19):after,
.hero-card i:nth-of-type(22):after,
.hero-card i:nth-of-type(10):after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--tomato);
  opacity: 0.88;
}
.hero-card i:nth-of-type(7):after,
.hero-card i:nth-of-type(19):after {
  background: var(--sun);
}
.hero-card i:nth-of-type(13):after {
  background: var(--teal);
}
.hero-card i:nth-of-type(22):after {
  background: var(--sky);
}
.trust {
  font-size: 13px;
  font-weight: 600;
  margin-top: 18px;
  color: var(--ink);
  display: inline-block;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: 2px 2px 0 var(--ink);
}

/* Maker */
.maker {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 6px 6px 0 var(--ink);
}
.controls {
  padding: 32px;
  background: var(--card);
}
.step {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font: 800 13px var(--display);
  color: #fff;
  background: var(--tomato);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -3px 0 #00000022;
}
.preview-area .step > span {
  background: var(--sun);
  color: var(--ink);
}
.purchase .step > span {
  background: var(--teal);
}
h2 {
  font: 800 30px/1.15 var(--display);
  letter-spacing: -0.6px;
  margin: 0 0 15px;
}
.step h2 {
  font: 800 20px var(--display);
  letter-spacing: -0.3px;
  margin: 0;
}
label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 18px 0 8px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #d6ccb8;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  min-height: 46px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--sun);
  outline: 0;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  font-size: 14px;
  min-height: 170px;
  max-height: 450px;
  background-color: #fffdf8;
  background-image: linear-gradient(transparent 21.4px, #efe6d4 21.4px, #efe6d4 22.4px);
  background-size: 100% 22.4px;
  background-attachment: local;
  background-position: 0 10px;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.label-row > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}
.hint {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 8px 0 0;
}
.two-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.subtle {
  background: none;
  border: 0;
  color: var(--action);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 2px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.two-actions .subtle {
  min-height: 36px;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  text-decoration: none;
}
.two-actions .subtle:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* The cutting mat */
.preview-area {
  padding: 30px 38px 32px;
  background-color: var(--mat);
  background-image: linear-gradient(#ffffff26 1px, transparent 1px),
    linear-gradient(90deg, #ffffff26 1px, transparent 1px),
    linear-gradient(var(--mat-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  border-left: 2px solid var(--ink);
  color: #f3efe4;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.preview-top .step {
  margin: 0;
}
.preview-top .step h2 {
  color: #fff;
}
.paper {
  background: #ffffff;
  padding: 30px 26px 20px;
  border-radius: 3px;
  box-shadow: 0 1px 0 #00000014, 0 18px 30px -12px #00000080;
  max-width: 480px;
  margin: auto;
  color: var(--action);
  position: relative;
}
.paper:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 92px;
  height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: #f2b632b3;
  border-left: 1px dashed #ffffff80;
  border-right: 1px dashed #ffffff80;
}
.paper h3 {
  font: 800 26px/1.2 var(--display);
  text-align: center;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.bingo-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font: 800 26px var(--display);
  margin-bottom: 8px;
}
.grid {
  display: grid;
  grid-auto-rows: 1fr;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  aspect-ratio: 1;
  overflow: hidden;
}
.size-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.size-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.size-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  min-width: 0;
  min-height: 0;
}
.cell.free {
  background: var(--action);
  color: white;
  font: 800 14px var(--display);
  letter-spacing: 0.5px;
}
.cell-text {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: normal;
}
.cell-fragment { white-space: nowrap; }
.download-buttons .preview-link {
  display: none;
}
.watermark {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-align: center;
  color: var(--muted);
  margin: 16px 0 6px;
  font-weight: 700;
}
.preview-caption {
  text-align: center;
  font-size: 12px;
  color: #d5e2dc;
  margin: 18px 0;
}
.preview-area .status {
  color: #ffd8cd;
  text-align: center;
}
.preview-area .hint {
  color: #c7d8d1;
}

/* Buttons */
.primary,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  font: 800 15px var(--display);
  letter-spacing: 0.1px;
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s;
}
.primary {
  background: var(--tomato);
  color: white;
  box-shadow: 3px 3px 0 var(--ink);
}
.primary:hover:not(:disabled) {
  background: var(--tomato-deep);
}
.primary:active:not(:disabled),
.button:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.outline:hover:not(:disabled),
.subtle:hover:not(:disabled) {
  color: var(--tomato-deep);
}
input:hover,
select:hover,
textarea:hover {
  border-color: #b4a88f;
}
.preview-top .subtle {
  min-height: 38px;
  padding: 8px 15px;
  border: 1.5px solid #ffffff66;
  border-radius: 999px;
  background: #ffffff14;
  color: #fff;
  text-decoration: none;
}
.preview-top .subtle:hover:not(:disabled) {
  background: #fff;
  color: var(--ink);
}
.preview-area > .primary {
  width: 100%;
  justify-content: space-between;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 #1a3a30;
}
.outline {
  background: var(--card);
  color: var(--action);
  box-shadow: 3px 3px 0 var(--ink);
}
.centered {
  text-align: center;
}

/* Pricing as index cards */
.pricing {
  padding: 72px 0 40px;
  text-align: center;
}
.section-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 34px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.price-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.price-card:before {
  content: "";
  position: absolute;
  top: -12px;
  left: 24px;
  width: 70px;
  height: 22px;
  background: #4c7ccc99;
  transform: rotate(-3deg);
}
.price-card:nth-child(2):before {
  background: #2c8a7e99;
}
.price-card.featured {
  background: #fff6dc;
  box-shadow: 5px 5px 0 var(--ink);
}
.price-card.featured:before {
  background: #e0533aa6;
}
.price-card h3 {
  font: 800 20px/1.3 var(--display);
  margin: 0 0 10px;
}
.price {
  font: 800 40px var(--display);
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.price small {
  font: 600 13px var(--font);
  letter-spacing: 0;
  color: var(--muted);
}
.price-card ul {
  font-size: 14px;
  line-height: 1.6;
  padding: 18px 0 0;
  border-top: 1.5px dashed var(--line);
  list-style: none;
  margin: 0 0 26px;
}
.price-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.price-card li:before {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--tomato);
}
.price-card:nth-child(1) li:before {
  background: var(--sky);
}
.price-card:nth-child(2) li:before {
  background: var(--teal);
}
.price-card .button,
.price-card > .primary {
  margin-top: auto;
  width: 100%;
}
.price-card select {
  margin: 0 0 12px;
  font-size: 13px;
}
.status {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--accent);
}
.status:empty {
  display: none;
}

/* Your purchase */
.purchase {
  padding: 30px 32px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  max-width: 840px;
  margin: 24px auto 0;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--ink);
}
.purchase p {
  font-size: 14px;
  line-height: 1.6;
}
.purchase .step {
  margin-bottom: 12px;
}
.purchase .fields {
  align-items: end;
}
.purchase button {
  margin: 12px 16px 0 0;
}
.danger {
  color: var(--accent);
}
details {
  border-bottom: 1.5px dashed var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font: 700 16px/1.5 var(--display);
}
details p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.purchase details {
  border-bottom: 0;
  border-top: 1.5px dashed var(--line);
  margin-top: 16px;
}

/* Guide & FAQ */
.seo {
  max-width: 900px;
  margin: 64px auto;
}
.seo > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.seo h2 {
  margin-top: 44px;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 52px;
}
.how article {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 6px;
}
.how b {
  font: 800 17px var(--display);
  display: block;
}
.how article:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--sky);
}
.how article:nth-child(2):before {
  background: var(--sun);
}
.how article:nth-child(3):before {
  background: var(--tomato);
}
.how p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.seo > details {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.seo > details[open] {
  border-color: var(--ink);
}
.seo > details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.seo > details summary::-webkit-details-marker {
  display: none;
}
.seo > details summary:after {
  content: "+";
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  font: 800 16px/1 var(--display);
}
.seo > details[open] summary:after {
  content: "–";
  background: var(--sun);
}
.seo > details p {
  margin: 10px 0 2px;
}

/* Footer */
footer {
  padding: 34px 32px 44px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  border-top: 2px solid var(--ink);
}
footer .brand {
  font-size: 22px;
}
footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 640px;
}
footer a,
footer p {
  font-size: 13px;
  color: var(--muted);
}
footer a:hover {
  color: var(--ink);
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  clip-path: none;
  width: auto;
  height: auto;
  background: white;
  padding: 12px;
  z-index: 9;
}
[hidden] {
  display: none !important;
}
.paper.thanksgiving {
  --action: #75521a;
}
.paper.christmas {
  --action: #9d242d;
}
.paper.custom {
  --action: #202020;
}

/* Legal & 404 */
.doc {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 40px 44px;
  max-width: 820px;
}
.doc h1 {
  font-size: clamp(36px, 5vw, 48px);
}
.doc > p {
  color: var(--ink);
  opacity: 0.85;
}
.doc > a {
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-card {
    grid-template-columns: repeat(5, 22px);
    gap: 4px;
    padding: 12px;
    right: 0;
  }
  .hero-card i {
    height: 22px;
  }
  .hero-card b {
    font-size: 13px;
  }
  h1,
  .intro {
    max-width: 560px;
  }
}
@media (max-width: 760px) {
  body {
    background-size: 22px 22px;
  }
  header {
    padding: 14px 14px 14px 16px;
    min-height: 64px;
    gap: 8px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brandmark {
    grid-template-columns: repeat(3, 6px);
    padding: 4px;
    border-radius: 6px;
  }
  .brandmark i {
    width: 6px;
    height: 6px;
  }
  .brand-sub {
    display: none;
  }
  nav {
    gap: 0;
    font-size: 13px;
  }
  nav a {
    padding: 6px 7px;
    font-size: 12px;
  }
  main {
    padding: 0 16px;
  }
  .hero {
    padding: 18px 0 26px;
  }
  .hero-dots {
    margin-bottom: 14px;
  }
  .hero-card {
    display: none;
  }
  .hero-dots i {
    width: 12px;
    height: 12px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .intro {
    font-size: 16px;
  }
  .trust {
    font-size: 12px;
    line-height: 1.5;
    border-radius: 14px;
    text-wrap: balance;
    text-align: center;
  }
  .maker {
    grid-template-columns: 1fr;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .controls {
    padding: 22px 20px;
  }
  .preview-area {
    border-left: 0;
    border-top: 2px solid var(--ink);
    padding: 24px 16px;
  }
  .paper {
    padding: 26px 14px 16px;
  }
  .cell {
    font-size: 10px;
    padding: 2px;
  }

  .paper h3 {
    font-size: 22px;
  }
  .bingo-head {
    font-size: 21px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pricing {
    padding: 52px 0 30px;
  }
  .pricing h2,
  h2 {
    font-size: 26px;
  }
  .price-card {
    padding: 26px 22px 22px;
  }
  .price-card ul {
    margin-bottom: 18px;
  }
  .purchase {
    padding: 22px 20px;
  }
  .purchase .fields {
    grid-template-columns: 1fr;
  }
  .purchase .fields button {
    margin: 0;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .seo {
    margin: 44px auto;
  }
  .doc {
    padding: 28px 22px;
  }
  footer {
    padding: 26px 20px 34px;
    flex-wrap: wrap;
  }
  footer > div {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .two-actions .subtle,
  .preview-top .subtle {
    min-height: 44px;
  }
  textarea {
    background-image: linear-gradient(transparent 24.6px, #efe6d4 24.6px, #efe6d4 25.6px);
    background-size: 100% 25.6px;
  }

}

/* Discrete font sizes keep text fitting compatible with the strict style CSP. */
.cell.fit-11 { font-size: 11px; }
.cell.fit-10 { font-size: 10px; }
.cell.fit-9 { font-size: 9px; }
.cell.fit-8 { font-size: 8px; }
.cell.fit-7 { font-size: 7px; }
.cell.fit-6 { font-size: 6px; }
.cell.fit-5 { font-size: 5px; }

@media (max-width: 760px) {
  body:has(.download-actions) {
    padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }
  html:has(.download-actions) { scroll-padding-bottom: 140px; }
  .download-actions {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 -4px 18px #23211d14;
    color: var(--ink);
  }
  .download-buttons {
    display: flex;
    gap: 10px;
  }
  .download-buttons .preview-link {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 14px;
    box-shadow: none;
  }
  .download-buttons #download-free {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    box-shadow: 2px 2px 0 var(--ink);
  }
  .download-actions .hint {
    color: var(--muted);
    margin: 8px 0 0;
    font-size: 11px;
  }
  .download-actions .status {
    color: var(--tomato-deep);
    margin: 0 0 8px;
    max-height: 72px;
    overflow: auto;
  }
  .download-actions .status:empty { display: none; }
  body:has(input:focus, textarea:focus) .download-actions { display: none; }
  #preview { scroll-margin-top: 12px; }
}

@media (max-width: 360px) {
  header { flex-wrap: wrap; }
  header nav { width: 100%; justify-content: space-between; }
  .preview-top { gap: 8px; }
  .preview-top .step { gap: 8px; }
  .preview-top .step h2 { font-size: 18px; }
  .preview-top .subtle { padding-inline: 10px; }
}
