:root {
  --ink: #10151c;
  --ink-soft: #19212b;
  --cloud: #f1f5ef;
  --cloud-dim: #b7c0bb;
  --lime: #c9ff4a;
  --cyan: #55d8ff;
  --pink: #ff5b9b;
  --line: rgba(241, 245, 239, 0.2);
  --page-pad: clamp(1.25rem, 5vw, 6rem);
  --header-height: 4.5rem;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--cloud);
  background:
    linear-gradient(rgba(241, 245, 239, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 245, 239, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 4rem 4rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 70% 10%, rgba(85, 216, 255, 0.06), transparent 32rem);
  content: "";
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

.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-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--page-pad);
  border-bottom: 1px solid rgba(241, 245, 239, 0.12);
  background: rgba(16, 21, 28, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  max-width: calc(100% - 4.25rem);
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.77rem, 2.8vw, 0.95rem);
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 2px;
  transform: rotate(45deg);
}

.brand-mark i {
  display: block;
  background: var(--cloud);
}

.brand-mark i:nth-child(1) { background: var(--lime); }
.brand-mark i:nth-child(2) { background: var(--cyan); }
.brand-mark i:nth-child(3) { background: var(--pink); }

.nav-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--cloud);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before { top: -0.4rem; }
.nav-toggle-icon::after { top: 0.4rem; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  visibility: hidden;
  padding: 0.75rem var(--page-pad) 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 21, 28, 0.98);
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav a {
  min-height: 3.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(241, 245, 239, 0.1);
  font-weight: 600;
}

.site-nav a[aria-current="true"] { color: var(--lime); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-content: end;
  padding: calc(var(--header-height) + 3.5rem) var(--page-pad) 3rem;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 47rem;
}

