/* =====================================================================
   紫川建站 · ZCQM — Consolidated Production Stylesheet
   Hand-written semantic CSS. No Tailwind / utility framework.
   Brand tokens are locked; do not redefine outside :root.
   Breakpoints: mobile-first · md ≥768px · lg ≥1024px
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  --primary: #512B8C;     /* deep purple   */
  --accent:  #16E0E0;     /* cyan          */
  --accent-dark: #0FC9C9; /* hover cyan    */
  --dark:    #1A1530;     /* near-black    */
  --light:   #F4F1FA;     /* light bg      */
  --surface: #FFFFFF;     /* white surface */
  --muted:   #8B7FA8;     /* muted text    */
  --border:  #E2DCF0;     /* hairline      */

  --primary-10: rgba(81, 43, 140, 0.10);
  --primary-15: rgba(81, 43, 140, 0.15);
  --accent-05:   rgba(22, 224, 224, 0.05);
  --accent-10:   rgba(22, 224, 224, 0.10);
  --accent-20:   rgba(22, 224, 224, 0.20);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --maxw: 80rem;          /* 1280px */
  --pad: 1.5rem;          /* mobile gutter */
  --nav-h: 4rem;

  --font-body: 'Noto Sans SC', sans-serif;
  --font-display: 'DM Sans', 'Noto Sans SC', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Visually hidden (screen-reader only) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Color helpers (semantic, hand-written) */
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }

/* --------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
@media (min-width: 1024px) {
  .container { padding-inline: 3rem; }
}

.section { padding-block: 5rem; }
.section--lg { padding-block: 6rem; }
@media (min-width: 1024px) {
  .section { padding-block: 8rem; }
  .section--lg { padding-block: 9rem; }
}

.bg-dark   { background: var(--dark);   color: #fff; }
.bg-light  { background: var(--light); }
.bg-surface{ background: var(--surface); }

/* Grid utilities (mobile-first: 1 col → md 2 → lg N) */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { gap: 2rem; }
  .grid-3, .grid-4 { gap: 2rem; }
}

/* ----------------------- Signature decorations --------------------- */
.grid-pattern {
  background-image:
    linear-gradient(rgba(81, 43, 140, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 43, 140, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes aperture-rotate { to { transform: rotate(360deg); } }
@keyframes aperture-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.28; transform: scale(1.03); }
}
@keyframes flow-line {
  0%   { transform: translateY(0);    opacity: 0.3; }
  50%  { opacity: 0.7; }
  100% { transform: translateY(0);    opacity: 0.3; }
}

/* Glow underline used beneath stat numbers */
.stat-glow {
  height: 2px;
  width: 3rem;
  margin: 0.75rem auto 0.5rem;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ------------------------------ Nav -------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(26, 21, 48, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark__inner {
  width: 1rem; height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(22, 224, 224, 0.6);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name { color: #fff; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; }
.nav__domain { color: rgba(22, 224, 224, 0.7); font-size: 0.625rem; letter-spacing: 0.18em; font-family: var(--font-display); }

.nav__links { display: none; gap: 2rem; }
.nav__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--accent); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* ---------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn svg, .btn i { width: 1rem; height: 1rem; }

.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(22, 224, 224, 0.25);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn--ghost:hover { color: var(--accent); border-color: var(--accent-20); }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(81, 43, 140, 0.2);
}
.btn--outline:hover { background: var(--primary-10); border-color: var(--primary); }
.btn--block { width: 100%; }

/* ----------------------------- Eyebrow ----------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow--pill {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--accent-20);
  background: var(--accent-05);
  border-radius: 999px;
}

/* ----------------------- Section headers --------------------------- */
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 4rem; }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.section-sub { color: var(--muted); font-size: 1rem; }
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-head--row {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: none; margin-bottom: 4rem; text-align: left;
}
@media (min-width: 768px) {
  .section-head--row {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
  }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--primary); font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--accent); }
.link-arrow svg, .link-arrow i { width: 1rem; height: 1rem; }

