:root {
  --ink: #e8edf2;
  --muted: #9ba9b7;
  --dim: #9ba9b7;
  --bg: #07100f;
  --panel: rgba(18, 30, 34, 0.78);
  --line: rgba(184, 218, 213, 0.18);
  --cyan: #58e6d9;
  --lime: #c8ff62;
  --amber: #ffbe5c;
  --coral: #ff6f61;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(88, 230, 217, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(255, 190, 92, 0.16), transparent 24rem),
    linear-gradient(135deg, #07100f 0%, #0b1618 48%, #10100b 100%);
  min-height: 100dvh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 64px);
  backdrop-filter: blur(20px);
  background: rgba(7, 16, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand,
.nav,
.hero,
.section,
.trust-strip,
footer {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  max-width: min(70vw, 520px);
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(88, 230, 217, 0.16), rgba(200, 255, 98, 0.16));
  box-shadow: 0 0 24px rgba(88, 230, 217, 0.36);
}

.brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-band,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px clamp(20px, 4vw, 32px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100dvh - 78px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 60px;
  line-height: 1.24;
  max-width: 860px;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.3;
}

h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.hero-lede,
.section-heading p,
.process-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #07100f;
  background: var(--lime);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero-system {
  min-width: 0;
}

.orbit-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 540px;
  background:
    linear-gradient(180deg, rgba(22, 42, 45, 0.8), rgba(7, 16, 15, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.04) 31px 32px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orbit-panel::before {
  content: "";
  position: absolute;
  inset: 76px 42px;
  border: 1px solid rgba(88, 230, 217, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.status-row strong {
  margin-left: auto;
  color: var(--lime);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.metric-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-grid span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.signal-map {
  position: relative;
  min-height: 330px;
}

.signal-map img {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(248px, 68%);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 50px rgba(88, 230, 217, 0.22));
}

.signal-map .company-hero-logo {
  box-sizing: border-box;
  width: clamp(132px, 38%, 210px);
  max-height: 210px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(7, 16, 15, 0.76);
  border: 1px solid rgba(184, 218, 213, 0.16);
  object-fit: contain;
}

.node {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 26px var(--cyan);
  animation: pulse 2.8s ease-in-out infinite;
}

.n1 {
  left: 12%;
  top: 32%;
}

.n2 {
  right: 17%;
  top: 22%;
  background: var(--amber);
  box-shadow: 0 0 24px var(--amber);
  animation-delay: 0.6s;
}

.n3 {
  right: 24%;
  bottom: 12%;
  background: var(--lime);
  box-shadow: 0 0 24px var(--lime);
  animation-delay: 1.1s;
}

.path {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 230, 217, 0.7), transparent);
  transform-origin: left center;
}

.p1 {
  width: 180px;
  left: 17%;
  top: 36%;
  transform: rotate(18deg);
}

.p2 {
  width: 150px;
  right: 18%;
  top: 27%;
  transform: rotate(148deg);
}

.p3 {
  width: 190px;
  right: 21%;
  bottom: 18%;
  transform: rotate(205deg);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -22px auto 0;
  padding: 0 clamp(20px, 4vw, 32px);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 620px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.case-card,
.capability,
.timeline div,
.contact-panel {
  opacity: 1;
  transform: none;
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 220ms ease;
}

.case-card.is-visible,
.capability.is-visible,
.timeline div.is-visible,
.contact-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-card:hover,
.capability:hover {
  border-color: rgba(88, 230, 217, 0.38);
}

.case-card.featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.case-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1a1c;
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 32px;
}

.case-visual img {
  position: relative;
  z-index: 1;
  max-width: 42%;
  max-height: 150px;
  border-radius: 8px;
}

/* Product illustration follows the existing dark brand palette. */
.framereview {
  min-height: 330px;
  padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(88, 230, 217, 0.18), #0b1618 72%);
}
.review-preview { position: relative; z-index: 1; width: 100%; border: 1px solid #4c7772; border-radius: 10px; overflow: hidden; background: #142b2a; box-shadow: 0 18px 38px #0005; }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.preview-top strong { color: var(--ink); }
.preview-top strong span { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; }
.preview-body { display: grid; grid-template-columns: 1.1fr 1fr; }
.preview-page { padding: 24px 16px; background: #edf4ed; color: #25443b; font-size: 11px; }
.preview-title { margin: 22px 0; font-size: 24px; font-weight: 700; line-height: 1.6; }
.preview-lines { display: grid; gap: 7px; margin: 20px 0; }
.preview-lines i { height: 5px; background: #c4d6cc; width: 88%; }
.preview-lines i:last-child { width: 65%; }
.preview-selection { display: block; border: 1px dashed #3b8070; padding: 10px 8px; font-size: 11px; }
.preview-comments { padding: 24px 12px; font-size: 12px; line-height: 1.6; }
.preview-comments > span { color: var(--cyan); }
.preview-comments p { margin: 26px 0 22px; }
.preview-feedback { color: var(--muted); font-size: 11px; }
.preview-check { margin-top: 20px; padding: 9px; border: 1px solid #4c7772; border-radius: 5px; color: var(--lime); font-size: 11px; }

.eat {
  background: linear-gradient(135deg, rgba(255, 190, 92, 0.2), rgba(7, 16, 15, 0.9));
}

.phone-frame {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 142px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 16, 15, 0.76);
}

.phone-frame span,
.phone-frame small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.phone-frame strong {
  display: block;
  margin: 8px 0;
  font-size: 17px;
  color: var(--amber);
}

.yhc {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.18), rgba(7, 16, 15, 0.9));
}

.chat-stack {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
}

.chat-stack span {
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 12px;
}

.case-content {
  align-self: center;
}

.tag {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.case-content p:not(.tag),
.capability p,
.contact-panel,
.case-content li {
  color: var(--muted);
  line-height: 1.75;
}

.case-content ul,
.contact-panel ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.capability {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.capability span {
  color: var(--amber);
  font-weight: 800;
}

.capability h3 {
  margin-top: 0;
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline strong {
  color: var(--lime);
  font-size: 24px;
}

.timeline span {
  color: var(--ink);
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 112px;
}

.contact-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.contact-panel .button {
  margin-top: 24px;
  width: 100%;
}

.company-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.company-meta span {
  overflow-wrap: anywhere;
}

.company-meta a {
  color: var(--cyan);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: var(--dim);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .case-grid,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .case-card,
  .case-card.featured {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 16px 20px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 15, 0.96);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .section-band,
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .orbit-panel {
    min-height: 460px;
  }

  .signal-map {
    min-height: 260px;
  }

  .signal-map .company-hero-logo {
    width: 150px;
    max-height: 150px;
    padding: 14px;
    border-radius: 22px;
  }

  .metric-grid,
  .capability-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .timeline div {
    grid-template-columns: 56px 1fr;
  }

  footer {
    flex-direction: column;
  }
}

/* Homepage copy refresh: keep the existing brand and adapt to product content. */
section[id], article[id] { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.studio-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.orbit-panel { min-height: auto; padding: 28px; }
.orbit-panel::before { display: none; }
.studio-brand { position: relative; display: flex; align-items: center; gap: 22px; padding: 54px 0 44px; }
.studio-brand img { width: 88px; height: 88px; flex: 0 0 auto; }
.studio-brand p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.studio-brand strong { color: var(--ink); font-weight: 500; }
.product-index { display: grid; }
.product-index a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line); }
.product-index a:hover { color: var(--cyan); }
.product-index a > span:last-child { color: var(--muted); font-size: 12px; }
.product-index small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.product-index b { color: var(--cyan); padding-left: 4px; }
.case-card { gap: 22px; padding: 24px; align-content: start; min-width: 0; }
.case-card.featured { align-content: start; gap: 32px; }
.case-visual { min-height: 220px; }
.case-card.featured .case-visual { min-height: 355px; }
.case-content h3 { margin-bottom: 12px; font-size: 28px; }
.product-english { display: block; margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--muted); }
.case-content h4 { font-size: 18px; font-weight: 600; line-height: 1.6; margin: 0 0 16px; }
.case-content li { margin-bottom: 8px; }
.case-content li strong { font-weight: 500; color: var(--ink); }
.case-content .product-promise { color: var(--ink); margin: 22px 0 0; }
.case-content .product-note { font-size: 12px; margin: 12px 0 0; }
.product-link { display: inline-flex; gap: 32px; padding: 12px 0; margin-top: 20px; color: var(--cyan); border-bottom: 1px solid var(--line); font-size: 14px; }
.about-copy p, .contact-intro { color: var(--muted); font-size: 18px; line-height: 1.9; }
.about-copy p:last-child { margin-bottom: 0; }
.process { align-items: center; }
.capability { min-height: 240px; }
@media (max-width: 980px) {
  .hero { gap: 42px; }
  .hero-copy { max-width: 680px; }
  .desktop-break { display: none; }
  .hero-system { max-width: 680px; width: 100%; }
  .case-card, .case-card.featured { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: auto; }
  .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .brand { max-width: calc(100% - 52px); font-size: 12px; }
  .brand-mark { width: 28px; height: 28px; }
  .hero { padding-top: 48px; }
  h1 { font-size: 40px; line-height: 1.35; }
  h2 { font-size: 30px; }
  .hero-lede, .section-heading p, .about-copy p, .contact-intro { font-size: 16px; }
  .orbit-panel { padding: 22px; }
  .studio-brand { padding: 32px 0; gap: 16px; }
  .studio-brand img { width: 64px; height: 64px; }
  .studio-brand p { font-size: 12px; }
  .product-index a { padding: 20px 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span { min-height: 52px; }
  .case-card, .case-card.featured { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .case-card.featured .case-visual { min-height: 300px; }
  .framereview { padding: 12px; }
  .preview-page { padding: 20px 12px; }
  .preview-comments { padding: 20px 10px; }
  .preview-title { font-size: 18px; }
  .preview-top { padding: 12px; }
  .case-content h3 { font-size: 26px; }
  .process { gap: 16px; }
  .contact-panel { padding: 22px; }
  .contact-panel .button { font-size: 13px; padding: 0 10px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 360px) {
  h1 { font-size: 32px; }
}
