/* Сцена сайта-прототипа: рамка iPhone и боковая панель */
html, body { height: 100%; }
body {
  margin: 0;
  background: #efebe6;
  color: #1d1d1b;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", sans-serif;
  overflow: hidden;
}
.stage {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}
.device {
  position: relative;
  flex: none;
  width: calc(393px * var(--s, 1));
  height: calc(852px * var(--s, 1));
  border-radius: calc(56px * var(--s, 1));
  overflow: hidden;
  overflow: clip;
  background: #000;
  box-shadow: 0 0 0 calc(10px * var(--s, 1)) #1d1d1b, 0 30px 80px rgba(0, 0, 0, 0.25);
}
.screen-host {
  position: absolute;
  top: 0;
  left: 0;
  width: 393px;
  height: 852px;
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
}
/* В iOS полосы прокрутки не видны: прячем их внутри экрана, прокрутка остаётся */
.screen-host * { scrollbar-width: none; }
.screen-host *::-webkit-scrollbar { display: none; }
.info { width: 280px; display: flex; flex-direction: column; gap: 12px; }
.info__logo { width: 150px; height: auto; margin-bottom: 8px; }
.info h1 { margin: 0; font-size: 28px; line-height: 34px; }
.info p { margin: 0; font-size: 16px; line-height: 22px; color: #55555c; }
.info p.info__note { margin-top: -6px; font-size: 13px; line-height: 18px; color: #6b6b73; }
.info__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--stage-accent-soft, rgba(185, 82, 10, 0.12));
  color: var(--stage-accent-deep, #9a4408);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.info__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info__btn:hover { background: var(--stage-accent-soft-hover, rgba(185, 82, 10, 0.18)); }
/* Подпись автора: иконка EVO Mobile + две строки, вся плашка — ссылка на сайт */
.info__by { align-self: flex-start; margin-top: 40px; display: flex; align-items: center; gap: 12px; color: #1d1d1b; text-decoration: none; }
.info__by img { width: 44px; height: 44px; border-radius: 10px; display: block; flex: none; }
.info__by > span { display: flex; flex-direction: column; }
.info__by-cap { font-size: 13px; line-height: 18px; color: #6b6b73; }
.info__by-name { font-size: 16px; line-height: 21px; font-weight: 700; }
.info__by:hover .info__by-name { color: var(--stage-accent, #b9520a); }
.info__main { display: flex; flex-direction: column; gap: 12px; }
.info__open { display: none; }

/* Планшет: компактная панель над телефоном */
body.is-tablet .stage { flex-direction: column; gap: 24px; }
body.is-tablet .info { width: min(92vw, 720px); flex-direction: row; align-items: center; gap: 20px; }
body.is-tablet .info__logo { width: 96px; margin: 0; }
body.is-tablet .info__main { flex: 1; gap: 2px; }
body.is-tablet .info h1 { font-size: 20px; line-height: 25px; }
body.is-tablet .info p { font-size: 14px; line-height: 19px; }
body.is-tablet .info p.info__note { margin-top: 0; font-size: 12px; }
body.is-tablet .info__btn { display: none; }
body.is-tablet .info__by { margin: 0; }
body.is-tablet .info__by img { width: 36px; height: 36px; border-radius: 8px; }

/* Телефон: сначала вводный экран, потом телефон в рамке по центру (как на компьютере) */
body.is-mobile .stage { gap: 0; }
body.is-mobile .info {
  position: fixed; inset: 0; z-index: 10; width: auto;
  padding: 48px 24px calc(32px + env(safe-area-inset-bottom));
  background: #efebe6; overflow-y: auto;
  justify-content: center; gap: 16px;
}
body.is-mobile .info__logo { width: 140px; }
body.is-mobile .info__btn { display: none; }
body.is-mobile .info__open {
  display: flex; align-items: center; justify-content: center;
  margin-top: 12px; height: 54px; border: 0; border-radius: 14px;
  background: var(--stage-accent, #b9520a); color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
body.is-mobile .info__by { margin-top: 32px; }
body.is-mobile.intro-done .info { display: none; }
