/* zappmeup.com marketing homepage */

:root {
  --ink: #0a0a0a;
  --ink-soft: #5a5b4c;
  --paper: #ffffff;
  --card: #ffffff;
  --line: #e7e4d3;
  --primary: #676b13;
  --primary-dark: #52550f;
  --primary-tint: #f1f3d2;
  --zap: #ede820;
  --zap-dim: #c9c518;
  --zap-ink: #1a1a05;
  --success: #17b26a;
  --on-dark-soft: rgba(255, 255, 255, 0.68);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -20px rgba(20, 20, 10, 0.3);
  --shadow-sm: 0 8px 20px -12px rgba(20, 20, 10, 0.32);
  --container: 1160px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #262620;
}

.btn-zap {
  background: var(--zap);
  color: var(--zap-ink);
  font-weight: 700;
}

.btn-zap:hover {
  background: var(--zap-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--ink);
}

.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: var(--on-dark-line);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

/* Auth pages */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.auth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.auth-sub {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.auth-form input {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.auth-form .btn {
  margin-top: 6px;
  width: 100%;
}

.auth-errors {
  list-style: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #fdecec;
  color: #b3261e;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.auth-errors li + li {
  margin-top: 4px;
}

.auth-switch {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-wrap .logo {
  color: var(--ink);
}

.dashboard-menu {
  margin-top: -8px;
}

.dashboard-menu a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.dashboard-menu a:hover {
  color: var(--primary);
}

.websites-card {
  margin-top: 24px;
}

.websites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.websites-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.website-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.website-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.website-name {
  font-weight: 600;
}

.website-url {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  word-break: break-all;
}

.website-url:hover {
  color: var(--primary);
}

/* Modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal-panel {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

.modal-panel h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.modal-actions .btn {
  width: auto;
  margin-top: 0;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
}

.nav .logo {
  font-size: 1.8rem;
}

.logo-glyph {
  height: 48px;
  width: auto;
  flex: none;
}

.logo-accent {
  color: var(--zap);
}

.logo-mark {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}

.logo-mark svg {
  width: 58px;
  height: 58px;
  color: var(--zap);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}

.nav-links a:hover {
  color: var(--zap);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--on-dark-line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 22px;
  border-bottom: 1px solid var(--on-dark-line);
  background: var(--ink);
}

.nav-mobile a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--on-dark-line);
}

.nav-mobile a:hover {
  color: var(--zap);
}

.nav-mobile .nav-actions {
  padding-top: 14px;
}

/* Hero */

.hero {
  padding: 88px 0 60px;
  overflow: hidden;
  background: var(--paper);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--zap);
  border: 1px solid rgba(237, 232, 32, 0.3);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}

.hero h1 .accent {
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex: none;
}

/* Phone mockup */

.hero-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-visual-caption {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MiIgaGVpZ2h0PSI3MiIgdmlld0JveD0iMCAwIDcyIDcyIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLDI2KSBzY2FsZSgxLjU1KSByb3RhdGUoLTEwKSI+CiAgICA8cGF0aCBkPSJNMTQuMzkgMTYuNiA0LjczIDE2LjYgNS42MiAxNS42OSA2LjI5IDE1LjAyIDkuMzMgMTEuOTcgMC42NyAxMS4zIDcuMzkgMTAuNzUgMTIuODEgMTAuMzMgMTIuMzQgMTAuODUgOS41MyAxMy44MiA4Ljg0IDE0LjU0IDE3LjE1IDE0LjE2WiIgZmlsbD0iIzBhMGEwYSIvPgogICAgPHBhdGggZD0iTTIzLjMzIDEyLjc1IDE0LjM0IDEzLjM4IDExLjIxIDEzLjU5IDExLjgxIDEyLjk2IDE1LjExIDkuNDUgNi45NiA5Ljg1IDkuNjcgNy40IDE5LjIxIDcuNDEgMTYuODIgOS43OSAxNS4zMyAxMS4yNSAxNC41MSAxMi4wNiAxOC4xOSAxMi4zNFoiIGZpbGw9IiMwYTBhMGEiLz4KICA8L2c+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzgsNjApIHNjYWxlKDEuNTUpIHJvdGF0ZSgtMTApIj4KICAgIDxwYXRoIGQ9Ik0xNC4zOSAxNi42IDQuNzMgMTYuNiA1LjYyIDE1LjY5IDYuMjkgMTUuMDIgOS4zMyAxMS45NyAwLjY3IDExLjMgNy4zOSAxMC43NSAxMi44MSAxMC4zMyAxMi4zNCAxMC44NSA5LjUzIDEzLjgyIDguODQgMTQuNTQgMTcuMTUgMTQuMTZaIiBmaWxsPSIjMGEwYTBhIi8+CiAgICA8cGF0aCBkPSJNMjMuMzMgMTIuNzUgMTQuMzQgMTMuMzggMTEuMjEgMTMuNTkgMTEuODEgMTIuOTYgMTUuMTEgOS40NSA2Ljk2IDkuODUgOS42NyA3LjQgMTkuMjEgNy40MSAxNi44MiA5Ljc5IDE1LjMzIDExLjI1IDE0LjUxIDEyLjA2IDE4LjE5IDEyLjM0WiIgZmlsbD0iIzBhMGEwYSIvPgogIDwvZz4KPC9zdmc+Cg==");
  background-size: 72px 72px;
  background-repeat: repeat;
  background-position: center center;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 40%, transparent 85%);
}

.hero-visual-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 187px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.phone {
  width: 260px;
  height: 540px;
  background: var(--ink);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 3;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  padding: 46px 20px 0;
}

.app-grid {
  margin-top: 30px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 13px;
  background: var(--card);
  box-shadow: 0 4px 10px rgba(20, 10, 60, 0.08);
}

.app-icon.hot {
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  animation: iconInstall 16s ease-in-out infinite;
}

.app-icon.hot svg {
  width: 88%;
  height: 88%;
  color: var(--zap);
}

.app-icon.hot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  border: 2px solid var(--zap);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes iconInstall {
  0%, 21% { opacity: 0; transform: scale(0.3); }
  26% { opacity: 1; transform: scale(1.15); }
  29%, 92% { opacity: 1; transform: scale(1); }
  97%, 100% { opacity: 0; transform: scale(0.3); }
}

.app-label {
  text-align: center;
  font-size: 0.55rem;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 600;
}

/* Realistic OS-style push notification, drops in below the notch */

.push-banner {
  position: absolute;
  top: 40px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 14px 30px rgba(20, 10, 60, 0.22);
  z-index: 4;
  animation: pushBanner 16s ease-in-out infinite;
}

.push-banner-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.push-banner-icon {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--ink);
  flex: none;
  display: grid;
  place-items: center;
}

