.landing {
  position: relative; z-index: 1;
  max-width: 460px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 18px calc(env(safe-area-inset-bottom) + 32px);
  text-align: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.brand img { border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; margin: 22px 0 10px; letter-spacing: -.5px; }
h1 em { font-style: normal; background: linear-gradient(180deg, var(--orange-1), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); margin: 0 auto 22px; max-width: 400px; }

.preview { max-width: 340px; margin: 0 auto 24px; }
.preview .board { border-radius: 22px; }

.cta { display: grid; gap: 12px; margin-bottom: 26px; }
.open-web { color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

.features { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.features li {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 6px; display: grid; gap: 2px;
}
.features b { font-size: 18px; color: var(--orange-1); }
.features span { font-size: 12px; color: var(--muted); line-height: 1.25; }
.note { font-size: 12px; color: #5f6b88; margin: 0; }

/* in-app escape bar */
.escape {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: linear-gradient(180deg, #2a1a10, #20140d);
  border-bottom: 1px solid rgba(255, 177, 92, .35);
  font-size: 14px; text-align: left;
}
.escape__btn {
  flex: none; padding: 8px 14px; border-radius: 10px; font-weight: 700; text-decoration: none;
  background: linear-gradient(180deg, var(--orange-1), var(--orange-2));
}

/* steps sheet */
.sheet { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 14, .7); backdrop-filter: blur(4px); }
.sheet__card {
  position: relative; text-align: left;
  width: 100%; max-width: 520px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 26px 20px calc(env(safe-area-inset-bottom) + 22px);
  animation: up .28s ease-out;
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet__x { position: absolute; right: 12px; top: 8px; font-size: 30px; color: var(--muted); width: 44px; height: 44px; }
.sheet h2 { margin: 0 0 16px; font-size: 21px; }
.steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center;
  background: var(--panel-2); border-radius: 14px; padding: 12px;
}
.steps li::before {
  content: counter(s); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(180deg, var(--blue-1), var(--blue-2));
}
.steps b { color: #fff; }
.ico { display: inline-block; vertical-align: -4px; width: 20px; height: 20px; color: var(--blue-1); }
.sheet__hint { font-size: 13px; color: var(--muted); display: grid; gap: 10px; }
.sheet__hint[hidden] { display: none; }
