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

html, body {
  min-height: 100vh;
}

body {
  font-family: var(--font-sans-cn);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-surface-canvas);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

.slow img {
  transition: transform var(--transition-slow-image);
}

.slow:hover img {
  transform: scale(1.05);
}

.subtitle-en {
  font-family: var(--font-label-en);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  border: none;
  border-radius: var(--radius-button-lg);
  background: var(--color-brand-accent);
  color: var(--color-text-on-dark);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-default);
}

.btn-solid:hover {
  background: var(--color-brand-primary);
}

.a-more a,
.a-more-dark a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.4375rem;
  padding: 0 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  transition: var(--transition-default);
}

.a-more a:hover,
.a-more-dark a:hover {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #fff;
}

.a-more-dark a {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
}

.a-more-dark a:hover {
  color: #fff;
}

.a-more .arrow {
  margin-left: 0.75rem;
}

.a-more a:hover .arrow,
.a-more-dark a:hover .arrow {
  transform: translateX(3px);
  transition: transform 0.3s ease;
}

.surface-muted { background: var(--color-surface-muted); }

.dark-block {
  background: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.dark-block .com-n-til span,
.dark-block-soft .com-n-til span {
  color: rgba(255, 255, 255, 0.55);
}

.dark-block-soft {
  background: var(--color-surface-dark-alt);
  color: var(--color-text-on-dark);
}