.push-banner-icon svg {
  width: 14px;
  height: 14px;
  color: var(--zap);
}

.push-banner-app {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex: 1;
}

.push-banner-time {
  font-size: 0.56rem;
  color: var(--ink-soft);
}

.push-banner-title {
  display: block;
  font-size: 0.74rem;
  margin-bottom: 2px;
}

.push-banner-text {
  margin: 0;
  font-size: 0.68rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

@keyframes pushBanner {
  0%, 39% { opacity: 0; transform: translateY(-130%); }
  43% { opacity: 1; transform: translateY(6%); }
  46%, 63% { opacity: 1; transform: translateY(0); }
  69%, 100% { opacity: 0; transform: translateY(-130%); }
}

.install-prompt {
  position: relative;
  margin: auto 16px 20px;
  background: var(--card);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(20, 10, 60, 0.12);
  display: flex;
  gap: 10px;
  align-items: center;
  animation: installPrompt 16s ease-in-out infinite;
}

@keyframes installPrompt {
  0%, 8% { opacity: 1; transform: translateY(0); }
  19%, 93% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.install-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  flex: none;
  display: grid;
  place-items: center;
}

.install-icon svg {
  width: 23px;
  height: 23px;
  color: var(--zap);
}

.install-copy {
  flex: 1;
  min-width: 0;
}

.install-copy strong {
  display: block;
  font-size: 0.72rem;
}

.install-copy span {
  font-size: 0.64rem;
  color: var(--ink-soft);
}

.install-btn {
  position: relative;
  flex: none;
  background: var(--zap);
  color: var(--zap-ink);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  animation: installPress 16s ease-in-out infinite;
}

@keyframes installPress {
  0%, 8% { transform: scale(1); }
  10% { transform: scale(0.88); }
  13%, 100% { transform: scale(1); }
}

.tap-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(28, 29, 7, 0.22);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  animation: tapRipple 16s ease-in-out infinite;
}

