/* Homepage companion to the Nock Own creator rewards page. */
.teaching-intro .creator-hero-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .62em .12em;
  margin-top: .22em;
  color: var(--nc-ink, var(--ink));
  font: 580 .91rem/1.3 Inter, system-ui, sans-serif;
  letter-spacing: -.015em;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  text-underline-offset: .23em;
  pointer-events: auto;
}
.creator-hero-link:hover { text-decoration-color: currentColor; }
.creator-home {
  padding: clamp(26px, 5vw, 72px) max(18px, calc((100% - 1450px) / 2));
  color: #f4faed;
  font-family: Inter, system-ui, sans-serif;
}
.creator-home-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  padding: clamp(30px, 5.6vw, 90px);
  overflow: hidden;
  border: 1px solid #405d52;
  border-radius: clamp(24px, 3vw, 46px);
  background:
    radial-gradient(ellipse at 84% 64%, #648172 0, #34584d 24%, transparent 58%),
    linear-gradient(115deg, #102e28, #20483d 74%, #355649);
}
.creator-home-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background: url('/assets/materials/creator-prism.webp') center 48% / cover;
  mix-blend-mode: soft-light;
}
.creator-home .creator-home-kicker {
  margin: 0 0 17px;
  font: 660 .78rem/1.35 Inter, system-ui, sans-serif;
  letter-spacing: .045em;
  color: #c6edc9;
}
.creator-home #creator-home-title {
  margin: 0;
  max-width: none;
  color: #fbfbef;
  text-wrap: balance;
  font: 590 clamp(42px, 5.6vw, 85px)/.99 Inter, system-ui, sans-serif;
  letter-spacing: -.066em;
}
.creator-home #creator-home-title em {
  color: #d9f2d1;
  font: italic 400 1.02em/1.07 Georgia, 'Times New Roman', serif;
  letter-spacing: -.063em;
}
.creator-home .creator-home-intro {
  margin: clamp(19px, 2vw, 27px) 0;
  max-width: 38ch;
  color: #e2ede3;
  font: 430 clamp(16px, 1.4vw, 20px)/1.5 Inter, system-ui, sans-serif;
  letter-spacing: -.018em;
}
.creator-home .creator-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  min-height: 46px;
  padding: 10px 19px;
  background: #f1f6e8;
  color: #16352c;
  border-radius: 100px;
  font: 650 .95rem/1.3 Inter, system-ui, sans-serif;
  text-decoration: none;
}
.creator-home-cta:hover { background: white; }
.creator-home-cta > span { font-size: 1.2em; }
.creator-home a:focus-visible, .creator-hero-link:focus-visible { outline: 3px solid #efbc6b; outline-offset: 4px; }
.creator-home-pass {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  box-sizing: border-box;
  background: #edf1e9;
  color: #203f35;
  border: 1px solid #d0e4d8;
  border-radius: 19px;
  box-shadow: 0 28px 42px -22px #061714d9, 0 3px 10px #091e192b;
  transform: rotate(2deg);
}
.creator-pass-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px clamp(20px, 2.4vw, 36px);
  border-radius: 18px 18px 0 0;
  border-bottom: 1px dashed #728a7b;
  background: #eff2ed url('/assets/materials/creator-prism.webp') center 47% / cover;
  color: #14392b;
}
.creator-pass-brand span { font: 400 30px/1 NockMarker, system-ui, sans-serif; }
.creator-pass-brand img { width: 28px; height: 35px; object-fit: contain; filter: drop-shadow(0 3px 4px #24413642); }
.creator-home .creator-home-pass table {
  margin: clamp(18px, 2.1vw, 30px) auto;
  width: calc(100% - clamp(40px, 5vw, 72px));
  min-width: 0;
  border-collapse: collapse;
  background: none;
  color: #172f28;
}
.creator-home-pass th, .creator-home-pass td { padding: 0; border: 0; text-align: left; vertical-align: baseline; }
.creator-home-pass th:last-child, .creator-home-pass td { text-align: right; }
.creator-home-pass thead, .creator-home-pass thead tr { background: transparent; }
.creator-home-pass thead th {
  padding-bottom: 10px;
  background: transparent;
  color: #45584e;
  font: 610 clamp(11px, 1.05vw, 14px)/1.3 Inter, system-ui, sans-serif;
}
.creator-home-pass tbody tr { border-top: 1px solid #bdcbbd; }
.creator-home-pass tbody th, .creator-home-pass td {
  padding: .52em 0;
  color: #17382c;
  font: 600 clamp(20px, 2.2vw, 31px)/1.04 Inter, system-ui, sans-serif;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.creator-home-pass tbody td { font-weight: 470; }
.creator-home-pass tbody tr:last-child td { font: italic 400 clamp(25px, 2.55vw, 37px)/1 Georgia, serif; }
:root[data-theme="dark"] .creator-home-inner { border-color: #405b4e; }
@media (max-width: 730px) {
  .creator-home { padding-inline: max(12px, 3vw); }
  .creator-home-inner { grid-template-columns: 1fr; gap: 33px; padding: clamp(22px, 7vw, 48px); }
  .creator-home-pass { justify-self: start; width: min(97%, 410px); transform: rotate(1deg); }
  .creator-home #creator-home-title { font-size: clamp(37px, 8.6vw, 56px); }
  .creator-home .creator-home-intro { margin-block: 16px 19px; }
  .creator-pass-brand { min-height: 54px; }
}
@media (forced-colors: active) {
  .creator-home-inner, .creator-home-pass, .creator-home .creator-home-cta { border: 1px solid CanvasText; }
}
