:root {
  --ink: #142322;
  --muted: #62706d;
  --paper: #fbfaf7;
  --panel: rgba(255, 255, 255, 0.86);
  --line: rgba(20, 35, 34, 0.12);
  --teal: #0f8b8d;
  --coral: #d95d39;
  --gold: #d9a441;
  --forest: #10201f;
  --shadow: 0 24px 80px rgba(18, 32, 31, 0.16);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(15, 139, 141, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(217, 93, 57, 0.14), transparent 28rem),
    linear-gradient(135deg, #f7f1e8 0%, #f7fbf9 52%, #fff7ef 100%);
  background-size: 130% 130%, 120% 120%, 180% 180%;
  animation: ambientShift 18s ease-in-out infinite alternate;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

@keyframes ambientShift {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 50%;
  }
  100% {
    background-position: 10% 16%, 82% 18%, 100% 50%;
  }
}

@keyframes qrAppear {
  from {
    opacity: 0;
    transform: scale(0.965) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes hintFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

@keyframes bpRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bpFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.4deg);
  }
}

@keyframes bpBadgeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes bpAura {
  from {
    opacity: 0.74;
    transform: scale(0.96) translate3d(-8px, 6px, 0);
  }
  to {
    opacity: 1;
    transform: scale(1.04) translate3d(10px, -8px, 0);
  }
}

@keyframes productFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.35deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(0.35deg);
  }
}

@keyframes productLine {
  0% {
    transform: scaleX(0.18);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.18);
    opacity: 0.45;
  }
}

@keyframes qrScan {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  18%,
  78% {
    opacity: 0.72;
  }
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@keyframes qrReadyPulse {
  0% {
    box-shadow: 0 28px 80px rgba(16, 32, 31, 0.24), 0 0 0 0 rgba(15, 139, 141, 0.28);
  }
  100% {
    box-shadow: 0 28px 80px rgba(16, 32, 31, 0.24), 0 0 0 22px rgba(15, 139, 141, 0);
  }
}

@keyframes wifiPhoneScan {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  45% {
    transform: translate3d(-18px, -12px, 0) rotate(-1deg);
  }
}

@keyframes wifiConnected {
  0%,
  42% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  62%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buildChip {
  0%,
  14% {
    opacity: 0;
    transform: translateX(-10px);
  }
  28%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mockupGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.08);
  }
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.workspace {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.brand-bar,
.editor-grid,
.history-panel,
.faq-panel {
  position: relative;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 56px;
  margin-bottom: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 850;
  text-decoration: none;
}

.brand-icon {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.brand-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #12b886;
  border-style: solid;
}

.brand-corner.tl {
  top: 0;
  left: 0;
  border-width: 5px 0 0 5px;
  border-radius: 10px 0 0 0;
}

.brand-corner.tr {
  top: 0;
  right: 0;
  border-width: 5px 5px 0 0;
  border-radius: 0 10px 0 0;
}

.brand-corner.bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 5px 5px;
  border-radius: 0 0 0 10px;
}

.brand-corner.br {
  right: 0;
  bottom: 0;
  border-width: 0 5px 5px 0;
  border-radius: 0 0 10px 0;
}

.brand-dot {
  position: absolute;
  border-radius: 5px;
  background: #111722;
}

.brand-dot.d1,
.brand-dot.d2,
.brand-dot.d3 {
  width: 16px;
  height: 16px;
}

.brand-dot.d1 {
  top: 17px;
  left: 14px;
}

.brand-dot.d2 {
  top: 17px;
  left: 34px;
}

.brand-dot.d3 {
  top: 37px;
  left: 14px;
}

.brand-dot.d4,
.brand-dot.d5 {
  width: 10px;
  height: 10px;
}

.brand-dot.d4 {
  top: 37px;
  left: 34px;
}

.brand-dot.d5 {
  top: 37px;
  left: 48px;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0;
}

.brand-word span:first-child {
  color: #111722;
}

.brand-word span:nth-child(2) {
  color: #12b886;
}

.brand-word .brand-flag {
  margin-left: 8px;
  color: inherit;
  font-size: 0.58em;
  line-height: 1;
  transform: translateY(-0.1em);
}

.top-nav {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 6px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--teal);
  background: rgba(15, 139, 141, 0.1);
}

.top-nav a:hover {
  transform: translateY(-1px);
}

.status-pill {
  min-width: 154px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.auth-box {
  flex: 0 0 auto;
  margin-left: 0;
}

.auth-button,
.auth-user {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.auth-button {
  gap: 8px;
  padding: 0 13px;
}

.auth-button.is-disabled {
  color: var(--muted);
  pointer-events: none;
}

.google-button {
  justify-content: center;
  gap: 9px;
}

.google-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(20, 35, 34, 0.12);
  border-radius: 999px;
  color: #111722;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.auth-user {
  gap: 9px;
  padding: 4px 6px 4px 5px;
}

.auth-user img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.auth-user span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-user a {
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.auth-user a:last-child {
  color: var(--coral);
  background: rgba(217, 93, 57, 0.1);
}

.qr-mode-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qr-mode-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.qr-mode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 32, 31, 0.1);
}

.qr-mode-card.is-dynamic {
  border-color: rgba(15, 139, 141, 0.34);
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.1), rgba(255, 255, 255, 0.78));
}

.qr-mode-card.is-authenticated {
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.08);
}

.wifi-editor .controls-panel {
  align-content: start;
}

.wifi-copy {
  display: grid;
  gap: 8px;
}

.wifi-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
}

.wifi-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.35;
}

.wifi-fields {
  align-items: end;
}

.wifi-hidden-switch {
  align-self: end;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.64);
}

.security-note {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.09);
  font-weight: 850;
}

.mode-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.qr-mode-card strong {
  font-size: 15px;
  line-height: 1.12;
}

.qr-mode-card p,
.qr-mode-card a {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.34;
}

.qr-mode-card a {
  overflow-wrap: anywhere;
  color: var(--teal);
  text-decoration: none;
}

.dynamic-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
}

.dynamic-actions .text-button {
  min-height: 40px;
  padding-inline: 12px;
}

.dynamic-actions .primary-action {
  color: #fff;
  background: var(--teal);
}

.dynamic-actions .text-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.dynamic-actions .primary-action:disabled {
  color: #fff;
  background: var(--teal);
  opacity: 0.92;
}

