:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: rgba(229, 231, 235, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius2: 22px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, rgba(11, 95, 255, 0.28), transparent 55%), radial-gradient(900px 500px at 90% 10%, rgba(139, 92, 246, 0.22), transparent 60%), radial-gradient(800px 500px at 50% 110%, rgba(34, 197, 94, 0.12), transparent 60%), var(--bg);
  color: var(--text);
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.65);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #0B5FFF;
  border: 1px solid var(--line);
  font-weight: 800;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.menu {
  padding: 26px 0 6px;
}

.h1 {
  margin: 18px 0 6px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.h2 {
  margin: 0;
  font-size: 20px;
}

.h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  display: flex;
  gap: 12px;
}

.card:hover,
.card:active {
  transform: translateY(-2px);
  background: #0B5FFF;
  border-color: #0B5FFF;
}

.card[aria-selected="true"] {
  background: #0B5FFF;
  border-color: #0B5FFF;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.card__title {
  font-weight: 800;
  color: white;
  text-align: left;
}

.card__desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.generator {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  padding: 14px 0 28px;
}

@media (max-width: 960px) {
  .generator {
    grid-template-columns: 1fr;
  }
}

.panel,
.preview__card {
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(11, 95, 255, 0.14);
  border-color: rgba(11, 95, 255, 0.30);
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
}

.badge--soft {
  background: rgba(11, 95, 255, 0.14);
  border-color: rgba(11, 95, 255, 0.30);
}

.form {
  display: grid;
}

.contact .form {
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.formGrid .span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .formGrid {
    grid-template-columns: 1fr;
  }

  .formGrid .span-2 {
    grid-column: span 1;
  }
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.hint {
  font-size: 12px;
  color: rgba(229, 231, 235, 0.55);
}

.colorRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.colorRow>input {
  min-width: 0;
}

#colorPicker,
#bgColorPicker,
#captionColorPicker,
#captionBgPicker,
#captionColorPicker,
#captionBgPicker {
  width: 54px;
  height: 44px;
  padding: 6px;
}

#colorHex,
#bgColorHex {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.toggle input {
  width: auto;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 11px 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover,
.btn:active,
.btn:focus-visible {
  background: #0B5FFF;
  color: white;
  border-color: #0B5FFF;
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  padding: 10px 12px;
  font-weight: 800;
}

.downloads {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.downloadRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview {
  display: grid;
  gap: 14px;
}

.preview__card {
  padding: 16px;
}

.preview__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.label {
  font-weight: 900;
}

.qrWrap {
  display: grid;
  place-items: center;
  border-radius: var(--radius2);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: radial-gradient(600px 300px at 30% 20%, rgba(11, 95, 255, 0.25), transparent 60%),
    radial-gradient(600px 300px at 80% 70%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(700px 380px at 50% 120%, rgba(34, 197, 94, 0.10), transparent 60%);
}

.qrMount {
  width: min(320px, 100%);
  height: min(320px, 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.help__title {
  font-weight: 900;
  margin-bottom: 8px;
}

.help ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.note {
  border-radius: var(--radius2);
  border: 1px solid rgba(11, 95, 255, 0.25);
  background: rgba(11, 95, 255, 0.10);
  padding: 14px;
  color: rgba(229, 231, 235, 0.9);
}

.footer {
  padding: 18px 0 30px;
}

.error {
  color: #ff4d4f;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.card:hover .card__title,
.card:hover .card__desc,
.card:active .card__title,
.card:active .card__desc {
  color: white;
}

.pill:hover,
.pill:active,
.pill:focus-visible {
  background: #0B5FFF;
  color: white;
  border-color: #0B5FFF;
}

/* Color pickers */
#colorPicker,
#bgColorPicker,
#captionColorPicker,
#captionBgPicker {
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
}

#colorPicker::-webkit-color-swatch-wrapper,
#bgColorPicker::-webkit-color-swatch-wrapper,
#captionColorPicker::-webkit-color-swatch-wrapper,
#captionBgPicker::-webkit-color-swatch-wrapper {
  padding: 0;
}

#colorPicker::-webkit-color-swatch,
#bgColorPicker::-webkit-color-swatch,
#captionColorPicker::-webkit-color-swatch,
#captionBgPicker::-webkit-color-swatch {
  border: none;
  border-radius: 12px;
}

#colorPicker::-moz-color-swatch,
#bgColorPicker::-moz-color-swatch,
#captionColorPicker::-moz-color-swatch,
#captionBgPicker::-moz-color-swatch {
  border: none;
  border-radius: 12px;
}

/* Size control inside the Download panel */

.downloadsSize input[type="range"] {
  width: 100%;
}

/* Base option colors*/
select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* Remove side padding from range sliders */
input[type="range"] {
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
}

/* Chrome / Edge / Safari */
input[type="range"]::-webkit-slider-runnable-track {
  margin: 0;
}

/* Firefox */
input[type="range"]::-moz-range-track {
  margin: 0;
}

input[type="range"]::-webkit-slider-thumb {
  margin-left: 0;
}

input[type="range"]::-moz-range-thumb {
  margin-left: 0;
}

.icon {
  font-size: 20px;
  line-height: 1;
}

/* Pre-footer bar */
.prefooterbar {
  border-top: 1px solid var(--line);
}

.prefooter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
}

