:root {
  --bg: #fff8fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.82);
  --text: #252027;
  --muted: #6f6870;
  --faint: #a79aa4;
  --line: rgba(255, 84, 154, 0.18);
  --accent: #ff5bab;
  --accent-gold: #ffd15b;
  --accent-blue: #67a7ff;
  --shadow: 0 24px 80px rgba(255, 84, 154, 0.18);
  --radius: 8px;
  --container: 1180px;
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, #fff7fb 0%, #fff1f6 44%, #fffaf4 100%);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.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;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container));
  height: 74px;
  margin: 14px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(255, 84, 154, 0.14);
  backdrop-filter: blur(20px);
  transition:
    background 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 84, 154, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 91, 171, 0.18),
    0 14px 32px rgba(255, 91, 171, 0.22);
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #4e4149;
  font-size: 14px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ff3d9a;
  background: rgba(255, 91, 171, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 91, 171, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(620px, 88svh, 780px);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: linear-gradient(135deg, #ff7db5 0%, #ffb366 52%, #ffd95f 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.92) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 84, 154, 0.88) 0%, rgba(255, 144, 98, 0.58) 38%, rgba(255, 211, 91, 0.12) 72%),
    linear-gradient(180deg, rgba(255, 91, 171, 0.08) 0%, rgba(255, 255, 255, 0.06) 58%, #fff8fb 100%);
}

.hero::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding-top: 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  font-weight: 900;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 18px 52px rgba(176, 38, 101, 0.38);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  text-shadow: 0 10px 36px rgba(176, 38, 101, 0.35);
}

.hero .eyebrow {
  color: #fff7fb;
  text-shadow: 0 10px 30px rgba(176, 38, 101, 0.28);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff4fa3, #ff7b75 52%, #ffb35f);
  box-shadow: 0 18px 48px rgba(255, 79, 163, 0.3);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 54px 0 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-width: 0;
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 84, 154, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  margin: 0 0 8px;
  color: #bd5e7c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  color: #2b2028;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
}

.section {
  position: relative;
  scroll-margin-top: 112px;
  padding: clamp(72px, 10vw, 124px) 0;
}

.section-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  text-wrap: balance;
}

.section-heading p,
.contact-inner p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.product-section {
  background:
    linear-gradient(180deg, #fff8fb 0%, #fff2f7 52%, #fffaf4 100%);
}

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

.product-card {
  position: relative;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 250, 0.86)),
    var(--surface-soft);
  box-shadow: 0 20px 70px rgba(255, 91, 171, 0.12);
}

.product-card::before {
  position: absolute;
  content: "";
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ff4fa3, #ff9870, #ffd15b);
  opacity: 0.75;
}

.product-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(255, 91, 171, 0.16), rgba(255, 157, 103, 0.12) 48%, rgba(255, 209, 91, 0.12)),
    var(--surface);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.card-topline strong {
  color: #ff4fa3;
  font-size: 12px;
}

.product-card h3,
.capability-item h3,
.values-panel h3,
.process-list h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

.product-card p,
.capability-item p,
.values-panel p,
.process-list p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.chip-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 91, 171, 0.14);
  border-radius: 999px;
  color: #a33870;
  background: rgba(255, 91, 171, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(255, 91, 171, 0.08), transparent 42%),
    #fffaf4;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.values-panel {
  display: grid;
  gap: 14px;
}

.values-panel article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(255, 91, 171, 0.08);
}

.values-panel span,
.process-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ff4fa3;
  font-size: 13px;
  font-weight: 900;
}

