:root {
  color-scheme: light dark;
  --accent: #5EFC71;
  --text: #162849;
  --page: #F4EAEA;
  --card: #ffffff;
  --dark-card: #223657;
  --dark-field: #2a3f62;
  --muted: rgba(22, 40, 73, .68);
  --soft: rgba(22, 40, 73, .07);
  --field: #f8f8fb;
  --danger: #e5484d;
  --border: rgba(22, 40, 73, .12);
  --ring: rgba(94, 252, 113, .58);
  --radius: 18px;
  --shadow: 0 18px 48px rgba(22, 40, 73, .08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  outline: none;
}

button,
a,
input,
select,
textarea,
label,
.button,
.icon-button,
.custom-select-trigger,
.custom-select-option,
.language-trigger,
.language-option,
.mobile-step {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  touch-action: manipulation;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
  outline: none;
}

.hidden,
[hidden] {
  display: none !important;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(22, 40, 73, .12);
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.brand span span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.page-main {
  padding-bottom: 28px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 20px;
  align-items: stretch;
}

.app-grid > *,
.form-grid > *,
.type-panel > * {
  min-width: 0;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.editor-card,
.preview-card {
  padding: 22px;
  height: 100%;
}

.preview-card {
  display: flex;
  flex-direction: column;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-row {
  grid-column: 1 / -1;
}

.type-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
}

textarea.field {
  min-height: 132px;
  resize: vertical;
}

.field:focus {
  border-color: rgba(94, 252, 113, .88);
  box-shadow: none;
}

.field:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.field::placeholder {
  color: rgba(22, 40, 73, .5);
}

.color-field {
  min-height: 52px;
  padding: 6px;
}

input[type="range"].field {
  padding-inline: 0;
  accent-color: var(--accent);
  background: transparent;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--text);
  font-weight: 700;
}

.check-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 12px;
}

.file-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 16px;
  overflow: hidden;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.file-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--field);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}

.button:hover,
.icon-button:hover,
.file-control:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(94, 252, 113, .84);
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(94, 252, 113, .2);
}

.button-danger {
  border-color: rgba(229, 72, 77, .58);
  background: var(--danger);
  color: #ffffff;
}

.button-ghost {
  background: var(--card);
  color: var(--text);
  box-shadow: none;
}

.button-ghost.custom-select-trigger {
  background: var(--field);
}

.icon-button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
}

.icon,
iconify-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  overflow: visible;
  transform: scale(1.14);
  transform-origin: center;
}

iconify-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.language-picker {
  position: relative;
}

.language-trigger {
  min-width: 176px;
  justify-content: space-between;
}

.flag-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1;
}

.language-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 248px;
  padding: 10px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(22, 40, 73, .14);
}

.language-panel-head {
  display: none;
}

.language-options {
  display: grid;
  gap: 4px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
}

.language-option:hover,
.language-option.is-active {
  background: rgba(94, 252, 113, .22);
}

.language-option iconify-icon {
  margin-left: auto;
  color: var(--text);
}

.custom-select {
  position: relative;
}

.native-select-proxy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  background: var(--field);
  color: var(--text);
}

.custom-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-backdrop {
  display: none;
}

.custom-select-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 24;
  min-width: min(260px, 100vw);
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(22, 40, 73, .14);
}

.custom-select-panel-head {
  display: none;
}