.prefooter__link {
  display: grid;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  text-align: left;
}

.prefooter__link:hover,
.prefooter__link:active,
.prefooter__link:focus-visible {
  background: #0B5FFF;
  color: white;
  border-color: #0B5FFF;
}

/* Footer bar full width */
.footerbar {
  width: 100%;
  display: block;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.65);
  border-top: 1px solid var(--line);
}

.footer {
  padding: 18px 0 30px;
  background: transparent;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.footer__link:hover,
.footer__link:active,
.footer__link:focus-visible {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.formStack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Contact page */
.contact {
  padding: 14px 0 28px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #0B5FFF;
  cursor: pointer;
}

.checkbox span {
  display: inline-block;
}

.checkbox a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox a:hover {
  opacity: 0.85;
}

#contactStatus.isError {
  color: #ff4d4f;
  font-weight: 700;
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.brand__logo {
  text-decoration: none;
  color: inherit;
}

.brand__logo:hover {
  opacity: 0.85;
}

.field__error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #ff4d4f;
}

.field.is-invalid .field__error {
  display: block;
}

\.field.is-invalid input,
\.field.is-invalid textarea,
\.field.is-invalid select {
  border-color: #ff4d4f;
}

\.field.is-invalid input:focus,
\.field.is-invalid textarea:focus,
\.field.is-invalid select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.18);
}

/* Cookie consent banner */
.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 40px 0;
  min-height: 120px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.82);
  border-top: 1px solid var(--line);
}

.cookiebar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cookiebar__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.cookiebar__text a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookiebar__text a:hover,
.cookiebar__text a:focus-visible {
  color: var(--muted);
}

.cookiebar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookiebar .btn {
  padding: 10px 12px;
}

.cookiebar #cookieAccept {
  background: #0B5FFF;
  border-color: #0B5FFF;
  color: #fff;
}

.cookiebar #cookieReject {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  font-weight: 800;
}

.cookiebar #cookieReject:hover,
.cookiebar #cookieReject:active,
.cookiebar #cookieReject:focus-visible {
  background: #0B5FFF;
  border-color: #0B5FFF;
  color: #fff;
}

.cookiebackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

body.cookie-open {
  overflow: hidden;
}

.legal {
  margin-bottom: 28px;
}

.legal p,
.legal li {
  line-height: 1.55;
  margin: 6px 0 10px;
}

.legal ul {
  padding-left: 18px;
  margin: 6px 0 14px;
}