.soft-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(16, 32, 31, 0.26);
}

.soft-modal__card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 32, 31, 0.24);
}

.soft-modal__card h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.soft-modal__card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.soft-modal__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.account-shell {
  min-height: 100svh;
}

.account-shell .workspace {
  width: min(1180px, 100%);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin: 10px 0 18px;
}

.account-hero h1 {
  max-width: none;
  margin: 4px 0 10px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.9;
}

.account-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.42;
}

.account-stat {
  display: grid;
  gap: 4px;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.account-stat span {
  font-size: 42px;
  font-weight: 900;
  line-height: 0.9;
}

.account-stat strong {
  color: var(--muted);
  font-size: 12px;
}

.account-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-head > .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 44px;
  border-color: rgba(217, 93, 57, 0.22);
  color: var(--coral);
  background: rgba(217, 93, 57, 0.09);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.account-head h1 {
  margin-top: 4px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.95;
}

.account-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.account-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.account-list {
  display: grid;
  gap: 12px;
}

.account-item {
  display: grid;
  grid-template-columns: 132px minmax(220px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.account-analytics {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

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

.analytics-head h3,
.analytics-columns h3,
.analytics-recent h3 {
  margin: 0;
  font-size: 15px;
}

.analytics-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

.analytics-period {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.analytics-period.is-active {
  border-color: rgba(15, 139, 141, 0.32);
  color: var(--teal);
  background: rgba(15, 139, 141, 0.1);
}

.analytics-period:hover {
  border-color: rgba(15, 139, 141, 0.28);
  color: var(--teal);
  transform: translateY(-1px);
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.analytics-summary div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.analytics-summary strong {
  overflow: hidden;
  font-size: 24px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-summary span,
.analytics-last span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.analytics-last {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.analytics-last span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(15, 139, 141, 0.08);
}

.analytics-chart {
  position: relative;
  display: flex;
  align-items: end;
  gap: clamp(6px, 1vw, 12px);
  min-width: 0;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 18px 34px;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 35, 34, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(15, 139, 141, 0.08), rgba(255, 255, 255, 0) 46%),
    rgba(255, 255, 255, 0.64);
  background-size: 100% 40px, 100% 100%, 100% 100%;
}

.analytics-chart.is-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 26px;
}

.analytics-chart span {
  position: relative;
  display: grid;
  align-items: end;
  flex: 1 1 0;
  min-width: 10px;
  height: 104px;
}

.analytics-chart span::before {
  content: "";
  display: block;
  height: var(--h);
  min-height: 8px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, #25b7b4, var(--teal));
  box-shadow: 0 10px 22px rgba(15, 139, 141, 0.18);
  transition:
    height 0.24s ease,
    transform 0.18s ease;
}

.analytics-chart span:hover::before {
  transform: translateY(-2px);
}

.analytics-chart i {
  position: absolute;
  right: 50%;
  bottom: calc(var(--h) + 4px);
  transform: translateX(50%);
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.analytics-chart small {
  position: absolute;
  right: 50%;
  bottom: -23px;
  width: min(74px, calc(100% + 10px));
  max-width: 74px;
  transform: translateX(50%);
  transform-origin: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-empty-chart {
  display: grid;
  gap: 6px;
  max-width: 320px;
  color: var(--muted);
  text-align: center;
}

.analytics-empty-chart strong {
  color: var(--ink);
  font-size: 17px;
}

.analytics-empty-chart span {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

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

.analytics-columns > div,
.analytics-recent {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.analytics-columns p,
.analytics-recent p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.analytics-columns p span,
.analytics-recent p span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-columns p strong,
.analytics-recent p strong {
  color: var(--ink);
  font-size: 12px;
}

.analytics-recent p {
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1fr) auto;
}

.analytics-loading {
  border: 1px dashed rgba(20, 35, 34, 0.2);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.account-preview {
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 35, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 34, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.72);
  background-size: 12px 12px;
}

.account-preview canvas,
.account-preview svg {
  display: block;
  width: 116px !important;
  height: 116px !important;
}

.account-item__meta,
.account-item__edit {
  min-width: 0;
}

.account-item__meta {
  display: grid;
  align-content: center;
  gap: 7px;
}

.account-item__meta span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--coral);
  background: rgba(217, 93, 57, 0.1);
  font-size: 11px;
  font-weight: 900;
}

.account-item h2 {
  margin: 0;
  overflow: hidden;
  font-size: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dynamic-link {
  display: block;
  overflow: hidden;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-note {
  display: block;
  max-width: 520px;
  margin-top: 5px;
  line-height: 1.35;
}

.account-item label {
  display: grid;
  gap: 6px;
}

.account-item__edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.account-item__actions {
  display: flex;
  gap: 8px;
}

.bp-account-item .account-item__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.account-action--ghost {
  color: var(--teal);
  background: rgba(15, 139, 141, 0.08);
}

.account-action--primary {
  border-color: transparent;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(15, 139, 141, 0.18);
}

.account-action--danger {
  color: #b9402a;
  background: rgba(217, 93, 57, 0.1);
}

.account-action:disabled {
  cursor: progress;
  opacity: 0.7;
}

.account-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 280px;
  border: 1px dashed rgba(20, 35, 34, 0.2);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}

.account-empty strong {
  font-size: 24px;
}

.account-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.admin-shell .workspace {
  width: min(1500px, 100%);
}

.admin-brand {
  margin-bottom: 24px;
}

.admin-hero {
  margin-bottom: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.admin-stats article {
  display: grid;
  gap: 6px;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 54px rgba(18, 32, 31, 0.11);
}

.admin-stats strong {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
}

.admin-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.admin-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.admin-panel__head,
.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.admin-panel__head h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.admin-panel__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.admin-toolbar {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-toolbar label {
  display: grid;
  gap: 6px;
  min-width: min(260px, 100%);
}

.admin-toolbar .download-button {
  min-height: 48px;
}

.admin-sort-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-sort-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.admin-sort-links a.is-active {
  border-color: rgba(15, 139, 141, 0.28);
  color: var(--teal);
  background: rgba(15, 139, 141, 0.1);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(20, 35, 34, 0.08);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.admin-table td:nth-child(2) {
  color: var(--teal);
}

.admin-table td:nth-child(n + 4) {
  font-weight: 900;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.home-shell .workspace {
  max-width: 1360px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: min(640px, calc(100vh - 112px));
  padding: clamp(22px, 4vw, 46px) 0 clamp(22px, 4vw, 46px);
}

.home-hero__copy {
  display: grid;
  gap: 14px;
  animation: bpRise 0.72s ease both;
}

.home-badge {
  width: fit-content;
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 950;
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 0.92;
}

.home-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.35;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 950;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.home-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
}

.home-product-stack {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 430px;
  align-content: center;
}

.home-product-stack::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 34%;
  background:
    radial-gradient(circle at 35% 20%, rgba(18, 184, 134, 0.28), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(217, 93, 57, 0.16), transparent 44%);
  filter: blur(18px);
  animation: bpAura 8s ease-in-out infinite alternate;
}

.home-product-stack::after {
  content: "";
  position: absolute;
  inset: 17% 13% 15%;
  border: 1px solid rgba(15, 139, 141, 0.13);
  border-radius: 999px;
  transform: rotate(-13deg);
  pointer-events: none;
}

.home-product-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(390px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 88px rgba(18, 32, 31, 0.14);
  animation:
    bpRise 0.72s ease both,
    productFloat 7.4s ease-in-out 0.9s infinite;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-product-card:nth-child(2) {
  justify-self: end;
  animation-delay: 0.08s, 1.4s;
}

.home-product-card:nth-child(3) {
  justify-self: center;
  animation-delay: 0.16s, 2s;
}

.home-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 139, 141, 0.22);
  box-shadow: 0 34px 100px rgba(18, 32, 31, 0.18);
}

.home-product-card > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-product-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.home-mini-qr {
  display: grid;
  grid-template-columns: repeat(3, 16px);
  gap: 6px;
  width: fit-content;
}

.home-mini-qr i,
.home-profile-lines i,
.home-wifi-mark i {
  display: block;
  border-radius: 5px;
  background: var(--forest);
  transform-origin: left center;
}

.home-mini-qr i {
  width: 16px;
  height: 16px;
}

.home-mini-qr i:nth-child(2n),
.home-mini-qr i:nth-child(5) {
  background: var(--teal);
}

.home-profile-lines,
.home-wifi-mark {
  display: grid;
  gap: 8px;
}

.home-profile-lines i {
  width: 74%;
  height: 10px;
  background: rgba(15, 139, 141, 0.2);
  animation: productLine 4.8s ease-in-out infinite;
}

.home-profile-lines i:nth-child(2) {
  width: 54%;
  animation-delay: 0.28s;
}

.home-profile-lines i:nth-child(3) {
  width: 84%;
  animation-delay: 0.56s;
}

.home-wifi-mark i {
  height: 10px;
  background: rgba(217, 93, 57, 0.22);
  animation: productLine 4.4s ease-in-out infinite;
}

.home-wifi-mark i:first-child {
  width: 42%;
}

.home-wifi-mark i:nth-child(2) {
  width: 66%;
  animation-delay: 0.22s;
}

.home-wifi-mark i:nth-child(3) {
  width: 88%;
  animation-delay: 0.44s;
}

.home-section {
  margin-top: clamp(46px, 7vw, 96px);
  padding: clamp(24px, 5vw, 56px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  animation: bpRise 0.72s ease both;
}

.home-section-head {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 24px;
}

.home-section-head h2,
.home-final h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.98;
}

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

.home-tools-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  border-radius: 26px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(18, 32, 31, 0.09);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.home-tools-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 86px rgba(18, 32, 31, 0.14);
}

.home-tool-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #12b886);
  font-weight: 950;
}

.home-tools-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.home-tools-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.4;
}

.home-tools-grid .download-button {
  width: fit-content;
  min-width: 140px;
  margin-top: auto;
}

.home-benefits,
.home-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-benefits span,
.home-audience span {
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(18, 32, 31, 0.06);
  font-weight: 900;
}

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

.home-roadmap-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(15, 139, 141, 0.12);
  border-radius: 24px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 249, 0.68)),
    radial-gradient(circle at 100% 0%, rgba(18, 184, 134, 0.14), transparent 12rem);
  box-shadow: 0 18px 48px rgba(18, 32, 31, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-roadmap-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(15, 139, 141, 0.12);
  border-radius: 999px;
}

.home-roadmap-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 139, 141, 0.22);
  box-shadow: 0 24px 64px rgba(18, 32, 31, 0.11);
}

.home-roadmap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.1);
  font-size: 13px;
  font-weight: 950;
}

