:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff7f2;
  color: #281915;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(247, 71, 63, 0.13), transparent 34%),
    linear-gradient(220deg, rgba(33, 85, 97, 0.12), transparent 35%),
    #fff7f2;
}

.install-shell {
  display: grid;
  min-height: 100vh;
  padding: max(22px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
  place-items: center;
}

.install-card {
  width: min(100%, 480px);
  border: 1px solid rgba(40, 25, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(40, 25, 21, 0.16);
  padding: clamp(24px, 7vw, 42px);
}

.app-icon {
  display: block;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(247, 71, 63, 0.26);
}

.eyebrow {
  margin: 22px 0 8px;
  color: #a9342e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 13vw, 4.5rem);
  line-height: 0.95;
}

.tagline {
  margin: 16px 0 0;
  max-width: 34rem;
  color: #5b4944;
  font-size: 1.04rem;
  line-height: 1.55;
}

.install-actions {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.primary-action,
.text-action {
  min-height: 50px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.primary-action {
  border: 0;
  background: #f7473f;
  color: #fff;
  cursor: pointer;
}

.text-action {
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 25, 21, 0.16);
  color: #281915;
  text-decoration: none;
}

.steps {
  margin-top: 18px;
  border-top: 1px solid rgba(40, 25, 21, 0.12);
  padding-top: 18px;
}

.steps h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.steps ol,
.steps p {
  margin-bottom: 0;
  color: #5b4944;
  line-height: 1.55;
}

.steps li + li {
  margin-top: 8px;
}

.install-sheet {
  width: min(92vw, 430px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.install-sheet::backdrop {
  background: rgba(40, 25, 21, 0.5);
  backdrop-filter: blur(10px);
}

.sheet-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(40, 25, 21, 0.14);
  border-radius: 8px;
  background: #fffaf7;
  padding: 24px;
  box-shadow: 0 30px 90px rgba(40, 25, 21, 0.28);
}

.sheet-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.close-button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #5b4944;
  font: inherit;
  font-weight: 800;
}

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

.step-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(40, 25, 21, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.step-item span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(247, 71, 63, 0.14);
  color: #a9342e;
  font-weight: 900;
}

.step-item p,
.sheet-note {
  margin: 0;
  color: #5b4944;
  line-height: 1.45;
}

.sheet-note {
  border-radius: 8px;
  background: rgba(247, 71, 63, 0.1);
  color: #7d2c27;
  padding: 14px;
  font-weight: 700;
}

.sheet-back-link {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(40, 25, 21, 0.16);
  border-radius: 8px;
  color: #281915;
  font-weight: 900;
  text-decoration: none;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.feature-list span {
  border: 1px solid rgba(40, 25, 21, 0.12);
  border-radius: 8px;
  padding: 10px;
  color: #5b4944;
  font-size: 0.86rem;
  font-weight: 700;
}

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