.legal h2 {
  margin-top: 20px;
}

.legal h3 {
  margin-top: 14px;
}

.legal a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--muted);
}

/* Buy Me a Coffee*/
.coffee {
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(255, 205, 90, 0.25), rgba(255, 205, 90, 0.18));
  border-top: 1px solid rgba(255, 205, 90, 0.35);
  border-bottom: 1px solid rgba(255, 205, 90, 0.35);
}

.coffee__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.coffee__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coffee__icon {
  font-size: 22px;
  animation: coffeeFloat 3.5s ease-in-out infinite;
}

.coffee__text {
  font-weight: 700;
  color: #fde68a;
}

/* Coffee button */
.coffee__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #facc15;
  color: #1f2933;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.25);
}

.coffee__btn:hover,
.coffee__btn:focus-visible {
  background: #fde047;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.35);
}

@keyframes coffeeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Clickable badge */
.badge--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.badge--link:hover,
.badge--link:focus-visible {
  background: rgba(11, 95, 255, 0.20);
  border-color: rgba(11, 95, 255, 0.45);
}

/* Location */
.locationMap {
  margin-top: 6px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

#locationPreview {
  display: grid;
  gap: 10px;
  padding: 12px;
}

#locationPreview iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 14px;
}

.searchRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.searchRow input {
  flex: 1 1 auto;
}

/* Home muted hyperlinked text */
.muted a,
.muted a:visited,
.muted a:active,
.muted a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted a:hover,
.muted a:focus-visible {
  color: var(--muted);
}

.locationMap a,
.locationMap a:visited,
.locationMap a:active,
.locationMap a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.locationMap a:hover,
.locationMap a:focus-visible {
  color: var(--muted);
}

/* FAQ accordion */
.faq {
  padding: 16px 0 28px;
}

.faq__title {
  margin-bottom: 12px;
}

.faqItem {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.accordion {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.accordion__text {
  font-weight: 800;
}

.accordionA {
  border-top: 1px solid var(--line);
  padding: 14px 18px 18px;
}

.accordionA p {
  margin: 0;
  color: rgba(229, 231, 235, 0.85);
}

/* Link styling */
.about a,
.accordionA a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about a:hover,
.about a:focus-visible,
.accordionA a:hover,
.accordionA a:focus-visible {
  color: var(--muted);
}

.qrapps {
  padding: 10px 0 28px;
}

.qrapps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .qrapps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .qrapps__grid {
    grid-template-columns: 1fr;
  }
}

.qrappCard {
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
}

.qrappCard__media {
  height: 110px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 12px;
}

.qrappCard__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: white;
}

.qrappCard__desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* QR applications */
.qrapps__grid .qrappCard {
  display: block;
  color: inherit;
  text-decoration: none;
}

.qrappCard:focus-visible {
  outline: 2px solid rgba(11, 95, 255, 0.70);
  outline-offset: 3px;
}

.qrappCard__media {
  overflow: hidden;
}

.qrappCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .22s ease;
}

.qrappCard:hover .qrappCard__img,
.qrappCard:focus-visible .qrappCard__img {
  transform: scale(1.06);
}

/* Top navigation */
.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
}


.topnav__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.topnav__link:hover,
.topnav__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topnav__desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topnav__mobile {
  display: none;
}

.topnav__toggle {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.topnav__toggle::-webkit-details-marker {
  display: none;
}

.topnav__toggle::marker {
  content: "";
}

.topnav__mobile[open] .topnav__toggle {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topnav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  min-width: 220px;
  z-index: 50;
}

.topnav__mobile {
  position: relative;
}

@media (max-width: 820px) {
  .topnav__desktop {
    display: none;
  }

  .topnav__mobile {
    display: block;
  }
}

@media (max-width: 520px) {
  .brand__logo {
    width: 54px;
    height: 54px;
  }

  .topbar__inner {
    padding: 12px 0;
  }

  .brand__sub {
    display: none;
  }

}

.topnav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  min-width: 220px;
  z-index: 50;
}