.home-roadmap-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
}

.home-roadmap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.38;
}

.home-roadmap-grid em {
  align-self: end;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--coral);
  background: rgba(217, 93, 57, 0.11);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.home-final {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 360px;
  margin-top: clamp(46px, 7vw, 96px);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 22% 0%, rgba(18, 184, 134, 0.22), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(217, 93, 57, 0.14), transparent 22rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 90px rgba(18, 32, 31, 0.12);
  text-align: center;
}

.home-final p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.bp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  min-height: 620px;
}

.bp-hero-v2 {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  min-height: min(820px, calc(100vh - 96px));
  padding: clamp(38px, 6vw, 86px) 0 clamp(28px, 5vw, 64px);
}

.bp-hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.bp-hero-v2 h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(54px, 7.4vw, 112px);
  line-height: 0.88;
}

.bp-hero-v2 p {
  max-width: 680px;
  margin: 0;
}

.bp-cta-row,
.bp-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bp-cta-row span,
.bp-inline-cta span,
.bp-final-cta-v2 > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.bp-hero-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.bp-hero-preview::before {
  content: "";
  position: absolute;
  width: min(520px, 90%);
  height: min(520px, 90%);
  border-radius: 42%;
  background:
    radial-gradient(circle at 30% 20%, rgba(18, 184, 134, 0.28), transparent 38%),
    radial-gradient(circle at 70% 80%, rgba(217, 93, 57, 0.16), transparent 42%);
  filter: blur(18px);
  animation: bpAura 8s ease-in-out infinite alternate;
}

.bp-build-feed {
  position: absolute;
  left: max(0px, 3%);
  top: 52px;
  z-index: 3;
  display: grid;
  gap: 8px;
  width: min(180px, 42%);
  pointer-events: none;
}

.bp-build-feed span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(15, 139, 141, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(18, 32, 31, 0.1);
  font-size: 12px;
  font-weight: 950;
  animation: buildChip 5.2s ease-in-out infinite;
}

