:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #14181c;
  --ink-muted: #5b6169;
  --accent: #0f7a5c;
  --accent-soft: #e6f2ec;
  --accent-2: #e2a63b;
  --line: #e4e6e1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 28, 0.04), 0 8px 24px -12px rgba(20, 24, 28, 0.12);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.logo .mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2f36; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-muted); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stats div b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.hero-stats div span { font-size: 13px; color: var(--ink-muted); }

/* Embed mockup — signature element */
.embed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.embed-card .frame {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f7a5c 0%, #14181c 130%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-card .frame .play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-card .frame .play::after {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.embed-card .code {
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink-muted);
  background: #fbfbfa;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  white-space: pre;
}
.embed-card .code .tag { color: var(--accent); }
.embed-card .code .str { color: #a3572f; }

/* Sections */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head a { font-size: 14px; color: var(--accent); font-weight: 600; }

/* Video grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card .thumb {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .thumb .play {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
}
.card .thumb .play::after {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 2px;
}
.card .thumb .dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(20,24,28,0.72); color: #fff;
  font-size: 11px; padding: 2px 6px; border-radius: 4px;
}
.card .body { padding: 12px 14px 16px; }
.card .body h3 {
  font-size: 14.5px; margin: 0 0 6px; letter-spacing: -0.01em;
  line-height: 1.35;
}
.card .body .meta { font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 8px; align-items: center; }
.card .body .shop {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 8px;
}

/* Feature strip */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature .num {
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.04em;
}
.feature h3 { margin: 10px 0 8px; font-size: 16px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--ink-muted); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  margin-top: 32px;
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-muted);
}
.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--ink); }

/* Watch page */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 32px 0 64px;
}
.player-wrap {
  background: #0b0d0f;
  border-radius: 12px;
  overflow: hidden;
}
.player-wrap video { width: 100%; display: block; background: #000; }
.watch-title { font-size: 21px; margin: 18px 0 6px; letter-spacing: -0.02em; }
.watch-meta { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 18px; }
.seller-box {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
}
.seller-box .avatar {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.side-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin: 28px 0 12px; }
.side-list .card { margin-bottom: 12px; display: grid; grid-template-columns: 120px 1fr; }
.side-list .card .thumb { aspect-ratio: unset; height: 100%; }
.side-list .card .body { padding: 8px 10px; }
.side-list .card .body h3 { font-size: 13px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .watch-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* Thumbnail gradient variants */
.thumb-1 { background: linear-gradient(135deg,#0f7a5c,#1c3f36); }
.thumb-2 { background: linear-gradient(135deg,#e2a63b,#8a5b1e); }
.thumb-3 { background: linear-gradient(135deg,#2c5c8a,#12263b); }
.thumb-4 { background: linear-gradient(135deg,#7a4fa0,#2e1c3f); }
.thumb-5 { background: linear-gradient(135deg,#b0463f,#3f1c1c); }
.thumb-6 { background: linear-gradient(135deg,#3f8a6e,#0f2a20); }
.thumb-7 { background: linear-gradient(135deg,#8a7a2c,#3f371c); }
.thumb-8 { background: linear-gradient(135deg,#4f6fa0,#1c2a3f); }