/*  Compare table  */
.qrCompare {
  padding: 0px 0 0px;
}

.qrCompareTable {
  margin-top: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qrCompareTable__head,
.qrCompareTable__row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  align-items: center;
}

.qrCompareTable__head {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--line);
}

.qrCompareTable__cell {
  padding: 14px 16px;
}

.qrCompareTable__feature {
  font-weight: 800;
  color: rgba(229, 231, 235, 0.9);
}

.qrCompareTable__colhead {
  font-weight: 900;
  text-align: center;
}

.qrCompareTable__row {
  border-bottom: 1px solid var(--line);
}

.qrCompareTable__row:last-of-type {
  border-bottom: none;
}

.qrCompareTable__row .qrCompareTable__cell:nth-child(2),
.qrCompareTable__row .qrCompareTable__cell:nth-child(3) {
  text-align: center;
}

/* Marks */
.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.mark--yes {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
}

.mark--no {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
}

.mark--maybe {
  background: rgba(255, 255, 255, 0.06);
}

.qrCompareTable__note {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: rgba(229, 231, 235, 0.75);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 720px) {

  .qrCompareTable__head,
  .qrCompareTable__row {
    grid-template-columns: 1fr 90px 90px;
  }
}

#captionStyleRow {
  margin-top: 4px;
}

/* Submission received */

.thankyouWrap {
  padding: 14px 0 34px;
}

.thankyouCard {
  position: relative;
  overflow: hidden;
  padding: 22px;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
}

.thankyouCard::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 300px at 30% 20%, rgba(11, 95, 255, 0.25), transparent 60%),
    radial-gradient(600px 300px at 80% 70%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(700px 380px at 50% 120%, rgba(34, 197, 94, 0.10), transparent 60%);
  pointer-events: none;
  filter: blur(0px);
}

.thankyouCard::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -80%;
  width: 220%;
  height: 220%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10), transparent 55%);
  transform: rotate(8deg);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}

@keyframes sheen {
  0% {
    transform: translateX(-10%) rotate(8deg);
    opacity: 0.0;
  }

  18% {
    opacity: 0.55;
  }

  50% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.55;
  }

  80% {
    opacity: 0.0;
  }

  100% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.0;
  }
}

.successCenter {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-items: center;
  justify-items: center;
  max-width: 640px;
}

.successMark {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  position: relative;
}

.successMark::before,
.successMark::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  border: 2px solid rgba(34, 197, 94, 0.25);
  opacity: 0;
  animation: ring 2.4s ease-out infinite;
}

.successMark::after {
  animation-delay: 1.2s;
  border-color: rgba(11, 95, 255, 0.22);
}

@keyframes ring {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }

  20% {
    opacity: 0.9;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

.checkSvg {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.checkPath {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw 1.1s ease forwards;
  animation-delay: 0.15s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.successTitle {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.successText {
  margin: 0;
  color: rgba(229, 231, 235, 0.82);
  line-height: 1.55;
  font-size: 14px;
}

/* Floating particles */
.sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: floaty 6.2s ease-in-out infinite;
  opacity: 0.8;
}

.sparkle:nth-child(1) {
  left: 12%;
  top: 28%;
  animation-delay: 0s;
  transform: scale(0.9);
}

.sparkle:nth-child(2) {
  left: 78%;
  top: 22%;
  animation-delay: 0.8s;
  transform: scale(1.1);
}

.sparkle:nth-child(3) {
  left: 22%;
  top: 72%;
  animation-delay: 1.6s;
  transform: scale(1.0);
}

.sparkle:nth-child(4) {
  left: 86%;
  top: 74%;
  animation-delay: 2.3s;
  transform: scale(0.85);
}

.sparkle:nth-child(5) {
  left: 48%;
  top: 16%;
  animation-delay: 3.1s;
  transform: scale(0.95);
}

.sparkle:nth-child(6) {
  left: 52%;
  top: 84%;
  animation-delay: 3.8s;
  transform: scale(1.05);
}

@keyframes floaty {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translateY(-16px) translateX(10px) scale(1.08);
    opacity: 0.95;
  }

  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.55;
  }
}

/* 404 */

.notfoundWrap {
  padding: 14px 0 34px;
}

.notfoundCard {
  position: relative;
  overflow: hidden;
  padding: 22px;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
}

.notfoundCard::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 300px at 30% 20%, rgba(11, 95, 255, 0.25), transparent 60%),
    radial-gradient(600px 300px at 80% 70%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(700px 380px at 50% 120%, rgba(34, 197, 94, 0.10), transparent 60%);
  pointer-events: none;
  filter: blur(0px);
}

