/* reset + 全局排版 + 容器 + AOS 基础 */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-family: var(--font-body); line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  /* 奶油底 + rose 点纹理(沿现役 dumbdumb 站) */
  background:
    radial-gradient(circle at 18% 18%, rgba(219, 177, 165, .1) 0 1px, transparent 1.4px),
    var(--color-bg);
  background-size: 28px 28px;
  color: var(--color-ink);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

/* 固定页头留白(首页 hero 态由 M1 覆盖为 0) */
main { padding-top: var(--header-height); }
body.page-home main { padding-top: 0; }
@media (max-width: 768px) {
  main { padding-top: var(--header-height-sp); }
  body.page-home main { padding-top: 0; }
}
body.is-menu-open { overflow: hidden; }

/* 容器 */
.l-inner { width: 100%; max-width: var(--inner-max); padding-inline: 10px; margin-inline: auto; }

/* AOS fade-up(复刻 dozo;JS 加 .is-active 触发) */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}
[data-aos="fade-up"].is-active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* 无障碍隐藏 */
.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;
}

/* 展示标题(替代 dozo 的 SVG 图字标题)。2026-08-15:Fraunces → 品牌字 KG HAPPY Solid,
   对齐现役 dumbdumb.studio 的段落标题。单字重字体,opsz 变体轴不适用故去掉。 */
.dd-title {
  font-family: var(--font-brand);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 0;
}

/* 文本 wordmark(替代 dozo logo.svg)。2026-08-15:换品牌字,700 = 线上 logo 同款合成粗体。
   KG HAPPY 字面比 Fraunces 宽且矮,负字距会糊在一起,收成 0。 */
.dd-wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0;
  color: var(--color-ink);
  white-space: nowrap;
}
.dd-wordmark--light { color: var(--color-white); }

/* newsletter band(替代 dozo app band) */
.dd-newsletter { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 64px 0; }
.dd-newsletter__inner { max-width: 640px; text-align: center; }
.dd-newsletter__kicker {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 14px;
}
.dd-newsletter__title { font-size: 40px; margin-bottom: 14px; }
.dd-newsletter__body { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: 22px; }
.dd-newsletter__form { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.dd-newsletter__form input {
  width: min(320px, 60%); padding: 12px 18px; border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); background: var(--color-white);
}
.dd-newsletter__form button {
  padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--color-ink-soft); color: var(--color-white);
  transition: transform var(--transition-duration) var(--ease-pop);
}
.dd-newsletter__form button:hover { transform: scale(1.05); }
.dd-newsletter__ig {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em;
  color: var(--color-main-ink); text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .dd-newsletter { padding: 48px 0; }
  .dd-newsletter__title { font-size: 30px; }
  .dd-newsletter__form { flex-direction: column; align-items: center; }
  .dd-newsletter__form input { width: min(320px, 100%); }
}

