:root {
  --red: #a36bff;
  --red-dark: #713ee3;
  --ink: #0c0d1d;
  --ink-soft: #141528;
  --paper: #f5f5fb;
  --white: #ffffff;
  --muted: #6e7187;
  --line: #dedff0;
  --content: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  color: var(--white);
  background: rgba(9, 10, 25, 0.94);
  border-bottom: 1px solid rgba(180, 147, 255, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  background: var(--red);
  transform: skew(-8deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  display: block;
  width: 5px;
  height: 28px;
  content: "";
  background: var(--white);
  transform: rotate(43deg);
}

.brand-mark::before {
  top: -10px;
  left: 8px;
}

.brand-mark::after {
  right: 8px;
  bottom: -10px;
}

.brand-mark i {
  top: 2px;
  left: 13px;
  height: 16px;
}

.brand-name {
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 46px;
  height: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 7, 20, 0.86) 0%, rgba(8, 9, 27, 0.58) 52%, rgba(12, 5, 34, 0.34) 100%),
    url("/assets/IMG410.jpg") center center / cover no-repeat;
}

#hero-canvas,
.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-noise {
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  align-items: center;
  width: min(calc(100% - 48px), var(--content));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: 80px 0 118px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
  padding-top: clamp(40px, 10vh, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow.light {
  color: #65f4e8;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 6.1vw, 92px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: #b990ff;
  font-style: normal;
}

.hero-intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: #d0cce5;
  font-size: 17px;
  line-height: 1.9;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  min-width: 176px;
  margin-top: 38px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 14px;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.hero-link span {
  color: #65f4e8;
  font-size: 20px;
  transition: transform 160ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: #d9c3ff;
  border-color: #65f4e8;
}

.hero-link:hover span,
.hero-link:focus-visible span {
  transform: translate(4px, 4px);
}

.hero-signature {
  position: absolute;
  right: 0;
  bottom: 120px;
  width: min(34vw, 420px);
  color: rgba(209, 190, 255, 0.13);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(72px, 11vw, 156px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.09em;
  text-align: right;
  transform: skewY(-6deg);
  user-select: none;
}

.hero-signature span,
.hero-signature strong {
  display: block;
}

.hero-signature strong {
  color: rgba(100, 244, 232, 0.28);
  font-size: 1.18em;
}

.hero-signature small {
  display: block;
  margin-top: 0.75em;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.09em;
  letter-spacing: 0.72em;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.scroll-hint i {
  display: block;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-hint i::after {
  display: block;
  width: 100%;
  height: 12px;
  content: "";
  background: #65f4e8;
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  from {
    transform: translateY(-14px);
  }
  to {
    transform: translateY(30px);
  }
}

.showcase {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 15%, rgba(120, 55, 232, 0.24), transparent 28rem),
    #101127;
}

.showcase-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 62px;
}

.showcase-heading .section-heading {
  min-width: 0;
}

.showcase-heading .section-heading h2 {
  color: var(--white);
}

.showcase-heading > p {
  max-width: 680px;
  margin: 0;
  color: #aaaac4;
  font-size: 16px;
  line-height: 2;
}

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

.showcase figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1024 / 608;
  border: 1px solid rgba(178, 158, 255, 0.32);
  background: #1b1a37;
}

.showcase img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 608;
  object-fit: contain;
  transition: transform 500ms ease;
}

.showcase figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 46%, rgba(5, 5, 18, 0.84));
  pointer-events: none;
}

.showcase figure:hover img {
  transform: scale(1.045);
}

.showcase-feature {
  grid-row: auto;
}

.showcase figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 600;
}

.showcase figcaption span {
  margin-right: 12px;
  color: #65f4e8;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.section {
  padding: 128px 0;
}

