/* ============================================================
   不合理蛙官网 全站样式 · v4（Notion 设计规范）
   Token 来源：design-md-library/design-md/notion/DESIGN.md
   色值、字体、间距统一在 :root 变量里，页面里不写死。
   注意：Notion Sans 是 Inter 系商业字体，按零 CDN 约束用系统字体栈替代，
   保留其 600 字重标题、500 字重按钮、8px 圆角矩形的排版特征。
   ============================================================ */

:root {
  /* 色板：Notion 规范 */
  --primary: #5645d4;            /* Notion 紫：只用于 CTA 和链接强调 */
  --primary-deep: #3a2a99;       /* purple-deep：强调文字、当前导航文字 */
  --primary-press: #4534b3;      /* purple-pressed：按下与悬停态 */
  --primary-soft-hover: #e6e0f5; /* lavender 卡片色：标签底色、当前导航底色 */
  --brand-dark: #0a1530;         /* brand-navy：深色面板、序号圆 */
  --ink: #1a1a1a;                /* 正文：近黑 */
  --ink-secondary: #37352f;      /* charcoal：次级正文 */
  --ink-mute: #787671;           /* steel：三级文字、页脚 */
  --on-primary: #ffffff;
  --canvas: #ffffff;
  --canvas-soft: #f6f5f4;        /* surface：暖调浅底 */
  --canvas-cream: #f8f5e8;       /* 奶油色间隔带 */
  --hairline: #e5e3df;           /* 暖灰发丝线 */
  --hairline-input: #c8c4be;     /* hairline-strong：描边、输入框 */
  --ruby: #ff64c8;               /* brand-pink：只做点缀，不做按钮 */
  --shadow-color: 15, 15, 15;    /* 中性阴影基色 */

  --shadow-1: rgba(var(--shadow-color), 0.04) 0 1px 2px;
  --shadow-2: rgba(var(--shadow-color), 0.08) 0 4px 12px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --nav-h: 64px;
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius: 12px;
  --radius-xl: 16px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

/* ---------- 基础 ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

/* 挂绳卡摆动会扫出视口边缘，裁掉即可，不产生滚动条 */
html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--canvas);
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

h1 {
  font-size: clamp(34px, 4.5vw, 56px);   /* display-lg，移动端降到 34px 左右 */
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(26px, 2.8vw, 32px);   /* heading-2 */
  letter-spacing: -0.5px;
}

h3 {
  font-size: 20px;                        /* heading-4 */
  letter-spacing: 0;
}

p {
  margin: 0 0 var(--space-2);
}

strong, b {
  font-weight: 500;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.text-muted {
  color: var(--ink-mute);
}

.text-small {
  font-size: 13px;
}

/* ---------- 顶部导航 ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(6px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--nav-h);
}

.header__brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.header__brand:hover {
  text-decoration: none;
}

.header__toggle {
  display: none;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
}

.header__toggle svg {
  display: block;
  stroke: var(--ink);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.nav__link:hover {
  background-color: var(--canvas-soft);
  text-decoration: none;
}

.nav__link--active {
  color: var(--primary-deep);
  font-weight: 500;
  background-color: var(--primary-soft-hover);
}

@media (max-width: 860px) {
  .header__toggle {
    display: block;
  }

  .header--home .nav {
    margin-left: 0;
  }

  .header--home .header__toggle {
    margin-left: auto;
  }

  .header--home .header__cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--space-2) var(--space-3) var(--space-3);
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .nav__link {
    padding: 12px;
  }
}

/* ---------- 首页导航：品牌与链接靠左，右端一颗实心主按钮 ---------- */

.header--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px var(--space-3);
  background-color: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.header--home .header__inner {
  justify-content: flex-start;
  min-height: 64px;
  padding-left: 20px;
  padding-right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.07), 0 2px 8px rgba(15, 15, 15, 0.05);
  backdrop-filter: blur(12px);
}

.header--home .header__brand {
  font-size: 24px;
  letter-spacing: -0.4px;
}

.header--home .nav {
  margin-left: clamp(24px, 5vw, 80px);
}

.header--home .nav__link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.header--home .nav__link:hover {
  background-color: transparent;
  color: var(--ink);
}

.header--home .nav__link--active {
  background-color: transparent;
  color: var(--ink);
  font-weight: 500;
}

.header__cta {
  margin-left: auto;
  padding: 10px 18px;
  min-height: 40px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .header--home .nav {
    top: calc(100% - 8px);
    left: var(--space-3);
    right: var(--space-3);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    box-shadow: var(--shadow-2);
  }
}