.capability-section {
  background:
    linear-gradient(180deg, #fffaf4 0%, #fff4f8 100%);
}

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

.capability-item {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 44px rgba(255, 91, 171, 0.08);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 91, 171, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 91, 171, 0.13), rgba(255, 157, 103, 0.1)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(255, 91, 171, 0.16);
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.capability-item:nth-child(2n) .capability-icon {
  background:
    linear-gradient(135deg, rgba(103, 167, 255, 0.13), rgba(255, 91, 171, 0.08)),
    rgba(255, 255, 255, 0.78);
}

.capability-item:nth-child(2n) .capability-icon svg {
  stroke: var(--accent-blue);
}

.capability-item:nth-child(3n) .capability-icon {
  background:
    linear-gradient(135deg, rgba(255, 209, 91, 0.2), rgba(255, 91, 171, 0.08)),
    rgba(255, 255, 255, 0.78);
}

.capability-item:nth-child(3n) .capability-icon svg {
  stroke: var(--accent-gold);
}

.process-section {
  background: #fff8fb;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  overflow: hidden;
}

.process-list li {
  min-height: 270px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.contact-section {
  padding-bottom: clamp(82px, 12vw, 148px);
  background:
    linear-gradient(180deg, #fff8fb 0%, rgba(255, 244, 248, 0.92) 100%),
    var(--bg);
}

.contact-inner {
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(255, 84, 154, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 91, 171, 0.18), rgba(255, 157, 103, 0.14) 48%, rgba(255, 209, 91, 0.14)),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.contact-inner .button {
  margin-top: 30px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 32px 0 42px;
  color: #907985;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.legal-main {
  padding-top: 118px;
  background:
    linear-gradient(180deg, #fff7fb 0%, #fffaf4 44%, #fff8fb 100%);
}

.legal-hero {
  padding: clamp(58px, 8vw, 98px) 0 clamp(36px, 6vw, 64px);
}

.legal-hero-inner,
.legal-content {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.legal-breadcrumb {
  display: inline-flex;
  margin-bottom: 20px;
  color: #a33870;
  font-size: 14px;
  font-weight: 800;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.1;
  font-weight: 900;
}

.legal-lead {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.legal-meta li,
.legal-pill {
  padding: 8px 11px;
  border: 1px solid rgba(255, 91, 171, 0.18);
  border-radius: 999px;
  color: #a33870;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.legal-section {
  padding: 0 0 clamp(48px, 8vw, 84px);
}

.legal-panel {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(255, 91, 171, 0.08);
}

.legal-panel h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
}

.legal-panel h3 {
  margin: 26px 0 12px;
  color: var(--text);
  font-size: 19px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.legal-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-text-document h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 91, 171, 0.14);
}

.legal-text-document h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-text-document p {
  margin: 12px 0 0;
}

.legal-text-document .clause-item {
  padding-left: 1em;
  text-indent: -1em;
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 91, 171, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.legal-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 91, 171, 0.12);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.legal-table th {
  color: #8a315e;
  background: rgba(255, 91, 171, 0.08);
  font-weight: 900;
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table a,
.legal-panel a {
  color: #d93487;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid #ff5bab;
  border-radius: 8px;
  background: rgba(255, 91, 171, 0.08);
}

.legal-note p {
  margin: 0;
}

html.has-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

html.has-reveal .reveal.is-visible,
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section {
    scroll-margin-top: 94px;
  }

  .site-header {
    width: min(100% - 24px, var(--container));
    height: 66px;
    margin-top: 10px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 84, 154, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
    padding: 13px 14px;
  }

  .hero {
    min-height: 86svh;
    align-items: end;
  }

  .hero-media {
    opacity: 0.82;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 84, 154, 0.9), rgba(255, 144, 98, 0.54)),
      linear-gradient(180deg, rgba(255, 91, 171, 0.04) 0%, rgba(255, 114, 126, 0.66) 66%, #fff8fb 100%);
  }

  .hero-inner {
    padding: 120px 0 70px;
  }

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

  .product-card.featured {
    grid-column: span 2;
  }

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

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

  .process-list li:nth-child(2n) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88svh;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 28px, var(--container));
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .hero-metrics div {
    border-right: 0;
  }

  .hero-metrics div:nth-child(odd) {
    border-right: 1px solid rgba(255, 84, 154, 0.14);
  }

  .hero-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 84, 154, 0.14);
  }

  .product-grid,
  .capability-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .product-section {
    padding-top: 16px;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .product-card,
  .capability-item,
  .process-list li {
    min-height: auto;
  }

  .process-list li,
  .process-list li:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .contact-inner {
    padding: 28px 20px;
  }

  .site-footer {
    display: grid;
  }

  .legal-main {
    padding-top: 86px;
  }

  .legal-table {
    min-width: 760px;
  }
}

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

  html.has-reveal .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