.custom-select-options {
  display: grid;
  gap: 4px;
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.is-active {
  background: rgba(94, 252, 113, .22);
}

.custom-select-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-option iconify-icon {
  color: var(--text);
}

.qr-frame {
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 372px;
  padding: 24px;
  background:
    linear-gradient(45deg, rgba(22, 40, 73, .055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(22, 40, 73, .055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(22, 40, 73, .055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(22, 40, 73, .055) 75%);
  background-color: #fbfbfe;
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.qr-frame svg {
  display: block;
  width: min(78vw, 328px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(22, 40, 73, .16));
}

.qr-empty-message {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.mobile-steps {
  display: none;
}

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

.error-message {
  margin: 16px 0 0;
  padding: 13px 16px;
  color: #ffffff;
  background: var(--danger);
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
}

.ad-slot {
  position: relative;
  margin-top: 14px;
}

.ad-slot-inner {
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: hidden;
  padding: 12px;
  color: var(--muted);
  background: var(--field);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.logo-tool {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.logo-preview {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, rgba(22, 40, 73, .18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(22, 40, 73, .18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(22, 40, 73, .18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(22, 40, 73, .18) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  box-shadow: inset 0 0 0 1px rgba(22, 40, 73, .06);
}

.logo-tool.has-logo .logo-preview {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.logo-controls {
  display: grid;
  gap: 10px;
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.seo-section {
  margin-top: 22px;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seo-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.seo-list li::before {
  position: absolute;
  top: .75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.legal-page {
  max-width: 920px;
  margin: 0 auto 24px;
  padding: 34px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-copy h1,
.legal-copy h2,
.legal-copy p {
  margin: 0;
}

.legal-copy h1 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-copy section {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legal-copy h2 {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-copy section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.seo-copy {
  max-width: 920px;
}

.seo-copy h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
  font-weight: 800;
}

.seo-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.seo-copy p + p {
  margin-top: 12px;
}

.seo-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}

.seo-lead-grid p + p {
  margin-top: 0;
}

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

.seo-panel {
  min-width: 0;
  padding: 18px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.seo-panel:first-child {
  grid-row: span 2;
  background: color-mix(in srgb, var(--accent) 17%, var(--field));
}

.seo-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.seo-panel p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
}

.seo-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-panel li {
  position: relative;
  min-width: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.seo-panel li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 252, 113, .18);
  content: "";
}

.blog-index,
.blog-post {
  display: grid;
  gap: 18px;
}

.blog-hero,
.blog-post-head {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-kicker,
.blog-back {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-back a,
.blog-read-link {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.blog-hero h1,
.blog-post-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}

.blog-hero p:last-child,
.blog-post-head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.blog-post-head time,
.blog-card-copy time {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.blog-card {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-card-media,
.blog-post-image {
  display: block;
  min-height: 180px;
  background: linear-gradient(135deg, var(--accent), #ffffff 46%, var(--page));
}

.blog-card-media img,
.blog-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.blog-card-copy h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.blog-card-copy h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.blog-post-image {
  min-height: 300px;
  max-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.blog-content {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-content h2 {
  margin: 36px 0 16px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.2;
}

.blog-content h2:first-child {
  margin-top: 0;
}

.blog-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.blog-content p + p {
  margin-top: 16px;
}

.blog-post-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 430px;
  overflow: hidden;
  background-color: var(--card);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-post-hero.is-gradient {
  background-image: linear-gradient(135deg, var(--accent), #ffffff 46%, var(--page));
}

.blog-post-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 40, 73, .08), rgba(22, 40, 73, .76));
  content: "";
}

.blog-post-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 860px;
  padding: 34px;
  color: #ffffff;
}

.blog-post-hero-copy .blog-kicker,
.blog-post-hero-copy time {
  color: rgba(255, 255, 255, .82);
}

.blog-post-hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.02;
}

.blog-content h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
}

.blog-content ul,
.blog-content ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.blog-share,
.blog-related {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-share h2,
.blog-related h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
}

.blog-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-share-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.blog-ad-slot {
  display: block;
}

.ad-slot-inner iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  display: block;
}

.ad-slot-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 7px;
  color: rgba(255, 255, 255, .72);
  background: rgba(22, 40, 73, .35);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
}

body[data-theme="dark"] .ad-slot-badge {
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .12);
}

@media (max-width: 640px) {
  .ad-slot-inner {
    min-height: 100px;
  }

  .ad-slot-inner iframe {
    min-height: 100px;
  }
}

.floating-install {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 36;
  transform: translateX(-50%);
  display: none;
}

.floating-install:hover {
  transform: translateX(-50%) translateY(-1px);
}

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 37;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: var(--card);
  box-shadow: 0 18px 42px rgba(22, 40, 73, .18);
  cursor: pointer;
}

.install-header {
  display: inline-flex;
}

.toast {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.toast span {
  max-width: min(560px, 100%);
  padding: 12px 16px;
  color: #ffffff;
  background: var(--text);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(22, 40, 73, .22);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 700;
}

.toast span[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(140px, .8fr));
  align-items: start;
  gap: 22px;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  line-height: 1.65;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(22, 40, 73, .1);
}

.footer-phone-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(22, 40, 73, .07);
  max-width: 430px;
  margin-top: 4px;
}

.footer-phone-qr {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  padding: 8px;
  background: #ffffff;
  border-radius: 12px;
}

.footer-phone-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-phone-card strong,
.footer-phone-card span {
  display: block;
}

.footer-phone-card strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.footer-phone-card > div > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.footer-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.footer-platforms span {
  display: inline-grid;
  place-items: center;
  min-width: 50px;
  height: 34px;
  padding: 0 10px;
  overflow: hidden;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.footer-platforms iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  font-size: 22px;
  transform: none;
}

.footer-platforms iconify-icon[icon="logos:android-icon"] svg {
  display: block;
  width: auto;
  max-width: 22px;
  height: 22px;
}

.footer-platforms iconify-icon[icon="simple-icons:apple"] {
  width: 25px;
  height: 25px;
  font-size: 25px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.site-footer a,
.footer-link-button {
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
  cursor: pointer;
}

.footer-link-button {
  width: fit-content;
  text-align: left;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(22, 40, 73, .38);
}

.cookie-card {
  width: min(760px, 100%);
  max-width: calc(100vw - 36px);
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(22, 40, 73, .22);
}

.cookie-copy h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.cookie-options {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 0;
}

.cookie-option span {
  min-width: 0;
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option strong {
  color: var(--text);
  font-size: 14px;
}

.cookie-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #162849;
    --card: var(--dark-card);
    --muted: rgba(255, 255, 255, .72);
    --soft: rgba(255, 255, 255, .12);
    --field: var(--dark-field);
    --border: rgba(255, 255, 255, .14);
    --shadow: 0 24px 70px rgba(0, 0, 0, .2);
  }

  body,
  .brand,
  .section-title,
  .check-row,
  .field-label,
  .stats-panel dd,
  .language-panel-head,
  .language-panel-head strong,
  .language-panel-head .icon-button,
  .seo-copy h1,
  .seo-panel h2,
  .legal-copy h1,
  .legal-copy h2,
  .cookie-copy h2,
  .cookie-option strong,
  .site-footer a,
  .footer-link-button,
  .language-option,
  .language-option iconify-icon {
    color: #ffffff;
  }

  .brand span span,
  .field-label,
  .seo-copy p,
  .seo-panel p,
  .seo-panel li,
  .legal-kicker,
  .legal-lead,
  .legal-copy section p,
  .cookie-copy p,
  .cookie-option small,
  .site-footer,
  .stats-panel {
    color: rgba(255, 255, 255, .72);
  }

  .field,
  .file-control,
  .button-ghost,
  .language-panel,
  .custom-select-panel,
  .custom-select-trigger,
  .seo-panel,
  .cookie-card,
  .cookie-option,
  .qr-frame,
  .stats-panel {
    background-color: var(--dark-field);
  }

  .field,
  .file-control,
  .button-ghost,
  .custom-select-trigger,
  .custom-select-option,
  .language-panel-head .icon-button {
    color: #ffffff;
  }

  .field::placeholder {
    color: #ffffff;
    opacity: 1;
  }

  .button-primary,
  .button-primary iconify-icon {
    color: #162849;
  }

  .blog-hero h1,
  .blog-back a,
  .blog-card-copy h2 a,
  .blog-read-link,
  .blog-share-links a,
  .blog-content h2,
  .blog-content h3,
  .blog-share h2,
  .blog-related h2,
  .footer-phone-card strong,
  .footer-platforms span,
  .footer-column h2 {
    color: #ffffff;
  }

  .qr-frame {
    background-color: rgba(255, 255, 255, .08);
  }

  .toast span {
    color: #162849;
    background: #ffffff;
  }
}

body[data-theme="light"] {
  --page: #F4EAEA;
  --card: #ffffff;
  --muted: rgba(22, 40, 73, .68);
  --soft: rgba(22, 40, 73, .07);
  --field: #f8f8fb;
  --border: rgba(22, 40, 73, .12);
  --shadow: 0 24px 70px rgba(22, 40, 73, .1);
  color: #162849;
}

body[data-theme="light"] .brand,
body[data-theme="light"] .section-title,
body[data-theme="light"] .check-row,
body[data-theme="light"] .field-label,
body[data-theme="light"] .seo-copy h1,
body[data-theme="light"] .site-footer a,
body[data-theme="light"] .language-option,
body[data-theme="light"] .language-option iconify-icon,
body[data-theme="light"] .theme-toggle {
  color: #162849;
}

body[data-theme="light"] .brand span span,
body[data-theme="light"] .field-label,
body[data-theme="light"] .seo-copy p {
  color: rgba(22, 40, 73, .68);
}

body[data-theme="light"] .field,
body[data-theme="light"] .file-control,
body[data-theme="light"] .file-button,
body[data-theme="light"] .custom-select-trigger {
  background-color: var(--field);
  color: #162849;
}

body[data-theme="light"] .field::placeholder {
  color: rgba(22, 40, 73, .5);
  opacity: 1;
}

body[data-theme="light"] .theme-toggle {
  background-color: var(--card);
  color: #162849;
}

body[data-theme="light"] .button-ghost.custom-select-trigger {
  background: var(--field);
  color: #162849;
}

body[data-theme="light"] .language-panel {
  background-color: #ffffff;
  color: #162849;
}

body[data-theme="light"] .custom-select-panel {
  background-color: var(--field);
  color: #162849;
}

body[data-theme="light"] .card,
body[data-theme="light"] .cookie-card {
  background-color: var(--card);
}

body[data-theme="dark"] {
  --page: #162849;
  --card: var(--dark-card);
  --muted: rgba(255, 255, 255, .72);
  --soft: rgba(255, 255, 255, .12);
  --field: var(--dark-field);
  --border: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .2);
  color: #ffffff;
}

body[data-theme="dark"] .brand,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .check-row,
body[data-theme="dark"] .field-label,
body[data-theme="dark"] .seo-copy h1,
body[data-theme="dark"] .seo-panel h2,
body[data-theme="dark"] .legal-copy h1,
body[data-theme="dark"] .legal-copy h2,
body[data-theme="dark"] .language-panel-head,
body[data-theme="dark"] .language-panel-head strong,
body[data-theme="dark"] .language-panel-head .icon-button,
body[data-theme="dark"] .custom-select-panel-head,
body[data-theme="dark"] .custom-select-panel-head strong,
body[data-theme="dark"] .custom-select-panel-head .icon-button,
body[data-theme="dark"] .custom-select-option,
body[data-theme="dark"] .custom-select-option iconify-icon,
body[data-theme="dark"] .cookie-copy h2,
body[data-theme="dark"] .cookie-option strong,
body[data-theme="dark"] .site-footer a,
body[data-theme="dark"] .footer-link-button,
body[data-theme="dark"] .language-option,
body[data-theme="dark"] .language-option iconify-icon,
body[data-theme="dark"] .theme-toggle {
  color: #ffffff;
}

body[data-theme="dark"] .brand span span,
body[data-theme="dark"] .field-label,
body[data-theme="dark"] .seo-copy p,
body[data-theme="dark"] .seo-panel p,
body[data-theme="dark"] .seo-panel li,
body[data-theme="dark"] .blog-hero p:last-child,
body[data-theme="dark"] .blog-card-copy p,
body[data-theme="dark"] .blog-card-copy time,
body[data-theme="dark"] .blog-content p,
body[data-theme="dark"] .blog-content li,
body[data-theme="dark"] .legal-kicker,
body[data-theme="dark"] .legal-lead,
body[data-theme="dark"] .legal-copy section p,
body[data-theme="dark"] .cookie-copy p,
body[data-theme="dark"] .cookie-option small,
body[data-theme="dark"] .site-footer {
  color: rgba(255, 255, 255, .72);
}

body[data-theme="dark"] .field,
body[data-theme="dark"] .file-control,
body[data-theme="dark"] .file-button,
body[data-theme="dark"] .button-ghost,
body[data-theme="dark"] .language-panel,
body[data-theme="dark"] .custom-select-panel,
body[data-theme="dark"] .custom-select-trigger,
body[data-theme="dark"] .seo-panel,
body[data-theme="dark"] .cookie-card,
body[data-theme="dark"] .cookie-option,
body[data-theme="dark"] .qr-frame,
body[data-theme="dark"] .theme-toggle {
  background-color: var(--dark-field);
  color: #ffffff;
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .legal-page,
body[data-theme="dark"] .seo-section {
  background-color: var(--card);
}

body[data-theme="dark"] .button-primary,
body[data-theme="dark"] .button-primary iconify-icon {
  color: #162849;
}

body[data-theme="dark"] .blog-hero h1,
body[data-theme="dark"] .blog-back a,
body[data-theme="dark"] .blog-card-copy h2 a,
body[data-theme="dark"] .blog-read-link,
body[data-theme="dark"] .blog-share-links a,
body[data-theme="dark"] .blog-content h2,
body[data-theme="dark"] .blog-content h3,
body[data-theme="dark"] .blog-share h2,
body[data-theme="dark"] .blog-related h2,
body[data-theme="dark"] .footer-phone-card strong,
body[data-theme="dark"] .footer-platforms span,
body[data-theme="dark"] .footer-column h2 {
  color: #ffffff;
}

body[data-theme="dark"] .field::placeholder {
  color: #ffffff;
  opacity: 1;
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preview-card {
    order: -1;
    height: auto;
  }
}

@media (max-width: 1000px) {
  .brand span span {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 0;
  }

  .app-shell {
    width: min(calc(100% - 20px), 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding-block: 14px;
  }

  .header-actions {
    align-items: center;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand span span {
    max-width: 178px;
  }

  .language-trigger {
    min-width: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
  }

  .language-trigger > span:not(.flag-icon),
  .language-trigger iconify-icon {
    display: none;
  }

  .language-trigger .flag-icon {
    width: 48px;
    height: 48px;
  }

  .language-backdrop {
    position: fixed;
    inset: 0;
    z-index: 28;
    background: rgba(22, 40, 73, .48);
  }

  .language-panel {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 42;
    width: auto;
    max-height: min(76vh, 560px);
    padding: 14px;
    overflow: auto;
    border-radius: 24px;
  }

  .custom-select-backdrop {
    position: fixed;
    inset: 0;
    z-index: 41;
    display: block;
    background: rgba(22, 40, 73, .48);
  }

  .custom-select-panel {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 43;
    width: auto;
    min-width: 0;
    max-height: min(76vh, 560px);
    padding: 14px;
    overflow: auto;
    border-radius: 24px;
  }

  .language-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text);
  }

  .custom-select-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text);
  }

  .language-options,
  .custom-select-options {
    gap: 6px;
  }

  .language-option,
  .custom-select-option {
    min-height: 52px;
  }

  .mobile-steps {
    position: sticky;
    top: 8px;
    z-index: 29;
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
    padding: 6px;
    background: var(--card);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(22, 40, 73, .1);
    width: auto;
    max-width: none;
    overflow: hidden;
  }

  .mobile-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
    min-width: 0;
    flex: 1 1 0;
    width: 0;
    max-width: 100%;
    padding-inline: 4px;
    font-size: 12.5px;
    overflow: hidden;
  }

  .mobile-step span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-step iconify-icon {
    display: none;
  }

  .mobile-step.is-active {
    color: var(--text);
    background: var(--accent);
  }

  body[data-theme="dark"] .mobile-step.is-active {
    color: #162849;
  }

  body[data-mobile-step="input"] .preview-card,
  body[data-mobile-step="preview"] .editor-card,
  body[data-mobile-step="preview"] .seo-section {
    display: none;
  }

  .form-grid.two,
  .action-grid,
  .upload-row,
  .logo-tool,
  .blog-grid,
  .blog-card,
  .seo-lead-grid,
  .seo-panels {
    grid-template-columns: 1fr;
  }

  .blog-hero,
  .blog-post-head,
  .blog-content {
    padding: 20px;
  }

  .blog-card-media,
  .blog-post-image {
    min-height: 180px;
  }

  .blog-post-hero {
    min-height: 360px;
  }

  .blog-post-hero-copy {
    padding: 22px;
  }

  .seo-panel:first-child {
    grid-row: auto;
  }

  .logo-tool {
    align-items: start;
  }

  .logo-preview {
    width: 100%;
    height: 96px;
  }

  .editor-card,
  .preview-card {
    padding: 14px;
  }

  .qr-frame {
    min-height: 300px;
    padding: 16px;
  }

  .button,
  .file-control {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    padding-bottom: 90px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-phone-card {
    display: none;
  }

  .legal-page {
    padding: 22px;
  }

  .cookie-panel {
    padding: 10px;
  }

  .cookie-card {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 14px;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .floating-install {
    display: inline-flex;
    width: max-content;
    max-width: calc(100vw - 96px);
    bottom: 16px;
  }

  .theme-toggle {
    right: 12px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .install-header {
    display: none !important;
  }

  body.language-open .floating-install,
  body:has(.language-panel:not([hidden])) .floating-install {
    display: none !important;
  }
}