.about {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(119, 99, 185, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(119, 99, 185, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 90px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.about-content {
  padding-top: 5px;
}

.about-content .lead {
  margin: 0 0 30px;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.about-content > p:not(.lead) {
  max-width: 720px;
  margin: 0;
  color: #5f6268;
  font-size: 16px;
  line-height: 2;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.principles > div {
  min-height: 190px;
  padding: 26px 28px 0 0;
  border-right: 1px solid var(--line);
}

.principles > div + div {
  padding-left: 28px;
}

.principles > div:last-child {
  border-right: 0;
}

.principles span,
.career-fields span {
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.principles h3,
.career-fields h3 {
  margin: 22px 0 12px;
  font-size: 19px;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.careers {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 13% 90%, rgba(61, 223, 209, 0.17), transparent 24rem),
    radial-gradient(circle at 86% 0%, rgba(167, 85, 255, 0.38), transparent 32rem),
    #11112a;
}

.careers-intro {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 90px;
}

.section-heading.inverse h2 {
  color: var(--white);
}

.careers .eyebrow.light {
  color: rgba(255, 255, 255, 0.68);
}

.careers-lead {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.careers-copy {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 2;
}

.career-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
  gap: 14px;
  border: 0;
}

.career-fields article {
  min-height: 240px;
  padding: 30px 26px;
  border: 1px solid rgba(186, 164, 255, 0.28);
  background: rgba(24, 23, 57, 0.56);
  box-shadow: inset 0 0 34px rgba(141, 85, 255, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.career-fields article:first-child {
  padding-left: 26px;
}

.career-fields article:last-child {
  padding-right: 26px;
}

.career-fields article:hover {
  border-color: #65f4e8;
  background: rgba(50, 37, 102, 0.72);
  transform: translateY(-6px);
}

.career-fields span {
  color: rgba(255, 255, 255, 0.66);
}

.career-fields h3 {
  margin-top: 50px;
  font-size: 20px;
}

.career-fields p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.9;
}

.site-footer {
  padding: 38px 0;
  color: #9595af;
  background: #090a19;
  font-size: 12px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand .brand-mark {
  width: 24px;
  height: 24px;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.healthy-game-notice {
  margin-top: 26px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(177, 161, 224, 0.18);
  color: #85859f;
  line-height: 1.9;
  text-align: center !important;
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .hero-signature {
    position: absolute;
    right: -24px;
    bottom: 120px;
    width: 350px;
    opacity: 0.72;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .about-layout,
  .careers-intro {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .showcase-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 42px;
  }

  .showcase-heading .section-heading,
  .showcase-heading > p {
    width: 100%;
  }

  .showcase-heading > p {
    margin: 0;
  }

  .career-fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-fields article:nth-child(2) {
    border-right: 0;
  }

  .career-fields article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .career-fields article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 36px), var(--content));
  }

  .brand-name {
    font-size: 13px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 10px 18px 18px;
    background: #0d0e20;
    border-bottom: 1px solid rgba(180, 147, 255, 0.18);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    height: auto;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(180, 147, 255, 0.14);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-inner {
    min-height: calc(100svh - var(--header-height));
    padding: 72px 0 120px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-intro {
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-signature {
    right: -70px;
    bottom: 108px;
    width: 260px;
    font-size: 80px;
  }

  .scroll-hint {
    left: 18px;
    align-items: flex-start;
    transform: none;
  }

  .section {
    padding: 88px 0;
  }

  .showcase-heading {
    gap: 20px;
    margin-bottom: 32px;
  }

  .showcase-heading .section-heading h2 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.18;
    word-break: keep-all;
  }

  .showcase-heading > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .showcase figure,
  .showcase-feature,
  .showcase-tall,
  .showcase-small {
    width: 100%;
    aspect-ratio: 1024 / 608;
  }

  .showcase img {
    height: auto;
    aspect-ratio: 1024 / 608;
    object-fit: contain;
  }

  .showcase figure:hover img {
    transform: none;
  }

  .showcase figcaption {
    right: 18px;
    bottom: 14px;
    left: 18px;
  }

  .about-layout,
  .careers-intro {
    gap: 42px;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .principles > div,
  .principles > div + div {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles > div:last-child {
    border-bottom: 0;
  }

  .principles h3 {
    margin-top: 14px;
  }

  .career-fields {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .career-fields article,
  .career-fields article:first-child,
  .career-fields article:nth-child(3),
  .career-fields article:last-child {
    min-height: 0;
    padding: 26px 22px 30px;
    border-right: 1px solid rgba(186, 164, 255, 0.28);
    border-bottom: 1px solid rgba(186, 164, 255, 0.28);
  }

  .career-fields article:last-child {
    border-bottom: 1px solid rgba(186, 164, 255, 0.28);
  }

  .career-fields h3 {
    margin-top: 24px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    line-height: 1.8;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 11px;
    letter-spacing: 0;
  }
}

@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;
  }
}
