/* Gen AI course landing page. Loaded only by the `genai` layout. */

.gc {
  --gc-bg: #f2f2f2;
  --gc-surface: #fff;
  --gc-surface-soft: #f7f7f7;
  --gc-border: #e8e8e8;
  --gc-border-soft: #ececec;
  --gc-border-field: #d8d8d8;
  --gc-text: #1f2328;
  --gc-text-body: #3d4349;
  --gc-text-dim: #4a5057;
  --gc-text-muted: #5c6268;
  --gc-text-faint: #6b7076;
  --gc-teal: #0d9488;
  --gc-teal-dark: #0b7a70;
  --gc-teal-deep: #0e6f66;
  --gc-teal-tint: #dcefe9;
  --gc-teal-soft: #9ed3cb;
  --gc-cta: #ea580c;
  --gc-cta-deep: #c2410c;
  --gc-blue: #3d6ee8;
  --gc-radius: 8px;
  --gc-radius-sm: 5px;
  --gc-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  --gc-shadow-lg: 0 2px 10px rgba(0, 0, 0, 0.09);
  --gc-wrap: 1240px;

  background: var(--gc-bg);
  color: var(--gc-text);
  font-family: Assistant, 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.gc *,
.gc *::before,
.gc *::after { box-sizing: border-box; }

.gc a { color: var(--gc-teal); text-decoration: none; }
.gc a:hover { color: var(--gc-teal-dark); text-decoration: underline; }
.gc img { display: block; max-width: 100%; }
.gc input,
.gc textarea,
.gc select,
.gc button { font-family: inherit; }

.gc-wrap {
  max-width: var(--gc-wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

.gc-section {
  max-width: var(--gc-wrap);
  margin: 0 auto;
  padding: clamp(40px, 5.5vw, 64px) 24px 0;
  scroll-margin-top: 24px;
}

.gc-section--tight { padding-top: clamp(34px, 4.5vw, 52px); }
.gc-section--last { padding-bottom: clamp(44px, 6vw, 72px); }

.gc-card {
  background: var(--gc-surface);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow);
}

.gc-card--raised { box-shadow: var(--gc-shadow-lg); }

.gc-h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
}

.gc-intro {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--gc-text-dim);
  max-width: 74ch;
  text-wrap: pretty;
}

.gc-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gc-teal-tint);
  color: var(--gc-teal-deep);
  border-radius: var(--gc-radius);
  padding: 7px 13px;
  font-size: 15px;
  font-weight: 600;
}

.gc-badge {
  display: inline-block;
  background: var(--gc-teal-tint);
  color: var(--gc-teal-deep);
  border-radius: var(--gc-radius);
  padding: 5px 11px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.gc .gc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--gc-radius-sm);
  padding: 14px 30px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.gc .gc-btn:hover { filter: brightness(0.93); text-decoration: none; color: #fff; }
.gc .gc-btn--cta { background: var(--gc-cta); }
.gc .gc-btn--alt { background: var(--gc-blue); }

/* ----- Header ----- */
.gc-header {
  background: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
}

.gc-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 8px;
  min-height: 64px;
}

.gc-header-logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin-inline-end: 20px;
  flex: none;
}

.gc-header-logo img { height: 30px; width: auto; }

.gc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  font-size: 16px;
  flex: 1 1 260px;
}

.gc-nav a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--gc-text-body);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.gc-nav a:hover { background: #f5f5f5; color: var(--gc-text-body); text-decoration: none; }

.gc-nav a.menu-active {
  color: var(--gc-text);
  background: #f0f0f0;
  border-bottom-color: var(--gc-teal);
}

.gc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 10px 0;
}

.gc .gc-btn-login {
  display: inline-flex;
  align-items: center;
  background: var(--gc-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 9px 22px;
  border: 0;
  border-radius: var(--gc-radius-sm);
  cursor: pointer;
}

.gc .gc-btn-login:hover { background: var(--gc-teal-dark); color: #fff; text-decoration: none; }

/* ----- Hero ----- */
.gc-hero {
  background: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
}

.gc-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding-block: clamp(32px, 4.5vw, 56px);
}

.gc-hero-pill { margin-bottom: 22px; padding: 7px 14px; }

.gc-hero-pill .gc-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--gc-teal);
  flex: none;
}

.gc-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.gc-hero-lead {
  margin: 0 0 30px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--gc-text-dim);
  max-width: 52ch;
  text-wrap: pretty;
}

.gc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.gc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.gc-fact {
  background: var(--gc-surface-soft);
  border-radius: var(--gc-radius);
  padding: 14px 16px;
}

.gc-fact b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.gc-fact span { font-size: 15px; color: var(--gc-text-muted); }

.gc-video { overflow: hidden; }

.gc-video-frame {
  aspect-ratio: 16 / 9;
  background: var(--gc-text);
}

.gc-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gc-video-caption {
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gc-video-caption b { display: block; font-size: 17px; font-weight: 700; }
.gc-video-caption span { font-size: 15px; color: var(--gc-text-muted); }

.gc-video-caption .gc-tag {
  flex: none;
  padding: 6px 12px;
  font-size: 14px;
}

/* ----- Stats ----- */
.gc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.gc-stat { padding: 24px 22px; text-align: center; }

.gc-stat b {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gc-teal);
  margin-bottom: 4px;
}