/* ------------------------------ Hero ------------------------------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.hero__inner { position: relative; max-width: 42rem; }
.hero--home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}
.hero--home .hero__inner { max-width: 44rem; }

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 1.25rem;
}
@media (min-width: 768px) { .hero__title { font-size: 3.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

.hero__sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__tagline {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 4rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  font-size: 0.875rem;
}
.hero__tagline::before {
  content: ""; width: 2rem; height: 1px; background: var(--accent-20);
}

/* Hero aperture decoration (right) */
.hero__aperture {
  position: absolute;
  right: -10%; top: 50%;
  transform: translateY(-50%);
  width: 28rem; height: 28rem;
  pointer-events: none;
}
@media (min-width: 1024px) { .hero__aperture { width: 32rem; height: 32rem; } }
.hero__aperture .ring { position: absolute; border-radius: 50%; }
.hero__aperture .ring--1 { inset: 0;    border: 1px solid var(--primary-15); animation: aperture-pulse 6s ease-in-out infinite; }
.hero__aperture .ring--2 { inset: 3rem; border: 1px solid var(--accent-20);  animation: aperture-rotate 40s linear infinite; }
.hero__aperture .ring--3 { inset: 6rem; border: 1px solid rgba(81,43,140,0.1); animation: aperture-pulse 6s ease-in-out infinite 2s; }
.hero__aperture svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: aperture-rotate 40s linear infinite; }
.hero__aperture::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--accent); opacity: 0.3; filter: blur(6px);
}

/* Hero flow lines (left, 川 motif) */
.hero__flow {
  position: absolute; left: 2rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1.5rem; opacity: 0.5; pointer-events: none;
}
@media (min-width: 1024px) { .hero__flow { left: 4rem; } }
.hero__flow .line { width: 2px; border-radius: 2px; }
.flow-line-1 { height: 6rem; background: linear-gradient(to bottom, transparent, var(--accent), transparent); animation: flow-line 4s ease-in-out infinite; }
.flow-line-2 { height: 8rem; background: linear-gradient(to bottom, transparent, var(--primary), transparent); animation: flow-line 4s ease-in-out 0.5s infinite; }
.flow-line-3 { height: 5rem; background: linear-gradient(to bottom, transparent, var(--accent), transparent); transform: rotate(-8deg); transform-origin: top left; animation: flow-line 4s ease-in-out 1s infinite; }

/* ------------------------------ Cards ------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.card:hover {
  border-color: rgba(81, 43, 140, 0.3);
  box-shadow: 0 18px 40px rgba(81, 43, 140, 0.06);
  transform: translateY(-4px);
}
.card__icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--primary-10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.25s var(--ease);
}
.card:hover .card__icon { background: var(--primary-15); }
.card__icon svg, .card__icon i { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.card__title { font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.card__text { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 1.5rem;
  color: var(--accent); font-size: 0.875rem; font-weight: 500;
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.card:hover .card__link { opacity: 1; }
.card__link svg, .card__link i { width: 0.875rem; height: 0.875rem; }

.card--featured {
  background: linear-gradient(135deg, var(--primary), rgba(81, 43, 140, 0.8));
  border-color: transparent;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card--featured .card__title { color: #fff; }
.card--featured .card__text { color: rgba(255, 255, 255, 0.65); }
.card--featured:hover { transform: none; box-shadow: 0 18px 40px rgba(81, 43, 140, 0.2); }

/* Feature check list */
.check-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(26, 21, 48, 0.7);
}
.check-list li svg, .check-list li i {
  width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0;
}

