/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Open Runde';
  src: url('../assets/fonts/OpenRunde-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Runde';
  src: url('../assets/fonts/OpenRunde-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Runde';
  src: url('../assets/fonts/OpenRunde-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Runde';
  src: url('../assets/fonts/OpenRunde-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Runde', system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  color: #181925;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  line-height: 1.4;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --c-bg: #ffffff;
  --c-ink: #181925;
  --c-muted: #666666;
  --c-soft: #999999;
  --c-line: #e6e7eb;
  --c-soft-bg: #fafafa;
  --c-purple: #9580ff;
  --c-purple-2: #918df6;
  --c-green: #33c758;
  --c-pink: #d6409f;
  --c-blue-bg: #ebf2ff;
  --c-card-bg: #f6f7f9;
  --c-chip-text: #bbbcc3;
  --max: 1024px;
  --pad: 24px;
}

/* ---------- Top floating pill nav ---------- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  width: max-content;
  max-width: calc(100% - 32px);
  height: 47px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  font-family: 'Open Runde', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 14.52px;
  color: #bbbcc3;
}
.nav__logo svg { display: block; }
.nav__items { display: flex; gap: 10px; }
.nav__items a { display: inline-flex; align-items: center; gap: 0; transition: color .15s; }
.nav__items a:hover, .nav__login:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: 0; }
.nav__login { color: #bbbcc3; }
.nav__cta {
  background: #9580ff;
  color: #fff;
  height: 27px;
  padding: 6px 8px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  transition: filter .15s;
}
.nav__cta:hover { filter: brightness(1.1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 22px;
  border-radius: 24px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 19px;
  transition: filter .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: #9580ff;
  color: #ffffff;
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--dark { background: rgba(0,0,0,0.05); color: #666666; }
.btn--dark:hover { background: rgba(0,0,0,0.08); }
.btn--cta { background: var(--c-purple-2); color: #fff; }
.btn--cta:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 60px;
  padding-bottom: 0;
}
.hero__top {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 var(--pad);
}
.hero__title {
  font-size: 60px;
  line-height: 64px;
  font-weight: 500;
  margin: 0 0 18px;
  color: #000000;
  letter-spacing: -1.5px;
}
.hero__sub {
  font-size: 18px;
  font-weight: 500;
  color: #666666;
  max-width: 600px;
  margin: 0 auto 26px;
  line-height: 21.78px;
  letter-spacing: -0.32px;
}
.hero__cta { display: inline-flex; gap: 12px; }

.hero__bg {
  position: relative;
  width: 100%;
  height: 669px;
  max-height: 60vh;
  min-height: 420px;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__screen {
  width: min(788px, 80%);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 60px -10px rgba(20,20,40,.45), 0 8px 16px rgba(0,0,0,.18);
}

/* ---------- Section base ---------- */
.section {
  padding: 96px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section--cta, .section--howto, .section--compare, .section--faq, .section--features { /* same width */ }

.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.32px;
  color: rgba(0,0,0,.4);
  margin-bottom: 20px;
  background: rgba(0,0,0,.03);
}
.h2 {
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  color: #181925;
  margin: 0 0 20px;
  letter-spacing: -1.8px;
}
.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #666666;
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: rgba(0,0,0,0.03);
  border-radius: 16px;
  padding: 24px 32px 32px;
  position: relative;
}
.card--big { display: flex; flex-direction: column; gap: 12px; min-height: 658px; overflow: hidden; }
.card--small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 32px;
  height: 128px;
}
.card--small > div:first-child { max-width: 288px; flex-shrink: 1; }
.card--small .card-sm__icon { flex-shrink: 0; }
.card__head { padding-top: 0; }
.card__icon {
  display: inline-flex;
  width: 40px; height: 36px;
  background: #fff;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.32px;
}
.card__desc {
  margin: 0;
  font-size: 24px;
  color: #181925;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.32px;
}
.card__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 0;
}
.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #181925;
  line-height: 20px;
  letter-spacing: -0.32px;
}
.check { flex-shrink: 0; width: 16px; height: 16px; }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.32px;
  color: #181925;
  align-self: flex-start;
  margin-top: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: filter .15s;
}
.learn-more:hover { filter: brightness(.97); }

