/* Voway — compact column + atmospheric page backdrop */

:root {
  --navy: #1a2b4c;
  --navy-deep: #0b1424;
  --cta: #ff6b35;
  --cta-press: #e85a28;
  --ink: #1a2b4c;
  --text-2: #44546a;
  --muted: rgba(26, 43, 76, 0.58);
  --line: rgba(26, 43, 76, 0.12);
  --shell: 720px;
  /* One family for EN + RU (Cyrillic included) */
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  position: relative;
  min-height: 100svh;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* —— Page backdrop (smooth, less banding) —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0b1424;
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(
      ellipse 80% 60% at 12% 18%,
      rgba(255, 120, 60, 0.2) 0%,
      rgba(255, 120, 60, 0.08) 35%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 70% 55% at 88% 12%,
      rgba(80, 140, 220, 0.22) 0%,
      rgba(80, 140, 220, 0.07) 40%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 90% 50% at 50% 100%,
      rgba(255, 149, 0, 0.1) 0%,
      transparent 60%
    ),
    linear-gradient(
      165deg,
      #0a1220 0%,
      #101c32 28%,
      #15243c 52%,
      #101a2e 78%,
      #0b1424 100%
    );
  filter: blur(0.6px);
  transform: translateZ(0);
}

.page-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.4;
  will-change: transform;
}

.page-bg-glow-a {
  width: 50vw;
  height: 50vw;
  left: -16%;
  top: 12%;
  background: rgba(255, 107, 53, 0.22);
  animation: floatA 20s ease-in-out infinite alternate;
}

.page-bg-glow-b {
  width: 55vw;
  height: 55vw;
  right: -22%;
  top: -12%;
  background: rgba(70, 130, 210, 0.24);
  animation: floatB 24s ease-in-out infinite alternate;
}

.page-bg-glow-c {
  width: 42vw;
  height: 42vw;
  left: 30%;
  bottom: -14%;
  background: rgba(255, 149, 0, 0.12);
  animation: floatA 28s ease-in-out infinite alternate-reverse;
}

/* Fine noise breaks visible gradient steps */
.page-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes floatA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(3%, 4%, 0);
  }
}

@keyframes floatB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-3%, 3%, 0);
  }
}

/* —— Centered shell —— */
.shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--shell));
  margin: 0 auto;
  min-height: 100svh;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 28px 90px rgba(0, 0, 0, 0.35);
}

@media (min-width: 760px) {
  body {
    padding: 1.75rem 1rem 2.75rem;
  }
  .shell {
    border-radius: 22px;
    overflow: hidden;
    min-height: calc(100svh - 3.5rem);
  }
}

/* —— Header —— */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
}

.top-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  color: #fff;
}

.tm {
  display: inline;
  margin-left: 0.08em;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
  line-height: 0;
  position: static;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: inline-flex;
  padding: 0.15rem;
  gap: 0.08rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font: 600 0.7rem/1 var(--font);
  letter-spacing: 0.05em;
  width: 2.55rem;
  min-width: 2.55rem;
  padding: 0.4rem 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
}

.lang button[aria-pressed="true"],
.lang button.is-active {
  background: #fff;
  color: var(--navy);
}

.top-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  min-width: 5.75rem;
  text-align: right;
}

/* —— Media + AI credit —— */
.media {
  position: relative;
}

.ai-credit {
  position: absolute;
  right: 0.55rem;
  bottom: 0.45rem;
  left: auto;
  top: auto;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transform: none;
  rotate: none;
  pointer-events: none;
  user-select: none;
}

/* —— Hero (dense, less empty air) —— */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: grid;
  min-height: clamp(460px, 70svh, 580px);
}

.hero .media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(11, 20, 36, 0.92) 0%,
      rgba(11, 20, 36, 0.72) 38%,
      rgba(11, 20, 36, 0.28) 68%,
      rgba(11, 20, 36, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 20, 36, 0.35) 0%,
      rgba(11, 20, 36, 0.15) 30%,
      rgba(11, 20, 36, 0.88) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  width: 100%;
  min-height: clamp(460px, 70svh, 580px);
  padding: 4.75rem 1.25rem 1.65rem;
  line-height: 1.45;
  box-sizing: border-box;
}