@keyframes tapRipple {
  0%, 7% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  10% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  16%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

@media (prefers-reduced-motion: reduce) {
  .install-prompt,
  .install-btn,
  .tap-dot,
  .app-icon.hot,
  .app-icon.hot::after,
  .push-banner,
  .chip-1,
  .chip-2 {
    animation: none;
  }

  .install-prompt {
    display: none;
  }

  .push-banner {
    opacity: 1;
    transform: none;
  }

  .app-icon.hot {
    opacity: 1;
    transform: scale(1);
  }

  .chip-1 {
    display: none;
  }

  .chip-2 {
    opacity: 1;
    transform: none;
  }
}

.float-chip {
  position: absolute;
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 7px 14px 7px 7px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
}

.chip-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--zap);
  font-size: 0.68rem;
  font-weight: 800;
  -webkit-text-stroke: 0.5px var(--zap);
  flex: none;
  display: grid;
  place-items: center;
}

.chip-1 {
  top: 10%;
  left: -4%;
  animation: chipPop1 16s ease-in-out infinite;
}

.chip-2 {
  bottom: 16%;
  right: -6%;
  animation: chipPop2 16s ease-in-out infinite;
}

@keyframes chipPop1 {
  0%, 8% { opacity: 1; transform: scale(1) translateY(0); }
  19%, 92% { opacity: 0; transform: scale(0.85) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes chipPop2 {
  0%, 39% { opacity: 0; transform: scale(0.85) translateY(6px); }
  43%, 63% { opacity: 1; transform: scale(1) translateY(0); }
  69%, 100% { opacity: 0; transform: scale(0.85) translateY(6px); }
}

/* Section shell */

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow {
  display: block;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0;
  border-radius: 0;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* Feature grid */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  min-width: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--zap);
  color: var(--zap-ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.6;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
  color: #fff;
}

.feature-card p {
  color: var(--on-dark-soft);
  font-size: 0.94rem;
  margin: 0;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
  padding-top: 8px;
  min-width: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--zap);
  font-weight: 800;
  font-size: 1.1rem;
  -webkit-text-stroke: 0.6px var(--zap);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.step-code {
  margin-top: 16px;
  background: var(--ink);
  color: var(--zap);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Comparison */

.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid var(--line);
  min-width: 0;
}

.compare-card.win {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.compare-card h3 {
  margin: 0 0 18px;
  font-size: 1.1rem;
}

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.compare-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.compare-card li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

.compare-card:not(.win) li svg {
  color: #c7c4b3;
}

.compare-card.win li svg {
  color: var(--zap);
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured .price-desc,
.price-card.featured .price-amount span {
  color: var(--on-dark-soft);
}

.price-card.featured li {
  color: rgba(255, 255, 255, 0.9);
}

.price-card.featured li svg {
  color: var(--zap);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--zap);
  color: var(--zap-ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.price-card .price-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 20px;
}

.price-card .price-note {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0 0 20px;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 9px;
  font-size: 0.9rem;
  align-items: flex-start;
}

.price-card li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex: none;
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
}

/* CTA banner */

.cta-banner {
  background: var(--ink);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.cta-banner p {
  color: var(--on-dark-soft);
  max-width: 46ch;
  margin: 0 auto 30px;
  font-size: 1.02rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */

.footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 46px;
}

.footer-brand p {
  color: var(--on-dark-soft);
  font-size: 0.9rem;
  max-width: 30ch;
  margin: 14px 0 0;
}

.footer h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.4);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--zap);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--on-dark-line);
  color: #fff;
  display: grid;
  place-items: center;
}

.social-links a:hover {
  color: var(--zap);
  border-color: var(--zap);
}

.social-links svg {
  width: 15px;
  height: 15px;
}

/* Feature cards: clickable, open a demo */

[x-cloak] {
  display: none !important;
}

.feature-card {
  cursor: pointer;
}

.feature-card:focus-visible {
  outline: 2px solid var(--zap);
  outline-offset: 3px;
}

.feature-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--zap);
}

.feature-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.feature-card:hover .feature-card-cta svg {
  transform: translateX(3px);
}

/* Feature demo modal */

.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.feature-modal-panel {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
}