.bp-build-feed span:nth-child(2) {
  animation-delay: 0.58s;
}

.bp-build-feed span:nth-child(3) {
  animation-delay: 1.16s;
}

.bp-build-feed span:nth-child(4) {
  animation-delay: 1.74s;
}

.bp-profile-mockup {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 38px;
  padding: 38px;
  background:
    radial-gradient(circle at 22% 0%, rgba(18, 184, 134, 0.24), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 238, 0.88));
  box-shadow: 0 42px 120px rgba(18, 32, 31, 0.2);
  text-align: center;
  animation:
    bpFloat 5.8s ease-in-out infinite,
    mockupGlow 5.8s ease-in-out infinite;
}

.bp-profile-avatar {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #12b886);
  font-size: 48px;
  font-weight: 950;
}

.bp-profile-mockup h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.bp-profile-mockup p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.4;
}

.bp-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.bp-profile-actions a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.bp-profile-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 139, 141, 0.22);
  background: #fff;
}

.bp-qr-badge {
  position: absolute;
  right: max(0px, 4%);
  bottom: 26px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 7px;
  border: 1px solid rgba(20, 35, 34, 0.12);
  border-radius: 22px;
  padding: 18px;
  background: #fffdf4;
  box-shadow: 0 24px 60px rgba(18, 32, 31, 0.18);
  transform: rotate(3deg);
  animation: bpBadgeFloat 6.4s ease-in-out infinite;
}

.bp-qr-badge span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--forest);
}

.bp-qr-badge span:nth-child(2n),
.bp-qr-badge span:nth-child(5) {
  background: var(--teal);
}

.bp-hero h1,
.bp-editor__intro h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.92;
}

.bp-hero p,
.bp-editor__intro p {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 780;
  line-height: 1.35;
}

.bp-phone-demo,
.public-profile__card {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 5%, rgba(18, 184, 134, 0.25), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 238, 0.82));
  box-shadow: 0 32px 90px rgba(18, 32, 31, 0.18);
  text-align: center;
}

.bp-avatar,
.public-profile__avatar {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #12b886);
  font-size: 52px;
  font-weight: 950;
  object-fit: cover;
}

.bp-phone-demo h2,
.public-profile__card h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.bp-phone-demo p,
.public-profile__card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.4;
}

.bp-links,
.public-profile__links {
  display: grid;
  gap: 9px;
  width: 100%;
}

.bp-links a,
.public-profile__links a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 900;
  text-decoration: none;
}

.bp-section,
.bp-final-cta {
  margin-top: 22px;
  border: 0;
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.bp-section,
.bp-faq-panel,
.bp-final-cta-v2 {
  margin-top: clamp(44px, 7vw, 96px);
  padding: clamp(24px, 5vw, 56px);
}

.bp-section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 22px;
}

.bp-section-head h2,
.bp-final-cta-v2 h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.98;
}

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

.bp-pain-grid article {
  min-height: 142px;
  border: 0;
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 245, 239, 0.86), rgba(255, 255, 255, 0.54));
}

.bp-pain-grid strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.bp-solution-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-radius: 18px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--teal));
}

.bp-solution-strip strong {
  font-size: 22px;
}

.bp-solution-strip span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.bp-feature-cloud,
.bp-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-feature-cloud span,
.bp-audience-grid span {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(18, 32, 31, 0.06);
}

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

.bp-steps article {
  display: grid;
  gap: 12px;
  border: 0;
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(18, 32, 31, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.bp-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(18, 32, 31, 0.12);
}

.bp-steps article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: var(--teal);
  font-size: 20px;
  font-weight: 950;
}

.bp-steps strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.bp-steps p {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.35;
}

.bp-inline-cta {
  margin-top: 18px;
  border-top: 0;
  padding-top: 10px;
}

.bp-benefits,
.bp-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-example-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bp-example-card {
  align-content: start;
  border: 0 !important;
  border-radius: 24px !important;
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 18px 54px rgba(18, 32, 31, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.bp-example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 76px rgba(18, 32, 31, 0.14);
}

.bp-example-mock {
  display: grid;
  gap: 7px;
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(rgba(20, 35, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 34, 0.04) 1px, transparent 1px),
    #fffaf0;
  background-size: 16px 16px;
}

.bp-example-mock span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  background: var(--teal);
  font-size: 20px;
  font-weight: 950;
}

.bp-example-mock strong {
  color: var(--ink);
}

.bp-example-mock i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.18);
}

.bp-example-mock i:nth-child(4) {
  width: 70%;
}

.bp-example-mock i:nth-child(5) {
  width: 48%;
}

.bp-example-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.bp-example-actions .download-button,
.bp-example-open {
  width: 100%;
  min-height: 42px;
  font-size: 13px;
}

.bp-example-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.08);
  font-weight: 950;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.bp-example-open:hover {
  color: #fff;
  background: var(--teal);
  transform: translateY(-1px);
}

.bp-final-cta-v2 {
  min-height: 330px;
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 184, 134, 0.2), transparent 20rem),
    radial-gradient(circle at 82% 10%, rgba(217, 93, 57, 0.15), transparent 20rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 90px rgba(18, 32, 31, 0.12);
}

.bp-hero-copy,
.bp-section,
.bp-faq-panel,
.bp-final-cta-v2 {
  animation: bpRise 0.72s ease both;
}

.bp-section:nth-of-type(2) {
  animation-delay: 0.05s;
}

.bp-section:nth-of-type(3) {
  animation-delay: 0.1s;
}

.bp-section:nth-of-type(4) {
  animation-delay: 0.15s;
}

.bp-benefits article,
.bp-demo-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.bp-benefits strong,
.bp-demo-grid h3 {
  font-size: 18px;
}

.bp-benefits span,
.bp-demo-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.bp-final-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.bp-editor {
  display: grid;
  gap: 18px;
}

.bp-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

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

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  resize: vertical;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.bp-upload {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 106px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.bp-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bp-remove-photo[hidden] {
  display: none;
}

.bp-avatar-preview {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--teal);
  background:
    radial-gradient(circle at 25% 20%, rgba(18, 184, 134, 0.18), transparent 52%),
    rgba(15, 139, 141, 0.08);
  font-size: 30px;
  font-weight: 900;
}

