:root {
  color-scheme: dark;
  --bg: #030607;
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.72);
  --soft: rgba(248, 251, 255, 0.48);
  --cyan: #87e9ff;
  --blue: #78b6ff;
  --lime: #eaff8e;
  --panel: rgba(5, 12, 16, 0.86);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: #010203;
  isolation: isolate;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: 63% 42%;
  opacity: 0.64;
  transform: scale(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 32%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.14) 36%, rgba(0, 0, 0, 0.82) 100%);
}

.topbar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1780px);
  margin: 0 auto;
  padding: 26px clamp(24px, 5vw, 88px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 36px;
  font-weight: 760;
  line-height: 1;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.lang-button {
  min-width: 44px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button.is-active {
  color: #041010;
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--blue));
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 18px;
  color: #041010;
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--blue));
  box-shadow: 0 18px 50px rgba(92, 193, 255, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-button:hover,
.download-button:hover,
.lang-button:hover {
  transform: translateY(-1px);
}

.contact-button:active,
.download-button:active,
.lang-button:active {
  transform: translateY(0);
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  width: min(100%, 1780px);
  min-height: calc(88svh - 112px);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 88px) 54px;
}

.hero-copy {
  max-width: 740px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 720;
}

.brush-title {
  display: block;
  margin: 0 0 18px;
  color: transparent;
  font-size: clamp(70px, 6.4vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
  background: linear-gradient(100deg, #dff2ff 0%, #f2f6ff 40%, #ff83d2 78%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 18px rgba(120, 182, 255, 0.14));
}

.hero-text {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.52;
}

.download-zone {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.qr-code {
  width: 136px;
  height: 136px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px var(--shadow);
}

.download-buttons {
  display: grid;
  align-self: flex-start;
  gap: 14px;
  min-width: 300px;
}

.download-button {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 62px;
  padding: 10px 18px;
  border-radius: 20px;
  color: #03100f;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(120deg, #f5ffd8 0%, #aaf9ef 48%, #78b6ff 100%);
  box-shadow: 0 18px 48px rgba(81, 190, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-button:hover {
  box-shadow: 0 24px 68px rgba(81, 190, 255, 0.28);
  filter: saturate(1.08);
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 820;
}

.download-button strong {
  display: block;
  font-size: 21px;
  line-height: 1.12;
}

.download-button small {
  display: block;
  margin-top: 4px;
  color: rgba(3, 16, 15, 0.72);
  font-size: 14px;
  font-weight: 680;
}

.official-url {
  margin: 14px 0 0;
  color: rgba(248, 251, 255, 0.28);
  font-size: 24px;
  font-weight: 760;
}

.hero-people {
  position: relative;
  align-self: end;
  min-height: 560px;
  animation: float-in 900ms ease 120ms both;
}

.people-stage {
  position: absolute;
  right: -8%;
  bottom: -72px;
  width: min(900px, 58vw);
  max-width: none;
}

.hero-bubbles {
  display: none;
}

html[lang="en"] .hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  pointer-events: none;
}

.hero-bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #030607;
  background: linear-gradient(105deg, #f8ffd8 0%, #e7ff94 46%, #9befff 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  letter-spacing: 0;
}

.hero-bubble-understand {
  left: 11.7%;
  top: 8.4%;
  width: 118px;
  height: 112px;
  padding: 0 18px;
  border-radius: 999px 999px 999px 72px;
  font-size: 22px;
}

.hero-bubble-real {
  right: 6.8%;
  bottom: 22.2%;
  min-width: 190px;
  min-height: 58px;
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 26px;
  background: linear-gradient(105deg, #eaff8e 0%, #f2ff94 100%);
}

.hero-bubble-promise {
  left: 20.9%;
  right: 2.8%;
  bottom: 11.8%;
  min-height: 64px;
  padding: 10px 38px;
  border-radius: 999px 999px 999px 34px;
  font-size: 25px;
  background: linear-gradient(105deg, #f8ffd8 0%, #b6f8ff 48%, #a9d3ff 100%);
}

.people-stage picture,
.people-stage img {
  display: block;
  width: 100%;
}

.people-stage img {
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.42));
}

.value-section {
  position: relative;
  background: #050809;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.value-inner {
  display: grid;
  grid-template-columns: 260px minmax(280px, 650px) minmax(280px, 600px);
  gap: clamp(24px, 5vw, 72px);
  align-items: baseline;
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 88px) 92px;
}

.section-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.value-inner h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.18;
}

.value-inner p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 96px);
  min-height: 92px;
  padding: 22px clamp(18px, 5vw, 88px);
  background: #000;
}

.site-footer button,
.site-footer a {
  color: rgba(248, 251, 255, 0.48);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer button:hover,
.site-footer a:hover {
  color: var(--ink);
}

body.is-direct-legal .site-shell {
  display: none;
}

body.is-direct-legal .site-footer,
body.is-direct-legal .legal-modal,
body.is-direct-legal .toast {
  display: none;
}

.direct-legal[hidden] {
  display: none;
}

.direct-legal {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #020405;
}

.direct-legal-bg,
.direct-legal-bg img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.direct-legal-bg {
  z-index: -3;
}

.direct-legal-bg img {
  object-fit: cover;
  object-position: 63% 42%;
  opacity: 0.5;
}

.direct-legal-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.direct-legal-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 26px clamp(24px, 5vw, 72px);
}