.feature-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.feature-modal-close svg {
  width: 16px;
  height: 16px;
}

.feature-modal-close:hover {
  background: var(--paper);
}

.feature-demo-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-demo h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  padding-right: 28px;
}

.feature-demo > p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 28px;
}

.demo-stage {
  display: flex;
  justify-content: center;
}

/* Shared desktop mockup */

.demo-desktop {
  width: 100%;
  max-width: 420px;
  background: var(--ink);
  border-radius: 16px;
  padding: 10px;
}

.demo-desktop-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 10px;
}

.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex: none;
}

.demo-desktop-url {
  margin-left: 10px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.demo-desktop-screen {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

/* Shared phone mockup, sized for the modal */

.demo-phone {
  width: 200px;
  height: 420px;
}

/* Demo: one script tag */

.demo-code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.demo-code-indent {
  padding-left: 20px;
}

.demo-code-script {
  color: var(--ink);
  display: flex;
  align-items: center;
}

.demo-code-type {
  display: inline-block;
  border-radius: 3px;
  opacity: 0;
  animation: demoPasteIn 8s ease-in-out infinite, demoPasteFlash 8s ease-out infinite;
}

@keyframes demoPasteIn {
  0%, 14% { opacity: 0; }
  16%, 100% { opacity: 1; }
}

@keyframes demoPasteFlash {
  0%, 14% { background-color: transparent; }
  16% { background-color: rgba(237, 232, 32, 0.6); }
  30%, 100% { background-color: transparent; }
}

.demo-code-toast {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  background: var(--zap);
  color: var(--zap-ink);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  animation: demoToast 8s ease-in-out infinite;
}

.demo-toast-icon svg {
  width: 16px;
  height: 16px;
}

@keyframes demoToast {
  0%, 48% { opacity: 0; transform: translateY(8px); }
  55%, 88% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; transform: translateY(8px); }
}

/* Demo: push notifications (tighter standalone loop) */

.demo-push-banner {
  animation: demoPushOnly 6s ease-in-out infinite;
}

@keyframes demoPushOnly {
  0%, 12% { opacity: 0; transform: translateY(-130%); }
  20% { opacity: 1; transform: translateY(6%); }
  24%, 70% { opacity: 1; transform: translateY(0); }
  80%, 100% { opacity: 0; transform: translateY(-130%); }
}

/* Demo: smart install prompts (tighter standalone loop) */

.install-prompt.demo-install-prompt {
  animation: demoInstallPrompt 8s ease-in-out infinite;
}

.install-btn.demo-install-btn {
  animation: demoInstallPress 8s ease-in-out infinite;
}

.tap-dot.demo-tap-dot {
  animation: demoTapRipple 8s ease-in-out infinite;
}

.app-icon.demo-hot-icon {
  animation: demoIconPop 8s ease-in-out infinite;
}

@keyframes demoInstallPrompt {
  0%, 16% { opacity: 1; transform: translateY(0); }
  38%, 96% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes demoInstallPress {
  0%, 16% { transform: scale(1); }
  20% { transform: scale(0.88); }
  26%, 100% { transform: scale(1); }
}

@keyframes demoTapRipple {
  0%, 15% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  20% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  30%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

@keyframes demoIconPop {
  0%, 40% { opacity: 0; transform: scale(0.3); }
  46% { opacity: 1; transform: scale(1.15); }
  50%, 92% { opacity: 1; transform: scale(1); }
  97%, 100% { opacity: 0; transform: scale(0.3); }
}

/* Demo: store publishing */

.demo-publish-screen {
  text-align: center;
  padding: 26px 20px 22px;
}

.demo-publish-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.demo-publish-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--zap);
  display: grid;
  place-items: center;
}

.demo-publish-icon svg {
  width: 50px;
  height: 50px;
}

.demo-publish-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.demo-publish-reveal {
  opacity: 0;
  transform: translateY(-8px);
  animation: demoPublishReveal 8s ease-in-out infinite;
}

@keyframes demoPublishReveal {
  0%, 25% { opacity: 0; transform: translateY(-8px); }
  35%, 82% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(-8px); }
}

.demo-publish-arrow {
  display: flex;
  justify-content: center;
  color: var(--line);
  margin-bottom: 10px;
}

.demo-publish-arrow svg {
  width: 18px;
  height: 18px;
}

