@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #f5f1e8;
  --bg-soft: #efe8dc;
  --surface: rgba(255, 252, 246, 0.9);
  --surface-strong: #fffdf9;
  --line: #dfd2bd;
  --ink: #1f2b20;
  --ink-soft: #526055;
  --muted: #7b857a;
  --brand: #1f6f5f;
  --brand-deep: #174f44;
  --accent: #d46a2e;
  --accent-soft: #fff0e4;
  --good: #2f7d55;
  --warn: #9b6b20;
  --shadow: 0 18px 48px rgba(41, 49, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(116, 193, 174, 0.26), transparent 28%),
    radial-gradient(circle at bottom left, rgba(230, 159, 87, 0.2), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, #f2ecdf 100%);
}

.page-glow::before,
.page-glow::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
}

.page-glow::before {
  right: -8rem;
  top: -8rem;
  background: rgba(70, 163, 139, 0.18);
}

.page-glow::after {
  left: -6rem;
  bottom: -6rem;
  background: rgba(223, 125, 71, 0.16);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 24px auto 72px;
}

.panel {
  border: 1px solid rgba(203, 189, 164, 0.7);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 0.94;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

h3 {
  font-size: 1.05rem;
}

.section-note,
.card-head p,
.directory-meta,
.detail-stack,
.flat-list,
.quote-card,
.meta-chip {
  color: var(--ink-soft);
}

.button,
.text-button,
button {
  font: inherit;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 16px 30px rgba(31, 111, 95, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(193, 179, 154, 0.7);
}

.button:hover,
button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.metric-card .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.section-nav {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.88);
  border: 1px solid rgba(209, 196, 173, 0.72);
  backdrop-filter: blur(12px);
}

.section-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
}

.section-nav a:hover {
  background: rgba(31, 111, 95, 0.08);
  color: var(--brand-deep);
}

.main-stack {
  display: grid;
  gap: 16px;
}

.panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.section-note {
  max-width: 56ch;
  margin: 0;
  line-height: 1.6;
}

.metrics-grid,
.split-grid,
.triple-grid,
.featured-grid,
.directory-grid {
  display: grid;
  gap: 14px;
}

.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.metric-card,
.card,
.creator-card,
.post-card,
.quote-card {
  border: 1px solid rgba(213, 201, 179, 0.78);
  background: var(--surface-strong);
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
}

.metric-card .value {
  margin-top: 12px;
  font-size: 1.7rem;
  font-weight: 800;
}

.newsletter-panel {
  overflow: hidden;
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(23, 79, 68, 0.96), rgba(31, 111, 95, 0.86)),
    var(--brand-deep);
  color: #f8fff9;
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 24px;
  align-items: center;
}

.newsletter-panel .section-kicker {
  color: #a7e4d0;
}

.newsletter-panel h2 {
  max-width: none;
  color: #fffdf9;
  white-space: nowrap;
}

.newsletter-panel .section-note {
  margin-top: 14px;
  color: rgba(245, 255, 249, 0.78);
}

.newsletter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-points span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(5, 32, 27, 0.2);
}

.newsletter-form label {
  color: var(--ink);
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-fields input {
  min-height: 48px;
}

.newsletter-fields button {
  min-width: 120px;
  white-space: nowrap;
}

.newsletter-status,
.newsletter-consent {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.newsletter-status {
  min-height: 1.4em;
  color: var(--ink-soft);
  font-weight: 800;
}

.newsletter-status:empty {
  min-height: 0;
}

.newsletter-status.success {
  color: var(--good);
}

.newsletter-status.error {
  color: var(--accent);
}

.newsletter-consent {
  color: var(--muted);
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.triple-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.card {
  padding: 18px;
  border-radius: 22px;
}

.card-head {
  margin-bottom: 14px;
}

.card-head p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bar-stack,
.detail-stack,
.quote-stack,
.pill-grid,
.posts-list {
  display: grid;
  gap: 12px;
}

.bar-stack.compact {
  gap: 10px;
}

.bar-card {
  display: grid;
  gap: 8px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

.bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(31, 111, 95, 0.12);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.pill-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.pill-grid.small {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.pill,
.topic-chip,
.availability-chip,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pill {
  background: #faf3ea;
  border: 1px solid #ecdcc7;
  color: var(--ink);
}

.meta-chip {
  background: rgba(31, 111, 95, 0.08);
  color: var(--brand-deep);
  border: 1px solid rgba(31, 111, 95, 0.14);
}

.featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-card,
.creator-card,
.quote-card,
.post-card {
  padding: 16px;
  border-radius: 20px;
}

.featured-card {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.95), rgba(255, 255, 255, 0.95));
}

.featured-card .headline,
.creator-card .headline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.featured-card h3,
.creator-card h3 {
  font-size: 1.05rem;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

.small-muted,
.directory-meta,
.detail-label,
.post-meta,
.spotlight-toolbar,
.availability-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.filters-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 14px;
}

.filters-grid.narrow {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(192, 177, 151, 0.82);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 2px solid rgba(31, 111, 95, 0.26);
  outline-offset: 2px;
}

.directory-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.text-button {
  width: auto;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
}

.directory-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.creator-card {
  display: grid;
  gap: 14px;
}

.creator-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.availability-chip.snapshot {
  background: rgba(47, 125, 85, 0.12);
  color: var(--good);
}

.availability-chip.limited {
  background: rgba(212, 106, 46, 0.12);
  color: var(--accent);
}

.availability-chip.listing {
  background: rgba(125, 133, 122, 0.12);
  color: var(--muted);
}

.creator-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-block {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(31, 111, 95, 0.05);
}

.stat-block .label {
  font-size: 0.78rem;
  color: var(--muted);
}

.stat-block .value {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
}

.topic-list,
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  background: rgba(31, 111, 95, 0.08);
  color: var(--brand-deep);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

button {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 111, 95, 0.18);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.spotlight-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.spotlight-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 111, 95, 0.08), rgba(212, 106, 46, 0.08));
  border: 1px solid rgba(207, 195, 172, 0.75);
}

.spotlight-hero .bio {
  max-width: 76ch;
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-stack {
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(220, 211, 193, 0.7);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-label {
  font-weight: 800;
}

.quote-stack {
  gap: 10px;
}

.quote-card {
  line-height: 1.7;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #fffdf9, #faf4eb);
}

.posts-list {
  gap: 12px;
}

.post-card {
  display: grid;
  gap: 10px;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.post-text {
  margin: 0;
  line-height: 1.72;
  color: var(--ink);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
}

.flat-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
}

.guide-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(31, 111, 95, 0.05);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(221, 212, 197, 0.86);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(235, 229, 220, 0.95);
  text-align: left;
}

th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(247, 241, 232, 0.96);
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .split-grid,
  .triple-grid,
  .newsletter-layout {
    grid-template-columns: 1fr;
  }

  .site-shell {
    width: min(100% - 20px, 1280px);
  }
}

@media (max-width: 720px) {
  .panel {
    border-radius: 24px;
  }

  .panel {
    padding: 18px;
  }

  .section-nav {
    top: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .directory-meta,
  .spotlight-toolbar,
  .post-head,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-stats {
    grid-template-columns: 1fr;
  }

  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .newsletter-panel h2 {
    white-space: normal;
  }
}