.bp-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.16);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.upload-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 139, 141, 0.22);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bp-style-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-style-card {
  display: grid;
  gap: 8px;
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.bp-style-card:hover,
.bp-style-card.is-selected {
  border-color: rgba(15, 139, 141, 0.55);
  box-shadow: 0 12px 28px rgba(15, 139, 141, 0.12);
  transform: translateY(-1px);
}

.bp-style-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bp-style-card strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.bp-style-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.bp-style-card__preview {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 18px 12px 1fr;
  gap: 7px 9px;
  min-height: 92px;
  border-radius: 8px;
  padding: 12px;
  overflow: hidden;
}

.bp-style-card__preview i {
  display: block;
  border-radius: 999px;
}

.bp-style-avatar {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.bp-style-line--title {
  width: 72%;
  height: 12px;
}

.bp-style-line:not(.bp-style-line--title) {
  width: 90%;
  height: 8px;
}

.bp-style-button {
  align-self: end;
  width: 78%;
  height: 20px;
  border-radius: 7px;
}

.bp-style-button--small {
  width: 44%;
  height: 16px;
  margin-top: auto;
}

.bp-style-card--modern .bp-style-card__preview {
  background:
    radial-gradient(circle at 15% 15%, rgba(18, 184, 134, 0.2), transparent 38%),
    linear-gradient(135deg, #effbf8, #fff3ec);
}

.bp-style-card--modern .bp-style-avatar {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.16), rgba(18, 184, 134, 0.32));
}

.bp-style-card--modern .bp-style-line,
.bp-style-card--modern .bp-style-button {
  background: #0f8b8d;
}

.bp-style-card--minimal .bp-style-card__preview {
  border: 1px solid rgba(17, 23, 34, 0.12);
  background: #fff;
}

.bp-style-card--minimal .bp-style-avatar {
  background: #f4f5f2;
  border: 1px solid rgba(17, 23, 34, 0.12);
}

.bp-style-card--minimal .bp-style-line,
.bp-style-card--minimal .bp-style-button {
  background: #111722;
}

.bp-style-card--dark .bp-style-card__preview {
  background: linear-gradient(135deg, #111722, #203431);
}

.bp-style-card--dark .bp-style-avatar {
  background: rgba(18, 184, 134, 0.18);
}

.bp-style-card--dark .bp-style-line,
.bp-style-card--dark .bp-style-button {
  background: #12b886;
}

.bp-style-card--dark .bp-style-line:not(.bp-style-line--title) {
  opacity: 0.82;
}

.bp-tour {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.bp-tour::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 23, 0.1);
  backdrop-filter: blur(1px);
}

.bp-tour__close,
.bp-tour__bubble {
  pointer-events: auto;
}

.bp-tour__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(20, 35, 34, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(18, 32, 31, 0.14);
  font-size: 26px;
  font-weight: 800;
}

.bp-tour__bubble {
  position: fixed;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(15, 139, 141, 0.22);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 80px rgba(18, 32, 31, 0.22);
}

.bp-tour__count {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.bp-tour__bubble strong {
  font-size: 20px;
  line-height: 1.05;
}

.bp-tour__bubble p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.42;
}

.bp-tour__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  margin-top: 4px;
}

.bp-tour__actions button:disabled {
  opacity: 0.45;
}

.is-tour-target {
  position: relative;
  z-index: 81;
  outline: 3px solid rgba(18, 184, 134, 0.38);
  outline-offset: 5px;
  box-shadow: 0 0 0 10px rgba(18, 184, 134, 0.08);
}

.slug-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.slug-row span {
  padding-left: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.slug-row input {
  border: 0;
  background: transparent;
}

.field-note.is-good {
  color: var(--teal);
}

.slug-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slug-suggestions button {
  border: 1px solid rgba(15, 139, 141, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--teal);
  background: rgba(15, 139, 141, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.bp-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-form-actions .download-button {
  min-width: min(100%, 320px);
}

.bp-form-section-title {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 35, 34, 0.08);
}

.bp-form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bp-form-section-title span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.bp-form-section-title p,
.bp-minimum-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.bp-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.bp-map-actions .text-button {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 13px;
}

.bp-account-item.is-highlighted {
  border-color: rgba(15, 139, 141, 0.55);
  box-shadow: 0 20px 48px rgba(15, 139, 141, 0.16);
}

.bp-crop-stage {
  display: grid;
  place-items: center;
  border-radius: 16px;
  padding: 10px;
  background:
    linear-gradient(rgba(20, 35, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 34, 0.04) 1px, transparent 1px),
    #fff;
  background-size: 16px 16px;
}

.bp-crop-stage canvas {
  width: min(320px, 72vw);
  height: min(320px, 72vw);
  border-radius: 18px;
  cursor: grab;
  touch-action: none;
}

.public-profile {
  display: grid;
  place-items: center;
  min-height: 100vh;
  position: relative;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(18, 184, 134, 0.28), transparent 22rem),
    radial-gradient(circle at 80% 0%, rgba(217, 93, 57, 0.18), transparent 22rem),
    linear-gradient(135deg, #f7fbf9, #fff7ef);
}

.demo-back-link {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(20, 35, 34, 0.12);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(18, 32, 31, 0.14);
  backdrop-filter: blur(16px);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.demo-back-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 62px rgba(18, 32, 31, 0.18);
}

.public-profile__card {
  width: min(460px, 100%);
}

.public-profile--dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 184, 134, 0.28), transparent 20rem),
    #111722;
}

.public-profile--dark .public-profile__card {
  color: #fff;
  background: linear-gradient(145deg, rgba(19, 31, 35, 0.96), rgba(8, 12, 17, 0.94));
}

.public-profile--dark .public-profile__card p,
.public-profile--dark address,
.public-profile--dark small {
  color: rgba(255, 255, 255, 0.72);
}

.public-profile--minimal .public-profile__card {
  box-shadow: 0 18px 54px rgba(18, 32, 31, 0.12);
}

