/* ============================================================
   Stock Market Training → 1House course page
   Palette: deep navy + warm gold + cream (education premium)
   ============================================================ */

.course {
  --crs-navy: #0a1628;
  --crs-navy-2: #10233f;
  --crs-navy-3: #16304f;
  --crs-gold: #c9a227;
  --crs-gold-bright: #d4af37;
  --crs-cream: #faf6ec;
  --crs-ink: #14100a;
  background: #fdfbf6;
  color: var(--crs-navy);
  font-family: "Inter", sans-serif;
}

.crs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crs-gold-bright);
}
.crs-eyebrow--dark { color: #8a6d13; }

/* ---------- Hero ---------- */
.crs-hero {
  position: relative;
  padding: clamp(6rem, 14vh, 9rem) 0 clamp(4rem, 9vh, 6rem);
  background: var(--crs-navy);
  color: #fff;
  overflow: hidden;
}
.crs-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}
.crs-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 22, 40, 0.94) 20%, rgba(10, 22, 40, 0.55) 60%, rgba(10, 22, 40, 0.25));
}
.crs-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.crs-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0.9rem 0 1.1rem;
}
.crs-hero h1 em { font-style: italic; color: var(--crs-gold-bright); }
.crs-hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.8rem;
  max-width: 54ch;
}
.crs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.crs-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.crs-hero__chips span {
  padding: 0.34rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--crs-cream);
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- Buttons ---------- */
.crs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: 10px;
  font: 700 0.88rem "Inter", sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.crs-btn--primary {
  background: linear-gradient(135deg, var(--crs-gold-bright), var(--crs-gold));
  color: var(--crs-ink);
}
.crs-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.4);
}
.crs-btn--ghost {
  background: transparent;
  color: var(--crs-cream);
  border: 1px solid rgba(250, 246, 236, 0.35);
}
.crs-btn--ghost:hover { background: rgba(250, 246, 236, 0.08); }
.crs-btn.is-loading { opacity: 0.75; pointer-events: none; }

/* ---------- Sections ---------- */
.crs-section { padding: clamp(3.5rem, 8vh, 5.5rem) 0; }
.crs-section--alt { background: var(--crs-cream); }

.crs-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0.6rem 0 1.6rem;
  color: var(--crs-navy);
}
.crs-h2 em { font-style: italic; color: #8a6d13; }
.crs-p {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  margin: 0;
  max-width: 58ch;
}

.crs-two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.crs-fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.crs-fit-list li {
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--crs-gold);
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.06);
}
.crs-fit-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--crs-navy);
  margin-bottom: 0.25rem;
}
.crs-fit-list span { font-size: 0.86rem; line-height: 1.55; color: #475569; }

/* ---------- Curriculum ---------- */
.crs-curriculum {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: module;
}
.crs-curriculum li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  align-items: start;
}
.crs-curriculum li:last-child { border-bottom: none; }
.crs-curriculum__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(10, 22, 40, 0.16);
}
.crs-curriculum__num--accent { color: var(--crs-gold); }
.crs-curriculum h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--crs-navy);
  margin: 0 0 0.35rem;
}
.crs-curriculum p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 62ch;
}

