:root {
  --paper: #f5efe3;
  --paper-soft: #fff9ee;
  --ink: #24201a;
  --muted: #746957;
  --line: rgba(54, 45, 32, 0.18);
  --moss: #657a50;
  --moss-deep: #34422e;
  --clay: #b9653f;
  --amber: #d7a84f;
  --shadow: 0 30px 80px rgba(54, 45, 32, 0.18);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --display: "LXGW WenKai", "Kaiti SC", "STKaiti", var(--serif);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  background:
    radial-gradient(circle at 12% 16%, rgba(215, 168, 79, 0.32), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(101, 122, 80, 0.24), transparent 24rem),
    linear-gradient(135deg, var(--paper-soft), var(--paper));
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(54, 45, 32, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 45, 32, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  min-height: 62vh;
}

.hero__content,
.signal-card,
.post-card {
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 249, 238, 0.94), rgba(245, 239, 227, 0.82)),
    radial-gradient(circle at 82% 22%, rgba(185, 101, 63, 0.18), transparent 22rem);
  animation: rise 680ms ease-out both;
}

.hero__content::after {
  position: absolute;
  top: 44px;
  right: 46px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(52, 66, 46, 0.18);
  border-radius: 999px;
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8em;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 0.9;
}

.tagline {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--moss-deep);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.description {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(52, 66, 46, 0.18);
  border-radius: 999px;
  color: var(--paper-soft);
  background: var(--moss-deep);
  font-weight: 700;
}

.status-pill--quiet {
  color: var(--moss-deep);
  background: rgba(255, 249, 238, 0.72);
}

.status-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(215, 168, 79, 0.18);
}

.signal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 30px;
  border-radius: 32px;
  color: var(--paper-soft);
  background:
    linear-gradient(160deg, rgba(52, 66, 46, 0.96), rgba(36, 32, 26, 0.94)),
    radial-gradient(circle at 35% 20%, rgba(215, 168, 79, 0.32), transparent 18rem);
  animation: rise 760ms 120ms ease-out both;
}

.signal-card__mark {
  align-self: flex-start;
  padding: 10px 12px;
  border: 1px solid rgba(255, 249, 238, 0.22);
  border-radius: 16px;
  color: var(--amber);
  font-weight: 800;
}

.signal-card h2 {
  margin-bottom: 16px;
  font-size: 2.1rem;
  line-height: 1.12;
}

.signal-card p {
  margin-bottom: 0;
  color: rgba(255, 249, 238, 0.75);
  line-height: 1.85;
}

.demo {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 0 0 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 249, 238, 0.78);
  animation: rise 620ms var(--delay, 160ms) ease-out both;
}

.post-card::before {
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 140px;
  height: 140px;
  border-radius: 42px;
  content: "";
  transform: rotate(18deg);
  background: rgba(185, 101, 63, 0.12);
}

.post-card__label {
  display: inline-block;
  margin-bottom: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--clay);
  background: rgba(185, 101, 63, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
}

.post-card h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
  line-height: 1.28;
}

.post-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 34px;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 22px, 620px);
    padding-top: 18px;
  }

  .hero,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .signal-card {
    min-height: auto;
  }

  .hero__content {
    padding: 34px 24px;
    border-radius: 28px;
  }

  .hero__content::after {
    top: 22px;
    right: 22px;
    width: 92px;
    height: 92px;
  }

  h1 {
    font-size: clamp(3.8rem, 22vw, 6.2rem);
  }

  .signal-card {
    padding: 26px;
  }

  .section-heading {
    display: block;
  }
}