.gc-stat span { font-size: 16px; color: var(--gc-text-dim); }

/* ----- Pains ----- */
.gc-pains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.gc-pain { padding: 26px 24px; }

.gc-pain h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.gc-pain p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gc-text-muted);
}

.gc-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.gc-news-card { padding: 26px 24px; border-top: 3px solid var(--gc-teal); }
.gc-news-card--bad { border-top-color: var(--gc-cta); }

.gc-news-card b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gc-teal-deep);
  margin-bottom: 8px;
}

.gc-news-card--bad b { color: var(--gc-cta-deep); }

.gc-news-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gc-text-dim);
}

.gc-news-card strong { color: var(--gc-text); }

/* ----- Syllabus ----- */
.gc-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gc-section-head .gc-h2 { margin: 0; }

.gc-section-link {
  font-size: 16px;
  font-weight: 600;
}

.gc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.gc-intro--syllabus { margin-bottom: 20px; }

.gc-weeks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gc-week {
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 30px);
  align-items: flex-start;
}

.gc-week-when { flex: 0 0 132px; }

.gc-week-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gc-text-faint);
  margin-bottom: 4px;
}

.gc-week-date {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gc-teal);
}

.gc-week-body {
  flex: 1 1 400px;
  min-width: 0;
}

.gc-week-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.gc-week-goal {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gc-text-muted);
  max-width: 74ch;
}

.gc-week-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px 24px;
}

.gc-week-items li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gc-text-body);
}

.gc-week-items li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--gc-teal-soft);
  margin-top: 8px;
}

.gc-format {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.gc-format div { padding: 20px; }

.gc-format b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.gc-format span { font-size: 15px; color: var(--gc-text-muted); }

/* ----- Bonuses ----- */
.gc-bonuses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
}

.gc-bonus { padding: 22px 20px; }

.gc-bonus b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.gc-bonus span {
  font-size: 15px;
  color: var(--gc-text-muted);
  line-height: 1.5;
}

/* ----- Pricing ----- */
.gc-pricing { overflow: hidden; }

.gc-ribbon {
  background: var(--gc-teal-tint);
  color: var(--gc-teal-deep);
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
}

.gc-pricing-body {
  padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(26px, 4vw, 40px);
  align-items: center;
}

.gc-price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.gc-price-new {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
}

.gc-price-old {
  font-size: 22px;
  color: var(--gc-text-faint);
  text-decoration: line-through;
  padding-bottom: 8px;
}

.gc-price-sub {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gc-text-dim);
}

.gc-included {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gc-surface-soft);
  border-radius: var(--gc-radius);
  padding: 22px 24px;
}

.gc-included li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 17px;
  color: var(--gc-text-body);
}

.gc-included li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--gc-teal);
}

/* ----- Instructor ----- */
.gc-instructor {
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 36px);
  align-items: flex-start;
}

.gc-instructor-photo {
  flex: 0 1 240px;
  border-radius: var(--gc-radius);
  overflow: hidden;
  background: #ececec;
}

.gc-instructor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gc-instructor-body {
  flex: 1 1 380px;
  min-width: 0;
}

.gc-instructor-body h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 700;
}

.gc-instructor-body p {
  margin: 0 0 14px;
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--gc-text-dim);
  max-width: 66ch;
  text-wrap: pretty;
}

.gc-instructor-body p:last-of-type { margin-bottom: 22px; }

.gc-instructor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ----- Signup ----- */
.gc-signup {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}

.gc-signup-body h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 700;
}

.gc-signup-body > p {
  margin: 0 0 24px;
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--gc-text-dim);
  text-wrap: pretty;
}

.gc-signup-details {
  border-top: 1px solid var(--gc-border-soft);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16.5px;
  color: var(--gc-text-dim);
}

.gc-signup-details strong { color: var(--gc-text); }

.gc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.gc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gc-field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gc-text-dim);
}

.gc-field input {
  border: 1px solid var(--gc-border-field);
  border-radius: var(--gc-radius-sm);
  padding: 11px 13px;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  color: var(--gc-text);
  width: 100%;
}

.gc-field input:focus {
  outline: none;
  border-color: var(--gc-teal);
}

.gc-form .gc-btn {
  grid-column: 1 / -1;
  padding: 15px 24px;
}

.gc-form-note {
  grid-column: 1 / -1;
  font-size: 14.5px;
  color: var(--gc-text-faint);
  text-align: center;
}

/* ----- Footer ----- */
.gc-footer {
  background: var(--gc-surface);
  border-top: 1px solid var(--gc-border);
}

.gc-footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-block: 40px;
}

.gc-footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.gc-footer-about {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gc-text-dim);
  max-width: 46ch;
}

.gc-footer-col b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 16px;
}

.gc-footer-bottom { border-top: 1px solid var(--gc-border-soft); }

.gc-footer-bottom .gc-wrap {
  padding-block: 18px;
  font-size: 15px;
  color: var(--gc-text-faint);
}

/* ----- Thank you ----- */
.gc-thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 24px;
  text-align: center;
}

.gc-thanks-card { padding: clamp(28px, 5vw, 48px); }

.gc-thanks h1 {
  margin: 16px 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.gc-thanks p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--gc-text-dim);
}

html { scroll-behavior: smooth; }