.notfoundCard::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -80%;
  width: 220%;
  height: 220%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10), transparent 55%);
  transform: rotate(8deg);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}

.notfoundGrid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.qrFrame {
  width: min(300px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.qrGrid {
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 0, 0, 0.78) 0 10px, transparent 11px),
    radial-gradient(circle at 18% 18%, transparent 0 18px, rgba(0, 0, 0, 0.12) 19px 22px, transparent 23px),
    radial-gradient(circle at 82% 18%, rgba(0, 0, 0, 0.78) 0 10px, transparent 11px),
    radial-gradient(circle at 82% 18%, transparent 0 18px, rgba(0, 0, 0, 0.12) 19px 22px, transparent 23px),
    radial-gradient(circle at 18% 82%, rgba(0, 0, 0, 0.78) 0 10px, transparent 11px),
    radial-gradient(circle at 18% 82%, transparent 0 18px, rgba(0, 0, 0, 0.12) 19px 22px, transparent 23px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 2px, transparent 2px, transparent 10px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 2px, transparent 2px, transparent 10px);
  opacity: 0.9;
  filter: contrast(1.05);
}

.scanLine {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  top: -80px;
  background: linear-gradient(to bottom,
      rgba(34, 197, 94, 0.0),
      rgba(34, 197, 94, 0.22),
      rgba(34, 197, 94, 0.0));
  animation: scanDown 2.4s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.scanGlow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 40%, rgba(34, 197, 94, 0.15), transparent 55%);
  animation: glowPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanDown {
  0% {
    transform: translateY(0);
    opacity: 0.0;
  }

  10% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  90% {
    opacity: 0.9;
  }

  100% {
    transform: translateY(calc(100% + 180px));
    opacity: 0.0;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.input-error,
.input-error input,
.input-error textarea,
input.input-error,
textarea.input-error {
  border: 2px solid #e53935 !important;
  color: #e53935;
}

.input-error::placeholder,
.input-error input::placeholder,
.input-error textarea::placeholder {
  color: #e53935;
  opacity: 1;
}

/* Contact form: invalid required fields */
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border: 2px solid #e53935 !important;
  outline: none;
}

.field.is-invalid input::placeholder,
.field.is-invalid textarea::placeholder {
  color: #e53935;
  opacity: 1;
}

.field.is-invalid .field__error {
  color: #e53935;
}

/* Logo fields */

.logoRow {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.logoRow input[type="file"] {
  flex: 1 1 auto;
  padding: 10px 12px;
}

.downloads {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.logoUpload {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.formSection {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

/* Expandable sections */
.preview__card .formSection > h2,
.preview__card .downloads > h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.preview__card .formSection > h2::after,
.preview__card .downloads > h2::after {
  content: "+";
  font-weight: 700;
  line-height: 1;
  margin-left: 12px;
}

.preview__card .formSection > h2[aria-expanded="true"]::after,
.preview__card .downloads > h2[aria-expanded="true"]::after {
  content: "−";
}