* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #060508;
  color: #eee8ef;
  font-family: Arial, sans-serif;
  line-height: 1.8;
}
a {
  color: #e8d4ad;
}
header,
main,
footer {
  max-width: 1080px;
  margin: auto;
  padding: 30px 28px;
}
header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff18;
}
header a {
  text-decoration: none;
}
header strong {
  font-size: 25px;
}
nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
main {
  padding-block: 70px;
  min-height: 65vh;
}
h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -2px;
  max-width: 800px;
}
h2 {
  font-size: 25px;
  font-weight: 400;
  margin-top: 35px;
}
p {
  color: #b7a9c2;
  max-width: 760px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #b9a3ef;
}
.glass {
  padding: 30px;
  border: 1px solid #b9a3ef33;
  border-radius: 20px;
  background: linear-gradient(130deg, #231b2c, #100e16);
  margin-top: 35px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
label {
  display: block;
  margin: 18px 0 7px;
  font-size: 14px;
}
input {
  padding: 15px;
  width: 100%;
  border: 1px solid #b9a3ef44;
  background: #09070e;
  color: white;
  border-radius: 8px;
  font: inherit;
}
button,
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 23px;
  background: #e8d4ad;
  color: #1d1711;
  border: 0;
  border-radius: 7px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #b9a3ef;
  outline-offset: 4px;
}
.alpha-trap {
  position: absolute;
  left: -9999px;
}
.alpha-help,
.privacy-note {
  font-size: 12px;
}
footer {
  border-top: 1px solid #ffffff18;
}
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  padding: 24px 24px 24px 75px;
  position: relative;
  border: 1px solid #b9a3ef2a;
  background: #17121e;
  border-radius: 13px;
}
.steps li:before {
  content: "0" counter(step);
  position: absolute;
  left: 22px;
  top: 21px;
  font: 28px Georgia;
  color: #e8d4ad;
}
.steps strong {
  display: block;
  font-size: 19px;
  font-weight: 400;
}
.steps p {
  margin: 8px 0 0;
  font-size: 14px;
}
.legal-status {
  border-left: 2px solid #b9a3ef;
  padding: 15px 20px;
  background: #19131f;
  font-size: 13px;
}
.qr {
  width: 150px;
  background: white;
  padding: 12px;
  border-radius: 12px;
}
#alpha-status[data-error="true"] {
  color: #edb6bc;
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
  header {
    gap: 20px;
    flex-wrap: wrap;
  }
  nav {
    gap: 13px;
    font-size: 12px;
  }
  main {
    padding-top: 45px;
  }
  .glass {
    padding: 22px;
  }
}
@font-face {
  font-family: Inter;
  src: url(inter.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
body {
  font-family: Inter, Arial, sans-serif;
}

#contact-dialog {
  width: min(94vw, 620px);
  max-height: 90svh;
  overflow: auto;
  border: 1px solid #b9a3ef44;
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(140deg, #241a30, #0e0b13);
  color: #eee8ef;
}
#contact-dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(12px);
}
#contact-title {
  margin: 15px 35px 20px 0;
}
.contact-close {
  position: absolute;
  right: 16px;
  top: 10px;
  background: transparent;
  color: #e8d4ad;
  font-size: 28px;
  padding: 2px 12px;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 140px;
  max-height: 400px;
  border: 1px solid #b9a3ef44;
  background: #09070e;
  color: white;
  padding: 14px;
  font: inherit;
  border-radius: 8px;
}
textarea:focus-visible {
  outline: 2px solid #b9a3ef;
  outline-offset: 4px;
}
#contact-status[data-error="true"] {
  color: #f0b3c2;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  #contact-dialog {
    padding: 22px;
  }
}
.language-switch {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11px;
}
.language-switch a {
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  color: #aa92bd;
}
.language-switch a[aria-current="page"] {
  border-color: #e8d4ad44;
  color: #e8d4ad;
  background: #e8d4ad0a;
}
@font-face {
  font-family: Inter;
  src: url(/inter-cyrillic.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}
header {
  flex-wrap: wrap;
  gap: 20px;
}
footer > .language-switch {
  margin-top: 20px;
}
html[lang="ru"] h1 {
  letter-spacing: -1px;
}
@media (max-width: 600px) {
  header > .language-switch {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Direct contact action with a visible keyboard focus. */
.button-whatsapp {
  background: #25d366;
  color: #062b14;
}
.button-whatsapp:hover {
  background: #58e18b;
}
.button-whatsapp:focus-visible {
  outline: 3px solid #eee8ef;
  outline-offset: 4px;
}

/* Keep installation guides, legal pages and contact forms comfortable on phones. */
@media (max-width: 700px) {
  header,
  main,
  footer {
    padding-inline: 20px;
    overflow-wrap: anywhere;
  }
  header {
    gap: 12px;
    padding-block: 16px;
  }
  header > a,
  nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  nav {
    gap: 4px 20px;
    font-size: 14px;
  }
  .language-switch {
    font-size: 12px;
  }
  main {
    padding-block: 36px;
  }
  h1 {
    font-size: clamp(32px, 9vw, 52px);
    letter-spacing: -1px;
  }
  .grid > * {
    min-width: 0;
  }
  .glass {
    padding: 20px;
  }
  input,
  textarea {
    min-width: 0;
    font-size: 16px;
  }
  button,
  .button {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
  }
  .steps li {
    padding: 20px 16px 20px 54px;
  }
  .steps li::before {
    left: 14px;
    font-size: 23px;
  }
  #contact-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px;
    overscroll-behavior: contain;
  }
  .contact-close {
    min-width: 44px;
    min-height: 44px;
    margin: 0;
  }
}
