:root {
  --bg: #f3f3f3;
  --surface: #fff;
  --s2: #f7f7f7;
  --border: #e8e8e8;
  --b2: #d9d9d9;
  --text: #202020;
  --t2: #777;
  --t3: #a6a6a6;
  --accent: #ffbd00;
  --r: 24px;
  --rsm: 17px;
}

body {
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 189, 0, .18), transparent 28rem),
    #ececeb;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.phone {
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.viewport {
  border-radius: 29px;
}

.brand-logo,
.lp-hero-logo,
.inapp-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img,
.inapp-logo img {
  display: block;
  width: 104px;
  height: auto;
}

.lp-hero-logo img {
  display: block;
  width: 96px;
  height: auto;
  filter: invert(1) brightness(2);
}

.inapp-logo img {
  filter: invert(1) brightness(2);
}

.brand-logo > span,
.lp-hero-logo > span,
.inapp-logo > span {
  display: none;
  font-weight: 760;
  letter-spacing: -.04em;
}

html[lang="en"] .brand-logo img,
html[lang="en"] .lp-hero-logo img,
html[lang="en"] .inapp-logo img {
  display: none;
}

html[lang="en"] .brand-logo > span,
html[lang="en"] .lp-hero-logo > span,
html[lang="en"] .inapp-logo > span {
  display: inline;
}

.cta {
  min-height: 54px;
  border-radius: 18px;
  background: var(--accent);
  color: var(--text);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}

.cta:active,
.ad-inline:active,
.ok-ad:active,
.lp-tile:active,
.lp-ad:active {
  transform: scale(.985);
}

.lang span,
.p-object,
.pb,
.ad-inline,
.wait-ad,
.ok-ad,
.off-steps,
.lp-host,
.lp-quote,
.lp-tile,
.lp-ad {
  border-color: rgba(0, 0, 0, .055);
}

.lang span.on,
.ok-ad-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
  font-weight: 700;
}

.p-object,
.lang span {
  border-radius: 999px;
}

.portal-signal {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(255, 189, 0, .25);
}

.auth-wrap {
  min-height: 100%;
  padding: 34px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 28px;
}

.exclusive-offers {
  margin-top: 18px;
  text-align: left;
}

.exclusive-offers .ok-sl {
  margin-top: 0;
}

.exclusive-intro {
  margin: -2px 0 12px;
  color: var(--t2);
  font-size: 12px;
  line-height: 1.45;
}

.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.exclusive-item {
  min-height: 72px;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .035);
}

.exclusive-grid span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff3c7;
  font-size: 18px;
}

.exclusive-grid strong {
  font-size: 11px;
  line-height: 1.2;
}

.auth-h {
  font-size: 22px;
  font-weight: 750;
  text-align: center;
  letter-spacing: -.03em;
}

.auth-s {
  margin: 8px auto 24px;
  max-width: 280px;
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.auth-label {
  margin: 0 4px 7px;
  color: var(--t2);
  font-size: 11px;
  font-weight: 650;
}

.auth-input {
  width: 100%;
  height: 56px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  font-size: 18px;
  outline: none;
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 189, 0, .18);
}

.auth-code {
  text-align: center;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: .34em;
}

.auth-error {
  display: none;
  margin: -3px 4px 12px;
  color: #b3261e;
  font-size: 11px;
}

.auth-back {
  margin-top: 12px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--t2);
  font-size: 12px;
  cursor: pointer;
}

.pb,
.ad-inline,
.wait-ad,
.ok-ad,
.lp-host,
.lp-quote,
.lp-tile,
.lp-ad,
.off-steps {
  border-radius: 18px;
}

.fill {
  background: var(--accent);
}

.ok-badge {
  background: #ddf7e4;
  color: #3b9460;
}

.controls {
  background: rgba(32, 32, 32, .97);
  border-radius: 26px 26px 0 0;
}

.seg button.on,
.net-sw button.on {
  background: var(--accent);
  color: var(--text);
}

.net-sw button.on.off {
  background: #fff;
  color: var(--text);
}

.sys-sheet {
  border-radius: 24px;
}

@media (max-width: 520px) {
  body {
    padding: 0 0 158px;
    background: var(--bg);
  }

  .phone {
    width: 100%;
    height: calc(100dvh - 158px);
    min-height: 520px;
    padding: 0;
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
  }

  .viewport {
    border-radius: 0;
  }

  .controls {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