.hero-kicker {
  max-width: 25rem;
  margin: 0 0 1.25rem;
  color: var(--lime);
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero h1 {
  max-width: 10em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 13vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-summary {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: var(--cloud-dim);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-links a {
  display: inline-flex;
  min-width: 8rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--cloud);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-links a:first-child {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.hero-links a:hover {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.converge-visual {
  position: absolute;
  top: calc(var(--header-height) + 1.75rem);
  right: -4rem;
  z-index: -1;
  width: min(88vw, 35rem);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.78;
}

.plane,
.converge-core {
  position: absolute;
  transition: transform 900ms var(--ease-out), opacity 700ms ease;
}

.plane {
  opacity: 0;
}

.plane-system {
  inset: 3% 49% 50% 1%;
  background: color-mix(in srgb, var(--lime) 84%, transparent);
  clip-path: polygon(0 0, 100% 24%, 100% 100%, 24% 75%);
  transform: translate(-4rem, -3rem);
}

.plane-support {
  inset: 7% 0 49% 50%;
  background: color-mix(in srgb, var(--cyan) 76%, transparent);
  clip-path: polygon(0 24%, 100% 0, 75% 77%, 0 100%);
  transform: translate(4rem, -3rem);
  transition-delay: 120ms;
}

.plane-content {
  inset: 50% 50% 0 5%;
  background: color-mix(in srgb, var(--pink) 72%, transparent);
  clip-path: polygon(22% 0, 100% 0, 100% 79%, 0 100%);
  transform: translate(-4rem, 3rem);
  transition-delay: 240ms;
}

.plane-live {
  inset: 50% 4% 5% 50%;
  background: color-mix(in srgb, var(--cloud) 34%, transparent);
  clip-path: polygon(0 0, 100% 22%, 78% 100%, 0 78%);
  transform: translate(4rem, 3rem);
  transition-delay: 360ms;
}

.converge-core {
  inset: 38%;
  background: var(--cloud);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0;
  filter: drop-shadow(0 0 2rem rgba(201, 255, 74, 0.45));
  transform: scale(0.35) rotate(45deg);
  transition-delay: 680ms;
}

.hero.is-ready .plane {
  opacity: 0.72;
  transform: translate(0, 0);
}

.hero.is-ready .converge-core {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.section-shell {
  position: relative;
  padding: clamp(5rem, 11vw, 10rem) var(--page-pad);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  font-weight: 830;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-index {
  margin: 0;
  color: var(--lime);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.business {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.business-field {
  position: relative;
  display: grid;
  gap: 0;
}

.business-item {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  opacity: 0.58;
  transform: translateY(2rem);
  transition: opacity 550ms ease, transform 650ms var(--ease-out);
}

.business-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.business-number {
  position: absolute;
  top: 2.75rem;
  right: 0;
  margin: 0;
  color: rgba(241, 245, 239, 0.24);
  font-size: 2rem;
  font-weight: 800;
}

.business-item h3 {
  max-width: calc(100% - 4rem);
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.18;
}

.business-highlight {
  margin: 0.6rem 0 1rem;
  color: var(--lime);
  font-weight: 750;
}

.business-support .business-highlight,
.business-live .business-highlight { color: var(--cyan); }
.business-content .business-highlight { color: var(--pink); }

.business-item > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: var(--cloud-dim);
}

.business-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(76vw, 30rem);
  aspect-ratio: 1;
  opacity: 0.12;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.business-core span {
  position: absolute;
  inset: 18%;
  border: 1px solid var(--cloud);
  transition: background 400ms ease, transform 500ms var(--ease-out);
}

.business-core span:nth-child(1) { transform: translate(-38%, -38%); }
.business-core span:nth-child(2) { transform: translate(38%, -38%); }
.business-core span:nth-child(3) { transform: translate(-38%, 38%); }
.business-core span:nth-child(4) { transform: translate(38%, 38%); }

.business-field[data-active="system"] .business-core span:nth-child(1) { background: var(--lime); }
.business-field[data-active="support"] .business-core span:nth-child(2) { background: var(--cyan); }
.business-field[data-active="content"] .business-core span:nth-child(3) { background: var(--pink); }
.business-field[data-active="live"] .business-core span:nth-child(4) { background: var(--cloud); }

.strengths {
  border-top: 1px solid var(--line);
  background: var(--cloud);
  color: var(--ink);
  clip-path: polygon(0 2rem, 100% 0, 100% calc(100% - 2rem), 0 100%);
}

.strengths-heading .section-index { color: #4b6600; }

.strength-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(16, 21, 28, 0.3);
  opacity: 0;
  transform: translateX(-2.5rem);
  transition: opacity 500ms ease, transform 650ms var(--ease-out);
}

.strength-list li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ink);
  content: "";
  transition: width 700ms var(--ease-out) 180ms;
}

.strength-list li.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.strength-list li.is-visible::before { width: 32%; }

.strength-title {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.strength-title span {
  color: #4b6600;
  font-weight: 800;
}

.strength-title h3 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  line-height: 1.25;
}

.strength-list p {
  margin: 0;
  line-height: 1.85;
}

.about {
  display: grid;
  gap: 3.5rem;
  min-height: 85svh;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.about-aside {
  position: relative;
  min-height: 15rem;
}

.about-aside .section-index { margin-bottom: 1rem; }

.about-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8rem;
  height: 8rem;
  opacity: 0.6;
}

.about-fold span {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 50%, 50% 100%);
}

.about-fold span:last-child {
  background: var(--pink);
  transform: rotate(180deg) scale(0.62);
}

.about-copy {
  position: relative;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  border-left: clamp(0.25rem, 0.8vw, 0.65rem) solid var(--lime);
}

.about-copy::before {
  position: absolute;
  inset: 0 calc(var(--page-pad) * -1) 0 0;
  z-index: -1;
  background: rgba(241, 245, 239, 0.045);
  clip-path: polygon(0 6%, 100% 0, 94% 100%, 0 92%);
  content: "";
}

.about-copy p {
  max-width: 53rem;
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 2;
  text-align: justify;
}

.site-footer {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  padding: 3.5rem var(--page-pad);
  color: var(--cloud-dim);
  text-align: center;
}

.site-footer p { margin: 0; }

.site-footer a {
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  color: var(--cloud);
  text-decoration: underline;
  text-decoration-color: rgba(241, 245, 239, 0.4);
  text-underline-offset: 0.3em;
}

@media (min-width: 768px) {
  :root { --header-height: 5rem; }

  .hero {
    min-height: min(62rem, 100svh);
    padding-bottom: 5rem;
  }

  .converge-visual {
    top: 5rem;
    right: -2rem;
    width: min(62vw, 48rem);
  }

  .hero-copy { max-width: 66%; }

  .business-item:nth-of-type(even) {
    padding-left: 12%;
  }

  .strength-list li {
    grid-template-columns: minmax(15rem, 0.9fr) minmax(20rem, 1.1fr);
    gap: 3rem;
    align-items: start;
  }

  .strength-list li:nth-child(even) {
    margin-left: 6vw;
  }

  .about {
    grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
    gap: 6vw;
  }
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    visibility: visible;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.5rem);
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    min-height: 2.75rem;
    padding: 0.5rem 0;
    border: 0;
    font-size: 0.92rem;
  }

  .site-nav a::after {
    display: block;
    width: 0;
    height: 2px;
    margin-top: 0.2rem;
    background: var(--lime);
    content: "";
    transition: width 180ms ease;
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="true"]::after { width: 100%; }

  .hero {
    grid-template-columns: 44% 56%;
    align-items: end;
  }

  .hero-copy { max-width: none; }

  .converge-visual {
    top: 50%;
    right: 2vw;
    width: min(52vw, 53rem);
    transform: translateY(-48%);
  }

  .business-field {
    min-height: 68rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 13rem 12rem;
    align-items: center;
  }

  .business-item {
    padding: 2.5rem 0;
    border: 0;
  }

  .business-item:nth-of-type(even) { padding-left: 0; }
  .business-support,
  .business-live { align-self: end; }
  .business-content,
  .business-live { align-self: start; }

  .business-core {
    width: 34rem;
    opacity: 0.28;
  }

  .strength-list li {
    padding-right: 5vw;
    padding-left: 3vw;
  }

  .strength-list li:nth-child(odd) { margin-right: 8vw; }
  .strength-list li:nth-child(even) { margin-left: 8vw; }

  .about-aside {
    min-height: 28rem;
  }

  .about h2 {
    max-width: 4em;
    font-size: clamp(4.5rem, 7.5vw, 8rem);
  }

  .about-fold {
    right: 8%;
    width: 12rem;
    height: 12rem;
  }
}

@media (min-width: 1440px) {
  :root { --page-pad: clamp(6rem, 8vw, 10rem); }

  .hero h1 { font-size: clamp(6.5rem, 7.6vw, 8.5rem); }
  .business-field { gap: 14rem 18rem; }
  .business-item > p:last-child { font-size: 1.08rem; }
  .about-copy p { font-size: 1.45rem; }
}

@media (min-aspect-ratio: 2/1) and (min-width: 1100px) {
  .hero {
    min-height: max(38rem, 100svh);
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero h1 { font-size: clamp(4.5rem, 6.5vw, 7.5rem); }
  .converge-visual { width: min(42vw, 42rem); }
  .business-field { min-height: 56rem; }
}

@media (max-aspect-ratio: 3/4) {
  .hero {
    min-height: 92svh;
    align-content: end;
  }

  .converge-visual {
    top: calc(var(--header-height) + 2.5rem);
    width: min(82vw, 35rem);
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  :root { --header-height: 3.7rem; }

  .site-header { padding-block: 0.35rem; }
  .brand-mark { width: 1.65rem; height: 1.65rem; flex-basis: 1.65rem; }

  .hero {
    min-height: 34rem;
    align-content: center;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 2rem;
  }

  .hero h1 { max-width: 11em; font-size: clamp(2.8rem, 8vw, 4.4rem); }
  .hero-summary { max-width: 60%; margin-top: 1rem; font-size: 0.95rem; }
  .hero-kicker { margin-bottom: 0.8rem; }
  .hero-links { margin-top: 1rem; }
  .converge-visual { top: 4rem; right: -1rem; width: min(47vw, 22rem); }
  .section-shell { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .about { min-height: 34rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .plane,
  .converge-core,
  .business-item,
  .strength-list li {
    opacity: 1;
    transform: none;
  }
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
  .plane-system { background: rgba(201, 255, 74, 0.84); }
  .plane-support { background: rgba(85, 216, 255, 0.76); }
  .plane-content { background: rgba(255, 91, 155, 0.72); }
  .plane-live { background: rgba(241, 245, 239, 0.34); }
}
