/* The creator sign-up (/start/) and its confirmation. Loaded only on those two pages (CREATOR_SIGNUP_ASSET_VERSION), so
   no school's page and no other platform page changes. CourseForge brand: ink #2b2f35, blue #3f6fe6, spark #c98a2e. */
.cs-page {
  --cs-ink: #2b2f35;
  --cs-ink-soft: #4a505a;
  --cs-blue: #3f6fe6;
  --cs-blue-dark: #2f57c4;
  --cs-blue-soft: #eef3ff;
  --cs-spark: #c98a2e;
  --cs-line: rgba(43, 47, 53, 0.12);
  --cs-muted: #6b717b;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.cs-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

/* ---- The pitch (left) ---- */
.cs-pitch {
  position: sticky;
  top: 24px;
  overflow: hidden;
  padding: 40px 36px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(63, 111, 230, 0.35), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(201, 138, 46, 0.22), transparent 60%),
    var(--cs-ink);
  color: #fff;
}

.cs-kicker {
  margin: 0 0 14px;
  color: #f0c27a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-pitch h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cs-lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cs-points {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-points li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cs-points strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 1rem;
}

.cs-points span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.45;
}

.cs-point-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f0c27a;
}

.cs-point-icon svg {
  width: 20px;
  height: 20px;
}

/* ---- The form (right) ---- */
.cs-card {
  padding: 32px;
  border: 1px solid var(--cs-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 33, 38, 0.08);
}

.cs-step {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--cs-ink);
  font-size: 1.15rem;
}

.cs-step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--cs-ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.cs-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.cs-plan {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1.5px solid var(--cs-line);
  border-radius: 14px;
  background: #fbfbfc;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.cs-plan:hover {
  border-color: rgba(63, 111, 230, 0.5);
}

/* The radio is hidden; the whole card is the click target. 1px in the card's corner (the global input rule is 100%). */
.cs-plan input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.cs-plan:has(input:checked) {
  border-color: var(--cs-blue);
  background: var(--cs-blue-soft);
  box-shadow: 0 0 0 3px rgba(63, 111, 230, 0.15);
}

.cs-plan:has(input:focus-visible) {
  outline: 3px solid rgba(63, 111, 230, 0.45);
  outline-offset: 2px;
}

.cs-plan:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.cs-plan-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--cs-blue);
  color: #fff;
}

.cs-plan-check svg {
  width: 13px;
  height: 13px;
}

.cs-plan:has(input:checked) .cs-plan-check {
  display: grid;
}

.cs-plan-name {
  color: var(--cs-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.cs-plan-price {
  color: var(--cs-ink);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cs-plan-price small {
  color: var(--cs-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.cs-plan-tag {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(201, 138, 46, 0.14);
  color: #8a5a14;
  font-size: 0.76rem;
  font-weight: 800;
}

.cs-plan ul {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.cs-plan li {
  position: relative;
  padding-left: 20px;
  color: var(--cs-ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.cs-plan li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--cs-blue);
  font-weight: 800;
  content: "✓";
}

.cs-plan-soon {
  color: var(--cs-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.cs-fields {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.cs-field {
  display: grid;
  gap: 6px;
  color: var(--cs-ink);
  font-weight: 700;
}

.cs-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--cs-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cs-ink);
  font: inherit;
  font-weight: 500;
}

.cs-field input:focus {
  border-color: var(--cs-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 111, 230, 0.15);
}

.cs-hint {
  color: var(--cs-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.cs-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px;
  color: var(--cs-ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cs-terms input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cs-blue);
}

.cs-terms a {
  color: var(--cs-blue);
  font-weight: 700;
}

.cs-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--cs-blue);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(63, 111, 230, 0.28);
  transition: background 120ms ease, transform 120ms ease;
}

.cs-submit:hover {
  background: var(--cs-blue-dark);
}

.cs-submit:active {
  transform: translateY(1px);
}

.cs-fineprint {
  margin: 12px 0 0;
  color: var(--cs-muted);
  font-size: 0.85rem;
  text-align: center;
}

.cs-error {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(190, 50, 50, 0.3);
  border-radius: 10px;
  background: #fff3f2;
  color: #8f2323;
  font-weight: 600;
}

/* Spam trap: off-screen, not display:none (which some bots skip). */
.creator-signup-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- The confirmation ---- */
.cs-done {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cs-done-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--cs-blue-soft);
  color: var(--cs-blue);
}

.cs-done-badge svg {
  width: 32px;
  height: 32px;
}

.cs-done h1 {
  margin: 0 0 10px;
  color: var(--cs-ink);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cs-done > p {
  margin: 0 0 24px;
  color: var(--cs-ink-soft);
  line-height: 1.55;
}

.cs-next {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.cs-next li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--cs-ink-soft);
  line-height: 1.45;
}

.cs-next strong {
  color: var(--cs-ink);
}

/* ---- Narrow screens ---- */
@media (max-width: 960px) {
  .cs-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-pitch {
    position: static;
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .cs-page {
    padding: 20px 16px 48px;
  }

  .cs-card {
    padding: 22px 16px;
  }

  .cs-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  /* On a phone the form should arrive quickly: keep the four headlines, drop their explanations. */
  .cs-points {
    gap: 10px;
  }

  .cs-points span:not(.cs-point-icon) {
    display: none;
  }

  .cs-points li {
    align-items: center;
  }
}

/* Read by screen readers, not shown. */
.cs-page .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;
}

/* ---- The plans page (/plans/) ---- */
.cs-hero {
  position: static;
  margin-bottom: 40px;
  padding: 44px 40px;
}

.cs-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.cs-hero .cs-lead {
  max-width: 640px;
  margin-bottom: 22px;
}

.cs-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-hero-links a {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cs-hero-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cs-section {
  margin-bottom: 48px;
  scroll-margin-top: 20px;
}

.cs-section-head {
  max-width: 720px;
  margin-bottom: 20px;
}

.cs-eyebrow {
  margin: 0 0 6px;
  color: #8a5a14;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-section-head h2 {
  margin: 0 0 8px;
  color: var(--cs-ink);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
}

.cs-section-head p {
  margin: 0;
  color: var(--cs-ink-soft);
  line-height: 1.55;
}

.cs-section-head a,
.cs-setup-note a {
  color: var(--cs-blue);
  font-weight: 700;
}

.cs-plans-wide {
  margin-bottom: 0;
}

.cs-plan-link {
  padding: 22px 20px 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(23, 33, 38, 0.05);
}

.cs-plan-link:hover {
  border-color: var(--cs-blue);
  box-shadow: 0 16px 36px rgba(63, 111, 230, 0.14);
  transform: translateY(-2px);
}

.cs-plan-cta {
  margin-top: 6px;
  color: var(--cs-blue);
  font-weight: 800;
}

.cs-academy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: start;
}

h3.cs-step {
  font-size: 1.1rem;
}

.cs-plans-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cs-fields-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cs-includes {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--cs-ink);
  color: #fff;
}

.cs-includes h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.15rem;
}

.cs-includes ul {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.cs-includes li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cs-includes strong {
  display: block;
  margin-bottom: 2px;
}

.cs-includes li span:not(.cs-include-check) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cs-include-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(240, 194, 122, 0.18);
  color: #f0c27a;
}

.cs-include-check svg {
  width: 13px;
  height: 13px;
}

.cs-setup-note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cs-setup-note strong {
  color: #fff;
}

.cs-setup-note a {
  color: #9db8ff;
}

@media (max-width: 960px) {
  .cs-academy {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .cs-hero {
    padding: 30px 22px;
  }

  .cs-plans-two,
  .cs-fields-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
