/* Landing page */

.landing-page main.content {
  padding-top: 0.6rem;
}

.landing-page .hero {
  align-items: center;
  background: radial-gradient(
      circle at 70% 5%,
      var(--fc-brand-soft),
      transparent 24rem
    ),
    var(--fc-surface);
  border-radius: 2rem;
  box-shadow: none;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(24rem, 0.98fr);
  max-width: 1240px;
  padding: clamp(2rem, 6vw, 5.2rem);
}

.landing-page .hero::after {
  inset: 0 0 0 45%;
  opacity: 0.25;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(3.25rem, 7vw, 6.3rem);
  letter-spacing: -0.078em;
  max-width: 9.5ch;
}

.hero-copy > p,
.hero-copy > section > p {
  color: var(--fc-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  max-width: 58ch;
}

.hero-demo {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-demo::before {
  background: var(--fc-brand-soft);
  border-radius: 999px;
  content: "";
  filter: blur(2px);
  height: 75%;
  inset: 16% -8% auto 8%;
  position: absolute;
  transform: rotate(-5deg);
  z-index: -1;
}

.fc-demo-window {
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.2rem;
  box-shadow: 0 28px 70px rgba(15, 20, 38, 0.28);
  color: #e9edf8;
  overflow: hidden;
  transform: rotate(1.2deg);
}

.fc-demo-toolbar {
  align-items: center;
  background: #181d2c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f9ab0;
  display: grid;
  font:
    600 0.7rem/1 "SFMono-Regular",
    Consolas,
    monospace;
  grid-template-columns: 1fr auto 1fr;
  padding: 0.8rem 0.9rem;
}

.fc-demo-dots {
  display: flex;
  gap: 0.32rem;
}

.fc-demo-dots i {
  background: #4d566a;
  border-radius: 999px;
  height: 0.48rem;
  width: 0.48rem;
}

.fc-demo-dots i:first-child {
  background: #ff766f;
}

.fc-demo-dots i:nth-child(2) {
  background: #ffc764;
}

.fc-demo-dots i:last-child {
  background: #5fd49a;
}

.fc-demo-status {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-self: end;
}

.fc-demo-status i {
  background: #5fd49a;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(95, 212, 154, 0.12);
  height: 0.42rem;
  width: 0.42rem;
}

.fc-demo-window pre {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: clamp(0.78rem, 1.5vw, 0.94rem);
  line-height: 1.8;
  margin: 0;
  overflow-x: auto;
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.fc-demo-window code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.fc-code-muted {
  color: #798399;
}

.fc-code-name {
  color: #89bfff;
}

.fc-code-string {
  color: #b7e49c;
}

.fc-code-function {
  color: #d8adff;
}

.fc-demo-output {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.fc-demo-output span {
  color: #7f899f;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-demo-output strong {
  color: #82e6e2;
  font-size: 0.9rem;
}

.fc-demo-loop {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
  transform: rotate(-0.5deg);
}

.fc-demo-loop span {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 999px;
  color: var(--fc-muted);
  font-size: 0.66rem;
  font-weight: 760;
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.fc-demo-loop span:nth-child(2) {
  background: var(--fc-brand);
  border-color: var(--fc-brand);
  color: #fff;
}

.fc-resume-panel {
  align-items: center;
  background: var(--fc-heading);
  border-radius: 1rem;
  color: var(--fc-bg);
  display: flex;
  justify-content: space-between;
  margin: -1.4rem auto 3.5rem !important;
  max-width: 1160px !important;
  padding: 1rem 1.15rem 1rem 1.4rem;
}

.fc-resume-panel[hidden] {
  display: none;
}

.fc-resume-panel > div {
  display: grid;
}

.fc-resume-eyebrow {
  color: color-mix(in srgb, var(--fc-bg) 68%, transparent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-resume-panel strong {
  color: var(--fc-bg);
  font-size: 0.98rem;
}

.fc-resume-panel .btn {
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.landing-page .audience-grid {
  gap: 0;
  margin-top: 4rem;
}

.landing-page .audience-grid .course-card {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--fc-border);
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  padding: 1rem 2rem;
}

.landing-page .audience-grid .course-card:first-child {
  border-left: 0;
  padding-left: 0;
}

.landing-page .audience-grid .course-card:last-child {
  padding-right: 0;
}

.landing-page .audience-grid .course-card::before {
  display: none;
}

.landing-page .audience-grid .course-card:hover {
  box-shadow: none;
  transform: none;
}

.learning-loop ol {
  counter-reset: learning-loop;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 1.5rem 0 3rem;
  padding: 0;
}

.learning-loop li {
  border-bottom: 1px solid var(--fc-border);
  counter-increment: learning-loop;
  min-height: 8rem;
  padding: 1.2rem 1.4rem 1.2rem 3.5rem;
  position: relative;
}

.learning-loop li::before {
  color: var(--fc-brand-strong);
  content: "0" counter(learning-loop);
  font:
    800 0.72rem/1 "SFMono-Regular",
    Consolas,
    monospace;
  left: 1rem;
  position: absolute;
  top: 1.45rem;
}
