:root {
  --canvas: #ffffff;
  --tint: #f4f9fe;
  --tint-deep: #eaf3fc;
  --wash: #dceefb;
  --ink: #0e0e0f;
  --muted: #45454c;
  --accent: #3390ec;
  --accent-hover: #2b7fd4;
  --accent-soft: #e8f4fd;
  --line: hsla(0, 0%, 51%, 0.25);
  --shadow: 0 18px 50px rgba(14, 14, 15, 0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --font: Inter, system-ui, sans-serif;
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#contacts,
#pricing {
  scroll-margin-top: 88px;
}
body.landing {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 16px/1.5 var(--font);
  background: var(--canvas);
}
body.landing > main {
  flex: 1 0 auto;
}
html[data-page="/terms"] #page-home,
html[data-page="/privacy"] #page-home,
html[data-page="/refund"] #page-home,
html[data-page="/install"] #page-home {
  display: none !important;
}
#page-terms,
#page-privacy,
#page-refund,
#page-install {
  display: none;
}
html[data-page="/terms"] #page-terms,
html[data-page="/privacy"] #page-privacy,
html[data-page="/refund"] #page-refund,
html[data-page="/install"] #page-install {
  display: block;
}
img { display: block; }
a { color: var(--accent); }
button { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--muted);
  background: var(--tint);
}
.btn-text {
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 600;
  background: none;
  border: 0;
  text-decoration: none;
}
.btn-text:hover { color: var(--accent); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.brand img { display: block; }
.nav-desk {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.nav-desk a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-desk a:hover { color: var(--accent); }
.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  flex-shrink: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}
.header-actions[hidden] { display: none !important; }
html[data-auth="signed"] #headerGuest,
html[data-auth="signed"] [data-header-login],
html[data-auth="signed"] [data-header-register] {
  display: none !important;
}
@media (min-width: 961px) {
  html[data-auth="signed"] #headerSigned {
    display: flex !important;
  }
}
html[data-auth="signed"] #navMobUser {
  display: block !important;
}
html[data-auth="signed"] #navMobLogout {
  display: inline-flex !important;
}
.header-login {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.header-cta { min-height: 40px; padding: 0 14px; font-size: 0.95rem; }
.header-user {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 0.15rem 0 0.35rem;
}
.header-logout {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.header-logout:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}
.nav-mob {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
}
.nav-mob[hidden] { display: none !important; }
.nav-mob a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0;
}
.nav-mob-auth {
  margin-top: 0.35rem;
}
.nav-mob .btn {
  width: 100%;
  margin-top: 0.15rem;
}
.nav-mob-auth[hidden] { display: none !important; }
.nav-mob-user {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  word-break: break-all;
}
.nav-mob-user[hidden] { display: none !important; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--wash) 0%, transparent 65%),
    linear-gradient(180deg, var(--tint) 0%, #fff 72%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  text-align: center;
  max-width: 46rem;
}
.hero .pill { margin-bottom: 1.25rem; }
.hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.hero .accent { color: var(--accent); }
.lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 400;
}
.hero .lead {
  margin: 0 auto 2.25rem;
  max-width: 42rem;
  line-height: 1.65;
  padding: 0 0.75rem;
}
.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  min-height: 48px;
}
.hero-cta > [hidden] {
  display: none !important;
}

