#root .ym-app-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--ym-line);
  background:
    radial-gradient(ellipse at 80% 23%, #e2ebff 0, transparent 59%),
    linear-gradient(145deg, #fcfdff 5%, #f2f6fd 82%);
}

#root .ym-app-grid {
  display: grid;
  min-height: min(700px, calc(100svh - 68px));
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(32px, 4.6vw, 68px);
  padding-block: clamp(42px, 6.4vw, 90px);
}

#root .ym-app-copy { min-width: 0; }
#root .ym-app-version {
  margin-bottom: 10px;
  color: var(--ym-blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .016em;
}
#root .ym-app-copy h1 {
  max-width: 10em;
  color: var(--ym-ink);
  font-size: clamp(34px, 4.3vw, 61px);
  font-weight: 690;
  line-height: 1.13;
  letter-spacing: -.048em;
  text-wrap: balance;
}
#root .ym-app-summary {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--ym-body);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.65;
  text-wrap: pretty;
}
#root .ym-app-package {
  display: inline-grid;
  min-width: 176px;
  min-height: 56px;
  gap: 3px;
  align-content: center;
  margin-top: 26px;
  padding: 10px 15px;
  border: 1px solid var(--ym-blue);
  border-radius: var(--ym-control);
  background: var(--ym-blue);
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
#root a.ym-app-package:hover { background: var(--ym-blue-hover); box-shadow: 0 4px 15px #125cda30; }
#root a.ym-app-package:focus-visible { outline: 2px solid var(--ym-blue); outline-offset: 3px; }
#root .ym-app-package-label { font-size: 14px; font-weight: 660; line-height: 1.25; }
#root .ym-app-package-meta { color: #e2edff; font-size: 12px; line-height: 1.25; }
#root .ym-app-instructions { max-width: 39ch; margin-top: 16px; color: var(--ym-muted); font-size: 13px; line-height: 1.65; }
#root .ym-app-instructions summary { width: fit-content; color: var(--ym-body); cursor: pointer; }
#root .ym-app-instructions p { margin-top: 5px; }

#root .ym-app-preview {
  overflow: hidden;
  min-width: 0;
  padding: clamp(5px, .8vw, 10px);
  border: 1px solid #c3d5f0;
  border-radius: 17px;
  background: rgb(255 255 255 / 80%);
  box-shadow: 0 26px 65px -34px #173e7970, 0 3px 8px #173e7913;
}
#root .ym-app-preview img { display: block; width: 100%; height: auto; border-radius: 9px; }

@media (max-width: 850px) {
  #root .ym-app-grid { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #root .ym-app-copy h1 { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #root .ym-app-package { transition: none; }
}
