﻿:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5e6a63;
  --paper: #f7f3ec;
  --paper-strong: #fffaf1;
  --line: rgba(24, 32, 29, 0.14);
  --amber: #c56f35;
  --green: #284c43;
  --teal: #5c8f94;
  --white: #fff;
  --shadow: 0 24px 70px rgba(21, 28, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.75;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 13, 12, 0.92), rgba(10, 13, 12, 0.42) 58%, rgba(10, 13, 12, 0.12)),
    url("assets/hero-reconciliation.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26vh;
  background: linear-gradient(0deg, var(--paper), rgba(247, 243, 236, 0));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 140px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: #f4c58e;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.98;
  font-weight: 800;
}

.hero__lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
}

.button--primary {
  border-color: #f0bc7c;
  background: #f0bc7c;
  color: #1f211e;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(-50%);
}

.section {
  padding: 92px 0;
}

.section__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.18;
  font-weight: 800;
}

.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section--letter {
  background: var(--paper);
}

.section--letter .kicker,
.section--plan .kicker,
.section--closing .kicker,
.section--reminders .kicker {
  color: var(--amber);
}

.letter-body {
  margin-top: 34px;
  border-left: 3px solid var(--amber);
  padding-left: 28px;
}

.letter-body p {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.signature {
  margin-top: 34px;
  color: var(--ink);
  font-weight: 800;
}

.section--memory {
  background: var(--green);
  color: var(--white);
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.memory-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding: 34px 0;
}

.memory-copy p,
.section--memory p {
  color: rgba(255, 255, 255, 0.84);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head--wide {
  max-width: 940px;
}

.section--reminders {
  background: #fbf8f2;
}

.reminder-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reminder {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 22px;
  box-shadow: 0 14px 36px rgba(21, 28, 24, 0.06);
}

.reminder span {
  display: inline-flex;
  width: 42px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(92, 143, 148, 0.12);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.reminder p {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.72;
}

.section--plan {
  background: #edf3ef;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.plan-item {
  min-height: 230px;
  background: #fbfdf9;
  padding: 28px;
}

.plan-item h3 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 1.45rem;
}

.plan-item p {
  margin: 0;
}

.section--closing {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(92, 143, 148, 0.3), transparent 38%);
}

.closing {
  max-width: 780px;
  text-align: center;
}

.closing p {
  margin: 22px auto 0;
  max-width: 680px;
}

.closing-signature {
  margin-top: 42px;
  text-align: right;
}

.closing-signature p {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 800;
}

.closing-signature p + p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero {
    min-height: 88vh;
    background-position: 62% center;
  }

  .hero__inner {
    padding-top: 80px;
  }

  .memory-layout,
  .plan-list {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 92vh;
    background:
      linear-gradient(180deg, rgba(10, 13, 12, 0.6), rgba(10, 13, 12, 0.9)),
      url("assets/hero-reconciliation.png") 64% center / cover no-repeat;
  }

  .hero__inner,
  .section__inner {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .letter-body {
    padding-left: 18px;
  }

  .memory-layout,
  .reminder-list,
  .plan-list {
    grid-template-columns: 1fr;
  }

  .reminder,
  .plan-item {
    min-height: auto;
  }
}