.demo-publish-listings {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.demo-store-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  width: 100%;
  max-width: 280px;
  text-align: left;
}

.demo-store-platform {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.demo-store-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-store-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--zap);
  display: grid;
  place-items: center;
  flex: none;
}

.demo-store-icon svg {
  width: 32px;
  height: 32px;
}

.demo-store-info {
  flex: 1;
  min-width: 0;
}

.demo-store-info strong {
  display: block;
  font-size: 0.78rem;
}

.demo-store-info span {
  display: block;
  font-size: 0.68rem;
  color: var(--zap-dim);
  letter-spacing: 0.02em;
}

.demo-store-get {
  flex: none;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}

/* Demo: install & push analytics */

.demo-analytics-screen {
  padding: 26px 22px 22px;
}

.demo-stat-row {
  display: flex;
  gap: 26px;
  margin-bottom: 22px;
}

.demo-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.demo-stat span {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.demo-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
}

.demo-bar {
  flex: 1;
  background: var(--zap);
  border-radius: 5px 5px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  height: calc(30px + (var(--i) * 10px));
  animation: demoBarGrow 4s ease-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes demoBarGrow {
  0%, 4% { transform: scaleY(0); }
  35%, 85% { transform: scaleY(1); }
  95%, 100% { transform: scaleY(0); }
}

/* Demo: offline & fast */

.demo-signal {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.demo-wifi-on,
.demo-wifi-off {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
}

.demo-wifi-on {
  animation: demoWifiOn 8s ease-in-out infinite;
}

.demo-wifi-off {
  opacity: 0;
  animation: demoWifiOff 8s ease-in-out infinite;
}

@keyframes demoWifiOn {
  0%, 24% { opacity: 1; }
  30%, 93% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes demoWifiOff {
  0%, 24% { opacity: 0; }
  30%, 93% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

.demo-offline-banner {
  position: absolute;
  top: 40px;
  left: 10px;
  right: 10px;
  z-index: 4;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  opacity: 0;
  transform: translateY(-130%);
  animation: demoOfflineBanner 8s ease-in-out infinite;
}

.demo-offline-banner svg {
  width: 15px;
  height: 15px;
  flex: none;
}

@keyframes demoOfflineBanner {
  0%, 22% { opacity: 0; transform: translateY(-130%); }
  28% { opacity: 1; transform: translateY(4%); }
  32%, 42% { opacity: 1; transform: translateY(0); }
  48%, 100% { opacity: 0; transform: translateY(-130%); }
}

.demo-shop {
  margin-top: 34px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-shop-card {
  background: var(--card);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.08);
}

.demo-shop-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-shop-image {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--line);
  flex: none;
}

.demo-shop-info {
  flex: 1;
  min-width: 0;
}

.demo-shop-info strong {
  display: block;
  font-size: 0.72rem;
}

.demo-shop-info span {
  display: block;
  font-size: 0.66rem;
  color: var(--ink-soft);
}

.demo-shop-btn {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  animation: demoShopTap 8s ease-in-out infinite;
}

@keyframes demoShopTap {
  0%, 53% { transform: scale(1); }
  57% { transform: scale(0.9); }
  62%, 100% { transform: scale(1); }
}

.demo-shop-tap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  animation: demoShopRipple 8s ease-in-out infinite;
}

@keyframes demoShopRipple {
  0%, 52% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  57% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  65%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

.demo-speed-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--zap);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  animation: demoSpeedChip 8s ease-in-out infinite;
}

.demo-speed-chip svg {
  width: 14px;
  height: 14px;
  flex: none;
}

@keyframes demoSpeedChip {
  0%, 46% { opacity: 0; transform: translateY(6px); }
  52%, 90% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(6px); }
}

/* Responsive */

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

  .hero-visual-col {
    order: -1;
    margin-bottom: 12px;
  }

  .phone {
    width: 220px;
    height: 460px;
  }

  .features,
  .steps,
  .compare,
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav > .wrap > .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile.open {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .features,
  .steps,
  .compare,
  .pricing,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .feature-modal {
    padding: 16px;
  }

  .feature-modal-panel {
    padding: 30px 20px;
  }

  .demo-phone {
    width: 180px;
    height: 380px;
  }
}

/* Client dashboard shell */

