/* WORK Network Creator Program — shared design system */

:root {
  --bg: #05030c;
  --bg-2: #0c0816;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(167, 139, 250, 0.45);
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.72);
  --dim: rgba(248, 250, 252, 0.48);
  --purple: #8b4dff;
  --indigo: #4f46e5;
  --teal: #2dd4bf;
  --gold: #e7c98a;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --max: 1120px;
  --nav: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(139, 77, 255, 0.22), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(45, 212, 191, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 3, 12, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  box-shadow: 0 8px 22px rgba(139, 77, 255, 0.35);
}
.brand-mark img { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-weight: 900; font-size: 18px; letter-spacing: 0.4px; }
.brand-bottom { font-weight: 800; font-size: 10px; letter-spacing: 2.2px; color: var(--dim); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.35);
}

.hero, .page-hero { position: relative; padding: 72px 0 36px; }
.page-hero { padding-bottom: 12px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(139, 77, 255, 0.14);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -1.2px;
  font-weight: 900;
}
h1 .grad {
  background: linear-gradient(120deg, #ddd6fe, #2dd4bf 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}
.cta-row, .store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-row { margin-bottom: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.28);
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.store-btn small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.store-btn strong { display: block; font-size: 14px; }

.phone-stage { display: grid; place-items: center; }
.phone {
  width: min(290px, 78vw);
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow), 0 0 80px rgba(139, 77, 255, 0.22);
}
.phone-screen {
  overflow: hidden;
  border-radius: 30px;
  background: #0b0614;
  aspect-ratio: 9 / 16;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

section { padding: 72px 0; }
.kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}
.section-lead {
  margin: 0 0 28px;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}
.cards, .card-grid, .library-grid {
  display: grid;
  gap: 16px;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.library-grid { grid-template-columns: repeat(3, 1fr); }
.card, .glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.card { padding: 22px; }
.card h3, .glass h3 { margin: 0 0 8px; font-size: 18px; }
.card p, .glass p { margin: 0; color: var(--muted); }
.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139,77,255,0.35), rgba(45,212,191,0.18));
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 900;
}

.media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #0b0614;
  box-shadow: var(--shadow);
}
.media img { width: 100%; height: auto; }
.media figcaption, .shot figcaption {
  padding: 10px 14px 12px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
}
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); }

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reward {
  padding: 26px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(45,212,191,0.14), transparent 42%),
    var(--card);
}
.reward strong {
  display: block;
  font-size: 40px;
  letter-spacing: -1px;
  background: linear-gradient(120deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reward span { display: block; margin-top: 8px; color: var(--muted); }

.note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(231, 201, 138, 0.35);
  background: rgba(231, 201, 138, 0.08);
  color: #f6ead2;
  font-size: 14px;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(139,77,255,0.16), rgba(255,255,255,0.03) 55%);
}
.panel.alt { background: linear-gradient(160deg, rgba(45,212,191,0.12), rgba(255,255,255,0.03) 55%); }
.panel .big {
  display: block;
  margin: 8px 0;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #ddd6fe;
}
.panel p { color: var(--muted); }

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 22px;
  max-width: 920px;
  margin: 0 auto;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.38);
  background: rgba(12, 8, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(79, 70, 229, 0.12), 0 10px 24px rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.platform-badge svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}
.platform-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(139, 77, 255, 0.32);
}
@media (prefers-reduced-motion: reduce) {
  .platform-badge { transition: none; }
  .platform-badge:hover { transform: none; }
}

.link-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.link-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(139, 77, 255, 0.08);
}
.link-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.link-pill {
  display: block;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #090612;
  border: 1px dashed rgba(196, 181, 253, 0.5);
  color: #ddd6fe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  word-break: break-all;
}

.lib-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  min-height: 100%;
}
.lib-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lib-card div { padding: 16px 16px 18px; }
.lib-card h3 { margin: 0 0 6px; }
.lib-card p { margin: 0; color: var(--muted); font-size: 14px; }
.lib-card:hover { border-color: var(--line-strong); }

/* Homepage promo previews only: equal cards, fixed viewport, source ratios preserved. */
.library-grid:has(> a[href="/creators/creative-library/"]) {
  align-items: stretch;
}
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card {
  min-height: 0;
  height: 100%;
  justify-content: flex-start;
}
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card img {
  display: block;
  width: 100%;
  height: 360px;
  max-height: 360px;
  flex: 0 0 360px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(139, 77, 255, 0.2), transparent 58%),
    #0b0614;
}
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card:nth-child(1) img,
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card:nth-child(2) img {
  object-fit: contain;
}
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card:nth-child(3) img {
  object-fit: cover;
}
.library-grid:has(> a[href="/creators/creative-library/"]) .lib-card div {
  flex: 0 0 auto;
}

/* Creative Library home: six compact cards. Source ratio must not set card height. */
.library-home {
  align-items: start;
}
.library-home .lib-card {
  min-height: 0;
  height: auto;
  justify-content: flex-start;
}
.library-home .lib-card img {
  display: block;
  width: 100%;
  height: 300px;
  max-height: 300px;
  flex: 0 0 300px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #0b0614;
}
.library-home .lib-card[href$="videos.html"] img,
.library-home .lib-card[href$="website-banners.html"] img,
.library-home .lib-card[href$="brand-assets.html"] img {
  object-fit: cover;
}
.library-home .lib-card div {
  flex: 0 0 auto;
  flex-grow: 0;
}

.faq { display: grid; gap: 10px; }
details.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  padding: 4px 18px;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  float: right;
  color: #c4b5fd;
  font-size: 22px;
  font-weight: 400;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin: 0 0 16px; color: var(--muted); }

