:root {
  color-scheme: light;
  --paper: #fff9fc;
  --ink: #2f3446;
  --muted: #7b7482;
  --pink: #f7b8cf;
  --blue: #9ed7f5;
  --mint: #aee5d2;
  --lemon: #f7ec8f;
  --line: rgba(47, 52, 70, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 54px rgba(117, 113, 130, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 244, 248, 0.76), rgba(226, 244, 255, 0.84)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(158, 215, 245, 0.16) 42px 44px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(247, 184, 207, 0.13) 42px 44px);
  font-family:
    "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12% 22%, rgba(247, 184, 207, 0.45) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 10%, rgba(158, 215, 245, 0.55) 0 17%, transparent 18%),
    linear-gradient(120deg, transparent 0 40%, rgba(247, 236, 143, 0.28) 40% 50%, transparent 50%);
  filter: saturate(1.12);
  animation: float-bg 12s ease-in-out infinite alternate;
}

@keyframes float-bg {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-18px);
  }
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(16px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(122, 118, 132, 0.1);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
}

.brand small,
.eyebrow {
  color: #b986a4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-charm {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #fff 48%, var(--lemon));
  color: var(--ink);
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(117, 113, 130, 0.15);
}

nav {
  gap: clamp(10px, 3vw, 26px);
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(44px, 7vw, 84px) clamp(18px, 6vw, 82px) clamp(40px, 6vw, 70px);
}

.motion-field {
  position: absolute;
  pointer-events: none;
}

.hero-motion {
  inset: clamp(26px, 4vw, 58px) clamp(12px, 5vw, 76px);
  z-index: -1;
  width: auto;
  height: auto;
  opacity: 0.88;
}

.motion-path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 9;
  stroke-dasharray: 14 22;
  filter: drop-shadow(0 8px 0 rgba(255, 255, 255, 0.78));
  animation: path-flow 14s linear infinite;
}

.path-blue {
  stroke: rgba(158, 215, 245, 0.68);
}

.path-pink {
  stroke: rgba(247, 184, 207, 0.62);
  animation-duration: 18s;
  animation-direction: reverse;
}

.path-mint {
  stroke: rgba(174, 229, 210, 0.64);
  animation-duration: 20s;
}

.motion-node,
.motion-tile,
.motion-star {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
}

.motion-node {
  fill: var(--lemon);
  animation: node-pulse 3.2s ease-in-out infinite;
}

.n2 {
  fill: var(--pink);
  animation-delay: -1.2s;
}

.n3 {
  fill: var(--blue);
  animation-delay: -2s;
}

.motion-tile {
  fill: rgba(255, 255, 255, 0.58);
  animation: tile-drift 8s ease-in-out infinite;
}

.t2 {
  fill: rgba(247, 236, 143, 0.58);
  animation-delay: -3s;
}

.motion-star {
  fill: rgba(247, 236, 143, 0.72);
  animation: star-twist 5.5s ease-in-out infinite;
}

@keyframes path-flow {
  to {
    stroke-dashoffset: -144;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.42);
  }
}

@keyframes tile-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}

@keyframes star-twist {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(18deg) scale(1.08);
  }
}

.pattern-grid {
  position: absolute;
  inset: 30px clamp(12px, 4vw, 60px);
  z-index: -1;
  border: 2px dashed rgba(185, 134, 164, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 58%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(158, 215, 245, 0.15) 18px 21px);
}

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

.eyebrow {
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.86;
  text-shadow:
    4px 4px 0 #fff,
    9px 9px 0 rgba(158, 215, 245, 0.6);
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.75;
}

.hero-actions,
.quick-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.dock-chip,
.icon-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid #fff;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(47, 52, 70, 0.1);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.dock-chip:hover,
.icon-button:hover,
.mini-button:hover {
  box-shadow: 0 5px 0 rgba(47, 52, 70, 0.1);
  transform: translateY(3px);
}