/* ---------- 主题切换：图标方钮，深浅两版共用 ---------- */

/* 内页把导航推到右侧，切换钮跟在它后面 */
.header:not(.header--home) .nav {
  margin-left: auto;
}

/* 首页是导航靠左、按钮靠右，切换钮贴着主按钮站 */
.header--home .theme-toggle {
  margin-left: auto;
}

.header--home .header__cta {
  margin-left: 10px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
}

.theme-toggle:hover {
  background-color: var(--canvas-soft);
  color: var(--ink);
}

.theme-toggle .theme-toggle__moon { display: block; }
.theme-toggle .theme-toggle__sun { display: none; }

[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }

@media (max-width: 860px) {
  .theme-toggle {
    order: 2;
    margin-left: auto;
  }

  .header__toggle {
    order: 3;
  }

  .header--home .theme-toggle {
    margin-left: auto;
  }

  .header--home .header__toggle {
    margin-left: 8px;
  }
}

/* ---------- 按钮：8px 圆角矩形，一个区块只允许一颗实心主按钮 ---------- */

.btn {
  display: inline-block;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn--indigo {
  background-color: var(--primary);
  color: var(--on-primary);
}

.btn--indigo:hover {
  background-color: var(--primary-press);
}

.btn--outline {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-input);
}

.btn--outline:hover {
  background-color: var(--canvas-soft);
}

/* ---------- 首页第一屏：文字压在画布上 ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
  width: 100%;
}

.hero__lead {
  max-width: 34em;
  font-size: 18px;
  color: var(--ink-secondary);
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- 首页首屏：黑白大字 + 右侧旋转粒子球 ---------- */

.hero--studio {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(26, 26, 26, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 26, 26, 0.035) 1px, transparent 1px);
  background-size: 168px 168px;
}

.hero--studio .hero__inner {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.hero--studio h1 {
  font-size: clamp(37px, 6.7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.hero--studio .hero__lead {
  max-width: 27em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-bottom: var(--space-3);
}

.hero__orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__orb {
    width: 100%;
    opacity: 0.38;
  }

  .hero--studio h1 {
    font-size: clamp(29px, 8.7vw, 48px);
  }
}

/* ---------- 区块 ---------- */

.section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.section--soft {
  background-color: var(--canvas-soft);
}

.section--cream {
  background-color: var(--canvas-cream);
}

.section__head {
  max-width: 720px;
  margin-bottom: var(--space-4);
}

.section__head p {
  color: var(--ink-mute);
  font-size: 17px;
}

.section__more {
  display: inline-block;
  margin-top: var(--space-3);
  color: var(--primary);
  font-weight: 500;
  font-size: 16px;
}

/* ---------- 图文两栏 ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.split__media {
  margin: 0;
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: var(--space-4);
}

.split__media svg {
  width: 100%;
  height: auto;
}

/* 自进化示意图：涟漪往外扩，小点绕圈走，核心轻轻呼吸 */

.ripple__wave {
  opacity: 0;
  animation: ripple-wave 4.8s linear infinite;
}

.ripple__wave--2 {
  animation-delay: -1.6s;
}

.ripple__wave--3 {
  animation-delay: -3.2s;
}

@keyframes ripple-wave {
  0% { r: 28px; opacity: 0; }
  12% { opacity: 0.45; }
  100% { r: 150px; opacity: 0; }
}

.ripple__core {
  transform-box: view-box;
  transform-origin: 200px 150px;
  animation: ripple-core 4.8s ease-in-out infinite;
}

@keyframes ripple-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.ripple__orbit {
  transform-box: view-box;
  transform-origin: 200px 150px;
  animation: ripple-orbit 20s linear infinite;
}

.ripple__orbit--b {
  animation-duration: 28s;
  animation-direction: reverse;
}

.ripple__orbit--c {
  animation-duration: 24s;
}

@keyframes ripple-orbit {
  to { transform: rotate(360deg); }
}

/* ---------- 词头式定义列表 ---------- */

.defs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.defs__item {
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: var(--space-4) var(--space-3);
}

.defs__term {
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.defs__item p {
  color: var(--ink-mute);
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- 步进条：五关 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}

.steps__item {
  position: relative;
  padding-top: 56px;
}

.steps__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--brand-dark);
  color: var(--on-primary);
  font-weight: 600;
  display: grid;
  place-items: center;
}

.steps__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 48px;
  right: calc(-1 * var(--space-3));
  height: 1px;
  background-color: var(--hairline);
}

