/* GEI 官网 v3-jp · Sections
   7 段日式版式: 序/痛/转/人上/人下+循环/证/请 */

/* ============ 段1 · Hero ============ */
.hero { padding-top: var(--sp-8); padding-bottom: var(--section-y-base); }
.hero__media {
  width: min(100%, var(--w-wide));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  max-height: 62svh;              /* 留出首屏给标题, 标题不整段沉到折叠下 */
  overflow: hidden;
  background: var(--bg-kinari);   /* 占位底色防 CLS */
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__copy {
  width: min(100% - 2.5rem, var(--w-content));
  margin-inline: auto;
  margin-top: var(--sp-6);          /* 標題落图下留白带, 不压脸 */
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.hero__title { max-width: 18ch; }
.hero__lead  { max-width: 46ch; }

/* Hero 行动: 硬 CTA "Get started" + 软链 "See how they work" (P1-2) */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}
/* washi 底上的 Get started — btn-cta 朱底白字本就合规, 仅微调 (本屏唯一朱: Hero 标题 "runs" 是 shu 文本,
   但 "runs" 用 .shu 仅 1 处大字; CTA 朱底是填充非文本 → 朱预算: 大字 1 + 填充块, 仍判 ≤1 呼吸点) */
.hero__get { font-size: 1.0625rem; }
/* "runs" 编辑体斜体强调 (替原 shu 文本 — 把 Hero 唯一朱让给 Get started CTA 填充) */
.hero__runs { font-style: italic; font-weight: 400; }
@media (max-width: 480px) {
  .hero__actions { gap: var(--sp-3); }
  .hero__get { width: 100%; justify-content: center; }
}

/* ============ 段2 · 痛 ============ */
.s-pain { text-align: left; }
.s-pain .display-l { max-width: 22ch; }
.s-pain .prose { margin-top: var(--sp-4); }

/* ============ 段3 · 转 (纵向韵律) ============ */
.s-turn__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: var(--island-gap);
  align-items: start;
}
/* 左侧明朝竖排 "换一种做法" */
.s-turn__vertical {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.4;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0;
  position: relative;
}
/* 一枚朱印小点 (装饰填充块, 非文字) */
.s-turn__seal {
  display: inline-block;
  width: 0.7rem; height: 0.7rem;
  background: var(--shu);
  border-radius: 50%;
  margin-top: var(--sp-3);
}
.s-turn__body { padding-top: var(--sp-2); }

@media (max-width: 720px) {
  .s-turn__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .s-turn__vertical {
    writing-mode: horizontal-tb;
    letter-spacing: 0.18em;     /* 横屏改横排 + 大字距 */
  }
}

/* ============ 段4 · 团队肖像带 ============ */
.s-team__head { margin-bottom: var(--sp-8); }
.s-team__sub { color: var(--ink-nezumi); margin-top: var(--sp-2); } /* v5: 副标承载文字 → nezumi 6.6:1 (P0 #3) */

.portrait-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--island-gap) var(--sp-4);
  list-style: none; padding: 0; margin: 0;
}
/* 第二行错落半格 — 纵向韵律 */
.portrait-strip > li:nth-child(n+6) { margin-top: var(--sp-6); }

