:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #5d665f;
  --line: #d9ded7;
  --river: #236a73;
  --leaf: #3f7c4a;
  --hook: #b9572c;
  --sun: #e3b340;
  --shadow: 0 12px 28px rgba(23, 32, 27, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
.button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}

.topbar {
  align-items: center;
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(16px, 5vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--river);
  font-size: 18px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
}

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

.app {
  min-height: calc(100vh - 57px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 6vw, 72px) clamp(16px, 5vw, 56px) 24px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  color: var(--hook);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  margin-top: 14px;
  max-width: 780px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 650px;
}

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

.button {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.button.primary {
  background: var(--river);
  color: #fff;
}

.button.secondary {
  background: #e8eee9;
  color: var(--ink);
}

.hero-panel {
  align-self: stretch;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.hero-panel img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-panel .caption {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 6px;
  bottom: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 14px;
  position: absolute;
}

.caption strong {
  display: block;
  font-size: 14px;
}

.caption span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.section {
  padding: 34px clamp(16px, 5vw, 56px);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.section-head p {
  color: var(--muted);
  line-height: 1.5;
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(23, 32, 27, 0.04);
  min-width: 0;
  overflow: hidden;
}

.card-body {
  padding: 14px;
}

.thumb {
  aspect-ratio: 16 / 9;
  background: #dfe7df;
  display: block;
  object-fit: cover;
  width: 100%;
}

.avatar {
  align-items: center;
  background: #e8eee9;
  color: var(--river);
  display: flex;
  font-size: 30px;
  font-weight: 900;
  height: 112px;
  justify-content: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.badge {
  background: #eef2ed;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
}

.badge.strong {
  background: #e2efe5;
  color: var(--leaf);
}

.badge.warn {
  background: #f7eadf;
  color: var(--hook);
}

.card h3 {
  font-size: 18px;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 8px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.button.small {
  font-size: 13px;
  min-height: 36px;
  padding: 0 11px;
}

.detail {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding: clamp(18px, 4vw, 42px) clamp(16px, 5vw, 56px);
}

.detail-main,
.detail-side {
  min-width: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #101412;
  border: 0;
  border-radius: 8px;
  width: 100%;
}

.detail-title {
  margin-top: 18px;
}

.detail-title h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
}

.stack {
  display: grid;
  gap: 12px;
}

.metric-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 22px;
}

.metric {
  background: #ecf0eb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.metric strong {
  display: block;
  font-size: 22px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.empty {
  background: #edf1ed;
  border: 1px dashed #bcc8bf;
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
}

@media (max-width: 880px) {
  .hero,
  .detail {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 280px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav {
    overflow-x: auto;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }
}