.steps__item h3 {
  margin-bottom: 4px;
}

.steps__item p {
  color: var(--ink-mute);
  margin-bottom: 0;
  font-size: 15px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .steps__item {
    padding-top: 0;
    padding-left: 56px;
  }

  .steps__item:not(:last-child)::before {
    top: 48px;
    left: 19px;
    right: auto;
    bottom: -32px;
    width: 1px;
    height: auto;
  }
}

/* ---------- 事实清单：发丝线分隔的行 ---------- */

.facts li {
  border-top: 1px solid var(--hairline);
  padding: var(--space-2) 0;
  font-size: 17px;
  color: var(--ink-secondary);
}

.facts li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.facts h3 {
  margin-bottom: 4px;
}

.facts li p {
  color: var(--ink-mute);
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- 勾选清单 ---------- */

.list-check li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--space-1);
}

.list-check + .text-muted {
  margin-top: var(--space-3);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--canvas-soft);
  border: 1px solid var(--hairline);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 10.5l3.2 3.2L15 7" fill="none" stroke="%235645d4" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 18px 18px;
}

/* ---------- 创始人挂绳卡：细绳吊卡，风吹摆动，悬停翻面 ---------- */

.team {
  position: relative;
  height: 700px;
}

.team__rope {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  pointer-events: none;
}

/* 每个挂点：绳、夹子、卡作为一个整体绕挂点摆动 */
.hang {
  position: absolute;
  top: 0;
  width: 300px;
}

.hang--1 { left: 7%; --thread: 64px; --rest: -2.2deg; }
.hang--2 { left: 50%; margin-left: -150px; --thread: 116px; --rest: 0deg; }
.hang--3 { right: 7%; --thread: 84px; --rest: 2.4deg; }

.hang__swing {
  transform-origin: 50% 0;
  animation: card-sway 6.5s ease-in-out infinite;
}

.hang--2 .hang__swing { animation-delay: -2.2s; }
.hang--3 .hang__swing { animation-delay: -4.1s; }

@keyframes card-sway {
  0%, 100% { rotate: calc(var(--rest, 0deg) - 1.3deg); }
  50% { rotate: calc(var(--rest, 0deg) + 1.3deg); }
}

.hang__pend {
  transform-origin: 50% 0;
}

/* 风吹一下：悬停时先晃一晃 */
.hang:hover .hang__pend {
  animation: card-shimmy 0.9s ease-in-out;
}

@keyframes card-shimmy {
  0% { rotate: 0deg; }
  22% { rotate: 2.6deg; }
  48% { rotate: -2deg; }
  72% { rotate: 1.1deg; }
  100% { rotate: 0deg; }
}

.hang__thread {
  width: 2px;
  height: var(--thread, 64px);
  margin: 0 auto;
  background: var(--hairline-input);
}

.hang__clip {
  display: block;
  margin: -3px auto 0;
}

/* 卡片本体：翻面绕夹子处（顶部）转，才有纸上翻页的感觉 */
.flip {
  position: relative;
  width: 300px;
  height: 460px;
  perspective: 1300px;
  cursor: pointer;
  border-radius: var(--radius);
}

.flip:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.flip__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 6px; /* 绕夹子处翻，像纸页翻起 */
}

.flip__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flip__face--front {
  background-color: var(--canvas-soft);
  box-shadow: var(--shadow-2);
}

/* 背面：Notion 卡片色的薄荷、天蓝、淡紫、粉、杏、奶油多层渐变，指针划过时叠一层流光 */
.flip__face--back {
  background:
    linear-gradient(140deg,
      #d9f3e1 0%,
      #dcecfa 18%,
      #e6e0f5 36%,
      #fde0ec 54%,
      #ffe8d4 70%,
      #f8f5e8 84%,
      #d9f3e1 100%);
  color: var(--ink);
  transform: rotateY(180deg);
}

.flip__face--back::before,
.flip__face--back::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flip__face--back::before {
  background: conic-gradient(from 200deg at var(--mx, 50%) var(--my, 50%),
    rgba(255, 168, 214, 0.42),
    rgba(166, 200, 255, 0.42),
    rgba(170, 240, 214, 0.42),
    rgba(255, 240, 168, 0.42),
    rgba(222, 176, 255, 0.42),
    rgba(255, 168, 214, 0.42));
  mix-blend-mode: soft-light;
}

.flip__face--back::after {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.5) 12%,
    rgba(255, 255, 255, 0) 34%);
  mix-blend-mode: screen;
}

