body {
  margin: 0;
}

.demo-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 34%),
    #f7faf9;
  color: #172026;
  font-family: Arial, sans-serif;
}

.demo-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid #d7dee3;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.demo-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-card h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.demo-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #33424c;
}

.pwa-install-box {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(370px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #d7dee3;
  border-radius: 12px;
  background: #ffffff;
  color: #172026;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  font-family: Arial, sans-serif;
  display: none;
  box-sizing: border-box;
  transform: translateY(8px);
  opacity: 0;
}

.pwa-install-box.is-visible {
  display: block;
  animation: pwaInstallPop 180ms ease-out forwards;
}

@keyframes pwaInstallPop {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-install-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #52616b;
}

.pwa-install-close:hover {
  background: #eef3f2;
}

.pwa-install-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding-right: 34px;
  margin-bottom: 10px;
}

.pwa-install-appicon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0f766e;
  position: relative;
}

.pwa-install-appicon::before,
.pwa-install-appicon::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
}

.pwa-install-appicon::before {
  width: 20px;
  height: 3px;
  left: 11px;
  top: 20px;
}

.pwa-install-appicon::after {
  width: 3px;
  height: 20px;
  left: 20px;
  top: 11px;
}

.pwa-install-title {
  font-size: 17px;
  font-weight: 700;
}

.pwa-install-subtitle {
  margin-top: 2px;
  font-size: 13px;
  color: #52616b;
}

.pwa-install-text {
  font-size: 14px;
  line-height: 1.45;
  color: #33424c;
}

.pwa-install-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.pwa-install-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 34px;
}

.pwa-install-step + .pwa-install-step {
  margin-top: 8px;
}

.pwa-install-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef3f2;
  color: #0f766e;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.pwa-install-step-icon-dots::before {
  content: "...";
  transform: translateY(-2px);
}

.pwa-install-step-icon-more::before {
  content: "...";
  width: 22px;
  height: 22px;
  border: 2px solid #0f766e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 10px;
  transform: translateY(-1px);
}

.pwa-install-step-icon-share::before {
  content: "";
  width: 13px;
  height: 15px;
  border: 2px solid #0f766e;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  transform: translateY(3px);
}

.pwa-install-step-icon-share::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0f766e;
  border-right: 2px solid #0f766e;
  transform: rotate(-45deg);
  top: 8px;
}

.pwa-install-step-icon-home::before,
.pwa-install-step-icon-addscreen::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #0f766e;
  border-radius: 4px;
}

.pwa-install-step-icon-home::after,
.pwa-install-step-icon-addscreen::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #0f766e;
  border-radius: 2px;
}

.pwa-install-step-icon-addscreen span,
.pwa-install-step-icon-home span {
  display: none;
}

.pwa-install-step-icon-addscreen {
  overflow: hidden;
}

.pwa-install-step-icon-addscreen::after {
  box-shadow: 0 0 0 0 #0f766e;
}

.pwa-install-step-icon-addscreen {
  background:
    linear-gradient(#0f766e, #0f766e) center / 2px 10px no-repeat,
    #eef3f2;
}

.pwa-install-actions {
  margin-top: 12px;
}

.pwa-install-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.pwa-install-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pwa-install-chip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #0f766e;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  display: none;
}

.pwa-install-chip.is-visible {
  display: grid;
  place-items: center;
}

.pwa-install-chip span {
  width: 24px;
  height: 24px;
  border: 2px solid #ffffff;
  border-radius: 6px;
  position: relative;
}

.pwa-install-chip span::before,
.pwa-install-chip span::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
}

.pwa-install-chip span::before {
  width: 12px;
  height: 2px;
  left: 4px;
  top: 10px;
}

.pwa-install-chip span::after {
  width: 2px;
  height: 12px;
  left: 9px;
  top: 5px;
}