.mini-button.disabled {
  cursor: default;
  opacity: 0.55;
  font-weight: 800;
  box-shadow: none;
}

.mini-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

.button {
  padding: 0 16px;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--lemon), #fff);
}

.button.ghost,
.dock-chip,
.icon-button {
  background: rgba(255, 255, 255, 0.72);
}

.live-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(520px, 100%);
  margin-top: 26px;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 244, 255, 0.62)),
    linear-gradient(90deg, rgba(247, 184, 207, 0.22), transparent);
  box-shadow: var(--shadow);
}

.live-panel div {
  display: grid;
  gap: 4px;
}

.live-panel strong {
  font-size: 1.22rem;
}

.live-panel small {
  color: var(--muted);
  font-weight: 800;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #65d88c;
  box-shadow: 0 0 0 8px rgba(101, 216, 140, 0.15);
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 1.2rem;
}

.quick-dock {
  margin-top: 16px;
}

.dock-chip {
  gap: 8px;
  padding: 0 12px;
}

.dock-chip span {
  color: #b986a4;
  font-size: 0.72rem;
}

.standee-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
}

.standee-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(460px, 88vw);
  padding: 14px 14px 0;
  animation: mascot-breathe 4.8s ease-in-out infinite;
}

@keyframes mascot-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.image-standee img {
  display: block;
  width: min(420px, 82vw);
  border: 6px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.standee-base {
  display: grid;
  gap: 2px;
  justify-items: center;
  width: min(300px, 70vw);
  min-height: 68px;
  margin-top: -10px;
  border: 6px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgba(158, 215, 245, 0.72), rgba(255, 255, 255, 0.92), rgba(247, 236, 143, 0.84));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.standee-base span {
  font-size: 1.1rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
}

.standee-base strong {
  color: #b986a4;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sparkle {
  position: absolute;
  width: 70px;
  height: 70px;
  color: var(--lemon);
  font-size: 60px;
  font-weight: 1000;
  pointer-events: none;
}

.sparkle::before {
  content: "✦";
}

.s1 {
  top: 46px;
  left: 8px;
  animation: twinkle 2.4s ease-in-out infinite;
}

.s2 {
  right: 0;
  bottom: 90px;
  color: var(--blue);
  transform: rotate(22deg);
  animation: twinkle 2.8s ease-in-out infinite reverse;
}

@keyframes twinkle {
  50% {
    opacity: 0.3;
    transform: scale(0.78) rotate(15deg);
  }
}

.mood-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 128px;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(117, 113, 130, 0.14);
  backdrop-filter: blur(10px);
}

.mood-card span {
  color: #b986a4;
  font-size: 0.72rem;
  font-weight: 1000;
}

.mood-card strong {
  font-size: 0.92rem;
}

.m1 {
  top: 76px;
  left: -8px;
}

.m2 {
  right: -12px;
  bottom: 132px;
}

.section {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 6vw, 82px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.compact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-grid,
.service-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 0.9fr));
  gap: 16px;
}

.feature-panel,
.service-card {
  border: 2px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, rgba(158, 215, 245, 0.24), rgba(247, 184, 207, 0.28));
  box-shadow: var(--shadow);
}

.feature-panel {
  display: grid;
  align-content: end;
  min-height: 160px;
  padding: 20px;
}

.feature-panel.big {
  min-height: 220px;
}

.feature-panel span,
.service-kicker,
.badge {
  color: #b986a4;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel strong {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.08;
}