.public-profile address {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.public-profile__map {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.public-profile__map iframe {
  display: block;
  width: 100%;
  height: 210px;
  border: 0;
}

.public-profile small,
.public-profile__made {
  color: var(--muted);
  font-weight: 850;
}

.public-profile__made {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.public-profile__made:hover {
  color: var(--teal);
  transform: translateY(-1px);
}

.faq-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.faq-intro {
  margin-bottom: 16px;
}

.faq-intro h2 {
  max-width: 680px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.96;
}

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

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  grid-template-areas:
    "controls preview"
    "type preview"
    "settings preview";
  gap: 18px;
  align-items: stretch;
}

.panel,
.history-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.panel:hover,
.history-panel:hover,
.faq-panel:hover {
  border-color: rgba(15, 139, 141, 0.2);
  box-shadow: 0 28px 86px rgba(18, 32, 31, 0.18);
}

.controls-panel {
  grid-area: controls;
}

.qr-type-panel {
  grid-area: type;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.controls-panel,
.settings-panel {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.settings-panel {
  grid-area: settings;
}

.settings-title {
  display: none;
}

.field-group {
  display: grid;
  gap: 8px;
}

label,
.color-control span {
  color: #253735;
  font-size: 13px;
  font-weight: 800;
}

.url-row,
.file-row,
.range-row,
.toggle-row,
.download-row,
.history-title {
  display: flex;
  align-items: center;
}

.url-row {
  gap: 10px;
}

input[type="text"],
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
}

input[type="text"]:focus,
select:focus {
  border-color: rgba(15, 139, 141, 0.72);
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.14);
}

.field-note {
  min-height: 18px;
  margin: 0;
  color: #ab2f21;
  font-size: 13px;
}

.field-note.neutral {
  color: var(--muted);
}

.icon-button,
.text-button,
.download-button,
.template {
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.icon-button {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(16, 32, 31, 0.24);
}

.icon-button.create-button {
  flex-basis: auto;
  width: auto;
  min-width: 112px;
  padding: 0 18px;
}

.icon-button:hover,
.text-button:hover,
.download-button:hover,
.template:hover,
.account-action:hover,
.auth-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.icon-button:active,
.text-button:active,
.download-button:active,
.template:active,
.account-action:active,
.auth-button:active {
  transform: translateY(0) scale(0.985);
}

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

.template {
  display: grid;
  gap: 8px;
  min-height: 78px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.template.is-active {
  border-color: rgba(15, 139, 141, 0.64);
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.12);
}

.swatch {
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(20, 35, 34, 0.12);
}

.swatch.carbon {
  background: linear-gradient(135deg, #10201f, #0f8b8d);
}

.swatch.mint {
  background: linear-gradient(135deg, #0f766e, #d9a441);
}

.swatch.sunset {
  background: linear-gradient(135deg, #d95d39, #f6c85f);
}

.swatch.royal {
  background: linear-gradient(135deg, #262b6f, #37a2a6);
}

.swatch.ukraine {
  background: linear-gradient(180deg, #0057b7 0 50%, #ffd700 50% 100%);
}

.swatch.mono {
  background: linear-gradient(135deg, #111111, #8f9a9a);
}

.swatch.berry {
  background: linear-gradient(135deg, #7b2141, #f28a9b);
}

.swatch.paper {
  background:
    linear-gradient(135deg, rgba(97, 66, 36, 0.2), rgba(19, 41, 36, 0.7)),
    #f4ead9;
}

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

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

.range-row {
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

output {
  min-width: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.color-control {
  display: grid;
  gap: 8px;
  min-width: 0;
}

input[type="color"] {
  width: 100%;
  height: 48px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.toggle-row {
  flex-wrap: wrap;
  gap: 12px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: var(--ink);
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch span {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(20, 35, 34, 0.18);
  transition: background 160ms ease;
}

.switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(20, 35, 34, 0.18);
  content: "";
  transition: transform 160ms ease;
}

.switch input:checked + span {
  background: var(--teal);
}

.switch input:checked + span::after {
  transform: translateX(18px);
}

.file-row {
  gap: 10px;
  flex-wrap: wrap;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px dashed rgba(20, 35, 34, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.file-name {
  flex: 1 1 140px;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.text-button.ghost {
  background: rgba(255, 255, 255, 0.58);
}

.text-button.danger {
  color: #ab2f21;
}

.preview-panel {
  grid-area: preview;
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.preview-subtitle {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(28px, 4.3vw, 62px);
  line-height: 0.96;
}

h2 {
  font-size: 22px;
}

.qr-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 35, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 34, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.42);
  background-size: 24px 24px;
  overflow: hidden;
}

.qr-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(74vw, 430px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f5ef;
  box-shadow: 0 28px 80px rgba(16, 32, 31, 0.24);
  transition:
    background 160ms ease,
    transform 160ms ease;
  overflow: hidden;
}

.qr-card:not(.is-empty)::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 10px;
  background: linear-gradient(180deg, transparent, rgba(18, 184, 134, 0.22), transparent);
  animation: qrScan 2.9s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.qr-card.is-rendered {
  animation: qrReadyPulse 0.72s ease-out both;
}

.qr-card:hover {
  transform: translateY(-2px);
}

.qr-canvas {
  width: 82%;
  aspect-ratio: 1;
  animation: qrAppear 260ms ease both;
}

.qr-canvas canvas,
.qr-canvas svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.qr-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  width: min(78%, 280px);
  color: var(--ink);
  text-align: center;
}

.qr-empty__mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  grid-template-rows: repeat(3, 18px);
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(15, 139, 141, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  animation: hintFloat 2.4s ease-in-out infinite alternate;
}

.qr-empty__mark::before,
.qr-empty__mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(18, 184, 134, 0.52);
  border-radius: 14px;
  clip-path: polygon(0 0, 36% 0, 36% 10%, 10% 10%, 10% 36%, 0 36%, 0 0, 64% 0, 100% 0, 100% 36%, 90% 36%, 90% 10%, 64% 10%);
}

.qr-empty__mark::after {
  transform: rotate(180deg);
}

.qr-empty__mark i {
  border-radius: 5px;
  background: var(--forest);
}

.qr-empty__mark i:nth-child(4),
.qr-empty__mark i:nth-child(5) {
  background: var(--teal);
}

.qr-empty strong {
  font-size: 22px;
  line-height: 1;
}

.qr-empty p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.38;
}

.wifi-scan-demo {
  position: absolute;
  right: clamp(14px, 5vw, 44px);
  top: clamp(16px, 5vw, 42px);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
}

.wifi-phone {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 78px;
  border: 2px solid rgba(20, 35, 34, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(18, 32, 31, 0.13);
  animation: wifiPhoneScan 4.2s ease-in-out infinite;
}

.wifi-phone span {
  width: 26px;
  height: 26px;
  border: 3px solid var(--teal);
  border-radius: 9px;
}

.wifi-phone i {
  position: absolute;
  bottom: 8px;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: rgba(20, 35, 34, 0.22);
}

.wifi-connected {
  border: 1px solid rgba(15, 139, 141, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(18, 32, 31, 0.12);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  animation: wifiConnected 4.2s ease-in-out infinite;
}

.qr-card.is-empty ~ .wifi-scan-demo,
.qr-stage:has(.qr-card.is-empty) .wifi-scan-demo {
  opacity: 0;
  visibility: hidden;
}

.qr-card.is-empty {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.08), rgba(255, 255, 255, 0.7)),
    #f8f5ef;
}

.download-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 16px;
  color: #fff;
  background: var(--forest);
  text-align: center;
  text-decoration: none;
}

.download-button.secondary {
  background: var(--teal);
}

.download-button.accent {
  background: var(--coral);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(15, 139, 141, 0.28);
  outline-offset: 3px;
}

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

.history-panel {
  margin-top: 18px;
  padding: 18px;
}

.history-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

.history-empty {
  grid-column: 1 / -1;
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(20, 35, 34, 0.22);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
}

.history-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.history-link {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mini-swatch {
  width: 44px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(20, 35, 34, 0.12);
}

@media (min-width: 1081px) {
  .preview-panel {
    overflow: visible;
  }

  .qr-stage {
    align-items: start;
    overflow: visible;
    padding-top: clamp(120px, 18vh, 220px);
  }

  .qr-card {
    position: sticky;
    top: clamp(96px, 16vh, 150px);
  }
}

@media (max-width: 1080px) {
  .home-hero,
  .home-tools-grid,
  .home-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
    padding-block: 24px 34px;
  }

  .home-product-stack {
    min-height: 0;
  }

  .home-product-card,
  .home-product-card:nth-child(2),
  .home-product-card:nth-child(3) {
    justify-self: stretch;
    width: 100%;
  }

  .bp-hero-v2,
  .bp-pain-grid,
  .bp-steps,
  .bp-example-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-hero-v2 {
    min-height: 0;
  }

  .bp-hero-copy {
    grid-column: 1 / -1;
  }

  .bp-hero-preview {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .editor-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "controls"
      "preview"
      "type"
      "settings";
  }

  .preview-panel {
    min-height: 620px;
  }

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

  .color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .app-shell {
    padding: 10px;
  }

  .brand-bar,
  .preview-header {
    align-items: center;
    flex-direction: row;
  }

  .brand-bar {
    flex-wrap: wrap;
    min-height: 44px;
    margin-bottom: 10px;
  }

  .brand-mark {
    gap: 8px;
    font-size: 28px;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
    transform: scale(0.72);
    transform-origin: left center;
  }

  .bp-tour__bubble {
    max-height: min(42vh, 330px);
    overflow: auto;
  }

  .bp-tour__actions {
    grid-template-columns: 1fr 1fr;
  }

  .demo-back-link {
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-hero {
    gap: 18px;
    padding-top: 14px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 0.96;
  }

  .home-hero p {
    font-size: 15px;
  }

  .home-actions,
  .home-actions .download-button,
  .home-secondary {
    width: 100%;
  }

  .home-product-stack {
    min-height: 0;
  }

  .home-product-card {
    border-radius: 22px;
    padding: 16px;
  }

  .home-product-card strong {
    font-size: 22px;
  }

  .home-section,
  .home-final {
    padding: 16px;
    border-radius: 20px;
  }

  .home-section-head h2,
  .home-final h2 {
    font-size: 34px;
  }

  .home-tools-grid article {
    min-height: 0;
  }

  .home-tools-grid .download-button,
  .home-benefits span,
  .home-audience span {
    width: 100%;
  }

  .bp-hero-v2,
  .bp-pain-grid,
  .bp-steps,
  .bp-example-grid {
    grid-template-columns: 1fr;
  }

  .bp-hero-v2 {
    padding-top: 18px;
  }

  .bp-hero-v2 h1 {
    font-size: 46px;
  }

  .bp-hero-v2 p {
    font-size: 16px;
  }

  .bp-hero-preview {
    min-height: 390px;
  }

  .bp-build-feed {
    left: 10px;
    top: 14px;
    width: auto;
  }

  .bp-build-feed span {
    padding: 7px 9px;
    font-size: 11px;
  }

  .bp-profile-mockup {
    width: 100%;
    border-radius: 24px;
    padding: 24px;
  }

  .bp-profile-actions {
    grid-template-columns: 1fr;
  }

  .bp-qr-badge {
    right: 8px;
    bottom: 4px;
    transform: scale(0.82) rotate(3deg);
    transform-origin: right bottom;
  }

  .wifi-scan-demo {
    right: 10px;
    top: 10px;
    transform: scale(0.82);
    transform-origin: right top;
  }

  .bp-section,
  .bp-faq-panel,
  .bp-final-cta-v2 {
    padding: 16px;
  }

  .bp-section-head h2,
  .bp-final-cta-v2 h2 {
    font-size: 34px;
  }

  .bp-solution-strip {
    display: grid;
  }

  .bp-solution-strip strong {
    font-size: 19px;
  }

  .bp-feature-cloud span,
  .bp-audience-grid span {
    width: 100%;
    border-radius: 8px;
  }

  .status-pill {
    display: none;
  }

  .auth-box {
    margin-left: 0;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .top-nav a {
    justify-content: center;
    min-width: 0;
    min-height: 32px;
    padding: 0 6px;
    font-size: 11px;
  }

  .auth-button,
  .auth-user {
    min-height: 34px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .auth-user span {
    display: none;
  }

  .auth-user img {
    width: 24px;
    height: 24px;
  }

  .auth-user a {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .editor-grid {
    gap: 10px;
    align-items: start;
  }

  .controls-panel,
  .settings-panel,
  .preview-panel,
  .history-panel {
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 14px 42px rgba(18, 32, 31, 0.1);
  }

  .controls-panel {
    gap: 10px;
  }

  .settings-panel {
    gap: 14px;
    overflow: hidden;
  }

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

  .settings-title h2 {
    font-size: 18px;
  }

  .settings-title span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  label,
  .color-control span {
    font-size: 12px;
  }

  .field-group {
    gap: 6px;
  }

  .url-row {
    gap: 8px;
  }

  input[type="text"],
  select {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 11px;
    font-size: 16px;
  }

  .icon-button {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .template-strip {
    display: flex;
    gap: 8px;
    margin: 0 -12px;
    padding: 2px 12px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }

  .template-strip::-webkit-scrollbar {
    display: none;
  }

  .template {
    flex: 0 0 112px;
    min-height: 72px;
    padding: 8px;
    scroll-snap-align: start;
    gap: 7px;
  }

  .template span:last-child {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .swatch {
    height: 28px;
    border-radius: 7px;
  }

  .control-columns,
  .logo-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .control-columns .field-group:nth-child(4),
  .control-columns .field-group:nth-child(5),
  .control-columns .field-group:nth-child(6),
  .logo-tools .field-group {
    grid-column: 1 / -1;
  }

  .range-row {
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
  }

  output {
    min-width: 34px;
    font-size: 12px;
  }

  .color-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .color-control {
    gap: 5px;
  }

  .color-control span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  input[type="color"] {
    height: 38px;
    padding: 3px;
  }

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

  .switch {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    font-size: 13px;
  }

  .file-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .qr-mode-panel,
  .dynamic-actions,
  .soft-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qr-mode-card {
    padding: 12px;
  }

  .qr-mode-card strong {
    font-size: 14px;
  }

  .wifi-copy h1 {
    font-size: 32px;
  }

  .wifi-copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .security-note {
    width: 100%;
    border-radius: 8px;
  }

  .dynamic-actions .text-button {
    width: 100%;
  }

  .soft-modal {
    padding: 10px;
  }

  .soft-modal__card {
    padding: 16px;
  }

  .soft-modal__card p {
    font-size: 14px;
  }

  .soft-modal__actions .download-button,
  .soft-modal__actions .text-button {
    width: 100%;
  }

  .wifi-editor .download-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 6px 0 12px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-stats article {
    min-height: 96px;
    padding: 13px;
  }

  .admin-panel {
    padding: 12px;
  }

  .admin-panel__head,
  .admin-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-panel__head .download-button,
  .admin-toolbar .download-button {
    width: 100%;
  }

  .bp-hero,
  .bp-form-grid,
  .bp-benefits,
  .bp-demo-grid {
    grid-template-columns: 1fr;
  }

  .bp-hero {
    min-height: 0;
    gap: 16px;
  }

  .bp-hero h1,
  .bp-editor__intro h1 {
    font-size: 38px;
  }

  .bp-hero p,
  .bp-editor__intro p {
    font-size: 15px;
  }

  .bp-phone-demo,
  .public-profile__card {
    border-radius: 20px;
    padding: 22px;
  }

  .bp-section,
  .bp-final-cta,
  .bp-form {
    padding: 14px;
  }

  .bp-upload {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .bp-avatar-preview {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 24px;
  }

  .bp-style-options {
    grid-template-columns: 1fr;
  }

  .bp-style-card {
    min-height: 0;
  }

  .slug-row {
    grid-template-columns: 1fr;
  }

  .slug-row span {
    padding: 10px 12px 0;
  }

  .account-hero h1 {
    max-width: none;
    font-size: 42px;
  }

  .account-hero p {
    font-size: 14px;
  }

  .account-stat {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-width: 0;
  }

  .account-head,
  .account-item {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .account-item {
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .account-preview {
    width: 100%;
    min-height: 150px;
  }

  .account-item h2 {
    font-size: 18px;
  }

  .account-item__edit {
    grid-template-columns: 1fr;
  }

  .account-item__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .account-action--danger {
    grid-column: 1 / -1;
  }

  .account-action {
    min-width: 0;
  }

  .analytics-head {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .analytics-periods {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -12px;
    padding: 2px 12px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }

  .analytics-periods::-webkit-scrollbar {
    display: none;
  }

  .analytics-period {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    scroll-snap-align: start;
  }

  .analytics-periods {
    justify-content: flex-start;
  }

  .analytics-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .analytics-summary div:last-child {
    grid-column: 1 / -1;
  }

  .analytics-summary div {
    padding: 9px;
  }

  .analytics-summary strong {
    font-size: 18px;
  }

  .analytics-chart {
    min-height: 148px;
    padding: 22px 12px 30px;
    overflow: hidden;
  }

  .analytics-chart span {
    min-width: 7px;
    height: 86px;
  }

  .analytics-chart i {
    font-size: 10px;
  }

  .analytics-chart small {
    bottom: -20px;
    width: 100%;
    max-width: none;
    font-size: 9px;
  }

  .analytics-columns,
  .analytics-recent p {
    grid-template-columns: 1fr;
  }

  .analytics-recent p {
    gap: 3px;
  }

  .faq-panel {
    margin-top: 10px;
    padding: 14px;
    box-shadow: 0 14px 42px rgba(18, 32, 31, 0.1);
  }

  .faq-intro h2 {
    font-size: 26px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid article {
    padding: 12px;
  }

  .file-name {
    grid-column: 1 / -1;
    order: 3;
  }

  .file-picker {
    width: 100%;
    min-height: 42px;
  }

  .file-row .text-button {
    min-height: 42px;
  }

  .field-note {
    min-height: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .preview-panel {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    z-index: 20;
    grid-template-rows: auto minmax(178px, auto) auto;
    min-height: 326px;
    gap: 10px;
    overflow: visible;
  }

  .preview-header {
    align-items: flex-start;
    justify-content: space-between;
  }

  .eyebrow {
    display: block;
  }

  .preview-header {
    min-height: 38px;
  }

  .preview-header > div {
    min-width: 0;
  }

  .preview-header h1,
  .preview-header h2 {
    display: block;
    max-width: 230px;
    font-size: 15px;
    line-height: 1.12;
    white-space: normal;
  }

  .eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
  }

  h1 {
    max-width: 250px;
    font-size: 20px;
    line-height: 1.02;
  }

  .preview-header .text-button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .qr-stage {
    min-height: 184px;
    overflow: hidden;
  }

  .qr-card {
    width: min(52vw, 190px);
    box-shadow: 0 16px 44px rgba(16, 32, 31, 0.18);
  }

  .download-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .download-button {
    min-height: 42px;
    padding: 0 8px;
    font-size: 13px;
  }

  .history-panel {
    margin-top: 10px;
  }

  .history-title {
    margin-bottom: 10px;
  }

  h2 {
    font-size: 18px;
  }

  .history-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .history-item {
    padding: 10px;
  }
}