/* Bar list (Visuals & Mods) */
.bar-list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.bar-row {
  --pill: 0%;
  --fill: 0%;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 16px;
}
.bar-row .bar-pill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pill);
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}
.bar-row .bar-fill {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--pill) + 3px);
  width: var(--fill);
  background: rgba(51,199,88,0.16);
  border-radius: 0 8px 8px 0;
}
.bar-row:has(.bar-fill) .bar-pill {
  border-radius: 8px 0 0 8px;
}
.bar-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: #181925;
  white-space: nowrap;
}
.bar-ic { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.bar-ic--dark { filter: brightness(0); }
.bar-name { font-size: 14px; color: #181925; }
.bar-value {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: #666666;
  font-variant-numeric: tabular-nums;
}

/* Creators list */
.creators {
  margin: 16px -32px -32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
/* Each row is 484x40 in Figma; we go full-bleed inside the card. */
.creator-row {
  background: #ebf2ff;
  height: 40px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 140px 112px 1fr;
  align-items: center;
  column-gap: 16px;
}
.creator-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
/* Avatar+flag block: 28x16 (avatar 16x16 + flag offset 16, half-overlapping) */
.creator-ava {
  position: relative;
  width: 28px; height: 16px;
  display: inline-block;
  flex-shrink: 0;
}
.avatar {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  border-radius: 999px;
  display: inline-block;
}
.flag {
  position: absolute;
  left: 11px; top: -1px;
  width: 18px; height: 18px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-block;
  background: #fff;
  box-shadow: 0 0 0 1px #ebf2ff;
}
.flag svg, .flag img { display: block; width: 18px; height: 18px; object-fit: cover; }
/* Name container: 140-28-8 = 104px (Figma's "Container 104x20") */
.creator-namecell {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.creator-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  color: #181925;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.verified { display: inline-block; flex-shrink: 0; }
/* Youtube pill: 82x22 white pill with 1px border */
.creator-yt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  color: #999999;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 16px;
  height: 22px;
  padding: 0 8px 0 6px;
  border-radius: 999px;
  width: 82px;
  justify-content: flex-start;
  box-sizing: border-box;
}
.yt-logo { width: 16px; height: 11px; flex-shrink: 0; }
.creator-meta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 19.5px;
  color: #999999;
  white-space: nowrap;
}

/* Small cards */
.card-sm__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.32px;
  color: #181925;
}
.card-sm__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #666666;
}
.card-sm__icon { flex-shrink: 0; }
.card-sm__icon--multi { display: flex; align-items: center; }
.server-chip {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #f7f7f7;
}
.server-chip:first-child { margin-left: 0; }
.server-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.server-chip--small {
  width: 40px; height: 40px;
  border-radius: 9px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: rgba(0,0,0,0.03);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 368px;
  text-align: center;
  align-items: center;
  overflow: hidden;
}
.step__visual {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 0;
}
.step__visual--list {
  flex-direction: column;
  gap: 4px;
  padding: 24px;
}
/* Server row dual-bar (same pattern as Visuals & Mods) */
.srv-row {
  --pill: 0%;
  --fill: 0%;
  position: relative;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 11px;
}
.srv-row .srv-pill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pill);
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}
.srv-row .srv-fill {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--pill) + 3px);
  width: var(--fill);
  background: rgba(51,199,88,0.16);
  border-radius: 0 8px 8px 0;
}
.srv-row:has(.srv-fill) .srv-pill {
  border-radius: 8px 0 0 8px;
}
.srv-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: #181925;
  white-space: nowrap;
}
.srv-content img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.srv-name { font-size: 14px; color: #181925; }
.srv-count {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: #33c758;
  font-variant-numeric: tabular-nums;
}
.step__num {
  display: inline-flex;
  width: 40px; height: 36px;
  background: #fff;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #918df6;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.32px;
  line-height: 28px;
  margin: 24px auto 0;
}
.step__title {
  font-size: 18px;
  font-weight: 400;
  color: #181925;
  margin: 12px 19px 0;
  line-height: 24px;
  letter-spacing: -0.32px;
  text-align: center;
}

/* ---------- Comparison table ---------- */
.cmp {
  display: grid;
  grid-template-columns: 1fr 123px 123px 123px 123px;
  background: #fff;
}
/* Header row */
.cmp__head { display: contents; }
.cmp__head .cmp__lbl { border: 0; height: 94px; }
.cmp__brand {
  height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  background: transparent;
}
.cmp__brand-ic { width: 32px; height: 32px; object-fit: contain; }
.cmp__brand-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: #181925;
}
/* Body rows */
.cmp__row { display: contents; }
.cmp__lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  height: 57px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 24px;
  color: #181925;
  border-bottom: 1px solid #e8e8e8;
}
.cmp__lbl img { width: 16px; height: 16px; }
.cmp__aplus {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #999;
}
.cmp__data {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8e8e8;
}
.cmp__data img { width: 20px; height: 20px; object-fit: contain; }
/* Highlighted Fantasy column */
.cmp__brand--hl {
  background: #fff;
  border: 1px solid #918df6;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.cmp__data--hl {
  background: #fff;
  border-left: 1px solid #918df6;
  border-right: 1px solid #918df6;
  border-bottom: 1px solid #918df6;
}
.cmp__row:last-child .cmp__data--hl { border-radius: 0 0 12px 12px; }

