/* ============================================================
   Altcoinology home page
   Color tokens (matches live site):
     blue-500  #3b82f6   blue-600 #2563eb   blue-700 #1d4ed8
     blue-50   #eff6ff   blue-200 #bfdbfe
     gray-900  #111827   gray-700 #374151   gray-600 #4b5563
     gray-500  #6b7280   gray-400 #9ca3af   gray-200 #e5e7eb
     gray-50   #f9fafb
   ============================================================ */

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn--primary {
  background: #3b82f6;
  color: #ffffff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--primary:hover { background: #2563eb; }
.btn--primary:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.btn--blue600 {
  background: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.btn--blue600:hover { background: #1d4ed8; }

.btn--block { display: inline-flex; width: 100%; }

.btn--ghost {
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.btn--ghost:hover { color: #374151; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  padding-top: 3.5rem;
}

.hero__skew {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  z-index: -10;
  margin-right: -8rem;
  width: 150%;
  transform-origin: top right;
  transform: skewX(-30deg);
  background: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1),
              0 10px 10px -5px rgba(37, 99, 235, 0.04);
  outline: 1px solid #eff6ff;
  outline-offset: -1px;
}

@media (min-width: 640px) {
  .hero__skew { margin-right: -20rem; width: 200%; }
}
@media (min-width: 1024px) {
  .hero__skew { margin-right: -24rem; }
}

.hero__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem 1.5rem;
}
@media (min-width: 640px) {
  .hero__container { padding-top: 10rem; padding-bottom: 10rem; }
}
@media (min-width: 1024px) {
  .hero__container { padding-left: 2rem; padding-right: 2rem; }
}

.hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero__inner {
    max-width: none;
    margin-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    row-gap: 2rem;
    align-items: start;
  }
}
@media (min-width: 1280px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    column-gap: 2rem;
  }
}