.portrait {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.portrait__img {
  aspect-ratio: 3 / 4;            /* 锁高防 CLS */
  background: var(--bg-kinari);   /* 同色块占位, 不过亮 */
  overflow: hidden;
}
.portrait__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter var(--d-base) var(--ease-soft);
}
.portrait__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin: var(--sp-3) 0 0;
  position: relative;
  width: max-content;
  padding-bottom: 4px;
}
/* 名下 whisper 线右展 (scaleX, 无 layout thrash) */
.portrait__name::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--shu);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-fast) var(--ease-soft);
}
.portrait__role {
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--ink-nezumi);       /* role 要读懂 → nezumi (6.56 ✓) */
  margin: var(--sp-1) 0 0;
}
/* 手艺一行 — 给每位"为你做什么"一句, 让团队从头像变成可托付的人 */
.portrait__craft {
  font-size: var(--fs-small);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-nezumi);
  margin: var(--sp-2) 0 0;
  max-width: 22ch;
  text-wrap: pretty;
}
/* hover: 微提亮 (~3%), 禁放大/倾斜/卡片浮起 */
.portrait:hover .portrait__img img,
.portrait:focus-visible .portrait__img img { filter: brightness(1.03) saturate(1.03); }
.portrait:hover .portrait__name::after,
.portrait:focus-visible .portrait__name::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .portrait-strip { grid-template-columns: repeat(3, 1fr); }
  .portrait-strip > li:nth-child(n+6) { margin-top: 0; }
}
@media (max-width: 560px) {
  .portrait-strip { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
}

/* ============ 段5 · 循环图 (loop.css 内) ============ */
.s-loop__head { margin-bottom: var(--sp-8); }
.s-loop__caption { margin-top: var(--sp-8); }

/* ============ 段6 · 证据 (StatRow) ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-l);
  line-height: 1.1;
  margin: 0;
}
.stat__label {
  color: var(--ink-nezumi);       /* v5: 标签承载文字 → nezumi (P0 #3) */
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  margin: var(--sp-2) 0 0;
}
.s-proof__caption { margin: var(--sp-12) auto 0; text-align: center; }
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ============ 段7 · 请 (暗底反转 CTA) ============ */
.s-cta {
  background: var(--bg-sumi);
  color: var(--ink-on-dark);
  text-align: center;
  padding-block: var(--section-y-loose);
}
.s-cta .display-l { color: var(--ink-on-dark); max-width: 24ch; margin-inline: auto; }
.s-cta__lead {
  color: color-mix(in srgb, var(--ink-on-dark) 82%, transparent);
  margin: var(--sp-4) auto var(--sp-6);
  max-width: 44ch;
  /* balance 匀分各行 — 防末行孤字(CJK 下尤其难看:「串里。」独占一行) */
  text-wrap: balance;
}
.s-cta__inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }

/* 焦点环在暗底要换色 — 全局 :focus-visible 用 --shu-ink(#A53A26), 压在 sumi(#1C1A17)
   上只有 2.63:1, 达不到 WCAG 1.4.11 非文本对比的 3:1。反白 15.9:1 (对朱底按钮 4.16:1)。 */
.s-cta :focus-visible { outline-color: var(--ink-on-dark); }

/* —— 单一入口:下载 macOS app ——
   朱色按钮是这一屏唯一的呼吸点。运行要求与发布状态放在按钮下方,
   让人在点之前就知道自己会得到什么。 */
.s-cta__meta,
.s-cta__status {
  font-size: var(--fs-small);
  color: color-mix(in srgb, var(--ink-on-dark) 60%, transparent);
  margin: 0 auto;
  max-width: 48ch;
  text-wrap: balance;
}
.s-cta__meta {
  font-family: var(--font-latin);
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.01em;
  margin-top: var(--sp-4);
}
.s-cta__status { margin-top: var(--sp-2); }

/* mailto 降级为次级链接 */
.s-cta__alt {
  color: color-mix(in srgb, var(--ink-on-dark) 64%, transparent);
  margin: var(--sp-6) auto 0;
}
.s-cta__alt .text-link { color: var(--ink-on-dark); margin-left: 0.25em; }
.s-cta__alt .text-link::after { background: color-mix(in srgb, var(--ink-on-dark) 24%, transparent); }
.s-cta__alt .text-link:hover, .s-cta__alt .text-link:focus-visible { color: var(--ink-on-dark); }

/* —— Memory 两层记忆 beat (P1-1) —— */
.s-memory__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--cap-col-gap);
  align-items: center;
}
.s-memory__copy { max-width: 42ch; }
.s-memory__figure { display: flex; justify-content: center; }
.memory-svg { width: min(100%, 260px); height: auto; overflow: visible; }
.mem-ring, .mem-link { fill: none; }
@media (max-width: 760px) {
  .s-memory__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .s-memory__figure { order: 2; }
  .memory-svg { width: min(62%, 220px); }
}
/* reduced-motion: 两层环直出终态 (描满 + 朱点在) */
@media (prefers-reduced-motion: reduce) {
  .memory-svg [data-draw] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .memory-svg .shu-dot { opacity: 1 !important; transform: scale(1) !important; }
}