/* --------------------------- Stat bar ------------------------------ */
.stats {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__value {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700; color: #fff;
}
@media (min-width: 768px) { .stat__value { font-size: 3rem; } }
.stat__value span { color: var(--accent); }
.stat__label { color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; margin-top: 0.25rem; }

/* --------------------------- Case cards ---------------------------- */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.case-card:hover { border-color: rgba(81, 43, 140, 0.2); box-shadow: 0 14px 32px rgba(81, 43, 140, 0.08); }
.case-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-05), var(--light) 50%, var(--primary-10));
}
.case-card__media .grid-pattern { position: absolute; inset: 0; opacity: 0.3; }
.case-card__thumb {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.case-card__thumb .badge-circle {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 2px solid rgba(81, 43, 140, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.case-card__thumb .badge-circle svg, .case-card__thumb .badge-circle i { width: 1.75rem; height: 1.75rem; color: rgba(81, 43, 140, 0.4); }
.case-card__thumb .preview-tag { color: rgba(81, 43, 140, 0.3); font-size: 0.75rem; font-family: var(--font-display); letter-spacing: 0.1em; }
.case-card__body { padding: 1.5rem; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.case-card__title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.case-card__text { color: var(--muted); font-size: 0.875rem; }

/* Tags / pills */
.tag {
  font-size: 0.625rem; font-weight: 500;
  padding: 0.125rem 0.625rem; border-radius: 999px;
}
.tag--accent { color: var(--accent); background: var(--accent-10); }
.tag--primary { color: rgba(81, 43, 140, 0.6); background: var(--primary-10); }
.tag--feature { color: #fff; background: var(--primary); }

/* Featured large case */
.case-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .case-feature { grid-template-columns: 1fr 1fr; } }
.case-feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-10), var(--light) 50%, var(--accent-05));
  overflow: hidden;
}
@media (min-width: 1024px) { .case-feature__media { aspect-ratio: auto; } }
.case-feature__media .grid-pattern { position: absolute; inset: 0; opacity: 0.4; }

/* Browser mock */
.browser-mock { position: relative; width: 85%; max-width: 26rem; }
.browser-mock__bar {
  background: rgba(26, 21, 48, 0.9);
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.browser-mock__dots { display: flex; gap: 0.375rem; }
.browser-mock__dots span { width: 0.625rem; height: 0.625rem; border-radius: 50%; }
.browser-mock__url {
  flex: 1; margin-left: 1rem;
  background: rgba(255, 255, 255, 0.1); border-radius: 4px;
  padding: 0.125rem 0.5rem;
  color: rgba(255, 255, 255, 0.3); font-size: 0.625rem; font-family: var(--font-display);
}
.browser-mock__screen {
  background: #fff; border-radius: 0 0 8px 8px;
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; overflow: hidden;
}
.browser-mock__nav { height: 2rem; background: var(--primary-05); border-bottom: 1px solid rgba(226, 220, 240, 0.5); display: flex; align-items: center; padding: 0 1rem; gap: 0.75rem; }
.browser-mock__nav .dot { width: 1rem; height: 1.5px; border-radius: 2px; background: rgba(26, 21, 48, 0.1); }
.browser-mock__nav .logo-sm { width: 1rem; height: 1rem; border-radius: 3px; background: var(--primary-20); }
.browser-mock__body { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.browser-mock__body .ln { height: 0.75rem; border-radius: 3px; }
.browser-mock__body .ln.w3 { width: 75%; background: var(--primary-15); }
.browser-mock__body .ln.w2 { width: 50%; background: rgba(26, 21, 48, 0.08); }
.browser-mock__btns { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.browser-mock__btns .b { height: 1.25rem; width: 4rem; border-radius: 4px; }
.browser-mock__btns .b.accent { background: var(--accent-20); }
.browser-mock__btns .b.primary { background: var(--primary-10); }
.browser-mock__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.browser-mock__grid .c { border-radius: 4px; }
.browser-mock__grid .c:nth-child(1) { background: var(--light); }
.browser-mock__grid .c:nth-child(2) { background: var(--primary-05); }
.browser-mock__grid .c:nth-child(3) { background: var(--accent-05); }

.case-feature__info { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .case-feature__info { padding: 3rem; } }
.case-feature__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.case-feature__title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
@media (min-width: 768px) { .case-feature__title { font-size: 1.875rem; } }
.case-feature__text { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.case-feature__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; text-align: center; }
.case-feature__stats .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.case-feature__stats .l { color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }
.case-feature__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-weight: 500; font-size: 0.875rem;
  transition: gap 0.2s var(--ease);
}
.case-feature__link:hover { gap: 0.75rem; }
.case-feature__link svg, .case-feature__link i { width: 1rem; height: 1rem; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.chips__label { color: var(--muted); font-size: 0.875rem; margin-right: 0.5rem; }
.chip {
  font-size: 0.875rem; padding: 0.375rem 1rem; border-radius: 999px;
  background: var(--surface); color: rgba(26, 21, 48, 0.6);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover { border-color: rgba(81, 43, 140, 0.3); }
.chip--active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ----------------------- CTA band (dark) --------------------------- */
.cta {
  position: relative; background: var(--dark); overflow: hidden;
  text-align: center;
}
.cta .grid-pattern { position: absolute; inset: 0; opacity: 0.15; }
.cta__inner { position: relative; max-width: 48rem; margin: 0 auto; padding-inline: 1.5rem; }
.cta__title { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta__title { font-size: 2.25rem; } }
.cta__sub { color: rgba(255, 255, 255, 0.4); font-size: 1rem; margin-bottom: 2rem; }

/* ------------------------- Process timeline ------------------------ */
.process-steps {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .process-steps::before {
    content: ""; position: absolute; top: 3rem; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-20), transparent);
  }
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__circle {
  width: 6rem; height: 6rem; border-radius: 50%;
  border: 2px solid var(--accent-20);
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; position: relative; z-index: 2;
}
.step:nth-child(even) .step__circle { border-color: var(--primary-15); }
.step__inner {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--accent-10);
  display: flex; align-items: center; justify-content: center;
}
.step:nth-child(even) .step__inner { background: var(--primary-10); }
.step__inner svg, .step__inner i { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.step:nth-child(even) .step__inner svg, .step:nth-child(even) .step__inner i { color: rgba(81, 43, 140, 0.8); }
.step__num { color: var(--accent); font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.step__title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.step__text { color: rgba(255, 255, 255, 0.35); font-size: 0.875rem; line-height: 1.7; }
.step__time { color: rgba(255, 255, 255, 0.2); font-size: 0.75rem; font-family: var(--font-display); margin-top: 0.75rem; }

/* ----------------------------- Pricing ----------------------------- */
.pricing-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.tier--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 48px rgba(22, 224, 224, 0.12);
  position: relative;
}
.tier__badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--dark);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 999px;
}
.tier__name { font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.tier__desc { color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }
.tier__price { margin-bottom: 2rem; }
.tier__price .amt { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--dark); }
.tier__price .unit { color: var(--muted); font-size: 0.875rem; margin-left: 0.25rem; }
.tier__features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; flex: 1; }
.tier__features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(26, 21, 48, 0.7);
}
.tier__features li svg, .tier__features li i { width: 1rem; height: 1rem; color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }

