
/* babki.one app flow: same fullscreen/glass approach as rabotaet.marketing.
   Keep the first-screen copy and button geometry in the original styles. */
.hero-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin: 19px auto 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #969696;
  font: 400 16px/20px 'Roboto', Arial, sans-serif;
  text-transform: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
.babki-app[hidden] { display: none !important; }
.babki-app {
  position: fixed;
  inset: 0;
  z-index: 11000;
  width: 100%;
  height: 100dvh;
  background: rgba(0,0,0,.80);
  color: #fff;
  isolation: isolate;
  overscroll-behavior: contain;
}
html.babki-app-open,
html.babki-app-open body {
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
}
html.babki-app-open body > .phone-shell {
  opacity: .22;
  -webkit-filter: blur(13px) saturate(75%);
  filter: blur(13px) saturate(75%);
  pointer-events: none;
}
.babki-app__surface {
  width: var(--screen-width, min(100vw, 480px));
  height: 100svh;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  outline: none;
}
.babki-app__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 44px), 354px);
  min-height: 100%;
  margin: 0 auto;
  padding: 34px 0 max(34px, env(safe-area-inset-bottom));
}
.babki-app__header {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.babki-app__back,
.babki-app__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #969696;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.babki-app__back { padding: 5px; }
.babki-app__back svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.babki-app__close { font: 400 22px/1 'Roboto', Arial, sans-serif; }
.babki-app__back:focus-visible,
.babki-app__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.babki-app__screen {
  width: 100%;
  margin: auto 0;
}
.babki-app__screen h2 {
  font: 900 clamp(24px, 7vw, 36px)/1.15 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .babki-app__screen { animation: babki-screen-in .23s ease-out both; }
  @keyframes babki-screen-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}