.flip__face--back > * {
  position: relative;
  z-index: 1;
}

.flip__meta {
  display: flex;
  justify-content: space-between;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.1px;
  margin-bottom: var(--space-2);
}

.flip__portrait {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto var(--space-2);
}

.flip__portrait svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 浮雕层被指针位置的一圈光点亮，默认光斑停在卡外 */
.flip__vivid {
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, -60%) var(--my, -60%), #000 0%, transparent 72%);
  mask-image: radial-gradient(circle 150px at var(--mx, -60%) var(--my, -60%), #000 0%, transparent 72%);
}

.flip__name {
  text-align: center;
  margin-bottom: 2px;
}

.flip__role {
  color: var(--primary-deep);
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  margin-bottom: 0;
}

.flip__foot {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--ink);
}

.flip__go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--brand-dark);
  color: var(--on-primary);
}

.flip__label {
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.1px;
  margin-bottom: var(--space-2);
}

/* 背面资料卡：头像与姓名并排，下面是简介、负责方向、二维码 */
.profile__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.profile__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
}

.profile__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.profile__name {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.profile__role {
  color: var(--primary-deep);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.profile__intro {
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.profile__rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0 0 10px;
}

.profile__section {
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.profile__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.profile__list li {
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.45;
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
}

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

.profile__foot {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.profile__foot .profile__section {
  margin-bottom: 2px;
}

.profile__contact {
  color: var(--ink);
  font-size: 13px;
}

.profile__qr {
  margin: 0;
  text-align: center;
}

.profile__qr img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.profile__qr figcaption {
  margin-top: 4px;
  color: var(--ink-mute);
  font-size: 10px;
  letter-spacing: 0.4px;
}

.flip__hint {
  margin-top: var(--space-2);
  text-align: center;
  color: var(--ink-mute);
  font-size: 12px;
}

.flip__hint-touch {
  display: none;
}

@media (hover: hover) {
  .flip__hint {
    display: none;
  }
}

@media (hover: none) {
  .flip__hint-touch {
    display: inline;
  }
}

@media (max-width: 1160px) {
  .hang--1 { left: 2%; }
  .hang--3 { right: 2%; }
}

@media (max-width: 900px) {
  .team {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .team__rope {
    display: none;
  }

  .hang,
  .hang--1,
  .hang--2,
  .hang--3 {
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hang__swing,
  .hang:hover .hang__pend {
    animation: none;
  }
}

/* ---------- 页内行动区：浅底 + 单颗实心主按钮 ---------- */

.cta {
  background-color: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta h2 {
  margin-bottom: 0;
}

.cta p {
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- 占位提示（表单链接待补）：奶油带 + 柠檬边 ---------- */

.placeholder {
  background-color: var(--canvas-cream);
  border: 2px dashed #523410;
  border-radius: var(--radius);
  padding: var(--space-3);
  color: var(--ink);
  font-weight: 400;
}

.placeholder p {
  margin-bottom: 0;
}

/* ---------- 联系页二维码 ---------- */

.qr {
  margin: 0;
  display: grid;
  place-items: center;
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: var(--space-3);
  max-width: 320px;
  text-align: center;
}

.qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.qr figcaption {
  color: var(--ink-mute);
  font-size: 13px;
  margin-top: var(--space-1);
}

/* ---------- 页脚：浅色页脚 ---------- */

.footer {
  background-color: var(--canvas);
  border-top: 1px solid var(--hairline);
  color: var(--ink-mute);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
}

.footer h3 {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.1px;
  margin-bottom: var(--space-1);
}

.footer__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer__company {
  color: var(--ink-secondary);
  margin-bottom: 0;
}

.footer__addr {
  color: var(--ink-mute);
  font-size: 13px;
  margin-bottom: 0;
}

.footer__copy {
  color: var(--ink-mute);
  font-size: 13px;
  margin: var(--space-2) 0 0;
}

.footer__nav li {
  margin-bottom: var(--space-1);
  font-size: 14px;
}

.footer a {
  color: var(--ink-secondary);
}

.footer a:hover {
  color: var(--primary);
}

/* ---------- 页内标题区 ---------- */

.page-head {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.page-head p {
  max-width: 34em;
  color: var(--ink-mute);
  font-size: 18px;
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .defs {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

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

@media (max-width: 600px) {
  .section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
  }

  h1 {
    letter-spacing: -0.5px;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