/* ---------------------------- About page --------------------------- */
.story-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.prose { display: flex; flex-direction: column; gap: 1rem; color: rgba(26, 21, 48, 0.7); font-size: 1rem; line-height: 1.8; }

/* Brand family diagram */
.brand-tree {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 1024px) { .brand-tree { padding: 3rem; } }
.brand-mother { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.brand-mother__mark {
  width: 5rem; height: 5rem; border-radius: 50%;
  border: 2px solid rgba(81, 43, 140, 0.3);
  background: var(--primary-05);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.brand-mother__mark .r1 { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(81, 43, 140, 0.2); display: flex; align-items: center; justify-content: center; }
.brand-mother__mark .r2 { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid rgba(81, 43, 140, 0.3); }
.brand-mother__name { font-size: 1rem; font-weight: 700; color: var(--dark); }
.brand-mother__domain { color: var(--muted); font-size: 0.75rem; font-family: var(--font-display); }
.brand-mother__note { color: var(--muted); font-size: 0.75rem; max-width: 20rem; margin-top: 0.5rem; }
.brand-connector { width: 1px; height: 2rem; background: linear-gradient(to bottom, var(--primary-15), var(--accent-20)); margin-bottom: 1rem; }
.brand-kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; margin-top: 1rem; }
.brand-kid {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem; border-radius: var(--radius); background: var(--light); border: 1px solid var(--border);
}
.brand-kid--active { background: var(--accent-05); border-color: var(--accent-20); }
.brand-kid__icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--primary-10); display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.brand-kid--active .brand-kid__icon { background: var(--accent-10); }
.brand-kid__icon svg, .brand-kid__icon i { width: 1.25rem; height: 1.25rem; color: rgba(81, 43, 140, 0.4); }
.brand-kid--active .brand-kid__icon svg, .brand-kid--active .brand-kid__icon i { color: var(--accent); }
.brand-kid__name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.brand-kid--inactive .brand-kid__name { color: rgba(26, 21, 48, 0.5); font-weight: 500; }
.brand-kid__domain { font-size: 0.625rem; color: var(--muted); font-family: var(--font-display); }
.brand-kid__role { font-size: 0.625rem; color: var(--muted); margin-top: 0.25rem; }