.dash {
  display: flex;
  min-height: 100vh;
  background: var(--paper);
}

.dash-sidebar {
  width: 264px;
  flex: none;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
}

.dash-sidebar-top {
  padding: 4px 8px 20px;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
}

.dash-logo-glyph {
  height: 30px;
  width: auto;
  flex: none;
}

/* App switcher */

.dash-switcher {
  position: relative;
  margin-bottom: 20px;
}

.dash-app-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line);
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: inherit;
}

.dash-app-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dash-app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--zap);
  color: var(--zap-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex: none;
  overflow: hidden;
}

.dash-app-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-app-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dash-app-name {
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-app-url {
  font-size: 0.74rem;
  color: var(--on-dark-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-app-devices {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--on-dark-soft);
  flex: none;
}

.dash-app-devices svg {
  width: 14px;
  height: 14px;
}

.dash-switcher-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-switcher-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dash-switcher-row form {
  flex: none;
}

.dash-switcher-item {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-switcher-delete {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.dash-switcher-delete svg {
  width: 15px;
  height: 15px;
}

.dash-switcher-delete:hover {
  background: #fdecec;
  color: #b3261e;
}

.dash-switcher-item:hover,
.dash-switcher-item.is-active {
  background: var(--primary-tint);
}

.dash-switcher-add {
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.dash-switcher-add:hover {
  background: var(--primary-tint);
}

.dash-app-empty {
  margin-bottom: 20px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line);
  text-align: center;
}

.dash-app-empty p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

.dash-app-empty-btn {
  width: 100%;
}

/* Sidebar nav */

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dash-nav-group,
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--on-dark-soft);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

.dash-nav-group svg,
.dash-nav-item > svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.dash-nav-group span {
  flex: none;
}

.dash-nav-group span:nth-child(2) {
  flex: 1;
}

.dash-nav-group:hover,
.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dash-nav-item.is-active {
  background: rgba(237, 232, 32, 0.12);
  color: #fff;
}

.dash-nav-group.is-active {
  color: #fff;
}

.dash-nav-item.is-active .dash-nav-icon {
  color: var(--zap);
}

.dash-nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
}

.dash-nav-icon svg {
  width: 15px;
  height: 15px;
}

.dash-nav-icon-analytics {
  background: linear-gradient(135deg, var(--zap), #7a86ff);
  color: #0a0a0a;
}

.dash-chevron {
  transition: transform 0.15s ease;
  margin-left: auto;
  width: 16px !important;
  height: 16px !important;
}

.dash-chevron.is-open {
  transform: rotate(180deg);
}

.dash-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 10px 8px 10px;
}

.dash-nav-subitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 28px;
  border-radius: var(--radius-sm);
  color: var(--on-dark-soft);
  font-weight: 600;
  font-size: 0.87rem;
  text-decoration: none;
}

.dash-nav-subitem:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dash-nav-subitem.is-active {
  background: rgba(237, 232, 32, 0.12);
  color: #fff;
}

.dash-nav-subitem.is-active .dash-nav-icon {
  color: var(--zap);
}

.dash-nav-subitem .dash-nav-icon {
  width: 22px;
  height: 22px;
}

.dash-nav-subitem .dash-nav-icon svg {
  width: 13px;
  height: 13px;
}

.dash-soon {
  display: inline-block;
  padding: 2px 10px 0 38px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* Sidebar bottom */

.dash-sidebar-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--on-dark-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.dash-account:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dash-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--zap);
  color: var(--zap-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex: none;
}

.dash-account-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.dash-logout-form {
  padding: 0 10px;
}

.dash-logout {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--on-dark-soft);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
}

.dash-logout:hover {
  color: #fff;
}

/* Main area */

.dash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dash-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 20px 32px;
  background: var(--ink);
  color: #fff;
}

.dash-menu-toggle {
  display: none;
}

.dash-page-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  color: #fff;
}

.dash-back-link svg {
  width: 20px;
  height: 20px;
}

.dash-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-csv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.dash-csv-btn svg {
  width: 16px;
  height: 16px;
}

.dash-range {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark-soft);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.dash-content {
  padding: 32px;
  flex: 1;
}

.dash-messages {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  background: #eafbea;
  color: #1e7e34;
}

.dash-message-error {
  background: #fdecec;
  color: #b3261e;
}

