/* 破局研习社 · 落地页（与卡片生成器同一套设计体系：暖白底、近黑字、衬线标题、陶土橙点缀） */

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

:root {
  --bg: #faf9f5;
  --surface: #f0eee6;
  --card: #ffffff;
  --ink: #141413;
  --ink-soft: #3d3d3a;
  --ink-mute: #5e5d59;
  --ink-faint: #87867f;
  --line: #e8e6dc;
  --accent: #cf7251;
  --accent-ink: #c96442;
  --accent-wash: #f5e6dd;
  --serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', Georgia, serif;
  --sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --radius: 14px;
  --nav-h: 60px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

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

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
}

/* —— 按钮 —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--bg);
  background: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.btn-sm {
  height: 34px;
  padding: 0 16px;
  font-size: 14px;
}

/* —— 导航 —— */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  height: 20px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  color: var(--ink-mute);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

/* —— 首屏 —— */

.hero {
  padding: 72px 0 64px;
  text-align: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.eyebrow {
  color: var(--accent-ink);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(38px, 8vw, 60px);
  line-height: 1.2;
}

.lead {
  max-width: 34em;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  padding-top: 18px;
  color: var(--ink-mute);
  font-size: 14px;
}

.hero-facts b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

/* —— 通用分区 —— */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface);
}

.kicker {
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section h2 {
  margin-top: 10px;
  font-size: clamp(28px, 5.2vw, 40px);
}

.sub {
  max-width: 40em;
  margin-top: 18px;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.section > .wrap > .grid {
  margin-top: 36px;
}

/* —— 痛点 —— */

.pain {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.pain h3 {
  font-size: 19px;
}

.pain p {
  margin-top: 6px;
  color: var(--ink-mute);
  font-size: 15px;
}

.callout {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.callout em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(transparent 62%, var(--accent-wash) 62%);
}

/* —— 价值 —— */

.group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 14px;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.group::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.value {
  padding: 24px 26px 26px;
  border-radius: var(--radius);
  background: var(--card);
}

.values .value:only-child {
  grid-column: 1 / -1;
}

.value-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.value .no {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.value h4 {
  font-size: 21px;
}

.freq {
  margin-left: auto;
  padding: 1px 10px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-wash);
  font-size: 12px;
  white-space: nowrap;
}

.value p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tags li {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-mute);
  font-size: 13px;
}

/* —— 思维模型 —— */

.block {
  margin-top: 52px;
}

.block > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: var(--sans);
  font-size: 14px;
}

.note {
  margin-top: 6px;
  color: var(--ink-mute);
  font-size: 15px;
}

.block > .grid {
  margin-top: 20px;
}

.pyramid {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  counter-reset: layer;
}

.pyramid li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: calc(46% + var(--i) * 10.8%);
  margin: 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  counter-increment: layer;
}

.pyramid li::before {
  content: counter(layer);
  color: var(--ink-faint);
  font-family: var(--serif);
}

.pyramid b {
  font-family: var(--serif);
  font-size: 16px;
}

.pyramid span {
  color: var(--ink-mute);
}

.pyramid li.is-you {
  color: #fff;
  background: var(--accent);
}

.pyramid li.is-you::before,
.pyramid li.is-you span {
  color: rgba(255, 255, 255, 0.82);
}

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 22px;
}

.path li {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.path li + li::before {
  content: '→';
  position: absolute;
  top: 50%;
  left: -26px;
  color: var(--accent);
  font-size: 18px;
  transform: translateY(-50%);
}

.path li:last-child {
  border-color: var(--accent);
}

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

.path b {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
}

.share {
  display: block;
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.path small {
  display: block;
  margin-top: 6px;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.6;
}

.rope,
.road {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.rope h4,
.road h4 {
  font-size: 19px;
}

.rope p,
.road p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.rope .cut {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d9d6c9;
  color: var(--ink);
}

.cut span {
  color: var(--accent);
}

.road-no {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 500;
}

.quote {
  margin: 60px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  line-height: 1.6;
}

/* —— 适合谁 —— */

.fit-box {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--card);
}

.fit-box h3 {
  font-size: 18px;
}

.fit-box ul {
  margin-top: 14px;
}

.fit-box li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.fit-box li::before {
  position: absolute;
  left: 0;
  top: 7px;
  font-weight: 600;
}

.check li::before {
  content: '✓';
  color: var(--accent);
}

.cross li::before {
  content: '×';
  color: var(--ink-faint);
}

.fit-no {
  background: transparent;
  border: 1px solid #dcd9cd;
}

/* —— 标志 —— */

.mark {
  display: flex;
  align-items: center;
  gap: 48px;
}

.mark > img {
  flex: none;
  width: 120px;
  height: 120px;
}

.mark-list {
  margin: 22px 0 0;
}

.mark-list div {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mark-list dt {
  flex: none;
  width: 2.2em;
  color: var(--accent-ink);
  font-family: var(--serif);
  font-weight: 600;
}

.mark-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* —— 价格 —— */

.section-dark {
  color: var(--bg);
  background: var(--ink);
  text-align: center;
}

.section-dark .kicker {
  color: var(--accent);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 26px;
  font-family: var(--serif);
}

.yen {
  font-size: 30px;
}

.amount {
  font-size: clamp(64px, 14vw, 88px);
  font-weight: 600;
  line-height: 1;
}

.per {
  margin-left: 6px;
  color: #b0aea5;
  font-size: 18px;
}

.per-day {
  margin-top: 10px;
  color: #b0aea5;
  font-size: 14px;
}

.includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 620px;
  margin: 34px auto 0;
}

.includes li {
  padding: 6px 14px;
  border: 1px solid #3d3d3a;
  border-radius: 999px;
  color: #e8e6dc;
  font-size: 14px;
}

.contact {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid #2e2e2b;
  color: #e8e6dc;
}

.contact img {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}

.wx {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.04em;
  user-select: all;
}

.hint {
  margin-top: 6px;
  color: #87867f;
  font-size: 13px;
}

/* —— 常见问题 —— */

.faq {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 36px 20px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* —— 信念 / 页脚 —— */

.belief {
  padding: 84px 0 96px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.belief p {
  font-family: var(--serif);
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 600;
  line-height: 1.7;
}

.belief .belief-sign {
  margin: 14px 0 32px;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
}

.footer {
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer img {
  height: 14px;
  width: auto;
}

.footer a {
  text-decoration: none;
}

/* —— 手机 —— */

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 52px 0 48px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
  }

  .lead {
    font-size: 16px;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-2,
  .grid-3,
  .values,
  .path {
    grid-template-columns: 1fr;
  }

  .path {
    gap: 30px;
  }

  .path li + li::before {
    content: '↓';
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pyramid li {
    width: calc(64% + var(--i) * 7.2%);
    font-size: 13px;
  }

  .mark {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .mark > img {
    width: 88px;
    height: 88px;
  }

  .block > h3 {
    font-size: 20px;
  }

  .belief br {
    display: none;
  }
}
