:root {
  --bg: #08080a;
  --text: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.68);
  --accent: #e8b87a;
  --accent-soft: rgba(232, 184, 122, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.045);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC",
    "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:any-link {
  color: var(--accent);
}

::selection {
  background: rgba(232, 184, 122, 0.35);
  color: #fff;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(920px 540px at 50% -10%, rgba(232, 184, 122, 0.22), transparent 62%),
    radial-gradient(640px 460px at 108% 88%, rgba(232, 184, 122, 0.1), transparent 58%),
    radial-gradient(520px 380px at -8% 72%, rgba(232, 184, 122, 0.07), transparent 55%),
    var(--bg);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 14vh, 140px) 0 72px;
}

.hero {
  text-align: center;
  margin-bottom: clamp(56px, 8vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 {
    background: linear-gradient(180deg, #fbfaf8 18%, #e8b87a 145%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.lede {
  margin: 22px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 122, 0.75), transparent);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(232, 184, 122, 0.45);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(232, 184, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card:active {
  transform: translateY(-2px);
}

.card-index {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.articles {
  margin-top: 56px;
}

.articles h2 {
  margin: 0 0 14px 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.article-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.article-list a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(232, 184, 122, 0.42);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.article-list a:focus-visible {
  outline: none;
  color: var(--accent);
  border-color: rgba(232, 184, 122, 0.7);
  box-shadow: 0 0 0 2px rgba(232, 184, 122, 0.45);
}

.article-list a:active {
  transform: translateY(0);
}

.article-title {
  min-width: 0;
  font-size: 16px;
}

.article-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(232, 184, 122, 0.1);
  border: 1px solid rgba(232, 184, 122, 0.28);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.article-list a:hover .article-arrow,
.article-list a:focus-visible .article-arrow {
  transform: translateX(4px);
  background: rgba(232, 184, 122, 0.22);
}

.action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: clamp(64px, 9vw, 96px);
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(232, 184, 122, 0.16), rgba(232, 184, 122, 0.05));
  border: 1px solid rgba(232, 184, 122, 0.32);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.action:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 122, 0.6);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(232, 184, 122, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.action-label,
.action-id {
  margin: 0;
}

.action-label {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.action-id {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