/* Stat cards */

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.dash-stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
}

.dash-help {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: help;
}

/* Chart panel */

.dash-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.dash-panel-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  text-align: center;
}

.dash-panel-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-panel-value {
  font-size: 2rem;
  font-weight: 800;
}

.dash-chart {
  position: relative;
  min-height: 260px;
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 220px;
  padding: 0 8px;
}

.dash-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.dash-chart-bar {
  width: 100%;
  max-width: 48px;
  background: var(--line);
  border-radius: 6px 6px 0 0;
}

.dash-chart-label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.dash-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 0 40px;
}

.dash-chart-empty p {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.dash-chart-empty span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 360px;
}

/* Placeholder pages */

.dash-placeholder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 60px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 40px auto;
}

.dash-placeholder-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-placeholder h2 {
  margin: 4px 0 0;
  font-size: 1.3rem;
}

.dash-placeholder p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

@media (max-width: 860px) {
  .dash-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    cursor: pointer;
    flex: none;
    font-family: inherit;
  }

  .dash-menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow);
  }

  .dash-sidebar.is-open {
    transform: translateX(0);
  }

  .dash-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    z-index: 49;
  }

  .dash-topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .dash-page-title {
    white-space: nowrap;
  }

  .dash-topbar-actions {
    flex: 1 1 100%;
  }

  .dash-content {
    padding: 20px;
  }
}

/* Push notification list */

.dash-notif-list {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.dash-notif-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.dash-notif-row-clickable {
  cursor: pointer;
}

.dash-notif-row-clickable:hover {
  background: var(--primary-tint);
}

.dash-notif-row:last-child {
  border-bottom: none;
}

.dash-notif-title {
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-notif-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  flex: none;
}

.dash-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  flex: none;
}

.dash-status-badge.is-draft {
  background: var(--line);
  color: var(--ink-soft);
}

.dash-status-badge.is-scheduled {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.dash-status-badge.is-sent {
  background: rgba(23, 178, 106, 0.12);
  color: var(--success);
}

.dash-notif-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.dash-notif-action-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.dash-notif-action-btn svg {
  width: 16px;
  height: 16px;
}

.dash-notif-action-btn:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.dash-notif-action-danger:hover {
  background: #fdecec;
  color: #b3261e;
}

/* Push notification builder */

.dash-builder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.dash-builder-preview {
  position: sticky;
  top: 32px;
  display: flex;
  justify-content: center;
}

.push-preview-phone {
  width: 280px;
  height: 580px;
  background: var(--ink);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow);
  flex: none;
}

.push-preview-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #14142b, #0a0a18);
  position: relative;
  padding: 60px 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.push-preview-time {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.push-preview-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  margin-bottom: 28px;
}

.push-preview-banner {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 12px 14px;
  color: #fff;
}

.push-preview-modal-card {
  background: linear-gradient(180deg, #14142b, #0a0a18);
  border-radius: 18px;
  padding: 18px;
  margin: 20px 0;
}

.push-preview-banner-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.push-preview-banner-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--zap);
  color: var(--zap-ink);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 800;
  flex: none;
}

.push-preview-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.push-preview-banner-app {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.push-preview-banner-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  flex: none;
}

.push-preview-banner-title {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.push-preview-banner-text {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.dash-builder-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.dash-card {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--on-dark-line);
}

.dash-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--zap);
  color: var(--zap-ink);
  display: grid;
  place-items: center;
  flex: none;
}

.dash-card-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.dash-card-heading {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.dash-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.dash-card-sub {
  font-size: 0.82rem;
  color: var(--on-dark-soft);
}

.dash-recipient-pill {
  background: var(--zap);
  color: var(--zap-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  flex: none;
}

.dash-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.dash-field-label:not(:first-child) {
  margin-top: 10px;
}

.dash-field-hint {
  font-size: 0.78rem;
  color: var(--on-dark-soft);
  margin-top: -2px;
}

.dash-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}

.dash-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.dash-file-input {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
  font-family: inherit;
}

.dash-recipients-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-recipient-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--on-dark-line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark-soft);
}

.dash-recipient-chip svg {
  width: 14px;
  height: 14px;
}

.dash-add-filter {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.dash-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--on-dark-line);
}

.dash-toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 3px;
  cursor: pointer;
  flex: none;
  transition: background 0.15s ease;
}