/* Values */
.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; gap: 1rem;
  transition: border-color 0.25s var(--ease);
}
.value-card:hover { border-color: var(--accent-20); }
.value-card__icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: var(--accent-10); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-card:nth-child(even) .value-card__icon { background: var(--primary-15); }
.value-card__icon svg, .value-card__icon i { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.value-card:nth-child(even) .value-card__icon svg, .value-card:nth-child(even) .value-card__icon i { color: rgba(81, 43, 140, 0.8); }
.value-card__title { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.value-card__text { color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; line-height: 1.7; }

/* Team + qualifications */
.split-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.stat-tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-tile .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.stat-tile .l { color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }

.qual-list { display: flex; flex-direction: column; gap: 1rem; }
.qual {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.qual__icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--primary-10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qual__icon svg, .qual__icon i { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.qual__title { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.qual__text { color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }

/* Quimei meaning band */
.quimei { text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quimei__mark { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.quimei__mark .lm { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--accent-20); display: flex; align-items: center; justify-content: center; }
.quimei__mark .lm span { width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid rgba(22, 224, 224, 0.3); }
.quimei__mark .txt { color: var(--accent); font-size: 0.875rem; font-family: var(--font-display); letter-spacing: 0.1em; }
.quimei__title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .quimei__title { font-size: 1.875rem; } }
.quimei__text { color: rgba(26, 21, 48, 0.6); font-size: 1.0625rem; line-height: 1.8; max-width: 42rem; margin: 0 auto 2rem; }
.quimei__text b { color: var(--primary); font-weight: 600; }
.quimei__slogan { color: var(--accent); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.25em; }

/* ------------------------- Contact page ---------------------------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 3rem; } }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; }
@media (min-width: 1024px) { .form-card { padding: 2.5rem; } }
.form-card__title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.form-card__sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }

.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--dark); margin-bottom: 0.5rem; }
.form__label .req { color: var(--accent); }
.form__input, .form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(244, 241, 250, 0.5);
  color: var(--dark); font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form__input::placeholder, .form__textarea::placeholder { color: rgba(139, 127, 168, 0.5); }
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--accent-20);
  box-shadow: 0 0 0 1px var(--accent-20);
}
.form__textarea { resize: none; }

/* Checkbox group */
.check-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .check-grid { grid-template-columns: repeat(4, 1fr); } }
.check {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(244, 241, 250, 0.5);
  cursor: pointer;
  font-size: 0.875rem; color: rgba(26, 21, 48, 0.7);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.check:hover { border-color: rgba(81, 43, 140, 0.3); }
.check input { width: 0.875rem; height: 0.875rem; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-05); }

.form__note { color: var(--muted); font-size: 0.75rem; text-align: center; }

/* Contact info cards */
.info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.info-card__icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--primary-10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card__icon svg, .info-card__icon i { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.info-card__title { font-size: 0.875rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.info-card__text { color: rgba(26, 21, 48, 0.8); font-size: 0.875rem; }
.info-card__text .mono { font-family: var(--font-display); }
.info-card__sub { color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }
.info-card__stack { display: flex; flex-direction: column; gap: 0.25rem; color: rgba(26, 21, 48, 0.7); font-size: 0.875rem; margin-top: 0.25rem; }
.qr-box {
  width: 6rem; height: 6rem; border-radius: var(--radius-sm);
  background: var(--light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-top: 0.5rem;
}
.qr-box svg, .qr-box i { width: 2.5rem; height: 2.5rem; color: rgba(139, 127, 168, 0.3); }
.qr-box .qr-cap { font-size: 0.625rem; color: rgba(139, 127, 168, 0.4); text-align: center; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin: 0 auto; }
.faq details {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem; font-weight: 600; color: var(--dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 1.25rem; height: 1.25rem; color: var(--muted); flex-shrink: 0; transition: transform 0.2s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details .answer { padding: 0 1.5rem 1.25rem; color: rgba(26, 21, 48, 0.6); font-size: 0.875rem; line-height: 1.7; }

/* ------------------------------ Footer ----------------------------- */
.footer { background: var(--dark); border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 4rem; padding-bottom: 2rem; }
.footer__grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__brand { grid-column: auto; }
@media (min-width: 768px) { .footer__brand { grid-column: span 2; } }
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__desc { color: rgba(255, 255, 255, 0.3); font-size: 0.875rem; line-height: 1.7; max-width: 24rem; margin-bottom: 1.5rem; }
.footer__tagline { color: rgba(22, 224, 224, 0.6); font-size: 0.875rem; letter-spacing: 0.1em; }
.footer__col h4 { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-display); margin-bottom: 1rem; }
.footer__col li { margin-bottom: 0.75rem; }
.footer__col a { color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4rem; padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer__copy { color: rgba(255, 255, 255, 0.2); font-size: 0.75rem; font-family: var(--font-display); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255, 255, 255, 0.2); font-size: 0.75rem; transition: color 0.2s var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* --------------------------- Load more ----------------------------- */
.load-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); color: var(--muted);
  padding: 0.75rem 2rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; background: transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.load-more:hover { border-color: rgba(81, 43, 140, 0.3); color: var(--primary); }
.load-more svg, .load-more i { width: 1rem; height: 1rem; }

/* ------------------- Reduced motion preference -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
