:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --ink: #171b1f;
  --muted: #606870;
  --line: #d9ded7;
  --panel: #ffffff;
  --panel-strong: #11181d;
  --accent: #0d7c66;
  --accent-dark: #075745;
  --soft: #e8efe9;
  --shadow: 0 24px 70px rgba(23, 27, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

button {
  cursor: pointer;
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 222, 215, 0.78);
  background: rgba(246, 247, 244, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.panel-top,
.metric-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--panel-strong);
  color: white;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.header-action {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: white;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100dvh - 72px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
}

.primary-action {
  background: var(--accent);
  color: white;
}

.primary-action:hover {
  background: var(--accent-dark);
}

.secondary-action {
  border: 1px solid var(--line);
  background: white;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.panel-top strong {
  color: var(--accent-dark);
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 4px;
  border-radius: 14px;
  padding: 14px;
  background: rgba(17, 24, 29, 0.78);
  color: white;
  backdrop-filter: blur(14px);
}

.photo-overlay span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.split p,
.module-grid p,
.cta-band p,
.timeline span {
  color: var(--muted);
  line-height: 1.65;
}

.metric-row {
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: var(--panel-strong);
  color: white;
}

.metric-row div {
  display: grid;
  gap: 4px;
}

.metric-row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.section {
  padding: 84px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.browse-section {
  padding: 78px clamp(18px, 6vw, 80px) 84px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 72px);
}

.split p {
  max-width: 720px;
  font-size: 19px;
}

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

.check-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-weight: 800;
}

.interest-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.preference-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  padding: 16px 18px;
}

.preference-panel strong {
  display: block;
}

.preference-panel span {
  color: var(--muted);
  line-height: 1.55;
}

.preference-panel a {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  font-weight: 900;
}

.preference-panel.ready {
  border-color: rgba(13, 124, 102, 0.28);
  background: #edf7f3;
}

.interest-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 15px;
  font-weight: 800;
}

.interest-chip.active,
.interest-chip:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.deck-shell {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 620px;
}

.deck-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.profile-deck {
  width: min(100%, 430px);
  min-height: 560px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(23, 27, 31, 0.08);
  transition: transform 220ms ease, opacity 220ms ease;
}

.single-card {
  width: 100%;
}

.profile-card.liked {
  transform: translateX(42px) rotate(3deg);
  opacity: 0;
}

.profile-card.passed {
  transform: translateX(-42px) rotate(-3deg);
  opacity: 0;
}

.profile-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--soft);
}

.profile-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.profile-body h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.profile-body span,
.profile-body p {
  color: var(--muted);
}

.profile-body p {
  min-height: 52px;
  margin: 0;
  line-height: 1.6;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 800;
}

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

.profile-actions button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
}

.profile-actions button[data-action="like"] {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

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

.module-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 22px;
}

.module-index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 56px 0 10px;
  font-size: 24px;
}

.roadmap {
  background: var(--soft);
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 920px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 84px clamp(18px, 6vw, 80px);
  border-radius: 18px;
  background: var(--panel-strong);
  color: white;
  padding: clamp(24px, 5vw, 48px);
}

.cta-band .eyebrow {
  color: #64d6bd;
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.cta-band p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 44px;
  }

  .module-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .deck-shell {
    min-height: 560px;
  }

  .profile-deck {
    min-height: 500px;
  }

  .cta-band,
  .preference-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