.direct-legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 32px;
  font-weight: 760;
}

.direct-legal-brand img {
  width: 54px;
  height: 54px;
  border-radius: 17px;
}

.direct-legal-back {
  color: rgba(248, 251, 255, 0.68);
  text-decoration: none;
  font-size: 16px;
  font-weight: 760;
}

.direct-legal-back:hover {
  color: var(--ink);
}

.direct-legal-hero {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 54px clamp(24px, 5vw, 72px) 28px;
}

.direct-legal-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 860;
  text-transform: uppercase;
}

.direct-legal-hero h1 {
  margin: 0;
  color: #eef7ff;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
}

.direct-legal-updated {
  margin: 18px 0 0;
  color: rgba(248, 251, 255, 0.58);
  font-size: 17px;
}

.direct-legal-document {
  width: min(100% - 48px, 980px);
  max-height: none;
  overflow: auto;
  margin: 0 auto 72px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(248, 251, 255, 0.82);
  background: rgba(5, 12, 16, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  font-size: 17px;
  line-height: 1.9;
}

.direct-legal-document h1,
.direct-legal-document h2,
.direct-legal-document h3 {
  color: var(--ink);
  line-height: 1.32;
}

.direct-legal-document a {
  color: var(--cyan);
}

.legal-modal[hidden],
.toast[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, 86svh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.modal-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-head h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.modal-close {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 20px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-body {
  min-height: 280px;
  overflow: auto;
  padding: 30px 34px 40px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.modal-body h1,
.modal-body h2,
.modal-body h3 {
  color: var(--ink);
  line-height: 1.32;
}

.modal-body a {
  color: var(--cyan);
}

.modal-status {
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translateX(-50%);
  max-width: calc(100% - 36px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(238, 255, 160, 0.95);
  color: #041010;
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-people {
    position: absolute;
    inset: auto -18vw 0 auto;
    width: 62vw;
    min-height: 62vw;
    opacity: 0.66;
  }

  .hero-people img {
    width: 100%;
  }

  .value-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .hero-bg img {
    object-position: center top;
    opacity: 0.78;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.94) 64%, rgba(0, 0, 0, 0.98) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7));
  }

  .topbar {
    padding: 24px 18px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 24px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .top-actions {
    gap: 8px;
  }

  .lang-button {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .contact-button {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .hero-layout {
    position: static;
    min-height: 0;
    display: block;
    padding: 620px 20px 42px;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    max-width: none;
    text-align: center;
  }

  .eyebrow {
    font-size: 15px;
  }

  .brush-title {
    margin-bottom: 20px;
    font-size: 66px;
  }

  .hero-text {
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.55;
  }

  .download-zone {
    display: grid;
    justify-items: center;
    gap: 18px;
    margin-top: 34px;
  }

  .qr-code {
    width: 154px;
    height: 154px;
  }

  .download-buttons {
    width: 100%;
    min-width: 0;
  }

  .download-button {
    grid-template-columns: 66px 1fr;
    min-height: 72px;
    padding: 10px 16px;
    border-radius: 18px;
  }

  .platform-mark {
    width: 54px;
    height: 38px;
    font-size: 13px;
  }

  .download-button strong {
    font-size: 22px;
  }

  .download-button small {
    font-size: 13px;
  }

  .official-url {
    font-size: 22px;
  }

  .hero-people {
    display: block;
    position: absolute;
    inset: 92px auto auto 50%;
    z-index: 2;
    width: min(104vw, 500px);
    min-height: 540px;
    transform: translateX(-50%);
    animation: none;
    opacity: 1;
    pointer-events: none;
  }

  .people-stage {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 0;
    width: 100%;
    transform: translateX(-50%);
  }

  .hero-bubble-understand {
    left: 7.4%;
    top: 7%;
    width: 104px;
    height: 98px;
    padding: 0 15px;
    font-size: 18px;
  }

  .hero-bubble-real {
    right: 6%;
    bottom: 21.8%;
    min-width: 148px;
    min-height: 52px;
    padding: 8px 18px;
    font-size: 21px;
  }

  .hero-bubble-promise {
    left: 19.8%;
    right: 4.2%;
    bottom: 11.6%;
    min-height: 58px;
    padding: 8px 24px;
    font-size: 20px;
  }

  .value-inner {
    padding: 52px 20px 64px;
  }

  .value-inner h2 {
    font-size: 32px;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 26px;
    padding: 22px 20px;
  }

  .site-footer button,
  .site-footer a {
    font-size: 16px;
  }

  .direct-legal-topbar {
    padding: 24px 18px;
  }

  .direct-legal-brand {
    gap: 8px;
    font-size: 24px;
  }

  .direct-legal-brand img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .direct-legal-back {
    font-size: 14px;
  }

  .direct-legal-hero {
    padding: 42px 20px 24px;
  }

  .direct-legal-hero h1 {
    font-size: 44px;
  }

  .direct-legal-document {
    width: calc(100% - 24px);
    margin-bottom: 36px;
    padding: 24px 20px 32px;
    font-size: 16px;
  }

  .legal-modal {
    padding: 12px;
    align-items: end;
  }

  .modal-panel {
    max-height: 88svh;
  }

  .modal-head {
    padding: 20px;
  }

  .modal-head h2 {
    font-size: 22px;
  }

  .modal-body {
    padding: 22px 20px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
