/* ==========================================================================
   研之有理官网 — 像素风 · 年轻化设计系统
   参考 fde-business.goodpoint.top:纸感底+细网格 / 粗黑描边 / 硬偏移阴影 / 高亮色块
   ========================================================================== */

@font-face {
  font-family: 'Press Start 2P';
  src: url('/assets/fonts/press-start-2p.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #eef1f9;
  --card: #ffffff;
  --ink: #16181d;
  --ink-2: #565b66;
  --line: rgba(22, 24, 29, 0.85);
  --hairline: rgba(22, 24, 29, 0.14);
  --blue: #2b5cff;
  --blue-deep: #1e46d8;
  --yellow: #ffd43b;
  --yellow-soft: #ffe58a;
  --red: #e5484d;
  --radius: 10px;
  --bw: 2.5px;          /* 粗描边宽度 */
  --hs: 5px 5px 0;      /* 硬偏移阴影 */
  --header-h: 72px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* 全站纸感细网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 24, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 29, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 品牌化选区与键盘焦点 */
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 像素英文字体工具类 */
.px {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  letter-spacing: 0.02em;
  line-height: 1.9;
}

/* ---------- 按钮:粗描边 + 硬阴影 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: var(--bw) solid var(--ink);
  border-radius: 9px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline { background: var(--card); color: var(--ink); }
.btn-outline:hover { background: var(--yellow-soft); }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-sm:active { box-shadow: 1px 1px 0 var(--ink); }

/* ---------- 高亮色块 ---------- */
.hl {
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 2px 12px;
  display: inline-block;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--card);
  border-bottom: var(--bw) solid var(--ink);
  transition: box-shadow 0.25s ease;
}
/* 滚动后加投影,增强悬浮感(JS 滚动时加 .scrolled) */
.site-header.scrolled { box-shadow: 0 4px 0 rgba(22, 24, 29, 0.08); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 32px; width: auto; }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  padding: 7px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.main-nav a:hover { background: var(--yellow-soft); border-color: var(--ink); }
.main-nav a.active {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 90px;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }

/* Hero water ripple canvas: refracts the paper-grid-glow texture */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-eyebrow {
  --rd: 0.05s;
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 999px;
  padding: 8px 22px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.hero-title {
  margin-top: 34px;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}
.smart-accent {
  display: inline-block;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 0 20px;
  margin: 0 6px;
  transform: rotate(-2deg);
  color: var(--ink);
}
.hero-sub {
  --rd: 1.3s;
  margin-top: 30px;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: clamp(0.6rem, 1.1vw, 0.78rem);
  color: var(--blue);
  text-transform: uppercase;
}
/* hero 业务词打字机轮播：一行文字 + 像素光标（JS 驱动，reduced-motion 时显示全部四词） */
.hero-tags {
  --rd: 1.55s;
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
}
.type-word {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.type-cursor {
  display: inline-block;
  width: 12px;
  height: 1.15em;
  margin-left: 6px;
  background: var(--blue);
  box-shadow: 2px 2px 0 var(--ink);
  animation: type-blink 1.1s steps(1, end) infinite;
}
@keyframes type-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
.hero-cta { --rd: 1.75s; margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  --rd: 1.9s;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}
.stat {
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: var(--radius);
  padding: 20px 12px 18px;
  text-align: center;
}
.stat strong {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--blue);
  line-height: 1;
  display: block;
}
.stat strong i { font-style: normal; color: var(--ink); }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 0.85rem; font-weight: 700; text-wrap: balance; }

/* Hero 标题逐字弹跳入场 */
.jt {
  display: inline-block;
  opacity: 0;
  animation: jtJump 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  animation-delay: var(--d, 0.2s);
}
@keyframes jtJump {
  0% { opacity: 0; transform: translateY(64px) scale(0.5); }
  55% { opacity: 1; transform: translateY(-14px) scale(1.1); }
  75% { transform: translateY(5px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 漂浮像素装饰 */
.sparkle {
  position: absolute;
  font-size: 26px;
  color: var(--blue);
  animation: floaty 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.sparkle.s1 { top: -8px; left: -46px; color: var(--blue); animation-delay: 0s; }
.sparkle.s2 { bottom: 6px; right: -52px; color: var(--red); animation-delay: 1.2s; font-size: 20px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(18deg); }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 30px; height: 44px;
  border: var(--bw) solid var(--ink);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 6px; height: 10px;
  background: var(--blue);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); }
}

/* ---------- 区块通用 ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-index {
  display: inline-block;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.66rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}
.section-sub {
  margin-top: 14px;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.6rem;
  color: var(--blue);
  text-transform: uppercase;
}
.section-desc {
  margin: 16px auto 0;
  max-width: 660px;
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 600;
  text-wrap: balance;
}

/* ---------- 关于我们 ---------- */
.about-card {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 44px;
  align-items: stretch;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 16px;
  padding: 44px 42px;
}
.about-text { min-width: 0; }
.about-text .lead {
  font-size: 1.28rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.about-text .lead .hl { transform: rotate(-1.5deg); }
.about-text p { color: var(--ink-2); margin-bottom: 14px; font-size: 0.98rem; }
.about-text strong { color: var(--ink); background: var(--yellow-soft); padding: 0 4px; font-weight: 800; }
.about-text .motto {
  margin-top: 24px;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 9px;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
}
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  background:
    linear-gradient(rgba(22,24,29,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,24,29,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #f6f7ff;
  border: 2px dashed var(--hairline);
  border-radius: 12px;
  padding: 34px 26px;
  overflow: hidden;
}
.av-eyebrow {
  font-size: 0.58rem;
  color: var(--blue);
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
}
.av-keys { display: flex; gap: 12px; }
.av-keys span {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 1.15rem;
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 10px;
}
.av-keys span:nth-child(even) { background: #dbe4ff; transform: rotate(3deg); }
.av-keys span:nth-child(odd) { transform: rotate(-3deg); }
.av-title { font-size: 1.2rem; font-weight: 900; }
.av-sub { color: var(--ink-2); font-size: 0.88rem; font-weight: 600; margin-top: -8px; }
.av-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.av-chips span {
  padding: 5px 13px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.av-sparkle {
  position: absolute;
  color: var(--blue);
  font-size: 20px;
  animation: floaty 3.2s ease-in-out infinite;
}
.av-s1 { top: 14px; right: 18px; }
.av-s2 { bottom: 14px; left: 16px; color: var(--red); animation-delay: 1.4s; font-size: 15px; }

/* ---------- 双 SMART 模型 ---------- */
.smart-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.smart-card {
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: var(--radius);
  padding: 26px 18px 24px;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.smart-card:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--ink); }
.smart-letter {
  display: inline-block;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 1.5rem;
  padding: 12px 14px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 9px;
  color: var(--ink);
  transition: rotate 0.25s ease;
}
.smart-card:hover .smart-letter { rotate: -4deg; }
.smart-card:nth-child(even) .smart-letter { background: #dbe4ff; }
.smart-body h3 { margin-top: 18px; font-size: 1.05rem; font-weight: 900; }
.smart-body h3 em {
  display: block;
  font-style: normal;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: 2px;
}
.smart-body p { margin-top: 10px; color: var(--ink-2); font-size: 0.88rem; line-height: 1.7; }
.smart-map {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px dashed var(--hairline);
  font-weight: 900;
  font-size: 0.95rem;
}
.smart-map span { display: block; color: var(--blue); font-weight: 700; font-size: 0.72rem; margin-top: 2px; font-family: 'Press Start 2P', 'Courier New', monospace; line-height: 1.7; }

/* ---------- 服务体系 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--ink); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  transition: rotate 0.25s ease;
}
.service-card:hover .service-icon { rotate: -4deg; }
.service-card:nth-child(even) .service-icon { background: #dbe4ff; }
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-top: 20px; font-size: 1.14rem; font-weight: 900; }
.service-card h3 span {
  display: block;
  width: fit-content;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow-soft);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 2px 10px;
}
.service-card p { margin-top: 14px; color: var(--ink-2); font-size: 0.9rem; }
.service-card ul {
  margin-top: 14px;
  list-style: none;
  border-top: 2px dashed var(--hairline);
  padding-top: 14px;
}
.service-card li {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 4px 0 4px 22px;
  position: relative;
}
.service-card li::before {
  content: "▸";
  position: absolute;
  left: 4px; top: 4px;
  color: var(--blue);
  font-weight: 900;
}

/* ---------- 主理人 ---------- */
.founder-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 52px;
  align-items: start;
}
.founder-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.founder-photo {
  position: relative;
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}
/* 头像点击翻转:正面 IP 头像,背面抖音二维码 */
.avatar-flip {
  position: relative;
  z-index: 2;
  display: block;
  width: 108px;
  height: 108px;
  margin: -48px auto 0;
  padding: 0;
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  background: #eef1f9;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  perspective: 800px;
  -webkit-tap-highlight-color: transparent;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.avatar-flip:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--ink); }
.avatar-flip:hover .avatar-front img { animation: avatarWiggle 0.9s ease-in-out infinite; }
@keyframes avatarWiggle {
  0%, 100% { rotate: -4deg; }
  50% { rotate: 4deg; }
}
.avatar-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.avatar-flip.flipped .avatar-inner { transform: rotateY(180deg); }
.avatar-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.avatar-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-back { transform: rotateY(180deg); }
.avatar-back img { transform: scale(1.08); } /* QR 圆与裁剪圆之间留白补偿 */
.founder-photo img { width: 100%; }
.founder-photo::after {
  content: "创始人";
  position: absolute;
  top: 16px; left: -34px;
  background: var(--red);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 5px 40px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  transform: rotate(-45deg);
}
.founder-name { font-size: 2.1rem; font-weight: 900; }
.founder-name .en {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--blue);
  margin-left: 10px;
  vertical-align: middle;
}
.founder-title { color: var(--ink-2); margin-top: 8px; font-weight: 700; font-size: 0.98rem; }
.founder-badges { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  padding: 6px 14px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 8px;
  background: var(--card);
  font-size: 0.83rem;
  font-weight: 800;
}
.badge:nth-child(3n+1) { background: var(--yellow-soft); }
.badge:nth-child(3n+2) { background: #dbe4ff; }
.founder-bio {
  margin-top: 24px;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 14px;
  padding: 28px 30px;
}
.founder-bio p { color: var(--ink-2); margin-bottom: 13px; font-size: 0.94rem; }
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio strong { color: var(--ink); background: var(--yellow-soft); padding: 0 4px; font-weight: 800; }
.founder-cases { margin-top: 26px; }
.founder-cases h4 { font-size: 1rem; font-weight: 900; margin-bottom: 14px; }
.case-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.case-chips span {
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.15s;
}
.case-chips span:hover { background: var(--yellow-soft); }

/* ---------- 联系我们 ---------- */
.contact-card {
  display: grid;
  grid-template-columns: auto 1.05fr auto;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 16px;
  padding: 38px 42px;
}
.contact-info h3 { font-size: 1.35rem; font-weight: 900; }
.contact-chip {
  display: inline-block;
  font-size: 0.58rem;
  color: var(--blue);
  background: var(--yellow-soft);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
}
.contact-loc { color: var(--ink-2); margin-top: 12px; font-weight: 700; letter-spacing: 0.15em; }
.contact-mail { margin-top: 8px; color: var(--ink-2); font-weight: 600; }
.contact-mail a { color: var(--blue); font-weight: 800; }
.contact-mail a:hover { background: var(--yellow-soft); }
.contact-note {
  margin-top: 18px;
  padding: 0;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.92rem;
}
.note-hl {
  background: var(--yellow);
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 900;
  color: var(--ink);
}
.contact-qr { display: flex; gap: 24px; }
.contact-qr figure { text-align: center; }
.contact-qr img {
  width: 118px; height: 118px;
  object-fit: cover;
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 10px;
  padding: 5px;
  background: #fff;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.contact-qr figure:hover img { translate: -3px -3px; box-shadow: 7px 7px 0 var(--ink); }
.contact-qr figcaption { margin-top: 10px; color: var(--ink); font-size: 0.85rem; font-weight: 800; }

/* ---------- 页脚(深色) ---------- */
.site-footer {
  margin-top: 40px;
  border-top: var(--bw) solid var(--ink);
  background: var(--ink);
  color: #e8eaf0;
  padding: 46px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.footer-brand { text-align: center; }
.footer-logo { height: 30px; margin: 0 auto; }

/* 旗下网站 */
.family-title {
  text-align: center;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.62rem;
  color: var(--yellow);
  margin-bottom: 16px;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 26px 64px;
  max-width: 940px;
  margin: 0 auto;
}
/* 无卡片框,logo 反白直接坐在深色页脚上 */
.family-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
}
.family-card img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 0.18s ease;
}
.family-card strong { display: block; color: #fff; font-size: 1rem; font-weight: 900; transition: color 0.18s ease; }
.family-card span { display: block; color: #aeb4c2; font-size: 0.8rem; font-weight: 600; margin-top: 2px; text-wrap: balance; }
.family-card em {
  margin-left: 14px;
  font-style: normal;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  color: var(--yellow);
  font-size: 0.9rem;
  transition: translate 0.18s ease;
}
.family-card:hover img { opacity: 1; }
.family-card:hover strong { color: var(--yellow); }
.family-card:hover em { translate: 3px -3px; }
/* 版权 + ICP + 公安备:同一行,圆点分隔 */
.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-legal > * + *::before { content: "·"; margin: 0 12px; color: #6b7180; }
.footer-legal a { color: #aeb4c2; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: var(--yellow); }
.footer-legal .footer-copy { color: #6b7180; }

/* ---------- 入场动画 ----------
   transform 专用入场,translate 专用 hover 位移:两者叠加互不干扰,
   卡片入场后 hover 抬升依然是 0.18s 的干脆手感(--rd 为逐项编排延迟) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.reveal-ready {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s),
    translate 0.18s ease,
    box-shadow 0.18s ease;
}
/* 逐项入场编排:同屏卡片按序浮现,延迟只作用于入场(opacity/transform),
   不影响 hover 的 translate/box-shadow */
.smart-grid > .reveal:nth-child(2) { --rd: 0.07s; }
.smart-grid > .reveal:nth-child(3) { --rd: 0.14s; }
.smart-grid > .reveal:nth-child(4) { --rd: 0.21s; }
.smart-grid > .reveal:nth-child(5) { --rd: 0.28s; }
.service-grid > .reveal:nth-child(2) { --rd: 0.08s; }
.service-grid > .reveal:nth-child(3) { --rd: 0.16s; }
.service-grid > .reveal:nth-child(4) { --rd: 0.24s; }
.course-list > .reveal:nth-child(2) { --rd: 0.07s; }
.course-list > .reveal:nth-child(3) { --rd: 0.14s; }
.course-list > .reveal:nth-child(4) { --rd: 0.21s; }
.course-list > .reveal:nth-child(5) { --rd: 0.28s; }
.album-grid > .reveal:nth-child(2) { --rd: 0.05s; }
.album-grid > .reveal:nth-child(3) { --rd: 0.1s; }
.album-grid > .reveal:nth-child(4) { --rd: 0.15s; }
.album-grid > .reveal:nth-child(5) { --rd: 0.2s; }
.album-grid > .reveal:nth-child(6) { --rd: 0.25s; }
.album-grid > .reveal:nth-child(7) { --rd: 0.3s; }
.album-grid > .reveal:nth-child(8) { --rd: 0.35s; }
.album-grid > .reveal:nth-child(9) { --rd: 0.4s; }
.album-grid > .reveal:nth-child(10) { --rd: 0.45s; }
.album-grid > .reveal:nth-child(11) { --rd: 0.5s; }
.album-grid > .reveal:nth-child(12) { --rd: 0.55s; }
.founder-info > .reveal:nth-child(1) { --rd: 0.1s; }
.founder-info > .reveal:nth-child(2) { --rd: 0.2s; }
.founder-info > .reveal:nth-child(3) { --rd: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.reveal-ready { transition: none; }
  .smart-accent { animation: none; }
  .jt { animation: none; opacity: 1; }
  .type-cursor { animation: none; opacity: 0; }
  .album-item img,
  .album-item:hover img { transition: none; transform: none; }
  .service-icon,
  .smart-letter,
  .course-arrow { transition: none; }
  .cm-card { animation: none; }
  .hero-boy, .fig-spark, .contact-boy { animation: none; }
  .service-boy { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 子页面(动态详情/隐私政策) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 52px;
  border-bottom: var(--bw) solid var(--ink);
  text-align: center;
}
.page-hero time {
  display: inline-block;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 900;
}
.page-hero h1 {
  margin: 22px auto 0;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.5;
  max-width: 860px;
}
.article-body {
  max-width: 820px;
  margin: 56px auto;
  padding: 44px 46px;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 14px;
}
.article-body p {
  color: var(--ink-2);
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.95;
}
.article-end {
  text-align: center;
  color: var(--ink-2);
  letter-spacing: 0.4em;
  margin-top: 40px;
}
.article-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 90px;
  flex-wrap: wrap;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .smart-grid { grid-template-columns: repeat(3, 1fr); }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 280px 1fr; gap: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 62px; }
  .album-grid { grid-template-columns: 1fr; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 16px;
    border-bottom: var(--bw) solid var(--ink);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; border-bottom: 2px dashed var(--hairline); border-radius: 0; }
  .main-nav a.active { box-shadow: none; }
  .nav-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    margin-left: auto;
    background: var(--card);
    border: 2.5px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    border-radius: 9px;
    cursor: pointer;
  }
  .menu-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  .menu-toggle span { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .about-card { grid-template-columns: 1fr; gap: 34px; padding: 32px 24px; }
  .smart-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
  .contact-boy { display: none; }
  .contact-qr { justify-content: center; flex-wrap: wrap; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-side { position: static; max-width: 320px; }
  .founder-photo { max-width: 100%; }
  .family-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 7px; }
  .footer-legal > * + *::before { content: none; }
  .article-body { margin: 36px 18px; padding: 30px 22px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .family-card { gap: 12px; }
  .family-card img { height: 26px; }
  .family-card img.logo-opc { height: 18px; }
  .family-card strong { font-size: 0.92rem; }
  .family-card span { font-size: 0.74rem; }
  .footer-legal { font-size: 0.72rem; }
  .smart-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .hero-stats { gap: 14px; }
  .sparkle { display: none; }
}

/* ---------- 活动相册 ---------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.album-item {
  margin: 0;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 12px;
  overflow: hidden;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.album-item:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--ink); }
.album-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.album-item:hover img { transform: scale(1.045); }
.album-item figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  border-top: var(--bw) solid var(--ink);
  background: var(--yellow-soft);
}
.album-item:nth-child(3n+2) figcaption { background: #dbe4ff; }

/* ---------- 课程体系 ---------- */
.course-list {
  display: grid;
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.course-row {
  display: grid;
  grid-template-columns: 72px 1.05fr 1.55fr auto;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 12px;
  padding: 20px 28px;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.course-row:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--ink); }
.course-no {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.78rem;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 10px;
}
.course-row:nth-child(even) .course-no { background: #dbe4ff; }
.course-name { font-size: 1.18rem; font-weight: 900; }
.course-aud {
  display: block;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 4px;
}
.course-desc {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.75;
}
.course-arrow {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  color: var(--blue);
  font-size: 0.9rem;
  transition: translate 0.25s ease;
}
.course-row:hover .course-arrow { translate: 6px 0; }
@media (max-width: 1024px) {
  .course-row { grid-template-columns: 64px 1fr; row-gap: 8px; }
  .course-desc { grid-column: 2; }
  .course-arrow { display: none; }
}

/* ---------- 备案徽章 ---------- */
.beian-badge {
  display: inline-block;
  height: 15px;
  width: auto;
  vertical-align: -3px;
  margin-right: 5px;
}

.family-card img.logo-opc { height: 24px; }

/* ---------- 课程弹窗 ---------- */
button.course-row {
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: 20px;
}
.course-modal.open { display: flex; align-items: center; justify-content: center; }
.cm-mask { position: absolute; inset: 0; background: rgba(22, 24, 29, 0.55); }
.cm-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 30px 34px 26px;
  animation: cmPop 0.22s ease-out;
}
@keyframes cmPop {
  from { transform: translateY(14px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- 课程弹窗:头部与关闭 ---------- */
.cm-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: var(--bw) solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  cursor: pointer;
  transition: translate 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cm-close:hover {
  background: var(--red);
  color: #fff;
  translate: -2px -2px;
  box-shadow: 5px 5px 0 var(--ink);
}
.cm-head { display: flex; align-items: center; gap: 16px; }
.cm-no {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 10px;
  font-size: 0.78rem;
}
.cm-title { font-size: 1.3rem; font-weight: 900; line-height: 1.3; }
.cm-aud { color: var(--ink-2); font-size: 0.85rem; font-weight: 700; margin-top: 2px; }
.cm-desc {
  margin-top: 14px;
  background: #eef3ff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}
.cm-list { margin-top: 18px; display: grid; gap: 14px; }

/* ---------- 课程弹窗:课程条目与底部 ---------- */
.cm-item {
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 16px 18px 14px;
}
.cm-item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-code {
  flex: none;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 0.58rem;
  background: var(--ink);
  color: #fff;
  padding: 6px 9px;
  border-radius: 8px;
  line-height: 1;
}
.cm-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--yellow);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.cm-item h4 { font-size: 1.02rem; font-weight: 900; flex: none; }
.cm-label {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: 2px;
}
.cm-aim { margin-top: 8px; font-size: 0.88rem; font-weight: 600; line-height: 1.7; }
.cm-pts { margin-top: 6px; font-size: 0.82rem; color: var(--ink-2); font-weight: 600; line-height: 1.9; }
.cm-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 2px dashed var(--hairline);
  padding-top: 14px;
}
.cm-foot span { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }

/* ---------- 课程弹窗:移动端 ---------- */
@media (max-width: 640px) {
  .course-modal { padding: 12px; }
  .cm-card { padding: 22px 18px 18px; }
  .cm-no { width: 44px; font-size: 0.62rem; }
  .cm-title { font-size: 1.12rem; }
  .cm-desc { font-size: 0.84rem; }
  .cm-item { padding: 14px 14px 12px; }
  .cm-item-head { gap: 8px; }
  .cm-tag { margin-left: 0; }
}

/* ---------- Hero 右侧 IP 形象 ---------- */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 1fr);
  align-items: center;
  gap: 34px;
}
.hero-copy { text-align: center; }
.hero-fig { position: relative; justify-self: center; }
.hero-boy {
  width: clamp(230px, 24vw, 330px);
  height: auto;
  display: block;
  filter: drop-shadow(5px 7px 0 rgba(22, 24, 29, 0.14));
  animation: boyBob 3.4s ease-in-out infinite alternate;
}
@keyframes boyBob {
  from { transform: rotate(-2.5deg) translateY(0); }
  to { transform: rotate(-1deg) translateY(-12px); }
}
.hero-inner .hero-stats { grid-column: 1 / -1; }

/* ---------- Hero 形象:火花与响应式 ---------- */
.fig-spark {
  position: absolute;
  color: var(--blue);
  font-size: 18px;
  animation: figTwinkle 2.6s ease-in-out infinite;
}
.fs1 { top: 4%; right: 2%; color: var(--red); font-size: 22px; }
.fs2 { bottom: 16%; left: -3%; font-size: 14px; animation-delay: 0.9s; }
.fs3 { bottom: 30%; right: -4%; color: #8fa3ff; font-size: 16px; animation-delay: 1.7s; }
@keyframes figTwinkle {
  0% { opacity: 0.15; scale: 0.7; }
  50% { opacity: 1; scale: 1.15; }
  100% { opacity: 0.15; scale: 0.7; }
}
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-fig { margin-top: 44px; }
  .hero-title { font-size: clamp(2.7rem, 7vw, 5rem); }
  .hero-boy { width: clamp(200px, 44vw, 250px); }
}

/* ---------- 白皮书弹窗 ---------- */
.wp-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: inherit;
}
.wp-link strong { border-bottom: 3px solid var(--yellow); padding-bottom: 1px; }
.wp-link:hover strong { border-bottom-color: var(--blue); }
.wp-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 12px;
}

/* ---------- 白皮书弹窗外链按钮 ---------- */
.wp-cta {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  text-align: center;
}

/* ---------- 服务卡 IP 形象 ---------- */
.service-card { position: relative; }
.service-boy {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 158px;
  width: auto;
  pointer-events: none;
  transition: translate 0.25s ease, rotate 0.25s ease;
}
.service-card:hover .service-boy { translate: 0 -5px; rotate: -2.5deg; }

/* ---------- 联系区 IP 形象 ---------- */
.contact-boy {
  align-self: end;
  justify-self: start;
  height: 208px;
  width: auto;
  margin: 0 0 -10px -8px;
  pointer-events: none;
  animation: boyBob 3.4s ease-in-out infinite alternate;
}

/* ---------- 课程体系:扑克牌扇形 ---------- */
.card-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 46px 0 30px;
  max-width: 1080px;
  margin: 0 auto;
}
.fan-card {
  width: 196px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  position: relative;
  cursor: pointer;
  appearance: none;
  font: inherit;
  color: inherit;
  transform-origin: 50% 118%;
  margin-left: -24px;
  transition: transform 0.25s ease;
}
.fan-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(5px 6px 0 rgba(22, 24, 29, 0.2));
}
.fan-card:first-child { margin-left: 0; }
.fan-card:nth-child(1) { transform: rotate(-10deg) translateY(42px); z-index: 1; }
.fan-card:nth-child(2) { transform: rotate(-5deg) translateY(11px); z-index: 2; }
.fan-card:nth-child(3) { transform: rotate(0deg) translateY(0px); z-index: 3; }
.fan-card:nth-child(4) { transform: rotate(5deg) translateY(11px); z-index: 2; }
.fan-card:nth-child(5) { transform: rotate(10deg) translateY(42px); z-index: 1; }
.fan-card:hover { transform: rotate(0deg) translateY(-18px) scale(1.04); z-index: 30; }

/* ---------- 扇形卡:响应式与动效偏好 ---------- */
@media (min-width: 701px) and (max-width: 1000px) {
  .card-fan {
    flex-wrap: wrap;
    gap: 22px;
    padding: 20px 0 10px;
  }
  .fan-card {
    margin-left: 0;
    width: calc(50% - 11px);
  }
  .fan-card:nth-child(n) { transform: none; }
  .fan-card:nth-child(n):hover { transform: none; }
}
@media (max-width: 700px) {
  .card-fan {
    flex-wrap: wrap;
    gap: 22px;
    padding: 20px 0 10px;
  }
  .fan-card {
    margin-left: 0;
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  .fan-card:nth-child(n) { transform: none; }
  .fan-card:nth-child(n):hover { transform: none; }
}
@media (max-width: 480px) {
  .fan-card { width: 100%; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-card, .fan-card:hover { transition: none; }
}

/* AI 复制提示词入口 */
.btn-copy {
  font-family: inherit;
  background: var(--yellow);
  padding: 13px 28px 13px 16px;
  font-size: 1.02rem;
  gap: 10px;
}
.btn-copy svg { flex-shrink: 0; }
.btn-copy:hover { background: var(--yellow-soft); }
.btn-copy:active { box-shadow: 2px 2px 0 var(--ink); }
.btn-copy-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  line-height: 1;
  padding: 7px 8px;
  background: var(--ink);
  color: var(--yellow);
}
.btn-copy.is-copied { background: var(--blue); color: #fff; }
.btn-copy.is-copied:hover { background: var(--blue-deep); }
.btn-copy.is-copied .btn-copy-chip { background: #fff; color: var(--blue); }