/* ---------- FAQ ---------- */
.section--faq .lead { font-size: 16px; max-width: 384px; }
.faq {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 535px;
  max-width: 100%;
  margin: 0 auto;
}
.faq__item {
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  height: 44px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #181925;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .2s; flex-shrink: 0; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p {
  margin: 0;
  padding: 0 16px 14px;
  color: #666666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.32px;
}

/* ---------- CTA ---------- */
.section--cta { padding-top: 64px; padding-bottom: 64px; }
.cta {
  background: #fafafa;
  border-radius: 24px;
  padding: 64px 24px;
  text-align: center;
}
.cta .h2 { margin-bottom: 18px; }
.section--cta .lead {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 26px;
  max-width: 476px;
}
.cta__btns { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta__btns .btn { height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 400; }
.cta__btns .btn--cta { background: #918df6; color: #fff; }
.cta__btns .btn--dark { background: rgba(0,0,0,0.03); color: #666666; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--c-line);
  padding: 64px var(--pad) 0;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 48px;
}
.footer__about {
  font-size: 14px;
  color: var(--c-soft);
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 285px;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-soft);
  margin: 0 0 16px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(51,199,88,.25);
}
.footer__copy { font-size: 14px; color: var(--c-soft); margin: 0; }
.footer__cols {
  display: grid;
  grid-template-columns: 128px 128px;
  gap: 32px 134px;
  justify-content: end;
}
.footer__col h6 {
  font-size: 14px;
  color: var(--c-ink);
  font-weight: 500;
  margin: 0 0 12px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--c-soft);
  padding: 4px 0;
  transition: color .15s;
}
.footer__col a:hover { color: var(--c-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cmp__row { grid-template-columns: 1fr 80px 80px 80px 80px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .nav__items { display: none; }
}
@media (max-width: 600px) {
  .h2 { font-size: 28px; }
  .section { padding: 64px 16px; }
  .card--small { flex-direction: column; align-items: flex-start; min-height: 0; }
  .cmp__cell { padding: 12px 8px; font-size: 14px; }
  .cmp__cell--name { padding-left: 14px; }
  .creators { max-height: 240px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero { margin-top: 40px; }
  .hero__bg { min-height: 320px; }
}