.dash-toggle.is-on {
  background: var(--zap);
}

.dash-toggle-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.dash-toggle.is-on .dash-toggle-knob {
  transform: translateX(18px);
}

.dash-schedule-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.dash-schedule-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-dark-soft);
}

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

  .dash-builder-preview {
    position: static;
  }

  .push-preview-phone {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Floating "enable notifications" prompt for installed visitors */

.notify-enable-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: var(--zap);
  color: var(--zap-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.notify-enable-btn:hover {
  background: var(--zap-dim);
}

/* Dashboard home */

.dash-welcome {
  margin-bottom: 24px;
}

.dash-welcome h2 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.dash-welcome p {
  margin: 0;
  color: var(--ink-soft);
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.dash-quick-action {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.dash-quick-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Image uploads (push notification builder) */

.dash-card .dash-help {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.dash-field-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dash-upload-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--on-dark-line);
  cursor: pointer;
}

.dash-upload-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dash-upload-preview {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  margin-right: auto;
}

.dash-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-upload-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--zap);
  color: var(--zap-ink);
  font-weight: 700;
  font-size: 0.82rem;
  flex: none;
}

.dash-icon-scale {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--on-dark-line);
}

.dash-icon-scale-preview {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
  cursor: grab;
  touch-action: none;
}

.dash-icon-scale-preview:active {
  cursor: grabbing;
}

.dash-icon-scale-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-icon-scale-control {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-zoom-slider {
  width: 100%;
  accent-color: var(--zap);
}

/* Settings: My PWA */

.dash-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-color-input {
  width: 42px;
  height: 42px;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid var(--on-dark-line);
  background: none;
  cursor: pointer;
  flex: none;
}

/* Settings: Get Started */

.dash-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  color: var(--on-dark-soft);
  font-weight: 600;
}

.dash-checklist-item.is-done {
  color: #fff;
}

.dash-checklist-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--on-dark-line);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--zap-ink);
}

.dash-checklist-item.is-done .dash-checklist-mark {
  background: var(--zap);
  border-color: var(--zap);
}

.dash-checklist-mark svg {
  width: 13px;
  height: 13px;
}

/* Settings: Danger Zone */

.dash-card-danger {
  border-color: rgba(224, 82, 82, 0.4);
}

.dash-card-icon-danger {
  background: #fdecec;
  color: #b3261e;
}

.dash-danger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dash-danger-row strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.dash-danger-btn {
  background: transparent;
  border: 1px solid #e05252;
  color: #ff8080;
  flex: none;
}

.dash-danger-btn:hover {
  background: rgba(224, 82, 82, 0.15);
}

.dash-danger-row + .dash-danger-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--on-dark-line);
}

/* App ID / API key display */

.dash-embed-row {
  display: flex;
}

.dash-embed-code {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--on-dark-line);
  color: #fff;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82rem;
  overflow-x: auto;
  white-space: nowrap;
}

/* Get Started: resend action */

.dash-checklist-item {
  flex-wrap: wrap;
}

.dash-checklist-label {
  flex: 1;
  color: inherit;
  text-decoration: none;
}

a.dash-checklist-label:hover {
  text-decoration: underline;
}

.dash-checklist-item.is-clickable {
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.dash-checklist-item.is-clickable:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dash-checklist-action {
  flex: none;
}

.dash-checklist-resend {
  background: none;
  border: none;
  color: var(--zap);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

.dash-checklist-resend:hover {
  text-decoration: underline;
}

/* Install widget preview */

.dash-widget-preview {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--on-dark-line);
}

.dash-widget-preview .install-prompt {
  margin: 0;
  animation: none;
}

.dash-widget-preview .install-icon {
  color: var(--zap);
}

/* Billing */

.dash-plan-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 16px;
}

.dash-plan-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-dark-soft);
}

.dash-plan-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-plan-features li {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
  padding-left: 20px;
  position: relative;
}

.dash-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--zap);
}

.dash-plan-current {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.dash-quick-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.dash-quick-actions .btn[disabled]:hover {
  transform: none;
}

.dash-home-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--on-dark-soft);
  text-decoration: none;
}

.dash-home-link:hover {
  color: #fff;
}

.dash-home-link svg {
  width: 13px;
  height: 13px;
  flex: none;
}
