@font-face {
  font-family: Onest;
  src: url("/assets/onest-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url("/assets/onest-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url("/assets/onest-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090b;
  --text: #f8f8fa;
  --muted: #a1a4af;
  --accent: #ff983f;
  --edge: clamp(1.5rem, 5.7vw, 5.125rem);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.5 Onest, system-ui, sans-serif;
}
a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.shell { width: min(1600px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.site-header {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: block; width: 9.125rem; flex: none; border-radius: .4rem; }
.brand img { display: block; width: 100%; height: auto; }
.languages {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #292a30;
  border-radius: 2rem;
  background: #131418;
}
.languages a {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 1.5rem;
  padding: .13rem .25rem;
  border-radius: 2rem;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 800;
  text-decoration: none;
}
.languages a:hover { color: var(--text); }
.languages a[aria-current] { color: var(--accent); background: #322317; }
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.25rem, 1.5vw, 1.5rem);
  padding-block: 1rem 2.75rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.1vw, 5rem);
  line-height: 1.01;
  letter-spacing: -.065em;
  font-weight: 800;
  margin: 0;
}
html[lang="ru"] .hero h1 { font-size: clamp(2.7rem, 4.85vw, 4.7rem); }
.hero h1 span { display: block; }
.hero-lead { margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.45vw, 1.375rem); }
.mobile-break { display: none; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 2rem; }
.store-status {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border: 1px solid #33353d;
  border-radius: .75rem;
  background: #141519;
  color: #c4c6ce;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.store-status svg { flex: none; color: var(--muted); }
.soon { color: var(--accent); background: #2a211b; border-radius: 1rem; padding: .33rem .55rem; font-size: .75rem; font-weight: 800; }
.apple-badge, .apple-soon { border-radius: .55rem; }
.apple-badge img { display: block; width: 9.5rem; height: auto; }
.apple-soon { color: #161515; background: var(--text); border-color: #d7d7dc; }
.apple-soon .soon { color: #683809; background: #f0e4d7; }
.phone-stage {
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: .25rem 0;
}
.phone-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -4% 0;
  background:
    url("/assets/arcs.svg") center / 100% 93% no-repeat,
    radial-gradient(ellipse at 51% 57%, #fe812518, #fe81250c 36%, transparent 72%);
}
.phone { display: block; width: clamp(12.75rem, 18vw, 17rem); height: auto; position: relative; z-index: 1; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1.25rem;
  border-top: 1px solid #27282c;
  padding-block: .625rem;
  color: var(--muted);
  font-size: .875rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .1rem clamp(.85rem, 2vw, 2.25rem); }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.domain { white-space: nowrap; }

.legal main { flex: 1; }
.document { margin: 1.5rem auto 4rem; max-width: 46rem; line-height: 1.65; }
.document h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 4.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.045em; }
.document h2 { margin: 1.8rem 0 .4rem; font-size: clamp(1.125rem, 3vw, 1.45rem); line-height: 1.3; }
.document p { margin: .65rem 0; color: #c6c8d0; overflow-wrap: anywhere; }
.document a { color: var(--accent); text-underline-offset: .2em; }
.document .email-address { color: var(--text); font-weight: 600; }
.document .contact-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .5rem 1rem;
  border-radius: .65rem;
  background: var(--accent);
  color: #15110e;
  text-decoration: none;
  font-weight: 600;
}
.document .contact-button:hover { background: #ffaf67; }

@media (max-width: 64rem) {
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.5rem; padding-block: 2.4rem 3.4rem; }
  .hero-copy { text-align: center; }
  .hero h1, html[lang="ru"] .hero h1 { font-size: clamp(2.8rem, 8vw, 4.5rem); }
  .hero-lead { margin-top: 1.75rem; }
  .stores { justify-content: center; margin-top: 1.5rem; }
  .phone-stage { width: min(100%, 39rem); }
  .phone { width: clamp(12rem, 32vw, 16rem); }
  .phone-stage::before { inset: 7% 0 -11%; background-size: 100% 96%, auto; }
}
@media (max-width: 36rem) {
  :root { --edge: clamp(1rem, 6vw, 1.5rem); }
  .site-header { min-height: 4.8rem; }
  .brand { width: 7.5rem; }
  .hero { padding-block: 1.4rem 2.35rem; gap: 1.85rem; }
  .hero h1 { font-size: clamp(2.2rem, 11.7vw, 3.5rem); line-height: 1.03; }
  html[lang="ru"] .hero h1 { font-size: clamp(1.8rem, 8.8vw, 3rem); line-height: 1.26; }
  .hero-lead { margin-top: .9rem; font-size: 1rem; line-height: 1.35; }
  .mobile-break { display: initial; }
  .lead-dash { display: none; }
  .stores { gap: .55rem; margin-top: 1.45rem; }
  .store-status { min-height: 2.95rem; font-size: .875rem; padding-inline: .5rem; gap: .38rem; }
  .store-status svg { width: 1rem; }
  .apple-badge img { width: 8.5rem; }
  .phone-stage { width: 100%; }
  .phone { width: clamp(10rem, 50.8vw, 14rem); }
  .phone-stage::before { inset: 15% -1% -3%; }
  .site-footer { flex-direction: column; text-align: center; padding-block: .5rem; gap: 0; }
  .site-footer nav { justify-content: center; }
}
