:root {
  --ink: #251a49;
  --muted: #68627a;
  --paper: #fbfaff;
  --white: #ffffff;
  --lavender: #f2edff;
  --purple: #6d3cf0;
  --purple-dark: #4f24c6;
  --line: #ded6f2;
  --mint: #63d4b8;
  --gold: #ffca5c;
  --pink: #ff7ca8;
  --shadow: 0 24px 60px rgba(62, 42, 110, 0.12);
  --radius: 24px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 90% 10%, rgba(109, 60, 240, 0.12), transparent 25rem),
    radial-gradient(circle at 0 72%, rgba(99, 212, 184, 0.1), transparent 24rem),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--purple-dark);
  border-radius: 12px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(222, 214, 242, 0.72);
  background: rgba(251, 250, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--purple);
  box-shadow: inset 0 -5px 12px rgba(49, 19, 130, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 3px;
}

.brand-mark::before {
  top: 7px;
  left: 7px;
  background: var(--gold);
}

.brand-mark::after {
  right: 7px;
  bottom: 7px;
  background: var(--mint);
}

.header-actions,
.site-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 24px;
}

.site-nav {
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 680;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--purple);
}

.language-switch {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-switch button {
  min-width: 42px;
  padding: 6px 10px;
  color: var(--muted);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 760;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--purple);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--ink);
}

.menu-toggle span {
  margin: 5px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 64px;
  padding-block: 100px 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.77rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 3px;
  background: var(--purple);
  transform: rotate(12deg);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.5rem, 7.3vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 30px 0 36px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  color: var(--white);
  border-radius: 14px;
  background: var(--purple);
  box-shadow: 0 13px 28px rgba(109, 60, 240, 0.24);
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--purple);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
}

.hero-art {
  position: relative;
  min-height: 470px;
}

.art-panel {
  position: absolute;
  inset: 20px 18px 12px 34px;
  overflow: hidden;
  border: 1px solid rgba(109, 60, 240, 0.13);
  border-radius: 52px;
  background:
    linear-gradient(rgba(109, 60, 240, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 60, 240, 0.065) 1px, transparent 1px),
    var(--lavender);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.art-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 95px;
  left: 95px;
  border: 1px solid rgba(109, 60, 240, 0.28);
  border-radius: 50%;
}

.art-core {
  position: absolute;
  top: 155px;
  left: 155px;
  width: 140px;
  height: 140px;
  border-radius: 36px;
  background: var(--purple);
  box-shadow: inset 0 -15px 30px rgba(54, 16, 147, 0.22), 0 24px 35px rgba(109, 60, 240, 0.24);
  transform: rotate(-10deg);
}

.game-tile {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: inset 0 5px 12px rgba(255, 255, 255, 0.35), 0 18px 30px rgba(52, 34, 100, 0.14);
  animation: float 5.5s ease-in-out infinite;
}

.tile-mint { top: 60px; right: 56px; background: var(--mint); transform: rotate(18deg); }
.tile-gold { right: 30px; bottom: 80px; background: var(--gold); animation-delay: -1.8s; transform: rotate(-8deg); }
.tile-pink { bottom: 50px; left: 48px; background: var(--pink); animation-delay: -3.2s; transform: rotate(11deg); }
.tile-purple { top: 44px; left: 54px; width: 48px; height: 48px; border-radius: 14px; background: #9c7aff; animation-delay: -4s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -13px; }
}

.section {
  padding-block: 108px;
}

.section-tinted {
  background: var(--lavender);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 50px;
}

.section-heading h2,
.split-copy h2,
.contact-card h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p,
.split-copy > p,
.legal-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 35px rgba(54, 37, 97, 0.06);
}

.feature-number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 62px;
  place-items: center;
  border-radius: 15px;
  color: var(--purple-dark);
  background: var(--lavender);
  font-size: 0.85rem;
  font-weight: 850;
}