/* ---------- Community card ---------- */
.crs-community { background: var(--crs-navy); color: #fff; }
.crs-community__card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--crs-navy-2), var(--crs-navy-3));
  box-shadow: 0 30px 70px rgba(4, 10, 20, 0.5);
}
.crs-community__text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0.6rem 0 1rem;
}
.crs-community__text h2 em { font-style: italic; color: var(--crs-gold-bright); }
.crs-community__text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1rem;
}
.crs-community__note {
  padding-left: 0.9rem;
  border-left: 2px solid var(--crs-gold);
  color: var(--crs-cream) !important;
}
.crs-community__text .crs-btn { margin-top: 0.6rem; }
.crs-community__points {
  display: grid;
  gap: 0.9rem;
  align-content: center;
}
.crs-community__points div {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.crs-community__points strong {
  display: block;
  font-size: 0.9rem;
  color: var(--crs-gold-bright);
  margin-bottom: 0.2rem;
}
.crs-community__points span { font-size: 0.84rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

/* ---------- Disclaimer ---------- */
.crs-disclaimer {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #713f12;
  font-size: 0.86rem;
  line-height: 1.6;
}
.crs-disclaimer svg { flex: 0 0 auto; margin-top: 0.1rem; color: #b45309; }
.crs-disclaimer p { margin: 0; }

/* ---------- Enroll ---------- */
.crs-enroll {
  padding: clamp(4rem, 9vh, 6rem) 0;
  background: linear-gradient(180deg, var(--crs-navy) 0%, #071024 100%);
  color: #fff;
}
.crs-enroll__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.crs-enroll h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0.6rem 0 0.8rem;
}
.crs-enroll h2 em { font-style: italic; color: var(--crs-gold-bright); }
.crs-enroll__inner > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 1.8rem;
}

.crs-form { text-align: left; }
.crs-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.crs-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--crs-cream);
  margin-bottom: 0.35rem;
}
.crs-optional { font-weight: 400; color: rgba(250, 246, 236, 0.55); }
.crs-field input,
.crs-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: 400 16px "Inter", sans-serif;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.crs-field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.crs-field input:focus,
.crs-field select:focus {
  outline: none;
  border-color: var(--crs-gold-bright);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.crs-field select option { color: #14100a; }
.crs-field input.crs-invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.crs-error {
  display: block;
  min-height: 1rem;
  font-size: 0.74rem;
  color: #fca5a5;
  margin-top: 0.3rem;
}
.crs-form__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.crs-fine {
  margin: 1rem 0 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Success ---------- */
.crs-success__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  color: var(--crs-gold-bright);
  margin-bottom: 1.2rem;
}
.crs-success__cta { margin-top: 0.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .crs-two-col,
  .crs-community__card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .crs-form__row { grid-template-columns: 1fr; }
  .crs-curriculum li { grid-template-columns: 52px 1fr; gap: 1rem; }
  .crs-curriculum__num { font-size: 1.9rem; }
}

/* ---------- Pricing callout (1House membership) ---------- */
.crs-pricing {
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.crs-pricing__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}
.crs-pricing__amount {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--crs-gold-bright);
  margin-bottom: 0.5rem;
}
.crs-pricing__amount small {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  vertical-align: middle;
  margin-right: 0.3rem;
}
.crs-pricing__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* Link from Module 03 to the trade planning desk */
.crs-curriculum .crs-tool-link {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: 0.25rem;
  color: var(--crs-navy); font-weight: 600;
  border-bottom: 2px solid var(--crs-gold);
}

/* Where I trade (referral links) */
.crs-brokers__lede { max-width: 60ch; margin: 0 0 1.5rem; opacity: .85; }
.crs-brokers__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.crs-broker { display: grid; gap: .35rem; align-content: start; padding: 1.25rem; min-height: 44px; border: 1px solid currentColor; border-color: rgba(138,109,19,.45); border-left: 3px solid #8a6d13; color: inherit; text-decoration: none; }
.crs-broker:hover, .crs-broker:focus-visible { border-color: #8a6d13; }
.crs-broker strong { font-size: 1.15rem; }
.crs-broker span { opacity: .85; }
.crs-broker em { font-style: normal; font-weight: 600; color: #8a6d13; }

button.crs-broker { font: inherit; text-align: left; cursor: pointer; width: 100%; border-radius: 0; }

/* 1House membership interest */
.crs-oh { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.crs-oh legend { font-size: 0.8rem; font-weight: 600; color: var(--crs-cream); padding: 0; margin-bottom: 0.35rem; }
.crs-oh__help { margin: 0 0 0.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); line-height: 1.5; }
.crs-oh__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.crs-oh__opt { position: relative; display: block; margin: 0; cursor: pointer; }
.crs-oh__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.crs-oh__opt span { display: grid; gap: 2px; min-height: 44px; height: 100%; padding: 0.7rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); }
.crs-oh__opt strong { font-size: 0.92rem; color: #fff; }
.crs-oh__opt small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.crs-oh__opt input:checked + span { border-color: var(--crs-gold-bright); background: rgba(212, 175, 55, 0.12); box-shadow: inset 3px 0 0 var(--crs-gold-bright); }
.crs-oh__opt input:focus-visible + span { outline: 2px solid var(--crs-gold-bright); outline-offset: 2px; }
.crs-oh__phone { margin-bottom: 1rem; }
.crs-oh__phone[hidden] { display: none; }
@media (max-width: 640px) { .crs-oh__opts { grid-template-columns: 1fr; } }