.feature-panel small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.service-card {
  --glare-x: 50%;
  --glare-y: 35%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 280px;
  padding: 18px;
  overflow: hidden;
  transition:
    transform 120ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  transform:
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(0);
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::before {
  position: absolute;
  z-index: 0;
  right: -28px;
  top: -24px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(247, 236, 143, 0.58), rgba(158, 215, 245, 0.48)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.32) 12px 15px);
  content: "";
  opacity: 0.72;
  transform: rotate(12deg);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.service-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.48) 44%, transparent 54%);
  content: "";
  opacity: 0;
  mix-blend-mode: screen;
  transform: translateX(-18%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 34px 72px rgba(117, 113, 130, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  transform:
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(-7px);
}

.service-card:hover::before {
  opacity: 1;
  transform: translate(-8px, 6px) rotate(4deg);
}

.service-card:hover::after {
  opacity: 0.72;
  transform: translateX(0);
}

.service-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--blue), #fff 52%, var(--pink));
  box-shadow: 0 8px 0 rgba(47, 52, 70, 0.08);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-mark span {
  position: absolute;
  right: 5px;
  bottom: 4px;
  color: rgba(47, 52, 70, 0.72);
  font-size: 0.56rem;
  font-weight: 1000;
}

.service-card:hover .service-mark {
  box-shadow: 0 5px 0 rgba(47, 52, 70, 0.1);
  transform: translateY(3px) rotate(-3deg);
}

.service-glyph {
  width: 40px;
  height: 40px;
}

.glyph-fill {
  fill: rgba(255, 255, 255, 0.7);
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.glyph-line {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.glyph-dot {
  fill: var(--ink);
}

.service-card:hover .glyph-line {
  stroke-dasharray: 32;
  animation: glyph-draw 720ms ease both;
}

.service-card:hover .glyph-fill,
.service-card:hover .glyph-dot {
  animation: glyph-pop 560ms ease both;
}

@keyframes glyph-draw {
  from {
    stroke-dashoffset: 32;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glyph-pop {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.08);
  }
}

.service-card[data-badge-kind="private"] .service-mark {
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--mint), #fff 54%, var(--blue));
}

.service-card[data-badge-kind="locked"] .service-mark {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--pink), #fff 54%, var(--lemon));
}

.service-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-kicker,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.68);
}

.badge.public {
  background: rgba(247, 236, 143, 0.86);
}

.badge.private {
  background: rgba(158, 215, 245, 0.78);
}

.badge.protocol {
  background: rgba(204, 190, 231, 0.78);
}

.badge.locked {
  background: rgba(247, 184, 207, 0.75);
}

.service-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.service-card dl {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin: 0;
}

.service-card dl div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(47, 52, 70, 0.08);
  border-radius: 8px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.5);
}

dt {
  color: #b986a4;
  font-size: 0.72rem;
  font-weight: 1000;
}

dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.mini-button {
  min-height: 36px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.mini-button.primary {
  background: var(--ink);
  color: #fff;
}

.service-status-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 8px;
  align-items: center;
  min-height: 24px;
}

.service-note {
  min-height: 20px;
  color: #b986a4;
  font-size: 0.76rem;
  font-weight: 1000;
}

.service-pulse {
  width: 86px;
  height: 24px;
  overflow: visible;
}

.pulse-shadow,
.pulse-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-shadow {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 8;
}

.pulse-line {
  stroke: #2f3446;
  stroke-width: 3;
  stroke-dasharray: 32 18;
  animation: pulse-flow 1.8s linear infinite;
}

.pulse-slow .pulse-line {
  stroke: #4389a8;
  animation-duration: 2.8s;
}

.pulse-locked .pulse-line {
  stroke: #b986a4;
  animation-duration: 2.3s;
  stroke-dasharray: 18 18;
}

@keyframes pulse-flow {
  to {
    stroke-dashoffset: -50;
  }
}

@media (max-width: 1040px) {
  .hero,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .standee-stage {
    min-height: 560px;
  }

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

  .hero-motion {
    opacity: 0.54;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-motion {
    inset: 18px 8px auto;
    height: 360px;
    opacity: 0.34;
  }

  .lead {
    max-width: 100%;
  }

  .live-panel {
    align-items: flex-start;
  }

  .standee-stage {
    min-height: 500px;
  }

  .mood-card {
    position: relative;
    inset: auto;
    justify-self: start;
    margin: 0 0 -16px 12px;
  }

  .m2 {
    justify-self: end;
    margin: -18px 12px 0 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

}

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