/* 1116 Courses — plural landing page styling
   Separate from the per-course styles at /walk-in-skeptical/styles.css so each
   course can own its visual identity without affecting the index. */

:root {
  --ink: #1a2236;
  --ink-muted: rgba(26,34,54,0.64);
  --ink-subtle: rgba(26,34,54,0.4);
  --blue: #6aafd2;
  --blue-deep: #4a8fb8;
  --pink: #f2a0b5;
  --pink-deep: #d97a92;
  --orange: #e8a87c;
  --orange-deep: #d4905e;
  --surface: #fff;
  --border: rgba(26,34,54,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }

.gradient-text {
  background: linear-gradient(135deg, #8ec5e2, #f2a0b5, #e8a87c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ── Nav ── */
/* 1116-NNN — Match the canonical 1116.info + ai.1116.info nav pattern
 * exactly (Jake 2026-04-29 second pass). Fixed + transparent at top so
 * the hero gradient bleeds through behind it (one continuous navy banner
 * with no seam); .scrolled adds a translucent dark background after the
 * user scrolls past the hero. Hero compensates with padding-top so its
 * content isn't covered by the floating nav. */
.courses-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.courses-nav.scrolled {
  background: rgba(17, 24, 39, 0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.courses-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.courses-nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.courses-nav-logo-img { height: 28px; width: auto; }
.courses-nav-logo-sub {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.55); letter-spacing: -0.01em;
}
.courses-nav-links { display: flex; align-items: center; gap: 32px; }
.courses-nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.courses-nav-links a:hover { color: #fff; }
.courses-nav-login {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 20px; border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.courses-nav-login:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ── Hero ── padding-top accounts for the fixed nav (~140px floor matches
 * 1116.info root). Hero gradient stretches all the way up behind the
 * nav so they read as one continuous navy banner. */
.courses-hero {
  background: linear-gradient(160deg, #1a2236 0%, #111827 60%, #0a0f1e 100%);
  color: #fff;
  padding: 140px 24px 72px;
  text-align: center;
  position: relative;
}
.courses-hero-inner { max-width: 720px; margin: 0 auto; }
/* "creative evolution ꩜" — always lowercase, never bold, simple
 * (Jake 2026-04-29). text-transform: none and font-weight: 500 are
 * defensive guards. */
.courses-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(106,175,210,0.18);
  border: 1px solid rgba(106,175,210,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  color: #fff; letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.courses-hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
  margin: 0 0 20px;
  /* Default block-level so the badge above stays on its own line. */
}
.hero-1116-logo {
  display: inline-block;
  height: 1.45em;
  width: auto;
  /* The swoosh+tail descends below the numeral baseline; nudge the image
     down so the numerals' baseline aligns with the text baseline. */
  vertical-align: -0.55em;
  margin-left: 0.1em;
}
.courses-hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 560px; margin: 0 auto;
}

/* ── Course list ── */
.courses-list { padding: 72px 24px; background: #fafbfc; }
.courses-list-inner { max-width: 1100px; margin: 0 auto; }
.courses-list-cross-promo {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}
.courses-list-cross-promo a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74,143,184,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.courses-list-cross-promo a:hover { text-decoration-color: var(--blue-deep); }
.courses-list-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin: 0 0 24px;
}
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px;
  margin-bottom: 32px;
}
.course-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.course-card:hover {
  border-color: rgba(106,175,210,0.5);
  box-shadow: 0 8px 24px rgba(26,34,54,0.06);
  transform: translateY(-2px);
}
.course-card-domain {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pink-deep);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  transition: color 0.15s;
}
.course-card-domain:hover { color: var(--pink); }
.course-card-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.course-card-title {
  font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.course-card-desc {
  font-size: 15px; color: var(--ink-muted); margin: 0 0 20px;
}
.course-card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600;
}
.course-card-price { color: var(--ink); }
.course-card-actions {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
/* 1116-NNN — Brand-spice CTA colors per Jake 2026-04-29:
 * "Learn more" pink (secondary affordance) + "Buy now" orange (revenue moment).
 * Stops the courses landing from being all-blue + matches the same
 * blue/pink/orange tier flow used on ai.1116.info pricing cards. */
.course-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--pink-deep);
  text-decoration: none;
  font-weight: 700;
  transition: gap 0.15s, color 0.15s;
}
.course-card-cta:hover { gap: 10px; color: var(--pink); }
.course-card-buy {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(232, 168, 124, 0.30);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.course-card-buy:hover {
  background: linear-gradient(135deg, var(--orange-deep) 0%, #b86a3f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 168, 124, 0.45);
}
.course-card-buy:active { transform: translateY(0); }
.courses-list-note {
  font-size: 14px; color: var(--ink-muted);
  text-align: center; margin: 0;
}
.courses-list-note a { color: var(--blue-deep); text-decoration: underline; }

/* ── Footer ── canonical 1116 .site-footer pattern (Jake 2026-04-29):
 * top row = logo (left) + nav links (right with Login CTA pill);
 * bottom row = copyright (left) + legal links (right). Mirrors the
 * ai.1116.info footer exactly so the omnipresent footer reads the same
 * across every public surface. */
.site-footer {
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.4);
}
.site-footer-container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
}
.site-footer-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.site-footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.site-footer-brand:hover { opacity: 1; }
.site-footer-logo {
  height: 38px; display: block; width: auto;
}
.site-footer-sublabel {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.01em;
}
.site-footer-nav {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.site-footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  text-decoration: none;
}
.site-footer-link-home:hover { color: var(--blue); }
.site-footer-cta {
  font-size: 13px; font-weight: 600;
  color: #fff !important;
  background: var(--blue);
  border-radius: 8px;
  padding: 8px 20px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.site-footer-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }
.site-footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.site-footer-legal {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.site-footer-legal-link {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
  font-size: 13px;
  text-decoration: none;
}
.site-footer-legal-link:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 600px) { .site-footer-legal { gap: 16px; } }

/* ── Mobile ── */
@media (max-width: 700px) {
  .courses-nav-links { gap: 16px; }
  .courses-nav-links a:not(.courses-nav-login) { display: none; }
  .courses-hero { padding: 64px 20px 48px; }
  .courses-list { padding: 48px 20px; }
  .courses-grid { grid-template-columns: 1fr; }
  .courses-footer-inner { justify-content: center; text-align: center; }
}
