:root {
  --ink: #09201b;
  --muted: #587069;
  --line: #dbe5df;
  --mint: #2ee39b;
  --mint-dark: #087e59;
  --cream: #f5f7f2;
  --white: #fff;
  --yellow: #f6df77;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.directory-header {
  height: 78px;
  max-width: 1280px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
}
.brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.directory-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.directory-header nav > a {
  color: #304b43;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.button {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.button-small {
  min-height: 42px;
  padding: 0 20px;
}
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(9, 32, 27, 0.15);
}
.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(9, 32, 27, 0.25);
}
.button-ghost {
  background: #dff9ed;
  color: var(--ink);
}
.button-light {
  background: #fff;
  color: var(--ink);
}
.button-full {
  width: 100%;
}
.hero {
  min-height: 610px;
  background: var(--ink);
  color: #fff;
  padding: 72px max(28px, calc((100vw - 1224px) / 2));
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 78px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  right: -220px;
  top: -230px;
  background: rgba(46, 227, 155, 0.08);
}
.hero-copy,
.hero-board {
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 18px;
  color: #b4d4ca;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--mint);
  vertical-align: middle;
  margin-right: 8px;
}
.eyebrow.dark {
  color: var(--mint-dark);
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  margin: 0;
}
h1 {
  font-size: clamp(45px, 5.4vw, 76px);
  line-height: 1.01;
  letter-spacing: -0.055em;
  max-width: 720px;
}
h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: #c6d8d2;
  max-width: 650px;
  margin: 26px 0 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .button-primary {
  background: var(--mint);
  color: var(--ink);
}
.hero .button-secondary {
  border-color: #6f857f;
  color: #fff;
}
.hero-note {
  font-size: 13px;
  color: #839b94;
  margin-top: 20px;
}
.hero-board {
  background: #fff;
  color: var(--ink);
  padding: 26px;
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.27);
  transform: rotate(1.2deg);
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  margin-bottom: 20px;
}
.live-pill {
  font: 700 11px "DM Sans";
  background: #dcfaec;
  color: #087e59;
  padding: 7px 10px;
  border-radius: 999px;
}
.sample-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.sample-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  display: grid;
  place-items: center;
  font: 800 22px Manrope;
}
.sample-channel div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sample-channel small {
  font-size: 12px;
  color: var(--muted);
}
.sample-metric {
  text-align: right;
}
.sample-metric strong {
  color: var(--mint-dark);
}
.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.sample-grid article {
  background: #eff4f0;
  border-radius: 15px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}
.sample-grid span {
  grid-column: 1/-1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.sample-grid strong {
  font-size: 14px;
}
.sample-grid i {
  font-style: normal;
  color: var(--mint-dark);
  font-weight: 800;
}
.mini-chart {
  height: 86px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 17px 10px 0;
}
.mini-chart span {
  flex: 1;
  background: var(--mint);
  border-radius: 5px 5px 2px 2px;
}
.mini-chart span:nth-child(1) {
  height: 28%;
}
.mini-chart span:nth-child(2) {
  height: 42%;
}
.mini-chart span:nth-child(3) {
  height: 34%;
}
.mini-chart span:nth-child(4) {
  height: 57%;
}
.mini-chart span:nth-child(5) {
  height: 52%;
}
.mini-chart span:nth-child(6) {
  height: 76%;
}
.mini-chart span:nth-child(7) {
  height: 92%;
  background: var(--ink);
}
.directory-section {
  max-width: 1280px;
  margin: auto;
  padding: 90px 28px 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.section-heading h2,
.how-section h2,
.owner-cta h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
}
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) 1fr 1fr auto;
  gap: 9px;
  box-shadow: 0 12px 35px rgba(16, 55, 44, 0.06);
}
.filters input[type="search"],
.filters select {
  width: 100%;
  height: 48px;
  border: 0;
  background: #f1f5f2;
  border-radius: 11px;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}
