/* Vezha "coming soon" page. No JavaScript, no third-party requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e2e6ef;
  --brand: #8a2e9e;   /* plum, hue ~290: away from the blues, Discord, Viber, Twitch */
  --brand-2: #4b1d6b; /* aubergine: the dark end of the metallic gradient */
  --brass: #c9a15a;
  --brand-ink: #ffffff;
  --amber: #f5a524;
  --green: #12a150;
  --bubble-in: #ffffff;
  --bubble-out: #7a2a8f;
  --bubble-out-ink: #ffffff;
  --chat-bg: #eef1f8;
  --frame: #111827;
  --glow-1: rgba(138, 46, 158, 0.16);
  --glow-2: rgba(201, 161, 90, 0.18);
  --shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35), 0 12px 24px -12px rgba(15, 23, 42, 0.2);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --surface: #121722;
    --surface-2: #1a2130;
    --text: #e8ecf4;
    --muted: #97a0b3;
    --line: #232b3b;
    --brand: #c27ad6;
    --brand-2: #8f4fb8;
    --brass: #e2c07e;
    --amber: #ffc24d;
    --green: #3ccf7f;
    --bubble-in: #1d2433;
    --bubble-out: #6f2a86;
    --chat-bg: #0f141e;
    --frame: #000000;
    --glow-1: rgba(160, 70, 190, 0.22);
    --glow-2: rgba(226, 192, 126, 0.08);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 12px 24px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.5;
  overflow-x: hidden;
}
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, var(--glow-1), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, var(--glow-2), transparent 70%);
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 22px; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; color: var(--brand); }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 14px; font-weight: 600; padding: 7px 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.eyebrow { margin: 0 0 16px; color: var(--brass); text-transform: uppercase; letter-spacing: .14em !important; font-weight: 650; font-size: 15px; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand) 0%, var(--brass) 55%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px 0 32px; max-width: 26em; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pill-strong { background: linear-gradient(135deg, #a64bb8, #6e2a8c 55%, #3f1a5c); color: var(--brand-ink); padding: 12px 20px; font-size: 15px; box-shadow: 0 10px 24px -10px #6e2a8c, inset 0 1px 0 rgba(255, 255, 255, .25); }
.platforms { color: var(--muted); font-size: 15px; font-weight: 500; }

/* Phones */
.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 290px; height: 600px; border-radius: 46px; padding: 11px;
  background: var(--frame); box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone-front { right: 40px; top: 10px; z-index: 2; }
.phone-back { right: 250px; top: 60px; transform: rotate(-8deg) scale(.9); opacity: .95; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--chat-bg); display: flex; flex-direction: column; font-size: 13px; }
.island { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }

.chat-head { display: flex; align-items: center; gap: 9px; padding: 46px 14px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.back { color: var(--brand); font-size: 26px; line-height: 1; margin-top: -3px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ffb547, #ff6a88); }
.who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.who strong { font-size: 14px; }
.who small { color: var(--green); font-size: 11.5px; }
.e2ee { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--green); }
.e2ee svg { width: 14px; height: 14px; }
.notice { margin: 10px auto 2px; padding: 5px 10px; font-size: 10.5px; color: var(--muted); background: var(--surface); border-radius: 10px; text-align: center; max-width: 86%; }

.msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 12px; overflow: hidden; }
.msg { margin: 0; max-width: 78%; padding: 8px 11px 6px; border-radius: 16px; line-height: 1.35; animation: rise .5s ease both; }
.msg time { display: block; text-align: right; font-size: 9.5px; opacity: .65; margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 5px; box-shadow: 0 1px 1px rgba(15, 23, 42, .06); }
.msg.out { align-self: flex-end; background: var(--bubble-out); color: var(--bubble-out-ink); border-bottom-right-radius: 5px; }
.msg.file { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.msg.file time { grid-column: 1 / -1; }
.file-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; background: rgba(255, 255, 255, .22); }
.msg.file span:last-of-type { display: flex; flex-direction: column; line-height: 1.25; }
.msg.file small { opacity: .8; font-size: 11px; }
.msgs .msg:nth-child(2) { animation-delay: .15s; } .msgs .msg:nth-child(3) { animation-delay: .3s; }
.msgs .msg:nth-child(4) { animation-delay: .45s; } .msgs .msg:nth-child(5) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing { margin: 0; align-self: flex-start; display: flex; gap: 4px; padding: 11px 13px; background: var(--bubble-in); border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.composer { display: flex; gap: 8px; align-items: center; padding: 10px 12px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.field { flex: 1; padding: 9px 14px; border-radius: 20px; background: var(--surface-2); color: var(--muted); }
.send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #a64bb8, #5b2280); font-size: 14px; }

.lock { align-items: center; padding-top: 80px; background: linear-gradient(180deg, var(--surface), var(--chat-bg)); }
.lock-mark { width: 54px; height: 54px; color: var(--brand); }
.lock-title { margin: 18px 0 14px; font-weight: 650; font-size: 16px; }
.pin { display: flex; gap: 14px; margin-bottom: 40px; }
.pin i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--muted); }
.pin i.on { background: var(--text); border-color: var(--text); }
.keys { display: grid; grid-template-columns: repeat(3, 62px); gap: 14px 22px; }
.keys b { height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 24px; font-weight: 500; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero-text { text-align: center; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .phones { height: 600px; max-width: 560px; width: 100%; margin-inline: auto; }
  .phone-front { right: 50%; translate: 62% 0; }
  .phone-back { right: 50%; translate: -18% 0; }
}
@media (max-width: 560px) {
  .top { padding: 16px 0; }
  .phones { height: 560px; }
  .phone { width: 270px; height: 556px; }
  .phone-front { translate: 50% 0; }
  .phone-back { display: none; }
  .foot { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