.brand {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.85rem, 6.2vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28ch;
}

.waitlist-anchor {
  width: 100%;
}

.waitlist-pin {
  width: 100%;
  box-sizing: border-box;
}

body.hero-ready .waitlist-pin.hero-anim {
  transform: none;
  filter: none;
  transition: none;
}

.waitlist-pin.is-pinned {
  position: fixed;
  top: 3.6rem;
  z-index: 200;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none !important;
  transition: none !important;
  box-sizing: border-box;
}

.waitlist {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.waitlist-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 28px rgba(15, 26, 48, 0.12);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-sizing: border-box;
}

.waitlist-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.waitlist input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 10px;
  padding: 0 0.85rem;
  font: 500 0.95rem/1.2 var(--font);
  color: var(--ink);
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.waitlist button,
.close-cta {
  flex: 0 0 auto;
  min-height: 2.75rem;
  height: 2.75rem;
  min-width: 11.5rem;
  border: 0;
  border-radius: 10px;
  padding: 0 1rem;
  font: 700 0.92rem/1.2 var(--font);
  color: #fff;
  background: var(--cta);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.waitlist-msg:empty {
  display: none;
}

.waitlist button:hover,
.close-cta:hover {
  background: var(--cta-press);
}

.waitlist-msg {
  margin: 0.35rem 0 0;
  min-height: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.waitlist-msg[data-state="ok"] {
  color: #b8f5c8;
}
.waitlist-msg[data-state="err"] {
  color: #ffc9c5;
}

/* —— Moments —— */
.moments {
  display: grid;
  gap: 0;
}

.moment {
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  position: relative;
  z-index: 0;
}

.moment .media {
  margin: 0;
  position: relative;
  z-index: 0;
}

.moment img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.moment-copy {
  padding: 1.15rem 1.2rem 1.35rem;
  background: #fff;
}

.moment:nth-child(even) .moment-copy {
  background: #f7f8fb;
}

.moment-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  min-height: 2.4em;
}

.moment-copy p:last-child {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  min-height: 4.2em;
}

.moment-kicker {
  margin: 0 0 0.35rem;
  color: var(--cta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 1.1em;
}

/* —— Close —— */
.close {
  padding: 1.6rem 1.2rem 1.8rem;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.close-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.close h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.close-body {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.close-body a {
  color: #fff;
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  padding: 1.35rem 1.2rem 1.7rem;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.footer-word {
  margin: 0 0 0.15rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.footer-word .tm {
  color: inherit;
  opacity: 0.8;
}

.brand .tm {
  font-size: 0.5em;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 40rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-top: 0.55rem;
}

.footer-sep {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
}

.footer-nav a {
  color: var(--text-2);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Legal —— */
.legal-page {
  min-height: 100svh;
  background: transparent;
}

.back-fab {
  position: fixed;
  top: 1.15rem;
  left: max(1rem, calc(50% - var(--shell) / 2 - 3.4rem));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.back-fab:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-1px);
}

.back-fab:active {
  transform: scale(0.96);
}

@media (max-width: 860px) {
  .back-fab {
    left: 0.85rem;
    top: auto;
    bottom: 1.25rem;
  }
}

.legal-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  width: min(100%, var(--shell));
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
}

.legal-word {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--navy);
}

.legal-top .lang {
  background: rgba(26, 43, 76, 0.06);
  border-color: var(--line);
}

.legal-top .lang button {
  color: var(--muted);
}

.legal-top .lang button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.legal-body {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto 2rem;
  padding: 2rem 1.2rem 3rem;
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.legal-body h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-body h2 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.legal-body p,
.legal-body li {
  color: var(--text-2);
  font-size: 0.95rem;
}

.legal-body ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.legal-body li {
  margin: 0.35rem 0;
}

/* EN disclaimer/liability: caps live in the copy (US conspicuousness).
   Do NOT use text-transform — it would force ALL CAPS on RU too. */
.legal-caps {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .page-bg-glow {
    animation: none;
  }

  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* —— Hero load motion only —— */
.hero-anim {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 140ms + 160ms);
}

body.hero-ready .hero-anim {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