/* —— Quality 续传句 (P1-4) —— */
.s-quality__resume {
  margin: var(--sp-6) auto 0;
  max-width: 52ch;
  color: var(--ink-nezumi);
}

/* ============ FAQ · 动手前答疑 (round-3 · 原生 details disclosure) ============
   消除"雇佣前的顾虑": 安全/归属/怎么开始. 无 JS 也可展开 (native <details>).
   每屏 ≤1 朱: 此屏不耗朱, mark 走墨线. */
.s-faq .display-l { max-width: 22ch; }
.faq-list {
  margin: var(--sp-8) 0 0;
  max-width: var(--measure);
  border-top: 1px solid var(--line-whisper);
}
.faq-item { border-bottom: 1px solid var(--line-whisper); }
.faq-q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  cursor: pointer;
  list-style: none;                /* 去原生三角 */
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink);
  transition: color var(--d-fast) var(--ease-soft);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover, .faq-item[open] > .faq-q { color: var(--ink-sumi); }
.faq-q__text { flex: 1 1 auto; }
/* +/− 标记: 纯 CSS 墨线, open 时转为减号 */
.faq-q__mark {
  flex: none;
  position: relative;
  width: 14px; height: 14px;
  margin-top: 0.35em;
}
.faq-q__mark::before,
.faq-q__mark::after {
  content: "";
  position: absolute;
  background: var(--ink-nezumi);
  transition: opacity var(--d-fast) var(--ease-soft), transform var(--d-fast) var(--ease-soft);
}
.faq-q__mark::before { left: 0; top: 50%; width: 100%; height: 1.25px; transform: translateY(-50%); }
.faq-q__mark::after  { top: 0; left: 50%; width: 1.25px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-q__mark::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq-a {
  margin: 0;
  padding: 0 0 var(--sp-5);
  max-width: 64ch;
  font-size: var(--fs-base, 1rem);
  line-height: 1.8;
  color: var(--ink-nezumi);
  text-wrap: pretty;
}
@media (prefers-reduced-motion: reduce) {
  .faq-q, .faq-q__mark::before, .faq-q__mark::after { transition: none; }
}

/* —— After you say yes — the first exchange, as the user lives it (round-4) —— */
.s-after .prose { max-width: var(--measure); }
.after-steps {
  list-style: none;
  padding: 0;
  margin: var(--sp-8) 0 0;
  max-width: var(--measure);
}
.after-step {
  display: flex;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line-whisper);
}
.after-step:first-child { border-top: 0; }
.after-step__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--shu);
}
.after-step__body { display: flex; flex-direction: column; gap: var(--sp-2); }
.after-step__title {
  font-size: var(--fs-display-s, 1.5rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.after-step__desc {
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--ink-nezumi);
  margin: 0;
  text-wrap: pretty;
}
.after-coda {
  margin: var(--sp-8) 0 0;
  max-width: var(--measure);
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--ink-nezumi);
  font-style: italic;
}
@media (max-width: 760px) {
  .after-step { gap: var(--sp-3); }
  .after-step__dot { margin-top: 0.55em; }
}

/* —— Free, and yours to keep — risk reversal before the close (round-6) —— */
.s-keep .lead { max-width: var(--measure); }
.keep-grid {
  list-style: none;
  padding: 0;
  margin: var(--sp-10, var(--sp-8)) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.keep-item {
  position: relative;
  padding: var(--sp-5) 0 0;
  border-top: 1px solid var(--line-whisper);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.keep-item__mark {
  position: absolute;
  top: -1px; left: 0;
  width: 28px; height: 2px;
  background: var(--shu);
}
.keep-item__title { margin: 0; line-height: 1.3; }
.keep-item__desc {
  margin: 0;
  color: var(--ink-nezumi);
  line-height: 1.85;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .keep-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
