/* Larger type and touch targets layered over the base visual system. */
.hero-copy {
  max-width: 720px;
  font-size: 19px;
}

.drop-zone h2 { font-size: 27px; }
.drop-zone p { font-size: 16px; }
.drop-zone small {
  color: #737d77;
  font-size: 12px;
}

.file-strip {
  gap: 14px;
  padding: 22px 1px;
}

.file-card {
  flex-basis: 235px;
  min-height: 94px;
  gap: 13px;
  padding: 10px 42px 10px 10px;
}

.file-card img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
}

.file-meta b { font-size: 13px; }
.file-meta small {
  margin-top: 5px;
  font-size: 10px;
}

.remove-file {
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: .15s;
}

.remove-file:hover {
  border-color: #efb39e;
  background: #fee9e2;
  color: #a93412;
}

.remove-file svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.settings-panel label,
.preset-note,
.segmented button { font-size: 13px; }
.segmented button { padding: 11px; }

.output-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.option-row {
  min-height: 36px;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 4px 0;
  color: var(--ink) !important;
  cursor: pointer;
}


.preview-panel {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f8f3;
}

.preview-heading,
.preview-grid,
.preview-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-heading h3 {
  margin: 5px 0 0;
  font-size: 17px;
}

.preview-hint,
.preview-panel figcaption span {
  color: var(--muted);
  font: 400 10px DM Mono, monospace;
}

.preview-grid {
  gap: 14px;
  margin-top: 17px;
}

.preview-grid figure {
  width: calc(50% - 24px);
  margin: 0;
}

.preview-stage {
  display: grid;
  height: 210px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d5d9d1;
  border-radius: 11px;
  background-color: #fff;
  background-image: linear-gradient(45deg,#eef0eb 25%,transparent 25%),linear-gradient(-45deg,#eef0eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef0eb 75%),linear-gradient(-45deg,transparent 75%,#eef0eb 75%);
  background-position: 0 0,0 8px,8px -8px,-8px 0;
  background-size: 16px 16px;
}

.preview-stage img,
.preview-stage canvas {
  display: block;
  object-fit: contain;
  box-shadow: 0 5px 16px rgba(24,35,30,.12);
}

.preview-stage canvas {
  max-width: none;
  max-height: none;
}

.original-stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  box-shadow: none;
}

.preview-panel figcaption {
  gap: 10px;
  padding-top: 9px;
  font-size: 12px;
}

.preview-arrow {
  flex: 0 0 30px;
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-copy { font-size: 17px; }
  .file-card { flex-basis: 220px; }
  .preview-hint { display: none; }
  .preview-stage { height: 160px; }
  .preview-panel { padding: 14px; }
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
}

.footer-meta a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: none;
}

.footer-meta a:hover { text-decoration: underline; }
.cookie-settings { border: 0; padding: 0; background: transparent; color: #9eb0a4; font: inherit; cursor: pointer; }
.cookie-settings:hover { color: #fff; text-decoration: underline; }

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  width: min(680px, calc(100vw - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  border: 1px solid #d7dbd3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(20,39,30,.25);
  text-align: left;
}
.consent-banner[hidden] { display: none; }
.consent-banner b { font-size: 16px; }
.consent-banner p { margin: 5px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.consent-banner a { color: var(--green); font-size: 11px; font-weight: 700; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions button { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.consent-actions .consent-accept { border-color: var(--ink); background: var(--ink); color: #fff; }
.consent-actions button:hover { border-color: var(--green); }
.support-card {
  display: flex;
  max-width: 980px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 18px auto 0;
  padding: 22px 24px;
  border: 1px solid #d7dbd3;
  border-radius: 16px;
  background: #fff;
  text-align: left;
}
.support-card h2 { margin: 5px 0 4px; font-size: 18px; }
.support-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.support-card > a { flex: 0 0 auto; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.support-card > a b { margin-left: 12px; color: var(--lime); }
.support-card > a:hover { background: var(--green); }
.support-modal {
  width: min(430px, calc(100vw - 32px));
  padding: 30px;
  border: 1px solid #d7dbd3;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(20,39,30,.28);
  text-align: left;
}
.support-modal::backdrop { background: rgba(16,31,24,.48); backdrop-filter: blur(2px); }
.support-modal h2 { margin: 9px 34px 10px 0; font-size: 25px; letter-spacing: -.7px; }
.support-modal p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.support-modal > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 17px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.support-modal > a b { color: var(--lime); }
.support-modal > a:hover { background: var(--green); }
.support-modal-close { position: absolute; top: 15px; right: 15px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 23px; line-height: 1; cursor: pointer; }
.support-modal-later { display: block; margin: 14px auto 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.support-modal-later:hover { color: var(--ink); text-decoration: underline; }

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 64px;
  padding: 88px max(24px, calc((100vw - 1160px) / 2));
  background: #f7f5ef;
}

.seo-intro h2 { margin: 10px 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.seo-intro p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 36px 22px 0; font-size: 17px; font-weight: 800; cursor: pointer; }
.faq-list p { max-width: 680px; margin: -6px 0 22px; color: var(--muted); line-height: 1.7; }

@media (max-width: 760px) {
  footer { gap: 20px; }
  .footer-meta { align-items: flex-end; text-align: right; }
  .seo-section { grid-template-columns: 1fr; gap: 38px; padding-block: 64px; }
  .support-card { align-items: flex-start; flex-direction: column; }
  .consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; align-items: stretch; flex-direction: column; gap: 16px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