.cta-band {
  padding: 36px 28px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(139,77,255,0.32), transparent 55%),
    rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.cta-band p { max-width: 560px; margin: 0 auto 20px; color: var(--muted); }
.cta-band .cta-row, .cta-band .store-row { justify-content: center; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 8px; }
.prose h3 { margin: 22px 0 8px; font-size: 20px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 18px; }
.banner {
  margin: 8px 0 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.banner img { width: 100%; height: auto; max-height: 360px; object-fit: cover; }

.post-gallery {
  width: min(1128px, calc(100% - 40px));
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 24px;
}
.post-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.post-tile img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #0b0614;
}
.post-tile .btn {
  width: 100%;
  max-width: 360px;
}
@media (min-width: 1560px) {
  .post-gallery { width: min(1512px, calc(100% - 48px)); }
  .post-grid { grid-template-columns: repeat(4, minmax(0, 360px)); }
}
@media (max-width: 1040px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 360px)); }
}
@media (max-width: 640px) {
  .post-gallery { width: calc(100% - 28px); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-tile img,
  .post-tile .btn { max-width: none; }
}

.story-gallery {
  width: min(1120px, calc(100% - 40px));
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.story-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.story-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: #0b0614;
}
.story-tile .btn {
  width: 100%;
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.meme-gallery {
  width: min(1120px, calc(100% - 40px));
}
.meme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.meme-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.meme-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #0b0614;
}
.meme-tile .btn {
  width: 100%;
}
@media (max-width: 980px) {
  .meme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .meme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.brand-note {
  margin: 14px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
}
.brand-block { margin-top: 56px; }
.brand-block h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}
.brand-grid,
.brand-social,
.brand-swatches,
.brand-rules {
  display: grid;
  gap: 20px;
}
.brand-grid {
  grid-template-columns: repeat(4, minmax(0, 260px));
  justify-content: center;
  gap: 26px;
}
.brand-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-social {
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 28px;
}
.brand-rules { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.brand-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 220px;
  margin-bottom: 6px;
  padding: 24px 32px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.brand-social .brand-preview {
  height: 300px;
  padding: 28px 32px;
}
.brand-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.brand-preview-light {
  background: #f3f0ea;
  border-color: rgba(8, 6, 16, 0.08);
}
.brand-preview-dark { background: #05030c; }
.brand-preview-plain { background: #120c1c; }
.brand-preview-creator {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(139, 77, 255, 0.42), transparent 58%),
    #05030c;
}
.brand-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.brand-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}
.brand-card .btn { width: 100%; margin-top: auto; }
.brand-swatch h3 {
  margin: 12px 0 0;
  font-size: 15px;
}
.brand-swatch-chip {
  height: 112px;
  border-radius: 16px;
}
.brand-swatch-chip.is-base { border: 1px solid rgba(255, 255, 255, 0.18); }
.brand-swatch button {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.brand-swatch button:hover { color: var(--teal); }
.brand-rule {
  min-height: 112px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.brand-rule h3 {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.35;
}
.brand-rule svg { display: block; }
.brand-rule-avoid { border-color: rgba(248, 113, 113, 0.28); }
@media (max-width: 1160px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 280px)); }
}
@media (max-width: 860px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
}
@media (max-width: 980px) {
  .brand-swatches,
  .brand-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap.brand-page { width: calc(100% - 40px); }
  .brand-grid,
  .brand-social { grid-template-columns: minmax(0, 1fr); }
  .brand-preview,
  .brand-social .brand-preview {
    height: 240px;
    padding: 22px 24px;
  }
}

.banner-page h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 8px;
}
.web-banner-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(960px, 100%);
  margin: 0 auto;
}
.web-banner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.web-banner-preview {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b0614;
}
.web-banner-preview img,
img.web-banner-preview {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.web-banner-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.signature-block { margin-top: 64px; }
.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(960px, 100%);
  margin: 0 auto;
}
.signature-grid .web-banner-preview { aspect-ratio: 4 / 1; }
@media (max-width: 720px) {
  .signature-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap.banner-page { width: calc(100% - 40px); }
  .web-banner-list { gap: 28px; }
}

.video-note {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
}
.video-library-link { margin: 18px 0 0; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.video-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.video-thumb {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(139, 77, 255, 0.32), transparent 62%),
    #0b0614;
}
.video-thumb::before,
.video-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
}
.video-thumb::before {
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 3, 12, 0.4);
}
.video-thumb::after {
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}
.video-thumb:has(img)::before,
.video-thumb:has(img)::after { content: none; }
.video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video-thumb-square {
  height: auto;
  aspect-ratio: 1 / 1;
}
.video-card h3 {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.3;
}
.video-card p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.video-actions .btn {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 14px;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .video-thumb { height: 320px; }
  .video-thumb-square { height: auto; }
}

.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}
.asset-card img { width: 100%; border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; background: #090612; }
.asset-card.wide img { aspect-ratio: 16 / 9; }
.asset-card h3 { margin: 12px 0 6px; font-size: 16px; }
.asset-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); }

footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--dim);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: space-between;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-grid, .split, .two, .link-board, .reward-grid, .cards, .library-grid, .asset-grid {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: 1fr; }
  .library-grid:has(> a[href="/creators/creative-library/"]) .lib-card img {
    height: min(320px, 72vw);
    max-height: min(320px, 72vw);
    flex-basis: min(320px, 72vw);
  }
  .library-home .lib-card img {
    height: 260px;
    max-height: 260px;
    flex-basis: 260px;
  }
}
@media (max-width: 760px) {
  .wrap, .site-nav .wrap { width: calc(100% - 28px); }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 5, 16, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { justify-content: center; }
  .hero, .page-hero { padding-top: 40px; }
  section { padding: 52px 0; }
  .step { grid-template-columns: 52px 1fr; }
  .step-num { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
