﻿:root {
  /* 浅米色编辑风（对齐 Gumroad 封面：暖纸底 + 墨黑 + 墨绿/金 + 白卡柔阴影） */
  --bg: #f4f1e8;
  --surface: #ffffff;
  --surface-soft: #faf7f0;
  --ink: #1b1b1a;
  --muted: #56564e;
  --faint: #8a8a80;
  --line: #e7e0d2;
  --teal: #8a6a1e;   /* 主交互：深金（按钮/品牌/链接，深一档保证白字对比度） */
  --gold: #b8902e;   /* 装饰金：eyebrow / 卡片顶描边 */
  --blue: #8a6a1e;
  --red: #b42318;
  --amber: #b8902e;
  --shadow: 0 20px 50px rgba(40, 40, 30, 0.12);
  --serif: Georgia, "Times New Roman", "Source Han Serif SC", "Noto Serif SC", "Songti SC", STSong, "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.5px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
  font-family: var(--serif);
  font-weight: 700;
}

.brand small {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover {
  background: #f3ece0;
  color: var(--teal);
}

.hero-section,
.subscribe-band,
.content-panel,
.article-card,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 38px;
}

.hero-section h1,
.page-heading h1,
.article-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.5px;
}

.hero-section p:not(.eyebrow),
.page-heading p:not(.eyebrow),
.article-hero p:not(.eyebrow),
.subscribe-band p:not(.eyebrow),
.content-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.78;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.primary-link,
.secondary-link,
.subscribe-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-weight: 700;
}

.primary-link,
.subscribe-form button {
  color: #fff;
  background: var(--teal);
}

.secondary-link {
  color: var(--teal);
  background: #fff;
}

.hero-panel {
  padding: 26px;
  background: var(--surface-soft);
}

.hero-panel h2 {
  margin-top: 0;
  font-family: var(--serif);
}

.hero-panel li {
  margin: 12px 0;
  color: #2c2c28;
  font-weight: 600;
  line-height: 1.55;
}

.section-block {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2,
.subscribe-band h2,
.article-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.3px;
}

.topic-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-grid a {
  min-height: 98px;
  display: grid;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.article-card {
  min-height: 220px;
  padding: 22px;
}

.article-card a {
  display: grid;
  gap: 10px;
  height: 100%;
}

.article-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.28;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.tag-row a {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: #f4eedd;
  font-size: 12px;
  font-weight: 700;
}

.subscribe-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: center;
  margin: 34px 0;
  padding: 30px;
  background: var(--surface-soft);
}

.subscribe-form {
  display: grid;
  gap: 10px;
}

.subscribe-form label {
  display: grid;
  gap: 6px;
  color: #2c2c28;
  font-weight: 700;
}

.subscribe-form input {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.form-message {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.page-heading {
  padding: 40px 0 22px;
}

.narrow {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.content-panel {
  padding: 30px;
}

.content-panel h2 {
  font-family: var(--serif);
}

.article-page {
  width: min(920px, 100%);
  margin: 0 auto;
}

.article-hero {
  padding: 42px 0 28px;
}

.article-content {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-content :where(p, li) {
  color: #2c2c28;
  font-size: 18px;
  line-height: 1.9;
}

.article-content :where(h2, h3) {
  font-family: var(--serif);
  margin-top: 1.8em;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  margin: 24px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.finance-disclaimer {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e6dcc2;
  border-radius: 12px;
  background: #faf5e8;
  color: #6b5a2e;
}

.finance-disclaimer p {
  margin-bottom: 0;
}

.legal-copy p {
  color: #2c2c28;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  font-family: var(--serif);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .site-footer,
  .hero-section,
  .subscribe-band,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .topic-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .article-content {
    padding: 22px;
  }

}