.feature-card:nth-child(2) .feature-number { color: #116b57; background: #e2f8f1; }
.feature-card:nth-child(3) .feature-number { color: #8a5610; background: #fff4d5; }

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.principles {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.principle-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--purple);
  border-radius: 13px;
  background: var(--lavender);
  font-weight: 850;
}

.principle h3,
.principle p {
  margin: 0;
}

.principle p {
  color: var(--muted);
  font-size: 0.93rem;
}

.mosaic {
  position: relative;
  min-height: 520px;
  border-radius: 44px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    var(--purple);
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

.mosaic-block {
  position: absolute;
  border-radius: 26px;
  box-shadow: inset 0 6px 15px rgba(255, 255, 255, 0.32), 0 20px 34px rgba(39, 20, 87, 0.2);
}

.mosaic-block:nth-child(1) { inset: 62px auto auto 58px; width: 138px; height: 138px; background: var(--gold); transform: rotate(-7deg); }
.mosaic-block:nth-child(2) { inset: 94px 55px auto auto; width: 104px; height: 104px; background: var(--mint); transform: rotate(10deg); }
.mosaic-block:nth-child(3) { inset: auto 70px 58px auto; width: 165px; height: 165px; background: var(--pink); transform: rotate(-5deg); }
.mosaic-block:nth-child(4) { inset: auto auto 78px 58px; width: 82px; height: 82px; background: #a68dff; transform: rotate(13deg); }

.responsibility-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: center;
  padding: 58px;
  color: var(--white);
  border-radius: 38px;
  background: var(--ink);
}

.responsibility-symbol {
  position: relative;
  width: 220px;
  height: 220px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.responsibility-symbol::before,
.responsibility-symbol::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  border-radius: 26px;
  transform: translate(-50%, -50%) rotate(12deg);
}

.responsibility-symbol::before { width: 100px; height: 100px; background: var(--mint); }
.responsibility-symbol::after { width: 42px; height: 42px; background: var(--gold); transform: translate(-50%, -50%) rotate(-8deg); }

.responsibility-card .eyebrow { color: var(--mint); }
.responsibility-card .eyebrow::before { background: var(--mint); }
.responsibility-card h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.05em; }
.responsibility-card p:last-child { margin: 0; color: rgba(255, 255, 255, 0.7); }

.profile-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
}

.profile-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.profile-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.profile-row dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.profile-row dd {
  margin: 0;
  font-weight: 680;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 68px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: var(--lavender);
}

.contact-card::after {
  position: absolute;
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: -100px;
  content: "";
  border-radius: 72px;
  background: rgba(109, 60, 240, 0.12);
  transform: rotate(24deg);
}

.contact-card p {
  max-width: 600px;
  margin: 20px 0 32px;
  color: var(--muted);
}

.contact-card .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.footer-grid,
.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
}

.footer-grid {
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  gap: 22px;
}

.footer-links a,
.footer-meta {
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-meta {
  gap: 8px;
  margin-top: 20px;
}

.legal-page {
  min-height: 100vh;
}

.legal-hero {
  padding-block: 100px 58px;
  background: var(--lavender);
}

.legal-hero p {
  max-width: 660px;
  margin-top: 22px;
}

.legal-content {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding-block: 78px 110px;
}

.legal-section {
  padding: 0 0 34px;
  margin: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
}

.legal-section a {
  color: var(--purple);
  font-weight: 720;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 30px; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.5rem); }
  .art-panel { inset-inline: 0; }
  .art-orbit { left: 55px; }
  .art-core { left: 115px; }
  .section-heading,
  .split-layout,
  .profile-layout { gap: 45px; }
  .responsibility-card { gap: 40px; padding: 44px; }
  .profile-row { grid-template-columns: 150px 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .header-actions { gap: 10px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 2px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; border-radius: 10px; }
  .site-nav a:hover { background: var(--lavender); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 76px 70px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5.3rem); }
  .hero-copy > p:not(.eyebrow) { margin-block: 24px 30px; }
  .hero-art { min-height: 370px; }
  .art-panel { inset: 26px 0 0; border-radius: 38px; }
  .art-orbit { top: 74px; left: calc(50% - 118px); width: 236px; height: 236px; }
  .art-core { top: 130px; left: calc(50% - 60px); width: 120px; height: 120px; }
  .game-tile { width: 58px; height: 58px; border-radius: 17px; }
  .section { padding-block: 78px; }
  .section-heading,
  .split-layout,
  .profile-layout,
  .responsibility-card { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 20px; margin-bottom: 34px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 38px; }
  .mosaic { min-height: 410px; order: -1; }
  .responsibility-card { padding: 34px 24px; border-radius: 30px; }
  .responsibility-symbol { width: 170px; height: 170px; }
  .profile-intro { position: static; }
  .profile-row { grid-template-columns: 1fr; gap: 5px; }
  .contact-card { padding: 42px 24px; border-radius: 30px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .legal-hero { padding-block: 70px 44px; }
  .legal-content { width: min(calc(100% - 28px), 860px); padding-block: 58px 80px; }
}

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