.filters select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #476159 50%),
    linear-gradient(135deg, #476159 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.search-field {
  position: relative;
}
.search-field svg {
  width: 19px;
  fill: none;
  stroke: #60776f;
  stroke-width: 2;
  position: absolute;
  left: 15px;
  top: 14px;
}
.search-field input[type="search"] {
  padding-left: 44px;
}
.sponsor-toggle {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.sponsor-toggle input {
  position: absolute;
  opacity: 0;
}
.sponsor-toggle span {
  width: 38px;
  height: 22px;
  border-radius: 99px;
  background: #cdd8d2;
  position: relative;
  transition: 0.2s;
}
.sponsor-toggle span:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: 0.2s;
  box-shadow: 0 1px 3px #789;
}
.sponsor-toggle input:checked + span {
  background: var(--mint-dark);
}
.sponsor-toggle input:checked + span:after {
  transform: translateX(16px);
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.channel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(16, 55, 44, 0.1);
}
.card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.channel-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  background: #dff9ed;
  object-fit: cover;
  display: grid;
  place-items: center;
  font: 800 22px Manrope;
  color: var(--mint-dark);
}
.card-top h3 {
  font-size: 18px;
  line-height: 1.2;
}
.card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.verified {
  color: var(--mint-dark);
  font-weight: 700;
}
.channel-description {
  color: #4d655e;
  line-height: 1.55;
  font-size: 14px;
  min-height: 66px;
  margin: 20px 0;
}
.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  margin-top: auto;
}
.metric-row > div {
  padding: 12px;
}
.metric-row > div + div {
  border-left: 1px solid var(--line);
}
.metric-row strong {
  display: block;
  font: 800 18px Manrope;
}
.metric-row small {
  font-size: 11px;
  color: var(--muted);
}
.growth-positive {
  color: var(--mint-dark);
}
.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #fff7cf;
  color: #654d00;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 14px;
}
.card-footer {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.card-footer .button {
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
  flex: 1;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-state > div {
  font-size: 55px;
  color: var(--mint-dark);
}
.empty-state h3 {
  font-size: 25px;
}
.empty-state p {
  color: var(--muted);
  margin: 10px 0 25px;
}
.how-section {
  background: #e7eee9;
  padding: 95px max(28px, calc((100vw - 1224px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.how-intro > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}
.steps {
  display: grid;
  gap: 12px;
}
.steps article {
  background: #fff;
  border-radius: 16px;
  padding: 23px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
}
.steps span {
  grid-row: 1/3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.owner-cta {
  margin: 90px auto;
  max-width: 1224px;
  border-radius: 25px;
  background: var(--mint-dark);
  color: #fff;
  padding: 55px 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.owner-cta > div {
  max-width: 750px;
}
.owner-cta .eyebrow {
  color: #bcebd7;
}
.owner-cta p:last-child {
  color: #cce9df;
  margin-bottom: 0;
}
.directory-footer {
  background: var(--ink);
  color: #a9c0b9;
  padding: 55px max(28px, calc((100vw - 1224px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
}
.directory-footer .brand {
  color: #fff;
}
.directory-footer > div:nth-child(2) {
  display: flex;
  gap: 25px;
  align-items: center;
}
.directory-footer a {
  color: #d6e5e0;
  text-decoration: none;
}
.directory-footer > p {
  grid-column: 1/-1;
  border-top: 1px solid #315047;
  padding-top: 24px;
  font-size: 12px;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 22px;
  width: min(680px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}
dialog::backdrop {
  background: rgba(3, 23, 18, 0.75);
  backdrop-filter: blur(4px);
}
.dialog-shell {
  padding: 32px;
  position: relative;
  overflow: auto;
  max-height: calc(100vh - 30px);
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 14px;
  border: 0;
  background: #edf2ef;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}
.dialog-heading {
  margin-bottom: 24px;
}
.dialog-heading h2 {
  font-size: 30px;
}
.dialog-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #edf2ef;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.auth-tabs button.active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.form-stack {
  display: grid;
  gap: 16px;
}
.form-stack label,
.form-stack legend {
  font-size: 13px;
  font-weight: 700;
}
.form-stack input:not([type="checkbox"]),
.form-stack select {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 7px;
  border: 1px solid #cfdad4;
  border-radius: 10px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
}
.form-stack textarea {
  display: block;
  width: 100%;
  min-height: 118px;
  margin-top: 7px;
  border: 1px solid #cfdad4;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
}
.session-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
  background: #edf7f2;
  border-radius: 10px;
  font-size: 13px;
}
.session-row button {
  border: 0;
  background: transparent;
  color: var(--mint-dark);
  font-weight: 700;
  cursor: pointer;
}
.check-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #d7e2dc;
  border-radius: 12px;
  cursor: pointer;
}
.check-row input {
  margin-top: 3px;
  accent-color: var(--mint-dark);
}
.check-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.check-row small {
  color: var(--muted);
  font-weight: 400;
}
.check-row.compact {
  font-weight: 500;
  line-height: 1.4;
}
.sponsor-fields {
  background: #f1f6f3;
  border-radius: 13px;
  padding: 15px;
  display: grid;
  gap: 15px;
}
.sponsor-fields fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.format-options label {
  background: #fff;
  border: 1px solid #cfddd6;
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 12px;
  cursor: pointer;
}
.format-options input {
  accent-color: var(--mint-dark);
}
.form-message {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  margin: 15px 0 0;
  color: var(--mint-dark);
}
.form-message.error {
  color: #b52b2b;
}
@media (max-width: 900px) {
  .directory-header nav > a {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
    gap: 50px;
  }
  .hero-board {
    max-width: 600px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .owner-cta {
    margin-left: 20px;
    margin-right: 20px;
  }
  .directory-footer {
    grid-template-columns: 1fr;
  }
  .directory-footer > p {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .directory-header {
    height: 68px;
    padding: 0 18px;
  }
  .directory-header nav {
    gap: 0;
  }
  .brand span {
    font-size: 16px;
  }
  .hero {
    padding: 52px 20px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-board {
    padding: 16px;
  }
  .sample-grid {
    grid-template-columns: 1fr;
  }
  .directory-section {
    padding: 70px 18px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 12px;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .search-field {
    grid-column: auto;
  }
  .channel-grid {
    grid-template-columns: 1fr;
  }
  .how-section {
    padding: 70px 20px;
  }
  .steps article {
    grid-template-columns: 45px 1fr;
  }
  .owner-cta {
    padding: 38px 25px;
    display: block;
  }
  .owner-cta .button {
    margin-top: 20px;
  }
  .directory-footer > div:nth-child(2) {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .dialog-shell {
    padding: 28px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .sample-metric {
    display: none !important;
  }
}