.hero-shot {
  position: relative;
  margin: 0 auto;
  max-width: 26.5rem;
  width: 100%;
}
.shot {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0 0.9rem;
  background: #dce6f0;
}
.shot-avatar {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.shot-peer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}
.shot-peer strong {
  font-size: 0.95rem;
  line-height: 1.2;
}
.shot-peer small {
  color: var(--muted);
  font-size: 0.75rem;
}
.shot-peer small::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #16a34a;
  vertical-align: 0.05rem;
}
.shot-thread {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.7rem 1.1rem;
  background-color: #b9ccd6;
  background-image: url("/chat/chat-wallpaper-ash.svg");
  background-size: 268px 268px;
}
.shot-thread p {
  margin: 0;
  width: fit-content;
  max-width: 88%;
  padding: 0.45rem 0.7rem;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 35, 47, 0.12);
  font-size: 0.95rem;
  line-height: 1.4;
}
.shot-out {
  align-self: flex-end;
  background: #eeffde;
  border-bottom-right-radius: 4px;
}
.shot-fix {
  align-self: center;
  max-width: 94%;
  background: #fff8c5;
  border-radius: 16px;
}
.shot-fix span {
  display: block;
  margin-bottom: 0.2rem;
  color: #9a6700;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shot-fix s { color: #cf222e; }
.shot-fix b { color: #117465; }
.shot-in {
  background: #fff;
  border-bottom-left-radius: 4px;
}

.section { padding: 5.5rem 0; }
.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section .pill { margin-bottom: 1rem; }
.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}
.section-kicker {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.pricing { background: var(--tint); }
.pricing-title,
.contacts-title,
.pay-title {
  margin: 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.bill-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: 4px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.pricing .wrap > .bill-toggle { display: flex; width: fit-content; }
.bill-toggle button {
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 0 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
}
.bill-toggle button[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}
.save {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  color: #c7d7ff;
}
.bill-toggle button[aria-selected="false"] .save { color: var(--accent); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  max-width: 46rem;
  margin-inline: auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(14, 14, 15, 0.04);
  overflow: hidden;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.price-head {
  margin: 0 -1.5rem 1.15rem;
  padding: 1.35rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.price-card.featured .price-head {
  background: var(--tint);
  border-bottom-color: rgba(51, 144, 236, 0.18);
}
.price-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.price-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--accent);
}
.price-card.featured .price-ico {
  background: var(--accent);
  color: #fff;
}
.price-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-for { margin: 0.2rem 0 1rem; color: var(--muted); }
.price-head .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.price-main small {
  margin-left: 0.15rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-eq {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.price-eq[hidden] { display: none !important; }
.price-note { margin: 0.25rem 0 1.1rem; color: var(--muted); font-size: 0.9rem; }
.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.price-card li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--muted);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 14px;
  height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233390ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-card li.is-limit::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M8 5.5V8l2 1.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-card li.is-basic::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 2.5h7A1.5 1.5 0 0 1 13 4v9.5l-2-1.2-2 1.2-2-1.2-2 1.2V4A1.5 1.5 0 0 1 4.5 2.5z'/%3E%3Cpath d='M6 5.5h4M6 8h4M6 10.5h2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-card li.is-no-progress::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.5V9M7 12.5V6.5M11 12.5V3.5'/%3E%3Cpath d='M2.5 13.5h11'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-card .btn { width: 100%; }

.pay-stub[hidden] { display: none !important; }
.pay-stub {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.pay-stub-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 15, 0.45);
}
.pay-stub-dialog {
  position: relative;
  width: min(26rem, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--ink);
  background: var(--tint);
}
.modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pay-stub-dialog h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.pay-stub-plan {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}
.pay-stub-dialog > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}
.pay-stub-dialog > p[hidden] {
  display: none !important;
}
.pay-stub-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.pay-stub-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.pay-promo {
  text-align: left;
  margin: 0;
}
.pay-promo[hidden] { display: none !important; }
.pay-promo label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.pay-promo-row {
  display: flex;
  gap: 0.4rem;
  min-width: 0;
}
.pay-promo-row input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  text-transform: uppercase;
}
.pay-promo-row .btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  white-space: nowrap;
}
.pay-promo-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.pay-promo-hint.is-ok { color: #1a7f37; }
.pay-promo-hint.is-error { color: #c62828; }
.pay-promo-hint[hidden] { display: none !important; }
.pay-promo-info {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0.35rem 0 0;
  padding: 0.25rem 0.55rem;
  max-width: 100%;
  background: #edf7ed;
  border: 1px solid #b7dfba;
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.3;
}
.pay-promo-info[hidden] { display: none !important; }
.pay-promo-info-title {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  color: #1a7f37;
}
.pay-promo-info-text {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: var(--ink);
}
.pay-points {
  margin: 0;
  padding: 0.5rem 0.7rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pay-points[hidden] { display: none !important; }
.pay-points-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.pay-points-check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.pay-points-check-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.pay-quote {
  margin: 0 0 1rem !important;
  padding: 0.75rem 1rem;
  background: var(--tint);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink) !important;
}
.pay-quote[hidden] { display: none !important; }

.pay-page {
  padding: 1.25rem 0 2rem;
  width: min(440px, calc(100% - 1.5rem));
}
.pay-page-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 0;
}
#payCheckout[hidden],
.pay-result[hidden] {
  display: none !important;
}
.pay-result {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.pay-result .pay-title {
  margin: 0 0 0.75rem;
}
.pay-result-status {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}
.pay-result-status.is-error {
  color: #cf222e;
}
.pay-success-register {
  text-align: left;
  margin: 0 0 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.pay-success-register[hidden] {
  display: none !important;
}
.pay-success-register .auth-switch {
  margin-top: 0.75rem;
  text-align: center;
}
.pay-success-register-lead {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.pay-success-register .pay-auth-status {
  margin-top: 0.65rem;
}
.pay-result-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
.pay-result-actions .btn {
  width: 100%;
  justify-content: center;
}
.pay-result-actions .btn[hidden] {
  display: none !important;
}
.pay-page .pay-title {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pay-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  max-width: none;
  text-align: left;
}
.pay-summary {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.8rem;
  background: var(--tint);
  border-radius: var(--radius);
}
.pay-bill-toggle {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  padding: 3px;
}
.pay-bill-toggle button {
  min-height: 32px;
  min-width: 0;
  padding: 0 0.55rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.pay-bill-toggle button[aria-selected="true"] {
  box-shadow: 0 2px 8px rgba(51, 144, 236, 0.35);
}
@media (max-width: 340px) {
  .pay-page-head {
    flex-wrap: wrap;
  }
  .pay-bill-toggle {
    width: 100%;
  }
  .pay-bill-toggle button {
    flex: 1;
  }
}
.pay-cta {
  display: grid;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
}
.pay-cta[hidden] { display: none !important; }
.pay-cta-actions {
  display: grid;
  gap: 0.45rem;
}
.pay-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.5rem 0.55rem 0.5rem 0.95rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}
@media (hover: hover) and (pointer: fine) {
  .pay-cta-btn:hover:not(.is-busy) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
  }
}
.pay-cta-btn:focus {
  outline: none;
}
.pay-cta-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pay-cta-btn:active {
  /* avoid sticky :active flash on iOS siblings */
  background: var(--accent);
  border-color: var(--accent);
}
.pay-cta-btn.is-busy,
.pay-cta-btn.is-busy:active {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  cursor: wait;
}
.pay-cta-actions.is-checkout-busy {
  pointer-events: none;
}
.pay-cta-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 0;
  line-height: 1.2;
}
.pay-cta-brands {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}
.pay-cta-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 16px;
}
.pay-cta-mark--visa {
  width: 36px;
}
.pay-cta-mark--sbp {
  width: 48px;
  height: 18px;
}
.pay-cta-mark img,
.pay-cta-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pay-cta-sbp {
  gap: 0;
}
.pay-summary-rows {
  margin: 0;
}
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  font-size: 0.875rem;
}
.pay-summary-row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.pay-summary-row dd {
  margin: 0;
  font-weight: 600;
}
#paySummaryDiscountRow dd,
#paySummaryPointsRow dd {
  color: #1a7f37;
}
.pay-price-market {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
}
.pay-price-now {
  font-weight: 700;
}
.pay-price-market-total .pay-price-now {
  font-size: 1.05rem;
}
.pay-price-was {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: line-through;
}
.pay-price-was[hidden],
.pay-price-badge[hidden] {
  display: none !important;
}
.pay-price-badge {
  display: inline-block;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  background: #e53935;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pay-summary-row[hidden] {
  display: none !important;
}
.pay-summary-total {
  margin-top: 0.2rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.pay-summary-total dt,
.pay-summary-total dd {
  color: var(--ink);
}
.pay-stub-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
.pay-checkout-form {
  display: grid;
  gap: 0.6rem;
  text-align: left;
  min-width: 0;
}
.pay-checkout-form .auth-field {
  gap: 0.25rem;
}
.pay-checkout-form .auth-field > label {
  font-weight: 600;
  font-size: 0.8125rem;
}
.pay-checkout-form .req {
  color: #cf222e;
  font-weight: 700;
  margin-left: 0.12em;
}
.pay-checkout-form .auth-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.pay-checkout-form .auth-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.pay-summary-row dd.pay-summary-accent {
  color: var(--accent);
}
.pay-checkout-form .pay-submit {
  width: 100%;
  margin-top: 0.15rem;
  min-height: 44px;
}
.pay-checkout-form .pay-submit[hidden] {
  display: none !important;
}
.pay-checkout-form .pay-stub-note {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.4;
}
.pay-checkout-form .pay-auth-status {
  margin: 0.75rem 0 0;
  min-height: 0;
  text-align: center;
}
.pay-checkout-form .pay-auth-status:empty {
  display: none;
}
.pay-email-block {
  margin: 0 0 1.25rem;
  text-align: left;
}
.pay-email-lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
.pay-email-done {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #1a7f37;
}
.pay-email-done[hidden] { display: none !important; }
.pay-auth-optional {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.pay-auth-optional[hidden] { display: none !important; }
.pay-auth-form {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  margin: 0 0 0.75rem;
}
.pay-auth-form[hidden] {
  display: none !important;
}
.auth-field {
  display: grid;
  gap: 0.4rem;
}
.auth-field > label,
.auth-captcha > label {
  font-weight: 600;
  font-size: 0.9rem;
}
.pay-auth-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.pay-auth-form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.password-field {
  position: relative;
}
.password-field input { padding-right: 2.75rem; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.password-toggle:hover { color: var(--ink); }
.password-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.password-toggle .eye-off { display: none; }
.password-toggle.is-on .eye-on { display: none; }
.password-toggle.is-on .eye-off { display: block; }
.pay-auth-form .btn { width: 100%; }
.auth-captcha {
  display: grid;
  gap: 0.5rem;
}
.auth-captcha[hidden] {
  display: none !important;
}
.auth-captcha-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pay-auth-form .auth-captcha-row input[type="text"] {
  width: 7rem;
  flex: 0 0 auto;
}
.pay-auth-form .auth-captcha-refresh {
  width: auto;
  min-height: 48px;
  min-width: 48px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}
.pay-auth-hint {
  margin: 0 0 0.5rem;
  text-align: left;
  color: var(--muted);
}
.pay-auth-status {
  margin: 0 0 1rem;
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.pay-auth-status.is-error { color: #cf222e; }
.pay-forgot {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.pay-forgot:disabled { opacity: 0.6; cursor: not-allowed; }
.pay-forgot[hidden] { display: none !important; }
.auth-switch {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.auth-switch button {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.auth-switch[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contacts { background: var(--canvas); }
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 0.5rem;
}
.contact-card,
.feedback-panel {
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-card {
  background: var(--tint);
  border-color: transparent;
}
.contact-card h3,
.feedback-panel h3 {
  margin: 0 0 1.35rem;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-list li {
  display: grid;
  gap: 0.2rem;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a,
.contact-list span:not(.contact-label) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}
.contact-list a:hover { color: var(--accent); }
.feedback-form {
  position: relative;
  display: grid;
  gap: 1rem;
}
.feedback-form[hidden],
.feedback-ok[hidden] {
  display: none !important;
}
.feedback-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.feedback-form textarea {
  min-height: 140px;
  resize: vertical;
}
.feedback-form input:focus-visible,
.feedback-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.feedback-form .btn { justify-self: start; }
.feedback-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.feedback-captcha-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.feedback-captcha-row input[type="text"] {
  width: 7rem;
  flex: 0 0 auto;
}
.feedback-captcha-refresh {
  min-height: 48px;
  min-width: 48px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}
.feedback-status {
  margin: 0;
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.feedback-status.is-error { color: #cf222e; }
.feedback-ok {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--wash);
  color: var(--accent);
  font-weight: 600;
}
.feedback-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--canvas);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid p { margin: 0.75rem 0 0; }
.footer-grid a {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink);
  text-decoration: none;
}
.footer-grid a:hover { color: var(--accent); }
.footer-grid .brand {
  display: inline-flex;
  margin-top: 0;
}
.footer-grid .brand:hover { color: var(--ink); }
.foot-h {
  margin: 0 !important;
  font-weight: 700;
  color: var(--ink);
}
.copy {
  margin-block: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.footer-requisites {
  margin: 0.5rem auto 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

.legal-main {
  padding: 3.5rem 0 4rem;
}
.legal-main h1 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.legal-main h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 600;
}
.legal-main p, .legal-main li { color: var(--muted); max-width: 42rem; }
.legal-main ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.legal-main li + li { margin-top: 0.35rem; }
.legal-main code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--tint);
}

.pay-methods {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: center;
}
.pay-methods-label {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.pay-methods-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
}
.pay-logo img,
.pay-logo svg {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  max-height: 16px;
  width: auto;
}
.pay-logo-sbp img {
  max-height: 18px;
  max-width: 48px;
}
.pay-logo-mir { color: #0f6cb2; }
.pay-logo-visa { color: #1a1f71; }
.pay-logo-mc { color: #eb001b; }
.pay-logo-sbp { color: #1d1346; }
.pay-methods-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.pay-methods-inline {
  margin: 1rem 0 0;
  max-width: none;
}
.pay-methods-inline .pay-methods-logos {
  justify-content: center;
}
.copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.copy a:hover { color: var(--accent); }

/* Install page — 8px rhythm, quiet hierarchy */
html[data-page="/install"] body.landing > main {
  position: relative;
  isolation: isolate;
}
html[data-page="/install"] body.landing > main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: min(28rem, 70svh);
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, var(--wash) 0%, transparent 70%),
    linear-gradient(180deg, var(--tint) 0%, transparent 100%);
  pointer-events: none;
}
html[data-page="/install"] body.landing > main > * {
  position: relative;
  z-index: 1;
}
.install-page {
  padding: 4rem 0 5rem;
  max-width: 40rem;
}
.install-page.wrap {
  width: min(40rem, calc(100% - 2.5rem));
}
.install-hero {
  margin: 0 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.install-page h1 {
  margin: 0 0 0.75rem;
  max-width: none;
}
.install-hero:has(.install-prompt:not([hidden])) h1 {
  margin-bottom: 1rem;
}
.install-lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36rem;
}
.install-prompt {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--radius-lg);
  background-color: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  box-shadow: 0 12px 36px rgba(51, 144, 236, 0.12);
  animation: install-prompt-in 260ms ease-out;
}
.install-prompt[hidden] {
  display: none !important;
}
.install-prompt[hidden] + .install-lead {
  margin-top: 0;
}
@keyframes install-prompt-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .install-prompt { animation: none; }
}
.install-prompt__social {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0;
}
.install-prompt__proof {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.install-prompt__proof strong {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.install-prompt__proof-day {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}
.install-prompt__proof-day strong {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.install-prompt__proof-day[hidden] {
  display: none !important;
}
.install-prompt-btn {
  margin: 0;
  width: auto;
  min-height: 54px;
  padding: 0 1.35rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  gap: 0.55rem;
  box-shadow: 0 10px 28px rgba(51, 144, 236, 0.28);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.install-prompt-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(51, 144, 236, 0.34);
}
.install-prompt-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(51, 144, 236, 0.24);
}
.install-prompt-btn__icon {
  flex-shrink: 0;
}
.install-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}
.install-toc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 0.15rem 0;
}
.install-toc a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.install-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.install-device {
  margin: 0;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.install-device:first-child {
  padding-top: 0.25rem;
}
.install-device:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.install-page .install-device h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.install-device h2 + .install-steps {
  margin-top: 0.65rem;
}
.install-device__intro {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9875rem;
  line-height: 1.5;
  max-width: 36rem;
}
.install-steps {
  margin: 0;
  padding: 0 0 0 1.35rem;
  max-width: 36rem;
}
.install-steps li {
  margin: 0 0 0.85rem;
  padding-left: 0.25rem;
  color: var(--muted);
  line-height: 1.55;
}
.install-steps li:last-child {
  margin-bottom: 0;
}
.install-steps strong {
  color: var(--ink);
  font-weight: 600;
}
.install-note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 36rem;
}
.install-cta {
  margin: 2.75rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .install-page {
    padding: 2.75rem 0 3.5rem;
  }
  .install-page.wrap {
    width: min(40rem, calc(100% - 1.5rem));
  }
  .install-hero {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  .install-device {
    padding: 1.75rem 0;
  }
  .install-cta {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
  }
  .install-cta .btn {
    flex: 1 1 auto;
  }
}

.page-404 .hero { min-height: calc(100svh - 73px); justify-content: center; padding-bottom: 4rem; }
.page-404 .code {
  margin: 0 0 0.5rem;
  color: rgba(51, 144, 236, 0.28);
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 960px) {
  .nav-desk { display: none; }
  .nav-toggle { display: block; }
  body.landing:not(:has(.nav-toggle)) .nav-toggle { display: none; }
  /* Auth lives in .nav-mob when the hamburger is shown. */
  .header-actions { display: none !important; }
  .price-grid, .footer-grid, .contacts-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 2.5rem 0 2.25rem; gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .header-bar { gap: 0.75rem; }
  .header-end { gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