.hero__heading {
  max-width: 42rem;
  margin: 0;
  font-size: 2.75rem;
  line-height: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #111827;
}
@media (min-width: 640px) {
  .hero__heading { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .hero__heading { font-size: 4.5rem; line-height: 1; grid-column: span 2; }
}
@media (min-width: 1280px) {
  .hero__heading { grid-column: auto; }
}

.hero__body {
  margin-top: 1.5rem;
  max-width: 36rem;
}
@media (min-width: 1024px) { .hero__body { margin-top: 0; } }
@media (min-width: 1280px) {
  .hero__body { grid-column-end: 1; grid-row-start: 1; }
}

.hero__pill-row { display: none; }
@media (min-width: 640px) {
  .hero__pill-row {
    display: flex;
    margin-bottom: 2rem;
  }
}

.hero__pill {
  position: relative;
  display: inline-block;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #4b5563;
  outline: 1px solid rgba(17, 24, 39, 0.1);
  outline-offset: -1px;
  transition: outline-color 0.15s ease;
}
.hero__pill:hover { outline-color: rgba(17, 24, 39, 0.2); }

.hero__pill-link {
  position: relative;
  margin-left: 0.5rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
}
.hero__pill-link::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero__lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  text-wrap: pretty;
  color: #6b7280;
}
@media (min-width: 640px) {
  .hero__lede { font-size: 1.25rem; line-height: 2rem; }
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero__image {
  margin-top: 2.5rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 32rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  outline: 1px solid rgba(17, 24, 39, 0.1);
  outline-offset: -1px;
  overflow: hidden;
}
@media (min-width: 640px) { .hero__image { margin-top: 4rem; } }
@media (min-width: 1024px) { .hero__image { margin-top: 0; max-width: none; } }
@media (min-width: 1280px) {
  .hero__image { grid-row: span 2; grid-row-end: 2; }
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bottom-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -10;
  height: 6rem;
  background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
}
@media (min-width: 640px) { .hero__bottom-fade { height: 8rem; } }

/* ---------------- Generic section ---------------- */
.section {
  padding: 6rem 1.5rem;
}
@media (min-width: 640px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
@media (min-width: 1024px) { .section { padding-left: 2rem; padding-right: 2rem; } }

.section--gray { background: #f9fafb; }
.section--white { background: #ffffff; }

.section__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.section__head {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section__title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #111827;
}
@media (min-width: 640px) {
  .section__title { font-size: 3rem; line-height: 1; }
}

.section__lede {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 2rem;
  text-wrap: pretty;
  color: #4b5563;
}

/* ---------------- Curriculum cards ---------------- */
.curriculum-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .curriculum-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .curriculum-grid { grid-template-columns: repeat(3, 1fr); }
}

.curriculum-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.curriculum-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}
.curriculum-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.curriculum-card__icon--blue   { background: #3b82f6; }
.curriculum-card__icon--green  { background: #22c55e; }
.curriculum-card__icon--red    { background: #ef4444; }
.curriculum-card__icon--purple { background: #a855f7; }
.curriculum-card__icon--orange { background: #f97316; }
.curriculum-card__icon--indigo { background: #6366f1; }

.curriculum-card__title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #111827;
}

.curriculum-card__desc {
  margin: 0;
  color: #4b5563;
}

.curriculum-footer {
  margin-top: 3rem;
  text-align: center;
}
.curriculum-footer p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}
.curriculum-footer strong { font-weight: 700; }

/* ---------------- Pricing ---------------- */
.pricing__wrap { margin-top: 4rem; }

.pricing__card {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 32rem;
  padding: 2rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  text-align: center;
}

.pricing__title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  color: #111827;
}

.pricing__price {
  margin-bottom: 1.5rem;
}

.pricing__price-value {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: #2563eb;
}

.pricing__desc {
  margin: 0 0 1.5rem 0;
  color: #4b5563;
}

/* ---------------- Register / recording CTA ---------------- */
.register__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.register__lede {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 2rem;
  text-wrap: pretty;
  color: #4b5563;
}

.register__actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* ---------------- Presenters ---------------- */
.presenters-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 640px) {
  .presenters-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .presenters-grid { grid-template-columns: repeat(4, 1fr); }
}

.presenter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  color: inherit;
}

.presenter-card__avatar {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 0 0 4px #e5e7eb,
              0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.15s ease;
}
.presenter-card:hover .presenter-card__avatar,
.presenter-card:focus-visible .presenter-card__avatar {
  box-shadow: 0 0 0 4px #3b82f6,
              0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.presenter-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presenter-card__avatar--gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #60a5fa, #2563eb);
}

.presenter-card__initials {
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.presenter-card__name {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #111827;
}

.presenter-card__title {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
}

/* ---------------- Presenter modal ---------------- */
.presenter-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: rgba(17, 24, 39, 0.75);
}
.presenter-modal.is-open { display: flex; }

.presenter-modal__dialog {
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
              0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.presenter-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.presenter-modal__head-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.presenter-modal__avatar {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  overflow: hidden;
  background: #e5e7eb;
}
.presenter-modal__avatar img,
.presenter-modal__avatar > div {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presenter-modal__name {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  color: #111827;
}

.presenter-modal__title {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.presenter-modal__close {
  flex-shrink: 0;
  background: none;
  border: 0;
  padding: 0;
  color: #9ca3af;
  transition: color 0.15s ease;
}
.presenter-modal__close:hover { color: #4b5563; }
.presenter-modal__close svg { width: 1.5rem; height: 1.5rem; }

.presenter-modal__body { padding: 1.5rem; }

.presenter-modal__desc {
  margin: 0 0 1.5rem 0;
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
}

.presenter-modal__connect-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #111827;
}

.presenter-modal__connect {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.presenter-modal__connect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.presenter-modal__connect-link svg { width: 1.25rem; height: 1.25rem; }
.presenter-modal__connect-link--email:hover { color: #2563eb; }
.presenter-modal__connect-link--patreon:hover { color: #ea580c; }

/* ---------------- Learn more / long description ---------------- */
.learn-more__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.learn-more__head {
  margin-bottom: 4rem;
  text-align: center;
}

.learn-more__title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #111827;
}
@media (min-width: 640px) {
  .learn-more__title { font-size: 3rem; line-height: 1; }
}

.learn-more__prose {
  margin: 0 auto;
  color: #4b5563;
  line-height: 2;
}

.learn-more__prose p { margin: 0 0 1.5rem 0; }

.learn-more__prose .lead {
  font-size: 1.25rem;
  line-height: 2;
  margin-bottom: 2rem;
}

.learn-more__cta {
  margin-top: 0.5rem;
  text-align: center;
}

.learn-more__cta-text {
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2563eb;
}

/* ---------------- Disclaimer ---------------- */
.disclaimer {
  background: #ffffff;
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) { .disclaimer { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .disclaimer { padding-left: 2rem; padding-right: 2rem; } }

.disclaimer__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.disclaimer__head {
  margin-bottom: 2rem;
  text-align: center;
}

.disclaimer__title {
  margin: 0;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #111827;
}
@media (min-width: 640px) {
  .disclaimer__title { font-size: 2.25rem; line-height: 2.5rem; }
}

.disclaimer__text {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
}
